/**
 * TSS HNA – Estilos de Páginas Internas
 * Aplica a: page-contacto, page-sobre-nosotros, page-solicitar-acceso, page-servicios
 */

/* ═══════════════════════════════════════════════════════════════════════════
   HERO DE PÁGINAS INTERNAS
════════════════════════════════════════════════════════════════════════════ */

.tss-page-hero {
    position: relative;
    background: radial-gradient(ellipse at 20% 50%, #0d2240 0%, #091428 50%, #060e1a 100%);
    padding: 4rem 0 3.5rem;
    color: #fff;
    overflow: hidden;
}

/* Efectos de fondo → ahora via template-parts/hero-bg-effects.php + main.css */
.tss-page-hero::before,
.tss-page-hero::after { display: none; }

/* Layout: icono + texto lado a lado */
.tss-hero-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.tss-hero-text {
    flex: 1;
    min-width: 0;
}

/* Icono badge grande (estilo métricas del hero principal) */
.tss-hero-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    animation: heroIconPulse 3s ease-in-out infinite;
    align-self: flex-start;
    margin-top: 0.3rem;
}

.tss-hero-icon--cyan {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.35);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2), 0 0 40px rgba(56, 189, 248, 0.08);
}

.tss-hero-icon--green {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.2), 0 0 40px rgba(74, 222, 128, 0.08);
}

.tss-hero-icon--amber {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2), 0 0 40px rgba(251, 191, 36, 0.08);
}

@keyframes heroIconPulse {
    0%, 100% { box-shadow: 0 0 20px var(--glow, rgba(56, 189, 248, 0.2)), 0 0 40px var(--glow-soft, rgba(56, 189, 248, 0.08)); }
    50%      { box-shadow: 0 0 30px var(--glow, rgba(56, 189, 248, 0.35)), 0 0 60px var(--glow-soft, rgba(56, 189, 248, 0.15)); }
}

.tss-hero-icon--cyan  { --glow: rgba(56, 189, 248, 0.25); --glow-soft: rgba(56, 189, 248, 0.1); }
.tss-hero-icon--green { --glow: rgba(74, 222, 128, 0.25); --glow-soft: rgba(74, 222, 128, 0.1); }
.tss-hero-icon--amber { --glow: rgba(251, 191, 36, 0.25); --glow-soft: rgba(251, 191, 36, 0.1); }

/* Fallback para páginas sin tss-hero-inner */
.tss-page-hero > .container {
    position: relative;
    z-index: 1;
}

.tss-page-hero__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin: 0.5rem 0 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.tss-page-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.65);
    max-width: 620px;
    margin: 0;
    line-height: 1.7;
}

/* Breadcrumb en el hero */
.tss-breadcrumb-nav .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: .75rem;
    font-size: .83rem;
}

.tss-breadcrumb-nav .breadcrumb-item a,
.tss-breadcrumb-nav .breadcrumb-item.active {
    color: rgba(255,255,255,.7);
    text-decoration: none;
}

.tss-breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,.4);
}

.tss-breadcrumb-nav .breadcrumb-item a:hover {
    color: #fff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILIDADES COMUNES DE PÁGINAS
════════════════════════════════════════════════════════════════════════════ */

.section-padding      { padding: 5rem 0; }
.section-padding-sm   { padding: 3rem 0; }
.bg-light             { background: #f4f8fd !important; }
.bg-dark-blue         { background: linear-gradient(135deg, #1a4a78, #26639b); }

.tss-section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #26639b;
    background: #deeaf8;
    padding: .3rem .85rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.tss-tag-light {
    color: #fff;
    background: rgba(255,255,255,.15);
}

.tss-section-label {
    color: #26639b;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.tss-section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .75rem;
    line-height: 1.2;
}

.tss-why-tss-lead {
    font-size: clamp(.95rem, 1.5vw, 1.1rem);
    color: #4d6278;
    max-width: 700px;
    margin: 1.25rem auto 0;
    line-height: 1.7;
}

.tss-steps-heading {
    font-size: .85rem;
    font-weight: 700;
    color: var(--tss-medium-blue, #3484c1);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 5rem;
    margin-bottom: 3rem;
}

.tss-section-sub {
    font-size: 1rem;
    color: #6b7c8d;
    max-width: 600px;
    margin: 0 auto;
}

.tss-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: linear-gradient(135deg, #26639b, #3484c1);
    color: #fff !important;
    padding: .7rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .93rem;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
    border: none;
}

.tss-btn-primary:hover {
    opacity: .9;
    transform: translateY(-1px);
    color: #fff !important;
}

.tss-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: #26639b !important;
    padding: .7rem 1.6rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .93rem;
    text-decoration: none;
    border: 2px solid #26639b;
    transition: background .2s, color .2s, transform .2s;
}

.tss-btn-outline:hover {
    background: #26639b;
    color: #fff !important;
    transform: translateY(-1px);
}

.tss-btn-lg {
    padding: .85rem 2rem;
    font-size: 1rem;
}

.tss-link-primary {
    color: #26639b;
    font-weight: 600;
    text-decoration: none;
}

.tss-link-primary:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA CONTACTO
════════════════════════════════════════════════════════════════════════════ */

.tss-contact-info__title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .5rem;
}

.tss-contact-info__intro {
    color: #6b7c8d;
    font-size: .93rem;
    margin-bottom: 1.75rem;
}

.tss-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tss-contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tss-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #deeaf8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #26639b;
}

.tss-contact-item > div strong {
    display: block;
    font-size: .85rem;
    font-weight: 700;
    color: #0f2a45;
    margin-bottom: .25rem;
}

.tss-contact-item > div p {
    margin: 0;
    font-size: .9rem;
    color: #4d6278;
    line-height: 1.55;
}

.tss-contact-item > div p a {
    color: #26639b;
    text-decoration: none;
}

.tss-contact-item > div p a:hover {
    text-decoration: underline;
}

.tss-contact-social__label {
    font-size: .83rem;
    font-weight: 700;
    color: #6b7c8d;
    margin-bottom: .6rem;
}

.tss-contact-social__links {
    display: flex;
    gap: .6rem;
}

.tss-social-link {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #deeaf8;
    color: #26639b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}

.tss-social-link:hover {
    background: #26639b;
    color: #fff;
}

.tss-contact-sla {
    background: #f4f8fd;
    border-radius: 12px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    border: 1px solid #e4eaf2;
}

.tss-contact-sla h3 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .85rem;
}

.tss-contact-sla ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.tss-contact-sla li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
}

.tss-sla-type { color: #4d6278; }
.tss-sla-time {
    font-weight: 700;
    color: #26639b;
    background: #deeaf8;
    padding: .15rem .6rem;
    border-radius: 100px;
    font-size: .78rem;
}

.tss-contact-form-wrap {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(38,99,155,.08);
}

.tss-form-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .35rem;
}

.tss-form-subtitle {
    font-size: .9rem;
    color: #6b7c8d;
    margin-bottom: 2rem;
}

/* ── Formulario genérico ────────────────────────────────────────────────────── */

.tss-custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.tss-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 575px) {
    .tss-form-row-2 { grid-template-columns: 1fr; }
}

.tss-field {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.tss-field label {
    font-size: .82rem;
    font-weight: 700;
    color: #1a2c45;
    letter-spacing: .01em;
}

.tss-req {
    color: #e53e3e;
    margin-left: .15rem;
}

.tss-field input,
.tss-field select,
.tss-field textarea {
    width: 100%;
    padding: .62rem .85rem;
    font-size: .9rem;
    color: #1a2c45;
    background: #fff;
    border: 1.5px solid #d8e4f0;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    -webkit-appearance: none;
}

.tss-field input::placeholder,
.tss-field textarea::placeholder {
    color: #aab8c8;
}

.tss-field input:focus,
.tss-field select:focus,
.tss-field textarea:focus {
    border-color: #26639b;
    box-shadow: 0 0 0 3px rgba(38, 99, 155, .1);
}

.tss-field textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.tss-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2326639b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    padding-right: 2.2rem;
    cursor: pointer;
}

.tss-field-error {
    font-size: .78rem;
    color: #dc2626;
    font-weight: 600;
    min-height: 1rem;
    display: block;
}

/* Honeypot – siempre oculto */
.tss-hp {
    display: none !important;
    visibility: hidden;
    position: absolute;
}

/* Fila del botón */
.tss-form-submit-row {
    margin-top: .5rem;
}

.tss-btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, #1e4e7a 0%, #26639b 50%, #3484c1 100%);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: .75rem 2rem;
    font-size: .93rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: .025em;
    cursor: pointer;
    transition: opacity .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 3px 12px rgba(38,99,155,.25);
    min-width: 180px;
}

.tss-btn-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(38,99,155,.35);
}

.tss-btn-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
}

/* Spinner para estado loading */
@keyframes tss-spin { to { transform: rotate(360deg); } }
.tss-spin { display: inline-block; animation: tss-spin .8s linear infinite; }

/* Notices del formulario */
.tss-form-notice {
    font-size: .88rem;
    border-radius: 8px;
    padding: .75rem 1rem;
}

.tss-form-notice:empty { display: none; }

.tss-notice,
.tss-form-notice.tss-notice-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 8px;
    padding: .8rem 1rem;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.tss-notice-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.tss-notice-error,
.tss-form-notice.tss-notice-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 8px;
    padding: .8rem 1rem;
    font-size: .88rem;
}

/* Título de sección dentro del formulario (acceso) */
.tss-form-section-title {
    font-size: .93rem;
    font-weight: 800;
    color: #0f2a45;
    margin: .25rem 0 0;
    padding-bottom: .6rem;
    border-bottom: 1px solid #e4eaf2;
    display: flex;
    align-items: center;
    gap: .45rem;
}

.tss-form-section-title i { color: #26639b; }

/* Banda inferior de contacto */
.tss-contact-strip {
    background: #f4f8fd;
    border-top: 1px solid #e4eaf2;
    padding: 2.5rem 0;
}

.tss-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: #26639b;
    font-size: .85rem;
    font-weight: 600;
}

.tss-strip-item svg {
    stroke: #26639b;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA SOBRE NOSOTROS
════════════════════════════════════════════════════════════════════════════ */

/* ── Intro section ──────────────────────────────────────────────────────── */
.tss-about-intro {
    background: #fff;
}

.tss-about-text {
    color: #4d6278;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-size: .97rem;
}

.tss-about-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tss-about-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3f9, #deeaf8);
    border: 1px solid #deeaf8;
    box-shadow: 0 8px 32px rgba(38,99,155,.1);
    position: relative;
}

/* Patrón decorativo en la imagen placeholder */
.tss-about-img-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(38,99,155,.08) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.tss-about-img-placeholder {
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: #8aa1b2;
    font-size: .9rem;
    position: relative;
    z-index: 1;
}

.tss-about-img-placeholder svg {
    color: #3484c1;
    opacity: .45;
}

/* Highlights (reemplazo de imagen) */
.tss-about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tss-about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e2eaf2;
    border-radius: 12px;
    padding: 1.2rem 1.4rem;
    transition: border-color .2s, box-shadow .2s;
}

.tss-about-highlight-item:hover {
    border-color: #b8d4f0;
    box-shadow: 0 4px 16px rgba(38, 99, 155, 0.08);
}

.tss-about-highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.tss-about-highlight-item strong {
    font-size: .9rem;
    color: #1a2c45;
    display: block;
    margin-bottom: .15rem;
}

.tss-about-highlight-item p {
    font-size: .82rem;
    color: #7a8fa3;
    margin: 0;
    line-height: 1.4;
}

/* Stats */
.tss-about-stats {
    background: linear-gradient(135deg, #0d1f38, #26639b);
    position: relative;
    overflow: hidden;
}

.tss-about-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.tss-stat-item {
    padding: 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    border-right: 1px solid rgba(255,255,255,.1);
    position: relative;
    transition: background .2s;
}

.tss-stat-item:hover {
    background: rgba(255,255,255,.05);
}

.tss-stat-item:last-child { border-right: none; }

.tss-stat-num {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.tss-stat-label {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
}

/* Misión · Visión · Política */
.tss-mvv-card {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}

.tss-mvv-card:hover {
    box-shadow: 0 8px 32px rgba(38,99,155,.12);
    transform: translateY(-3px);
}

.tss-mvv-card--featured {
    background: linear-gradient(135deg, #26639b, #3484c1);
    border-color: transparent;
    color: #fff;
}

.tss-mvv-card--featured:hover {
    box-shadow: 0 8px 32px rgba(38,99,155,.35);
    transform: translateY(-3px);
}

.tss-mvv-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #deeaf8;
    color: #26639b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.tss-mvv-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .6rem;
}

.tss-mvv-card p {
    font-size: .9rem;
    color: #4d6278;
    line-height: 1.7;
    margin: 0;
}

/* Featured (Visión) — declaradas DESPUÉS de .tss-mvv-card p para ganar por orden */
.tss-mvv-card--featured h3,
.tss-mvv-card--featured * > h3 { color: #fff !important; }

.tss-mvv-card--featured p,
.tss-mvv-card--featured .tss-mvv-card p { color: rgba(255,255,255,.92) !important; }

.tss-mvv-card--featured .tss-mvv-icon {
    background: rgba(255,255,255,.18) !important;
    color: #fff !important;
}

/* Valores */
.tss-value-card {
    padding: 1.75rem;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e4eaf2;
    height: 100%;
    transition: border-color .2s, box-shadow .2s;
}

.tss-value-card:hover {
    border-color: #26639b;
    box-shadow: 0 4px 20px rgba(38,99,155,.1);
}

.tss-value-num {
    font-size: 1.8rem;
    font-weight: 900;
    color: #deeaf8;
    line-height: 1;
    margin-bottom: .5rem;
}

.tss-value-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .5rem;
}

.tss-value-card p {
    font-size: .88rem;
    color: #6b7c8d;
    line-height: 1.65;
    margin: 0;
}

/* Valores: variante oscura */
.tss-about-values--dark {
    background: radial-gradient(ellipse at 30% 50%, #0d2240 0%, #091428 50%, #060e1a 100%) !important;
}

.tss-about-values--dark .tss-section-tag,
.tss-about-values--dark .tss-section-title {
    color: #fff;
}

.tss-about-values--dark .tss-section-title::after {
    background: #38bdf8;
}

.tss-about-values--dark .tss-value-card {
    background: rgba(255,255,255,0.04);
    border-color: rgba(56,189,248,0.1);
}

.tss-about-values--dark .tss-value-card:hover {
    border-color: rgba(56,189,248,0.3);
    box-shadow: 0 4px 20px rgba(56,189,248,0.08);
}

.tss-about-values--dark .tss-value-num {
    color: rgba(56,189,248,0.2);
}

.tss-about-values--dark .tss-value-card h4 {
    color: #fff;
}

.tss-about-values--dark .tss-value-card p {
    color: rgba(255,255,255,0.55);
}

/* Equipo */
.tss-about-team { background: #fff; }

.tss-team-card {
    text-align: center;
    padding: 1.75rem 1rem;
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 14px;
    height: 100%;
    transition: box-shadow .2s, transform .2s, border-color .2s;
}

.tss-team-card:hover {
    box-shadow: 0 8px 28px rgba(38,99,155,.12);
    transform: translateY(-3px);
    border-color: #c8d8e8;
}

.tss-team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #26639b, #3484c1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 14px rgba(38,99,155,.25);
}

.tss-team-name {
    font-size: .93rem;
    font-weight: 700;
    color: #0f2a45;
    margin-bottom: .3rem;
}

.tss-team-role {
    font-size: .78rem;
    color: #8aa1b2;
    display: block;
}

/* Marcas */
.tss-brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

.tss-brand-logo-pill {
    padding: .6rem 1.4rem;
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 700;
    color: #4d6278;
    transition: border-color .2s, color .2s;
}

.tss-brand-logo-pill:hover {
    border-color: #26639b;
    color: #26639b;
}

/* CTA final */
.tss-about-cta-final {
    background: linear-gradient(135deg, #1a4a78, #26639b);
    color: #fff;
}

.tss-about-cta-final h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
}

.tss-about-cta-final p {
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
}

.tss-about-cta-final .tss-btn-outline {
    color: #fff !important;
    border-color: rgba(255,255,255,.6);
}

.tss-about-cta-final .tss-btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA SOLICITAR ACCESO
════════════════════════════════════════════════════════════════════════════ */

.tss-benefit-card {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}

.tss-benefit-card:hover {
    box-shadow: 0 6px 24px rgba(38,99,155,.1);
    transform: translateY(-3px);
}

.tss-benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #deeaf8;
    color: #26639b;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.tss-benefit-card h4 {
    font-size: .98rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .4rem;
}

.tss-benefit-card p {
    font-size: .87rem;
    color: #6b7c8d;
    line-height: 1.6;
    margin: 0;
}

.tss-register-form-wrap {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    padding: 2rem 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(38,99,155,.08);
}

/* Compactar formulario de solicitud de acceso */
.tss-register-main .tss-field {
    margin-bottom: .65rem;
}

.tss-register-main .tss-form-row-2 {
    gap: .65rem;
}

.tss-register-main .tss-field label {
    margin-bottom: .2rem;
    font-size: .82rem;
}

.tss-register-main .tss-field input,
.tss-register-main .tss-field select,
.tss-register-main .tss-field textarea {
    padding: .45rem .75rem;
    font-size: .9rem;
}

.tss-register-main .tss-field textarea {
    min-height: 80px;
}

.tss-register-main .tss-form-title {
    font-size: 1.2rem;
    margin-bottom: .3rem;
}

.tss-register-main .tss-form-subtitle {
    font-size: .85rem;
    margin-bottom: 1rem;
}

.tss-register-main .tss-form-submit-row {
    margin-top: .75rem;
}

.tss-register-main.section-padding {
    padding: 3rem 0;
}

.tss-form-note {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: #8aa1b2;
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.tss-approval-process {
    background: #f4f8fd;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #e4eaf2;
    margin-bottom: 1.5rem;
}

.tss-approval-process h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .3rem;
}

.tss-approval-process > p {
    font-size: .88rem;
    color: #6b7c8d;
    margin-bottom: 1.5rem;
}

.tss-process-steps {
    padding: 0;
    margin: 0 0 1.5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tss-process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tss-step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #26639b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 800;
}

.tss-process-step strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: #0f2a45;
    margin-bottom: .2rem;
}

.tss-process-step p {
    font-size: .83rem;
    color: #6b7c8d;
    margin: 0;
    line-height: 1.5;
}

.tss-approval-note {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: #6b7c8d;
    padding-top: 1rem;
    border-top: 1px solid #e4eaf2;
}

.tss-approval-note a { color: #26639b; font-weight: 600; text-decoration: none; }
.tss-approval-note a:hover { text-decoration: underline; }

/* Listas de precios */
.tss-price-tiers {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    padding: 1.5rem;
}

.tss-price-tiers h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: 1rem;
}

.tss-price-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .55rem 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: .88rem;
}

.tss-price-tier:last-of-type { border-bottom: none; }

.tss-tier-name  { font-weight: 700; color: #0f2a45; }
.tss-tier-discount {
    font-size: .8rem;
    font-weight: 700;
    color: #26639b;
    background: #deeaf8;
    padding: .15rem .65rem;
    border-radius: 100px;
}

.tss-tier-note {
    font-size: .78rem;
    color: #8aa1b2;
    margin-top: .75rem;
    margin-bottom: 0;
}

/* FAQ */
.tss-faq-item.accordion-item {
    border: 1px solid #e4eaf2;
    border-radius: 10px !important;
    margin-bottom: .6rem;
    overflow: hidden;
}

.tss-faq-item .accordion-button {
    font-weight: 700;
    font-size: .93rem;
    color: #0f2a45;
    background: #fff;
    padding: 1rem 1.25rem;
}

.tss-faq-item .accordion-button:not(.collapsed) {
    background: #deeaf8;
    color: #26639b;
    box-shadow: none;
}

.tss-faq-item .accordion-button::after {
    filter: none;
}

.tss-faq-item .accordion-body {
    font-size: .9rem;
    color: #4d6278;
    line-height: 1.7;
    padding: 1rem 1.25rem;
    background: #f9fbfe;
}


/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA SERVICIOS
════════════════════════════════════════════════════════════════════════════ */

/* Highlights */
.tss-services-highlights .tss-svc-hl {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
}

.tss-svc-hl strong {
    font-size: 1.3rem;
    font-weight: 900;
    color: #26639b;
    display: block;
}

.tss-svc-hl span {
    font-size: .82rem;
    color: #6b7c8d;
}

/* Tarjetas de servicio */
.tss-service-card {
    background: #fff;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: box-shadow .25s, transform .25s, border-color .25s;
    display: flex;
    flex-direction: column;
}

.tss-service-card:hover {
    box-shadow: 0 8px 32px rgba(38,99,155,.12);
    transform: translateY(-4px);
    border-color: #b8d4f0;
}

.tss-service-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.tss-svc-icon--blue   { background: #deeaf8; color: #26639b; }
.tss-svc-icon--teal   { background: #d0f0ee; color: #0e7a73; }
.tss-svc-icon--orange { background: #fdecd8; color: #c2570a; }
.tss-svc-icon--purple { background: #ece8fa; color: #6a3db8; }
.tss-svc-icon--green  { background: #d5f3e5; color: #1a7a43; }
.tss-svc-icon--red    { background: #fde8e8; color: #c22b2b; }

.tss-service-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f2a45;
    margin-bottom: .75rem;
}

.tss-service-card__desc {
    font-size: .88rem;
    color: #4d6278;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.tss-service-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.tss-service-card__features li {
    font-size: .83rem;
    color: #4d6278;
    padding-left: 1.2rem;
    position: relative;
}

.tss-service-card__features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #26639b;
    font-weight: 700;
}

.tss-service-card__brands {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.tss-micro-badge {
    display: inline-block;
    font-size: .73rem;
    font-weight: 700;
    color: #4d6278;
    background: #f0f4f9;
    padding: .15rem .6rem;
    border-radius: 100px;
    border: 1px solid #e4eaf2;
}

/* Timeline del proceso */
.tss-process-timeline {
    position: relative;
}

.tss-timeline-step {
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
}

.tss-timeline-step::after {
    content: '→';
    position: absolute;
    right: -0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.3);
    font-size: 1.5rem;
    font-weight: 900;
}

.tss-timeline-step:last-child::after { display: none; }

.tss-timeline-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,.2);
    line-height: 1;
    margin-bottom: .75rem;
}

.tss-timeline-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: .6rem;
}

.tss-timeline-desc {
    font-size: .87rem;
    color: rgba(255,255,255,.7);
    line-height: 1.65;
    margin: 0;
}

/* Clientes – logos grid */
.tss-clients-section {
    background: #fff;
}

.tss-clients-section .tss-section-tag {
    display: none;
}

.tss-clients-section .tss-section-title::after {
    display: none;
}

.tss-clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.tss-client-logo {
    background: #f4f8fd;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 90px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.tss-client-logo:hover {
    border-color: #b8d4f0;
    box-shadow: 0 4px 16px rgba(38, 99, 155, 0.1);
    transform: translateY(-2px);
}

.tss-client-logo img {
    max-height: 50px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter .3s;
}

.tss-client-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

/* Variante a color (sin grayscale) */
.tss-clients-section--color .tss-client-logo img {
    filter: none;
    opacity: 1;
}

.tss-clients-section--color .tss-client-logo:hover img {
    filter: none;
}

/* Variante fondo oscuro */
/* Variante: fondo oscuro, logos grises → color en hover */
.tss-clients-section--dark-hover {
    background: radial-gradient(ellipse at 30% 50%, #0d2240 0%, #091428 50%, #060e1a 100%);
}

.tss-clients-section--dark-hover .tss-section-title {
    color: #fff;
}

.tss-clients-section--dark-hover .tss-client-logo {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.tss-clients-section--dark-hover .tss-client-logo:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tss-clients-section--dark-hover .tss-client-logo img {
    filter: grayscale(100%) brightness(2) opacity(0.3);
    transition: filter .4s ease;
}

.tss-clients-section--dark-hover .tss-client-logo:hover img {
    filter: grayscale(0%) brightness(1) opacity(1);
}

.tss-clients-section--dark {
    background: linear-gradient(135deg, #1a2332 0%, #26639b 100%);
}

.tss-clients-section--dark .tss-section-tag,
.tss-clients-section--dark .tss-section-title {
    color: #fff;
}

.tss-clients-section--dark .tss-client-logo {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.tss-clients-section--dark .tss-client-logo:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.tss-clients-section--dark .tss-client-logo img {
    filter: brightness(0) invert(1) opacity(0.7);
    transition: filter .3s;
}

.tss-clients-section--dark .tss-client-logo:hover img {
    filter: brightness(0) invert(1) opacity(1);
}

@media (max-width: 991.98px) {
    .tss-clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 575.98px) {
    .tss-clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .tss-client-logo {
        padding: .8rem 1rem;
        min-height: 70px;
    }
}

/* Sectores */
.tss-sector-card {
    background: #f4f8fd;
    border: 1px solid #e4eaf2;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    transition: background .2s, border-color .2s, color .2s;
    color: #4d6278;
}

.tss-sector-card:hover {
    background: #deeaf8;
    border-color: #b8d4f0;
    color: #26639b;
}

.tss-sector-card span {
    font-size: .85rem;
    font-weight: 600;
}

.tss-sector-card__icon {
    font-size: 2rem;
    line-height: 1;
    color: var(--tss-medium-blue, #3484c1);
    transition: color .2s;
}

.tss-sector-card:hover .tss-sector-card__icon {
    color: var(--tss-dark-blue, #26639b);
}

.tss-sector-card__name {
    font-size: .85rem;
    font-weight: 600;
    margin: 0;
}

.tss-sectors-section {
    background: #f9fafb;
}

/* CTA servicios */
.tss-services-cta {
    background: linear-gradient(135deg, #1a4a78, #26639b);
    color: #fff;
}

.tss-services-cta h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: .75rem;
}

.tss-services-cta p {
    color: rgba(255,255,255,.8);
}

.tss-services-cta .tss-btn-outline {
    color: #fff !important;
    border-color: rgba(255,255,255,.6);
}

.tss-services-cta .tss-btn-outline:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
}


/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    .tss-contact-form-wrap,
    .tss-register-form-wrap {
        padding: 1.75rem;
    }

    .tss-timeline-step::after { display: none; }
}

@media (max-width: 767px) {
    .section-padding    { padding: 3.5rem 0; }
    .section-padding-sm { padding: 2rem 0; }

    .tss-page-hero { padding: 3rem 0 2.5rem; }
    .tss-hero-icon { width: 56px; height: 56px; min-width: 56px; font-size: 1.5rem; border-radius: 14px; }

    .tss-stat-item {
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .tss-stat-item:last-child { border-bottom: none; }

    .tss-contact-form-wrap,
    .tss-register-form-wrap {
        padding: 1.25rem;
    }

    .tss-mvv-card { margin-bottom: 0; }

    .tss-timeline-step { padding: 1.5rem 1rem; }

    .tss-about-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA POLÍTICA DE PRIVACIDAD
   ═══════════════════════════════════════════════════════════════════════════ */

.tss-privacy-block {
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--tss-border, #e2e8f0);
}

.tss-privacy-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.tss-privacy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--tss-light-gray, #f0f5fa);
  color: var(--tss-dark-blue, #26639b);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.tss-privacy-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--tss-dark-blue, #26639b);
  margin-bottom: 1rem;
}

.tss-privacy-block p {
  color: #4a5568;
  line-height: 1.75;
}

.tss-privacy-sub {
  background: var(--tss-light-gray, #f0f5fa);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.tss-privacy-sub h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a2c45;
  margin-bottom: 0.5rem;
}

.tss-privacy-sub p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.tss-privacy-list {
  list-style: none;
  padding: 0;
}

.tss-privacy-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #4a5568;
  line-height: 1.7;
}

.tss-privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tss-medium-blue, #3484c1);
}

.tss-privacy-block--highlight {
  background: var(--tss-light-gray, #f0f5fa);
  border-radius: 16px;
  padding: 2rem;
  border-bottom: none;
}

.tss-right-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--tss-border, #e2e8f0);
  height: 100%;
  transition: box-shadow 0.2s ease;
}

.tss-right-card:hover {
  box-shadow: 0 4px 16px rgba(38, 99, 155, 0.1);
}

.tss-right-card i {
  font-size: 1.5rem;
  color: var(--tss-medium-blue, #3484c1);
  display: block;
  margin-bottom: 0.5rem;
}

.tss-right-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tss-dark-blue, #26639b);
  margin-bottom: 0.35rem;
}

.tss-right-card p {
  font-size: 0.82rem;
  margin-bottom: 0;
  color: #6b7280;
}

.tss-privacy-cta {
  border-top: 1px solid var(--tss-border, #e2e8f0);
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECCIÓN COMBINADA: CÓMO TRABAJAMOS + CTA (compartido home + servicios)
   ═══════════════════════════════════════════════════════════════════════════ */

.tss-combined-section {
  position: relative;
}

.tss-combined-top {
  background: linear-gradient(180deg, #f0f5fa 0%, #e4ecf5 100%);
  padding: 5rem 0 4rem;
}

.tss-step-card {
  background: #fff;
  border: 1px solid #dce6f0;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  height: 100%;
  position: relative;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tss-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(38, 99, 155, 0.12);
}

.tss-step-card-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: #26639b;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(38, 99, 155, 0.3);
}

.tss-step-card-icon {
  font-size: 2rem;
  color: #3484c1;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.tss-step-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a2c45;
  margin-bottom: 0.6rem;
}

.tss-step-card-desc {
  font-size: 0.88rem;
  color: #5a6f82;
  line-height: 1.6;
  margin: 0;
}

.tss-combined-bottom {
  position: relative;
  background: linear-gradient(135deg, #1a4a78 0%, #26639b 60%, #2d72ae 100%);
  padding: 5rem 0;
  overflow: hidden;
  text-align: center;
}

/* CTA: fondo orbs + grid */
.tss-cta-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.tss-cta-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 48px 48px; }
.tss-cta-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4; animation: ctaOrbFloat 8s ease-in-out infinite alternate; }
.tss-cta-orb--1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%); top: -160px; left: -120px; }
.tss-cta-orb--2 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%); bottom: -140px; right: -80px; animation-delay: -3s; }
.tss-cta-orb--3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(26,44,69,0.3) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -6s; animation-name: ctaOrbFloat3; }

/* CTA: contenido */
.tss-cta-inner { position: relative; z-index: 1; }
.tss-cta-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 1.25rem; letter-spacing: -0.02em; max-width: 750px; margin-inline: auto; }
.tss-cta-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.82); line-height: 1.7; max-width: 560px; margin: 0 auto 2.5rem; }

/* CTA: botones */
.tss-cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.tss-cta-btn { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 1rem; padding: 0.85rem 2rem; border-radius: 10px; text-decoration: none; border: 2px solid transparent; transition: transform 0.22s, box-shadow 0.22s, background 0.22s, border-color 0.22s; }
/* Ghost light: para fondo claro */
.tss-cta-btn--ghost-light {
  background: rgba(38, 99, 155, 0.05) !important;
  color: #26639b !important;
  border: 2px solid rgba(38, 99, 155, 0.5) !important;
  box-shadow: 0 1px 4px rgba(38, 99, 155, 0.08);
}
.tss-cta-btn--ghost-light:hover {
  background: rgba(38, 99, 155, 0.1) !important;
  border-color: rgba(38, 99, 155, 0.7) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(38, 99, 155, 0.15);
  color: #1a4a78 !important;
}

.tss-cta-btn--primary { background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%); color: #fff !important; border: none; box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 40px rgba(56, 189, 248, 0.15); }
.tss-cta-btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5), 0 0 60px rgba(56, 189, 248, 0.25); color: #fff !important; }
.tss-cta-btn--primary .tss-cta-arrow { transition: transform 0.2s; }
.tss-cta-btn--primary:hover .tss-cta-arrow { transform: translateX(4px); }
.tss-cta-btn--ghost { background: rgba(255,255,255,0.08); color: #fff !important; border: 2px solid rgba(255,255,255,0.35); backdrop-filter: blur(6px); box-shadow: 0 2px 12px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1); }
.tss-cta-btn--ghost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); color: #fff !important; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15); }

/* CTA: trust signals */
.tss-cta-trust { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 0; }
.tss-cta-trust-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.83rem; color: rgba(255,255,255,0.75); font-weight: 500; padding: 0 1.25rem; }
.tss-cta-trust-item i { font-size: 0.9rem; color: rgba(255,255,255,0.9); }
.tss-cta-trust-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.25); }

@media (max-width: 767px) {
  .tss-combined-top { padding: 3rem 0 2.5rem; }
  .tss-combined-bottom { padding: 3rem 0; }
  .tss-step-card { padding: 1.5rem 1rem; }
  .tss-cta-trust-item { padding: 0.3rem 0.75rem; }
  .tss-cta-btn { font-size: 0.9rem; padding: 0.75rem 1.5rem; }
}



/* ═══════════════════════════════════════════════════════════════════════════
   PÁGINA 404 — Épica con fondo oscuro
   ═══════════════════════════════════════════════════════════════════════════ */

.tss-404-hero {
  position: relative;
  background: radial-gradient(ellipse at 50% 30%, #0d2240 0%, #091428 50%, #060e1a 100%);
  min-height: 100vh;
  padding: 4rem 0 5rem;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Glows animados */
.tss-404-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.tss-404-glow--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
  top: -200px;
  left: -150px;
  animation: tss404Glow1 10s ease-in-out infinite alternate;
}

.tss-404-glow--2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  bottom: -200px;
  right: -100px;
  animation: tss404Glow2 8s ease-in-out infinite alternate;
}

@keyframes tss404Glow1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(60px, 40px) scale(1.15); opacity: 1; }
}
@keyframes tss404Glow2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.4; }
  100% { transform: translate(-50px, -30px) scale(1.1); opacity: 0.8; }
}

/* Grid decorativo */
.tss-404-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tss-404-hero .container {
  z-index: 1;
}

/* Número 404 gigante */
.tss-404-giant {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  font-weight: 900;
  line-height: 1;
  animation: tss404FadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.tss-404-giant-digit {
  font-size: clamp(7rem, 18vw, 14rem);
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
  text-shadow: 0 0 60px rgba(56, 189, 248, 0.15);
}

.tss-404-giant-circle {
  position: relative;
  width: clamp(7rem, 18vw, 14rem);
  height: clamp(7rem, 18vw, 14rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tss-404-giant-inner {
  font-size: clamp(7rem, 18vw, 14rem);
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
}

.tss-404-giant-ring {
  position: absolute;
  inset: 10%;
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: 50%;
  animation: tss404Rotate 20s linear infinite;
}

.tss-404-giant-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 20px #38bdf8;
}

.tss-404-giant-ring--2 {
  inset: 20%;
  border-color: rgba(167, 139, 250, 0.25);
  border-style: dashed;
  animation: tss404Rotate 30s linear infinite reverse;
}

.tss-404-giant-ring--2::before {
  background: #a78bfa;
  box-shadow: 0 0 15px #a78bfa;
  top: auto;
  bottom: -5px;
  left: 50%;
  width: 8px;
  height: 8px;
}

@keyframes tss404Rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes tss404FadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Contenido central */
.tss-404-content {
  max-width: 680px;
  margin: 0 auto;
  animation: tss404FadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.tss-404-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.tss-404-badge i {
  font-size: 0.85rem;
}

.tss-404-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.tss-404-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Buscador */
.tss-404-search {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  padding: 0.4rem 0.4rem 0.4rem 1.2rem;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: border-color .25s, box-shadow .25s;
}

.tss-404-search:focus-within {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(56, 189, 248, 0.1);
}

.tss-404-search-icon {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.tss-404-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.75rem 1rem;
  outline: none;
  min-width: 0;
}

.tss-404-search-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.tss-404-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 12px rgba(37, 99, 235, 0.4);
}

.tss-404-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
}

/* CTAs */
.tss-404-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tss-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s;
}

.tss-404-btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4), 0 0 40px rgba(56, 189, 248, 0.15);
}

.tss-404-btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.5), 0 0 60px rgba(56, 189, 248, 0.25);
  color: #fff;
}

.tss-404-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
}

.tss-404-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  color: #fff;
}

/* Quick links */
.tss-404-quicklinks {
  margin-top: 4rem;
  animation: tss404FadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.tss-404-quicklinks-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}

.tss-404-quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.tss-404-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.4rem 3rem 1.4rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 14px;
  text-decoration: none;
  transition: all .25s;
  backdrop-filter: blur(10px);
}

.tss-404-link-card > i:first-child {
  font-size: 1.5rem;
  color: #38bdf8;
  margin-bottom: 0.4rem;
  transition: transform .25s;
}

.tss-404-link-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.tss-404-link-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.tss-404-link-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: rgba(56, 189, 248, 0.5);
  transition: transform .25s, color .25s;
}

.tss-404-link-card:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.1);
}

.tss-404-link-card:hover > i:first-child {
  transform: scale(1.1);
}

.tss-404-link-card:hover .tss-404-link-arrow {
  transform: translate(4px, -50%);
  color: #38bdf8;
}

/* Responsive */
@media (max-width: 767.98px) {
  .tss-404-hero { padding: 2.5rem 0 3.5rem; }
  .tss-404-giant { gap: 0.5rem; margin-bottom: 1.5rem; }
  .tss-404-search { flex-direction: column; padding: 0.75rem; gap: 0.5rem; }
  .tss-404-search-icon { display: none; }
  .tss-404-search-btn { width: 100%; justify-content: center; }
  .tss-404-ctas { flex-direction: column; }
  .tss-404-btn { width: 100%; justify-content: center; }
  .tss-404-quicklinks-grid { grid-template-columns: 1fr; }
}
