/* ==========================================================================
   ABOUT PAGE STYLES — Que es SecurApp
   Mobile-first responsive approach
   ========================================================================== */

/* ── Storyline — Scroll-driven decorative SVG path ────── */
.about-storyline {
    position: relative;
}

.about-storyline__line {
    display: none;
}


.about-storyline__path {
    stroke: url(#storyline-grad-light);
}

[data-theme="dark"] .about-storyline__path {
    stroke: url(#storyline-grad-dark);
}

@media (prefers-reduced-motion: reduce) {
    .about-storyline__path {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
    }
}


/* ── Hero Mini ─────────────────────────────────────────── */
.hero-mini {
    position: relative;
    padding-top: calc(var(--nav-height, 72px) + var(--space-6));
    padding-bottom: var(--space-24);
    overflow: hidden;
}

.hero-mini__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-mini__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: var(--container-narrow);
    margin-inline: auto;
    padding-top: var(--space-8);
}

.hero-mini__title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-4);
}

.hero-mini__subtitle {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    max-width: 560px;
    margin-inline: auto;
}

.hero-mini__descriptor {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    letter-spacing: var(--tracking-wide);
    margin-top: var(--space-4);
}


/* ── Vision Section ────────────────────────────────────── */
.about-vision {
    padding-top: var(--space-6);
    padding-bottom: var(--space-8);
}


.about-vision__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
}

.about-vision__text {
    text-align: center;
}

.about-vision__text .badge {
    margin-bottom: var(--space-4);
}

.about-vision__text .section__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-6);
}

.about-vision__text p {
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    text-align: justify;
    text-justify: inter-word;
}

.about-vision__actions {
    margin-top: var(--space-6);
    text-align: center;
}

.about-vision__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-vision__logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    filter:
        drop-shadow(0 4px 8px rgba(81, 112, 255, 0.10))
        drop-shadow(0 16px 32px rgba(81, 112, 255, 0.14))
        drop-shadow(0 32px 64px rgba(206, 50, 255, 0.08));
}

/* Sparkles — on the logo surface, like it's shining */
.about-vision__logo-wrap {
    position: relative;
    display: inline-block;
}

.about-vision__logo-wrap::before {
    content: '';
    position: absolute;
    inset: 10% 10%;
    z-index: 2;
    pointer-events: none;
    background:
        var(--spark) no-repeat 30% 25%,
        var(--spark) no-repeat 65% 40%,
        var(--spark) no-repeat 45% 70%;
    background-size: 18px 18px, 13px 13px, 15px 15px;
    animation: sparkle-a 4s var(--ease-in-out) infinite;
}

.about-vision__logo-wrap::after {
    content: '';
    position: absolute;
    inset: 10% 10%;
    z-index: 2;
    pointer-events: none;
    background:
        var(--spark) no-repeat 55% 20%,
        var(--spark) no-repeat 25% 55%,
        var(--spark) no-repeat 70% 75%;
    background-size: 12px 12px, 16px 16px, 10px 10px;
    animation: sparkle-b 5.5s var(--ease-in-out) 2s infinite;
}

/* White sparkles for both themes */
.about-vision__logo-wrap {
    --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0L13.4 9.2L20 12L13.4 14.8L12 24L10.6 14.8L4 12L10.6 9.2Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

/* Theme logo swap */
.about-vision__logo--dark { display: none; }

[data-theme="dark"] .about-vision__logo--light { display: none; }
[data-theme="dark"] .about-vision__logo--dark { display: block; }

[data-theme="dark"] .about-vision__logo {
    filter:
        drop-shadow(0 4px 8px rgba(255, 255, 255, 0.06))
        drop-shadow(0 16px 32px rgba(81, 112, 255, 0.10))
        drop-shadow(0 32px 64px rgba(206, 50, 255, 0.06));
}

@media (min-width: 1024px) {
    .about-vision__logo {
        max-width: 520px;
    }
}


/* ── Manifesto — Lo que nos define ─────────────────────── */
.about-manifesto {
    padding-top: var(--space-8);
    padding-bottom: var(--space-24);
}

.about-manifesto .section__header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.about-manifesto__statements {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.about-manifesto__statement {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    align-items: center;
}

.about-manifesto__number-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-manifesto__number {
    font-size: var(--text-5xl);
    font-weight: var(--fw-extrabold);
    letter-spacing: var(--tracking-tight);
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 2px 0 rgba(81, 112, 255, 0.4))
        drop-shadow(0 4px 0 rgba(81, 112, 255, 0.2))
        drop-shadow(0 8px 16px rgba(81, 112, 255, 0.25))
        drop-shadow(0 16px 32px rgba(81, 112, 255, 0.1));
    user-select: none;
}

[data-theme="dark"] .about-manifesto__number {
    filter:
        drop-shadow(0 2px 0 rgba(206, 50, 255, 0.4))
        drop-shadow(0 4px 0 rgba(206, 50, 255, 0.2))
        drop-shadow(0 8px 16px rgba(206, 50, 255, 0.3))
        drop-shadow(0 16px 32px rgba(206, 50, 255, 0.12));
}

.about-manifesto__body {
    text-align: center;
}

.about-manifesto__title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    margin-bottom: var(--space-3);
}

.about-manifesto__title .text-gradient {
    display: inline-block;
    transition: opacity var(--duration-normal) var(--ease-smooth),
                transform var(--duration-normal) var(--ease-spring);
}

.about-manifesto__text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
    max-width: 480px;
    margin-inline: auto;
    text-align: justify;
    text-justify: inter-word;
}

.about-manifesto__reveal {
    position: relative;
    text-align: center;
    font-size: var(--text-2xl);
    font-weight: var(--fw-extrabold);
    font-style: italic;
    letter-spacing: var(--tracking-tight);
    line-height: var(--leading-normal);
    color: var(--text-tertiary);
    margin-top: var(--space-12);
    overflow: visible;
}

/* Glow behind the phrase — appears during reveal */
.about-manifesto__reveal::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, color-mix(in srgb, #5170FF 12%, transparent), transparent 70%);
    border-radius: 50%;
    opacity: var(--glow-opacity, 0);
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] .about-manifesto__reveal::before {
    background: radial-gradient(ellipse, color-mix(in srgb, #CE32FF 15%, transparent), transparent 70%);
}

.about-manifesto__reveal-text {
    display: inline-block;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    clip-path: inset(0 100% 0 0);
    padding-right: 0.25em;
}

.about-manifesto__divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-default) 30%, var(--border-default) 70%, transparent 100%);
    margin: 0;
}


/* ══════════════════════════════════════════════════════════
   VALORES — Lo que nos guía
   ══════════════════════════════════════════════════════════ */

.about-values .section__header {
    text-align: center;
    margin-bottom: var(--space-16);
}

/* ── Bento grid ── */
.about-values__bento {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

/* ── Card base ── */
.about-values__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft) url(#glass-distort);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition:
        background var(--duration-normal) var(--ease-smooth),
        box-shadow var(--duration-normal) var(--ease-smooth);
}

/* Specular highlight en el borde superior */
.about-values__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.45) 30%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.45) 70%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
}

/* Número decorativo + glow radial superpuestos en ::after */
.about-values__card::after {
    content: attr(data-num);
    position: absolute;
    top: -0.15em;
    right: var(--space-6);
    font-size: 7.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    opacity: 0.07;
    pointer-events: none;
    user-select: none;
}

.about-values__card:hover {
    background: var(--glass-bg-hover);
}

/* Icono */
.about-values__icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg);
    border: 1px solid color-mix(in srgb, #ce32ff 28%, transparent);
    background: color-mix(in srgb, #ce32ff 10%, transparent);
    color: #ce32ff;
    flex-shrink: 0;
    box-shadow: 0 4px 20px color-mix(in srgb, #ce32ff 18%, transparent);
}

.about-values__name {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.about-values__desc {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text-muted);
}

/* card-inner: flex row para featured y wide */
.about-values__card-inner {
    display: contents;
}

/* Quote decorativa en wide card */
.about-values__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.about-values__quote {
    display: none;
}

/* ── Dark mode ── */
[data-theme="dark"] .about-values__card {
    background: color-mix(in srgb, #ce32ff 10%, transparent);
}

[data-theme="dark"] .about-values__card:hover {
    background: color-mix(in srgb, #ce32ff 16%, transparent);
}

[data-theme="dark"] .about-values__icon {
    color: #eb78ff;
    border-color: color-mix(in srgb, #ce32ff 22%, transparent);
    background: color-mix(in srgb, #ce32ff 12%, transparent);
    box-shadow: 0 4px 20px color-mix(in srgb, #ce32ff 22%, transparent);
}

/* ── Tablet: 2 columnas ── */
@media (min-width: 640px) {
    .about-values__bento {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

/* ── Desktop: bento asimétrico ── */
@media (min-width: 1024px) {
    .about-values__bento {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }

    /* Protección: ocupa 2 columnas, layout vertical (más aire para el texto) */
    .about-values__card--featured {
        grid-column: span 2;
    }

    .about-values__card--featured .about-values__desc {
        max-width: 56ch;
    }

    /* Evolución: 3 columnas, layout horizontal con quote */
    .about-values__card--wide {
        grid-column: span 3;
    }

    .about-values__card--wide .about-values__card-inner {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: var(--space-8);
    }

    .about-values__card--wide .about-values__body {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
        flex: 1;
    }

    .about-values__card--wide .about-values__desc {
        max-width: 48ch;
    }

    .about-values__quote {
        display: block;
        margin: 0;
        font-size: var(--text-2xl);
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.2;
        background: var(--gradient-text);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        opacity: 0.45;
        white-space: nowrap;
        text-align: right;
        flex-shrink: 0;
    }
}

/* ══════════════════════════════════════════════════════════
   EVOLUTION — Fully Immersive Cinematic Experience
   ══════════════════════════════════════════════════════════ */

.evolution {
    position: relative;
    padding: 0;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #060610;
}

.evolution__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.evolution__atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 50% 50%,
        rgba(81, 112, 255, 0.08) 0%,
        transparent 70%);
    transition: background 1.5s ease;
}

.evolution__vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse at center,
        transparent 40%,
        rgba(6, 6, 16, 0.5) 80%,
        rgba(6, 6, 16, 0.85) 100%);
}

.evolution__pin {
    position: relative;
    z-index: 3;
}

.evolution__track {
    display: flex;
    flex-direction: column;
}

.evolution__stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-8) var(--space-6);
    text-align: center;
}

/* ═══════════════════════════════════════════════════════
   INTRO — Cinematic welcome
   ═══════════════════════════════════════════════════════ */
.evolution__stage--intro {
    min-height: 100vh;
}

.evolution__intro-overline {
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-6);
    text-shadow: 0 0 24px rgba(81, 112, 255, 0.5),
                 0 0 48px rgba(81, 112, 255, 0.2);
}

.evolution__intro-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: #fff;
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.evolution__intro-gradient {
    background: linear-gradient(135deg, #60A5FA, #22D3EE);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(81, 112, 255, 0.5));
}

.evolution__intro-sub {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.65);
    font-weight: var(--fw-normal);
    line-height: var(--leading-relaxed);
    max-width: 560px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6),
                 0 0 24px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════════
   OUTRO — Cinematic farewell
   ═══════════════════════════════════════════════════════ */
.evolution__stage--outro {
    min-height: 100vh;
}

.evolution__outro-overline {
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-6);
    text-shadow: 0 0 24px rgba(206, 50, 255, 0.5),
                 0 0 48px rgba(206, 50, 255, 0.2);
}

.evolution__outro-title {
    font-size: var(--text-3xl);
    font-weight: var(--fw-extrabold);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: #fff;
    margin-bottom: var(--space-6);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.evolution__outro-gradient {
    background: linear-gradient(135deg, #CE32FF, #FF3E89);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(206, 50, 255, 0.5));
}

.evolution__outro-message {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.65);
    font-weight: var(--fw-normal);
    line-height: var(--leading-relaxed);
    max-width: 560px;
    margin-bottom: var(--space-4);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6),
                 0 0 24px rgba(0, 0, 0, 0.3);
}

.evolution__outro-cta {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.55);
    font-weight: var(--fw-normal);
    line-height: var(--leading-relaxed);
    max-width: 520px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5),
                 0 0 20px rgba(0, 0, 0, 0.3);
}

.evolution__outro-logo {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: var(--space-8);
    filter: drop-shadow(0 0 32px rgba(206, 50, 255, 0.5))
            drop-shadow(0 0 64px rgba(206, 50, 255, 0.25));
}

/* ═══════════════════════════════════════════════════════
   CONTENT STAGES — Era, Title, Phrases
   ═══════════════════════════════════════════════════════ */

.evolution__era {
    display: inline-block;
    font-size: var(--text-base);
    font-weight: var(--fw-extrabold);
    letter-spacing: var(--tracking-widest);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-5);
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--radius-full);
}

.evolution__title {
    font-size: var(--text-4xl);
    font-weight: var(--fw-extrabold);
    line-height: 1.15;
    letter-spacing: var(--tracking-tight);
    padding-bottom: 0.08em;
    margin-bottom: var(--space-3);
    color: #fff;
}

.evolution__desc {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.55);
    line-height: var(--leading-relaxed);
    max-width: 460px;
    margin-top: var(--space-4);
    margin-bottom: 0;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    will-change: transform, opacity, filter;
}

/*
 * Stage-specific gradient titles — NO filter: drop-shadow here,
 * it clips descenders (g, y, p) when combined with background-clip: text.
 * Glow is achieved via a ::after pseudo-element instead.
 */
.evolution__stage[data-stage] .evolution__title {
    position: relative;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.evolution__stage[data-stage] .evolution__title::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    z-index: -1;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(28px);
    opacity: 0.55;
    pointer-events: none;
}

.evolution__stage[data-stage="origin"] .evolution__title {
    background-image: linear-gradient(135deg, #60A5FA, #22D3EE);
}
.evolution__stage[data-stage="origin"] .evolution__title::after {
    background-image: linear-gradient(135deg, #60A5FA, #22D3EE);
}
.evolution__stage[data-stage="origin"] .evolution__era {
    color: #60A5FA;
    text-shadow: 0 0 18px rgba(96, 165, 250, 0.7), 0 0 40px rgba(34, 211, 238, 0.4), 0 0 80px rgba(96, 165, 250, 0.2);
}

.evolution__stage[data-stage="foundation"] .evolution__title {
    background-image: linear-gradient(135deg, #818CF8, #60A5FA);
}
.evolution__stage[data-stage="foundation"] .evolution__title::after {
    background-image: linear-gradient(135deg, #818CF8, #60A5FA);
}
.evolution__stage[data-stage="foundation"] .evolution__era {
    color: #818CF8;
    text-shadow: 0 0 18px rgba(129, 140, 248, 0.7), 0 0 40px rgba(96, 165, 250, 0.4), 0 0 80px rgba(129, 140, 248, 0.2);
}

.evolution__stage[data-stage="network"] .evolution__title {
    background-image: linear-gradient(135deg, #A78BFA, #CE32FF);
}
.evolution__stage[data-stage="network"] .evolution__title::after {
    background-image: linear-gradient(135deg, #A78BFA, #CE32FF);
}
.evolution__stage[data-stage="network"] .evolution__era {
    color: #A78BFA;
    text-shadow: 0 0 18px rgba(167, 139, 250, 0.7), 0 0 40px rgba(206, 50, 255, 0.4), 0 0 80px rgba(167, 139, 250, 0.2);
}

.evolution__stage[data-stage="intelligence"] .evolution__title {
    background-image: linear-gradient(135deg, #E879F9, #FF3E89);
}
.evolution__stage[data-stage="intelligence"] .evolution__title::after {
    background-image: linear-gradient(135deg, #E879F9, #FF3E89);
}
.evolution__stage[data-stage="intelligence"] .evolution__era {
    color: #E879F9;
    text-shadow: 0 0 18px rgba(232, 121, 249, 0.7), 0 0 40px rgba(255, 62, 137, 0.4), 0 0 80px rgba(232, 121, 249, 0.2);
}

.evolution__stage[data-stage="scale"] .evolution__title {
    background-image: linear-gradient(135deg, #FB7185, #818CF8);
}
.evolution__stage[data-stage="scale"] .evolution__title::after {
    background-image: linear-gradient(135deg, #FB7185, #818CF8);
}
.evolution__stage[data-stage="scale"] .evolution__era {
    color: #FB7185;
    text-shadow: 0 0 18px rgba(251, 113, 133, 0.7), 0 0 40px rgba(129, 140, 248, 0.4), 0 0 80px rgba(251, 113, 133, 0.2);
}

.evolution__stage[data-stage="future"] .evolution__title {
    background-image: linear-gradient(135deg, #818CF8, #E879F9);
}
.evolution__stage[data-stage="future"] .evolution__title::after {
    background-image: linear-gradient(135deg, #818CF8, #E879F9);
}
.evolution__stage[data-stage="future"] .evolution__era {
    color: #818CF8;
    text-shadow: 0 0 18px rgba(129, 140, 248, 0.7), 0 0 40px rgba(232, 121, 249, 0.4), 0 0 80px rgba(129, 140, 248, 0.2);
}

/* ── Phrase — sequential text, floats in the scene ────── */
.evolution__phrase {
    font-size: var(--text-base);
    color: rgba(255, 255, 255, 0.75);
    font-weight: var(--fw-normal);
    letter-spacing: var(--tracking-wide);
    line-height: var(--leading-relaxed);
    max-width: 380px;
    margin-bottom: var(--space-2);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.9),
                 0 0 40px rgba(0, 0, 0, 0.5),
                 0 0 60px rgba(0, 0, 0, 0.3);
    will-change: transform, opacity, filter;
}

.evolution__phrase .text-gradient {
    font-weight: var(--fw-semibold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.evolution__stage[data-stage="origin"] .evolution__phrase .text-gradient {
    background-image: linear-gradient(135deg, #60A5FA, #22D3EE);
}
.evolution__stage[data-stage="foundation"] .evolution__phrase .text-gradient {
    background-image: linear-gradient(135deg, #818CF8, #60A5FA);
}
.evolution__stage[data-stage="network"] .evolution__phrase .text-gradient {
    background-image: linear-gradient(135deg, #A78BFA, #CE32FF);
}
.evolution__stage[data-stage="intelligence"] .evolution__phrase .text-gradient {
    background-image: linear-gradient(135deg, #E879F9, #FF3E89);
}
.evolution__stage[data-stage="scale"] .evolution__phrase .text-gradient {
    background-image: linear-gradient(135deg, #FB7185, #818CF8);
}
.evolution__stage[data-stage="future"] .evolution__phrase .text-gradient {
    background-image: linear-gradient(135deg, #818CF8, #E879F9);
}

/* ── Progress — hidden on mobile ─────────────────────── */
.evolution__progress {
    display: none;
}

/* ── Audio toggle — stage-dynamic gradient ────────────── */
.evolution__audio-toggle {
    --audio-c1: 206, 50, 255;
    --audio-c2: 255, 62, 137;
    position: absolute;
    bottom: var(--space-6);
    right: var(--space-6);
    z-index: 20;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(var(--audio-c1), 0.10), rgba(var(--audio-c2), 0.06));
    border: 1px solid rgba(var(--audio-c1), 0.22);
    border-radius: var(--radius-full);
    color: rgba(var(--audio-c1), 0.6);
    cursor: pointer;
    transition: color var(--duration-normal) var(--ease-smooth),
                border-color var(--duration-normal) var(--ease-smooth),
                background var(--duration-normal) var(--ease-smooth),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

.evolution__audio-off {
    display: none;
}

.evolution__audio-toggle svg {
    width: 22px;
    height: 22px;
}

.evolution__audio-toggle:hover {
    color: rgba(var(--audio-c1), 0.9);
    background: linear-gradient(135deg, rgba(var(--audio-c1), 0.18), rgba(var(--audio-c2), 0.10));
    border-color: rgba(var(--audio-c1), 0.35);
    box-shadow: 0 0 20px rgba(var(--audio-c1), 0.15);
}

.evolution__audio-toggle[data-active="true"] {
    color: rgb(var(--audio-c1));
    border-color: rgba(var(--audio-c1), 0.40);
    background: linear-gradient(135deg, rgba(var(--audio-c1), 0.20), rgba(var(--audio-c2), 0.12));
    box-shadow: 0 0 24px rgba(var(--audio-c1), 0.25), 0 0 60px rgba(var(--audio-c2), 0.10);
}

.evolution__audio-toggle[data-active="true"] .evolution__audio-on path {
    animation: audio-bar-bounce 0.6s var(--ease-in-out) infinite alternate;
}

.evolution__audio-toggle[data-active="true"] .evolution__audio-on path:nth-child(2) {
    animation-delay: 0.1s;
}

.evolution__audio-toggle[data-active="true"] .evolution__audio-on path:nth-child(3) {
    animation-delay: 0.2s;
}

.evolution__audio-toggle[data-active="true"] .evolution__audio-on path:nth-child(4) {
    animation-delay: 0.3s;
}

.evolution__audio-toggle[data-active="true"] .evolution__audio-on path:nth-child(5) {
    animation-delay: 0.15s;
}

/* ── CSS fallback (no Three.js) ──────────────────────── */
.evolution--css-fallback .evolution__canvas {
    display: none;
}

.evolution--css-fallback .evolution__atmosphere {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(81, 112, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(206, 50, 255, 0.08) 0%, transparent 60%);
    animation: evolution-breathe 8s var(--ease-in-out) infinite;
}

/* ── Reduced motion ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .evolution__canvas {
        display: none;
    }

    .evolution__atmosphere {
        animation: none;
    }

    .evolution__stage {
        min-height: auto;
        padding: var(--space-16) var(--space-6);
    }

    .evolution__era,
    .evolution__title,
    .evolution__phrase,
    .evolution__intro-overline,
    .evolution__intro-title,
    .evolution__intro-sub,
    .evolution__outro-overline,
    .evolution__outro-title,
    .evolution__outro-message,
    .evolution__outro-cta {
        opacity: 1;
        transform: none;
    }

    .evolution__progress {
        display: none;
    }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first breakpoints
   ═══════════════════════════════════════════════════════ */

/* ── Tablet (640px+) ──────────────────────────────────── */
@media (min-width: 640px) {
    .hero-mini__title {
        font-size: var(--text-4xl);
    }

    .about-manifesto__number {
        font-size: clamp(4rem, 8vw, 6rem);
    }

    .about-manifesto__title {
        font-size: var(--text-2xl);
    }

    .evolution__phrase {
        font-size: var(--text-lg);
    }

    .evolution__intro-title,
    .evolution__outro-title {
        font-size: var(--text-4xl);
    }

    .evolution__intro-overline,
    .evolution__outro-overline {
        font-size: var(--text-lg);
    }

    .evolution__intro-sub,
    .evolution__outro-message {
        font-size: var(--text-xl);
    }
}

/* ── Desktop (1024px+) ────────────────────────────────── */
@media (min-width: 1024px) {
    .about-storyline__line {
        display: block;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 1400px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
        opacity: 0;
    }

    .about-storyline .section {
        z-index: 1;
    }

    .about-storyline .section .container {
        position: relative;
        z-index: 3;
    }

    .hero-mini {
        padding-top: calc(var(--nav-height, 72px) + var(--space-12));
        padding-bottom: var(--space-16);
    }

    .about-vision__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-12);
    }

    .about-vision__text {
        text-align: left;
    }

    .about-vision__text .section__title {
        font-size: var(--text-3xl);
    }

    .about-vision__actions {
        text-align: left;
    }

    .about-manifesto__statements {
        gap: var(--space-10);
    }

    .about-manifesto__statement {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-10);
    }

    /* 2nd statement (child 3 counting hr dividers) — number flips to right */
    .about-manifesto__statements > :nth-child(3) .about-manifesto__number-wrap {
        order: 2;
    }

    .about-manifesto__number {
        font-size: clamp(5rem, 10vw, 9rem);
    }

    .about-manifesto__body {
        text-align: left;
    }

    .about-manifesto__title {
        font-size: var(--text-3xl);
    }


    .about-manifesto__text {
        font-size: var(--text-lg);
        margin-inline: 0;
        max-width: none;
    }

    .about-manifesto__reveal {
        font-size: var(--text-3xl);
        margin-top: var(--space-16);
    }

    .about-manifesto__divider {
        margin-block: var(--space-4);
    }

    /* ── Evolution — Desktop horizontal scroll ──────────── */
    .evolution {
        overflow: visible;
    }

    .evolution__canvas,
    .evolution__atmosphere,
    .evolution__vignette {
        position: absolute;
    }

    .evolution__pin {
        height: 100vh;
        overflow: hidden;
    }

    .evolution__track {
        flex-direction: row;
        width: calc(8 * 100vw);
        height: 100vh;
    }

    .evolution__stage {
        min-width: 100vw;
        min-height: 100vh;
        padding: 0;
    }

    .evolution__era {
        font-size: var(--text-lg);
        padding: var(--space-2) var(--space-5);
    }

    .evolution__title {
        font-size: var(--text-hero);
    }

    .evolution__desc {
        font-size: var(--text-lg);
        max-width: 540px;
        margin-top: var(--space-5);
    }

    .evolution__intro-title,
    .evolution__outro-title {
        font-size: var(--text-hero);
    }

    .evolution__intro-overline,
    .evolution__outro-overline {
        font-size: var(--text-xl);
    }

    .evolution__intro-sub,
    .evolution__outro-message {
        font-size: var(--text-xl);
        max-width: 640px;
    }

    /* ── Phrases — positioned by JS per-stage, top and bottom zones ── */
    .evolution__phrase {
        position: absolute;
        font-size: var(--text-lg);
        max-width: 360px;
        text-align: left;
        will-change: transform, opacity, filter;
    }

    .evolution__desc {
        will-change: transform, opacity, filter;
    }

    .evolution__era,
    .evolution__title {
        will-change: transform, opacity, filter, clip-path;
    }

    /* ── Progress — year labels ── */
    .evolution__progress {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
        position: fixed;
        bottom: var(--space-8);
        left: 0;
        right: 0;
        margin-inline: auto;
        width: fit-content;
        z-index: 10;
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--duration-normal) var(--ease-smooth);
    }

    .evolution__progress.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .evolution__progress-bar {
        width: 320px;
        height: 3px;
        background: rgba(255, 255, 255, 0.10);
        border-radius: var(--radius-full);
        overflow: hidden;
        position: relative;
    }

    .evolution__progress-bar::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: var(--progress, 0%);
        background: linear-gradient(90deg, var(--bar-from, var(--color-primary)), var(--bar-to, var(--color-secondary)));
        border-radius: var(--radius-full);
        transition: width 100ms linear, background var(--duration-slow) var(--ease-smooth);
    }

    .evolution__progress-years {
        display: flex;
        gap: var(--space-6);
        align-items: center;
    }

    .evolution__year {
        font-size: var(--text-sm);
        font-weight: var(--fw-semibold);
        letter-spacing: var(--tracking-wide);
        color: rgba(255, 255, 255, 0.30);
        border: none;
        background: none;
        padding: var(--space-1) 0;
        cursor: pointer;
        transition: color var(--duration-normal) var(--ease-smooth),
                    transform var(--duration-fast) var(--ease-spring),
                    text-shadow var(--duration-normal) var(--ease-smooth);
    }

    .evolution__year:hover {
        color: rgba(255, 255, 255, 0.60);
    }

    .evolution__year.is-active {
        transform: scale(1.18);
    }

    .evolution__audio-toggle {
        position: fixed;
        bottom: var(--space-8);
        right: var(--space-8);
        width: 56px;
        height: 56px;
    }

    .evolution__audio-toggle svg {
        width: 24px;
        height: 24px;
    }
}


/* ==========================================================================
   TEAM — Slats horizontales expandibles estilo Skiper35
   Una sola fila full-width: cada miembro es un slat vertical con texto
   rotado; al hover el slat se expande y revela la foto.
   ========================================================================== */
.team {
    position: relative;
    width: 100%;
    padding: var(--space-20) 0 var(--space-6);
    background: #050510;
    color: #fafafa;
    overflow: hidden;
}

.team__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(206, 50, 255, 0.18), transparent 70%),
        radial-gradient(ellipse 40% 30% at 80% 90%, rgba(255, 62, 137, 0.12), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.team > * {
    position: relative;
    z-index: 1;
}

.team__header {
    max-width: 880px;
    margin: 0 auto var(--space-16);
    padding: 0 var(--space-6);
    text-align: center;
}

.team__badge {
    margin-bottom: var(--space-6);
}

.team__title {
    margin: 0 0 var(--space-5);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.team__subtitle {
    margin: 0 auto;
    max-width: 56ch;
    color: rgba(250, 250, 250, 0.62);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* ── Rail — columnas verticales expandibles ── */
.team__rail {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: clamp(420px, 72vh, 600px);
    padding: 0 var(--space-4);
    gap: var(--space-3);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.team__rail::-webkit-scrollbar { display: none; }

/* ── Slat — columna vertical ── */
.team-slat {
    position: relative;
    flex: 0 0 clamp(260px, 78vw, 320px);
    height: 100%;
    margin: 0;
    padding: var(--space-4) var(--space-3);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    scroll-snap-align: center;
    transition: flex-basis var(--duration-slow) var(--ease-spring),
                flex-grow var(--duration-slow) var(--ease-spring),
                border-color var(--duration-normal) var(--ease-smooth);
}

.team-slat.is-active {
    border-color: rgba(206, 50, 255, 0.35);
}

.team-slat:focus-visible {
    outline: 2px solid #ce32ff;
    outline-offset: -2px;
}

/* ── Foto — ocupa el espacio restante al expandir ── */
.team-slat__photo {
    flex: 1 1 0;
    min-width: 0;
    border-radius: 8px;
    overflow: hidden;
}

.team-slat__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    /* opacidad manejada por GSAP según breakpoint */
}

/* ── Col — columna izquierda: índice arriba, textos ocupan el resto ── */
.team-slat__col {
    flex-shrink: 0;
    width: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    pointer-events: none;
}

/* ── Índice numérico — ocupa su tamaño natural en la col ── */
.team-slat__index {
    flex-shrink: 0;
    font-size: var(--text-3xl);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    line-height: 1;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* transición manejada por GSAP */
}

/* ── Texts — nombre abajo y cargo arriba con space-between ── */
.team-slat__texts {
    flex: 1;
    display: flex;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

/* ── Nombre ── */
.team-slat__name {
    font-size: var(--text-2xl);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    white-space: nowrap;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ── Cargo ── */
.team-slat__role {
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    white-space: nowrap;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    /* transición manejada por GSAP */
}

/* ── focus-visible: accesibilidad teclado (GSAP no cubre focus) ── */
.team-slat:focus-visible .team-slat__photo img { opacity: 1; }
.team-slat:focus-visible .team-slat__role      { max-height: 600px; opacity: 1; }
.team-slat:focus-visible .team-slat__index     { opacity: 0; max-height: 0; overflow: hidden; margin: 0; }

/* ── Nav mobile — chevrones glass prev/next + counter ── */
.team__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    padding: var(--space-6) var(--space-6) 0;
}

.team__nav-counter {
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-variant-numeric: tabular-nums;
    color: rgba(250, 250, 250, 0.45);
    min-width: 5ch;
    text-align: center;
    white-space: nowrap;
}

/* Botones glass sobre fondo siempre oscuro */
.team__nav .glass-swiper__btn {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(250, 250, 250, 0.7);
    backdrop-filter: blur(var(--glass-blur-soft));
}

.team__nav .glass-swiper__btn:hover:not(:disabled) {
    background-color: color-mix(in srgb, #b820e6 14%, transparent);
    border-color: rgba(184, 32, 230, 0.3);
    color: #fafafa;
}

/* ── Desktop: rail horizontal sin scroll, hover GSAP, nav oculto ── */
@media (min-width: 1024px) {
    .team__rail {
        height: clamp(480px, 75vh, 760px);
        padding: 0;
        gap: 0;
        overflow-x: hidden;
        scroll-snap-type: none;
    }

    .team-slat {
        flex: 1 1 0;
        min-width: 0;
        background: transparent;
        border: 0;
        border-right: 1px solid;
        border-image: linear-gradient(180deg,
            transparent            0%,
            rgba(255,255,255,0.35) 15%,
            rgba(255,255,255,0.35) 85%,
            transparent            100%
        ) 1;
        border-radius: 0;
        scroll-snap-align: unset;
        /* flex-grow animado por GSAP */
    }

    .team-slat.is-active {
        border-color: unset;
    }

    .team-slat:first-child {
        border-left: 1px solid;
        border-image: linear-gradient(180deg,
            transparent            0%,
            rgba(255,255,255,0.35) 15%,
            rgba(255,255,255,0.35) 85%,
            transparent            100%
        ) 1;
    }

    /* Slat hoverado: GSAP controla, CSS como fallback */
    .team__rail:hover .team-slat { flex: 1 1 0; }
    .team__rail .team-slat:hover  { flex: 5 1 0; }

    .team__nav {
        display: none;
    }
}

/* ── Watermark editorial — PRL COL · Team · {año} ── */
.team__watermark {
    display: block;
    padding: var(--space-5) var(--space-6) 0;
    font-size: var(--text-xl);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    opacity: 0.4;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ── La sección equipo es siempre dark — las fotos tienen fondo transparente
   y se integran con el fondo oscuro #050510 sin importar el tema activo ── */

@media (prefers-reduced-motion: reduce) {
    .team-slat,
    .team-slat__photo img {
        transition: none !important;
    }
}


/* ==========================================================================
   TRUST STACK — Infraestructura certificada (Google Cloud)
   Filosofía: liquid glass, minimal, trust signal sin protagonismo
   ========================================================================== */

.trust-stack {
    padding-block: var(--space-16);
}

.trust-stack__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-6);
    max-width: 880px;
    margin: 0 auto;
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    background-color: var(--glass-bg-strong);
    backdrop-filter: var(--glass-backdrop-soft) url(#glass-distort);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
    box-shadow: var(--glass-shadow-light);
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--duration-normal) var(--ease-spring),
                box-shadow var(--duration-normal) var(--ease-smooth);
}

/* --- Aurora Google — conic gradient cycling inside the card ------------- */
.trust-stack__card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170%;
    aspect-ratio: 2 / 1;
    border-radius: 50%;
    background: conic-gradient(
        from 45deg,
        #4285F4 0%,
        #34A853 25%,
        #FBBC05 50%,
        #EA4335 75%,
        #4285F4 100%
    );
    filter: blur(75px);
    opacity: 0.22;
    transform: translate(-50%, -50%);
    animation: trust-stack-aurora 26s linear infinite;
    pointer-events: none;
    z-index: -1;
}

[data-theme="dark"] .trust-stack__card::before {
    opacity: 0.30;
    filter: blur(85px);
}

@media (prefers-reduced-motion: reduce) {
    .trust-stack__card::before {
        animation: none;
    }
}

@media (hover: hover) {
    .trust-stack__card:hover {
        transform: translateY(-2px);
        box-shadow: var(--glass-shadow);
    }
}

/* --- Brand lockup (logo + partner label) -------------------------------- */
.trust-stack__brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-5);
    border-bottom: 1px solid var(--border-subtle);
}

.trust-stack__logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.trust-stack__brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.trust-stack__brand-name {
    font-size: var(--text-base);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.trust-stack__brand-role {
    font-size: var(--text-xs);
    font-weight: var(--fw-medium);
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Body (badge + title + copy + chips) -------------------------------- */
.trust-stack__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.trust-stack__badge {
    align-self: center;
    color: var(--text-primary);
}

.trust-stack__title {
    font-size: var(--text-2xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0;
}

.trust-stack__title .text-gradient {
    background: linear-gradient(135deg, #4285F4 0%, #EA4335 35%, #FBBC05 65%, #34A853 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.trust-stack__text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    max-width: 58ch;
}

.trust-stack__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-2);
    list-style: none;
    padding: 0;
    margin: var(--space-2) 0 0;
}

.trust-stack__chip {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1-5) var(--space-3);
    border-radius: var(--radius-full);
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop-soft) url(#glass-distort);
    -webkit-backdrop-filter: var(--glass-backdrop-soft);
    box-shadow: var(--glass-shadow-light);
    color: var(--text-primary);
    font-size: var(--text-xs);
    font-weight: var(--fw-semibold);
    line-height: 1;
    white-space: nowrap;
    transition: transform var(--duration-fast) var(--ease-spring),
                background-color var(--duration-fast) ease;
}

@media (hover: hover) {
    .trust-stack__chip:hover {
        transform: translateY(-1px);
        background-color: var(--glass-bg-hover);
    }
}

/* --- Tablet: body en línea con el brand lockup -------------------------- */
@media (min-width: 768px) {
    .trust-stack__card {
        flex-direction: row;
        align-items: center;
        gap: var(--space-8);
        padding: var(--space-8);
    }

    .trust-stack__brand {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
        padding-bottom: 0;
        padding-right: var(--space-8);
        border-bottom: none;
        border-right: 1px solid var(--border-subtle);
        flex-shrink: 0;
        min-width: 180px;
    }

    .trust-stack__logo {
        width: 56px;
        height: 56px;
    }

    .trust-stack__brand-text {
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 1024px) {
    .trust-stack__title {
        font-size: var(--text-3xl);
    }

    .trust-stack__text {
        font-size: var(--text-base);
    }
}

