/* =============================================================================
   Andrea Zoé Fernández — Landing
   CSS modular por bloques: variables → reset → layout → componentes → util
   ============================================================================= */

/* ----- Variables ----- */
:root {
    /* Superficies — base alineada a nebulosa (verde casi negro) */
    --page: #050807;
    /* Raíz / overscroll móvil: malva‑rosa (no negro) alineado al degradé inferior */
    --page-root: #3d2f3a;
    --surface: #181d17;
    --surface-elevated: #222a21;

    /* Texto */
    --ink: #e4e9e1;
    --ink-strong: #f2f6ee;
    --ink-muted: rgba(228, 233, 225, 0.74);

    /* Acentos vibrantes */
    --accent-teal: #3ee0c8;
    --accent-violet: #9278ff;
    --accent-lime: #d0ef3a;
    --accent-warm: #ffb24d;
    --accent-dust-rose: #c99da8;

    /* Nieblas / halos */
    --mist-teal: rgba(62, 224, 200, 0.24);
    --mist-violet: rgba(146, 120, 255, 0.2);
    --mist-lime: rgba(208, 239, 58, 0.14);
    --mist-warm: rgba(255, 178, 77, 0.16);
    --mist-dust-rose: rgba(201, 157, 168, 0.18);

    /* Halos más marcados (fondos y mallas) */
    --mist-teal-strong: rgba(62, 224, 200, 0.38);
    --mist-violet-strong: rgba(146, 120, 255, 0.36);
    --mist-lime-strong: rgba(208, 239, 58, 0.24);
    --mist-warm-strong: rgba(255, 178, 77, 0.28);
    --mist-rose-strong: rgba(201, 157, 168, 0.32);

    /* Alias legacy */
    --rose: var(--accent-dust-rose);
    --rose-deep: #f08098;
    --lilac: #9b94c9;
    /* Borde testimonios (carrusel): lila suave acorde al fondo berenjena */
    --testimonial-border-lilac: rgba(196, 182, 235, 0.72);
    /* Botones: rosa francés + borde lila (misma familia que video) */
    --rose-french: #d97894;
    --rose-french-deep: #6b2a3d;
    --rose-french-pale: #f5e4ea;
    --btn-border-lilac: rgba(196, 182, 235, 0.55);
    /* Énfasis en cuerpo (sustituye naranja/amarillo en intros y listas) */
    --text-emphasis-rose: #f0b4c8;
    --text-emphasis-lilac: #d4c4f0;
    --lilac-deep: var(--accent-violet);
    --black: #0a0c09;
    --black-soft: #1e241d;
    --cream: var(--page);
    --white: #f6faf4;

    --text: var(--ink);
    --text-muted: var(--ink-muted);
    --accent: var(--accent-teal);
    --glow: rgba(62, 224, 200, 0.38);

    --mist-lavender: var(--mist-violet);
    --mist-blush: var(--mist-dust-rose);
    --mist-cyan: var(--mist-teal);

    --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "Montserrat", system-ui, sans-serif;
    --font-title: "Inter", var(--font-sans);

    /* Aurora — fluctuación lila / negro / rosa (gradiente animado, background-clip: text) */
    --aurora-lilac: #c8b8ec;
    --aurora-lilac-deep: #9488d4;
    --aurora-black: #100c18;
    --aurora-rose: #f0a0c8;
    --aurora-clr-1: var(--aurora-lilac);
    --aurora-clr-2: var(--aurora-black);
    --aurora-clr-3: var(--aurora-rose);
    --aurora-clr-4: var(--aurora-lilac-deep);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --shadow-soft: 0 22px 56px rgba(0, 0, 0, 0.52);
    --shadow-card: 0 14px 42px rgba(0, 0, 0, 0.4);
    --header-h: 96px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: 0.45s var(--ease-out);

    /* Transiciones suaves entre secciones (evitar cortes duros) */
    --fade-hero: #141914;
    --fade-mid: #171a17;
    --fade-soft: #181d17;

    /* Nebulosa: 0 = arriba (más clara) → 1 = abajo (más oscura / acentuada); pone JS */
    --neb-scroll: 0;

}

html {
    background-color: var(--page-root);
    min-height: 100%;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
}

/* ----- Títulos: Inter 800 + aurora DENTRO del texto (background-clip) ----- */
@keyframes aurora-text-shift {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 40%;
    }

    50% {
        background-position: 85% 85%;
    }

    75% {
        background-position: 20% 70%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.title-aurora {
    --title-aurora-fs: clamp(2rem, 4vw, 2.75rem);
    --title-aurora-ls: clamp(-1.75px, -0.25vw, -3.5px);
    position: relative;
    font-family: var(--font-title);
    font-size: var(--title-aurora-fs);
    font-weight: 800;
    letter-spacing: var(--title-aurora-ls);
    line-height: 1.15;
    padding: 0.12em 0;
    filter: drop-shadow(0 0.12em 0.28em rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1.5em rgba(0, 0, 0, 0.35));
}

.title-aurora--hero {
    --title-aurora-fs: clamp(2.35rem, 5.5vw, 3.6rem);
    line-height: 1.12;
}

.title-aurora--story {
    --title-aurora-fs: clamp(1.5rem, 3.2vw, 2rem);
    line-height: 1.2;
}

.title-aurora--cta {
    --title-aurora-fs: clamp(1.65rem, 3.5vw, 2.2rem);
    line-height: 1.25;
}

.title-aurora--compact {
    --title-aurora-fs: 1.65rem;
}

/* Capa de blobs del HTML: no pinta el texto; el efecto real va en .title-aurora__text */
.title-aurora .aurora {
    display: none;
}

.title-aurora__text {
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-image: linear-gradient(
        118deg,
        var(--aurora-clr-1) 0%,
        var(--aurora-clr-4) 20%,
        var(--aurora-clr-2) 42%,
        var(--aurora-clr-3) 62%,
        var(--aurora-clr-4) 82%,
        var(--aurora-clr-1) 100%
    );
    background-size: 280% 280%;
    animation: aurora-text-shift 12s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Alternancia: mismo Inter 800, sin gradiente animado (color sólido + sombra lectura) */
.title-aurora--plain {
    filter: none;
}

.title-aurora--plain .title-aurora__text {
    background: none;
    background-image: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    animation: none;
    color: var(--ink-strong);
    -webkit-text-fill-color: currentColor;
    text-shadow: 0 0.08em 0.2em rgba(0, 0, 0, 0.48);
}

@supports not (background-clip: text) {
    .title-aurora__text {
        color: var(--ink-strong);
        background: none;
        -webkit-text-fill-color: unset;
        animation: none;
    }
}

/* Card estilo Uiverse “m2” (Cksunandh) — halos en esquinas, colores tema */
@keyframes az-m2-bg-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Tarjetas servicios — borde animado (Uiverse / ilkhoeri), colores tema */
@keyframes az-svc-border-spin {
    25% {
        background-position: right 20% bottom 40%;
    }

    75% {
        background-position: left 45% top 20%;
    }
}

@keyframes az-svc-point {
    0% {
        transform: translate(0, 0);
        opacity: 0.9;
    }

    94% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
        transform: translate(
            calc(var(--svc-h, 380px) / 1.75),
            calc(var(--svc-h, 380px) / 1.5)
        );
    }
}

/* ----- Reset mínimo ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--page-root);
    color-scheme: dark;
    scrollbar-gutter: stable;
}

/*
 * Nebulosa: brillo/saturación según --neb-scroll (main.js).
 * Estrellas: deriva lenta (CSS); al hacer scroll también se desplazan un poco vía --neb-scroll.
 */

@keyframes starfield-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    33% {
        transform: translate3d(-0.35%, 0.2%, 0) scale(1.008);
    }

    66% {
        transform: translate3d(0.25%, -0.3%, 0) scale(1.012);
    }

    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

/* Scrollbar — tema oscuro + acentos (Firefox) */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(120, 100, 200, 0.65) rgba(14, 17, 14, 0.92);
}

/* Scrollbar — WebKit / Chromium */
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-track {
    background: rgba(12, 14, 12, 0.92);
    border-radius: 100px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(62, 224, 200, 0.45), rgba(146, 120, 255, 0.65));
    border-radius: 100px;
    border: 2px solid rgba(10, 12, 10, 0.97);
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(62, 224, 200, 0.75), rgba(146, 120, 255, 0.88));
}

*::-webkit-scrollbar-corner {
    background: rgba(12, 14, 12, 0.92);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    :root {
        --neb-scroll: 0;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }

    .btn--primary .hoverEffect > span {
        animation: none;
    }

    .polaroid:hover,
    .polaroid--tilt-right:hover {
        transform: rotate(-2deg);
    }

    .polaroid--tilt-right:hover {
        transform: rotate(2deg);
    }

    .cta-box {
        animation: none;
    }

    .service-card::before,
    .service-card::after {
        animation: none;
    }

    .service-card__point {
        animation: none !important;
        opacity: 0.35 !important;
        transform: none !important;
    }

    .title-aurora__text {
        animation: none;
        background-position: 45% 48%;
    }

    .title-aurora--plain .title-aurora__text {
        animation: none;
    }

    .services-path-card__title-text {
        animation: none;
        background: none;
        background-image: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: var(--ink-strong);
        color: var(--ink-strong);
        filter: none;
    }

    .eyebrow__text {
        animation: none;
        background-position: 38% 45%;
    }

    body::after {
        animation: none;
        background-position: 50% 50%;
    }

}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--page-root);
    overflow-x: hidden;
    min-height: 100%;
    min-height: -webkit-fill-available;
    min-height: 100dvh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Capa bajo los gradientes: evita “banda negra” donde el degradé es transparente (móvil / scroll) */
    background-color: var(--page-root);
    /*
     * Referencia “Hubble”: núcleo claro + gas rosa/magenta + volumen verde profundo
     * + filamentos + campo de estrellas. Rosa + verde oscuro (no azul de la foto).
     */
    background-image:
        /* Núcleo luminoso (como zona H II en la ref.) */
        radial-gradient(
            ellipse 55% 48% at 56% 44%,
            rgba(255, 248, 235, 0.14) 0%,
            rgba(240, 160, 195, 0.28) 22%,
            rgba(160, 70, 130, 0.25) 45%,
            transparent 68%
        ),
        /* Filamentos y brazos de gas */
        radial-gradient(ellipse 140% 22% at 40% 52%, rgba(210, 90, 150, 0.22), transparent 58%),
        radial-gradient(ellipse 95% 18% at 72% 34%, rgba(120, 200, 175, 0.12), transparent 55%),
        radial-gradient(ellipse 110% 26% at 22% 58%, rgba(185, 75, 125, 0.2), transparent 56%),
        /* Masas magenta / rosa intenso */
        radial-gradient(ellipse 85% 78% at 75% 70%, rgba(215, 85, 145, 0.52), transparent 58%),
        radial-gradient(ellipse 70% 75% at 22% 28%, rgba(175, 60, 125, 0.4), transparent 56%),
        radial-gradient(ellipse 65% 60% at 92% 22%, rgba(200, 95, 155, 0.38), transparent 54%),
        /* “Otro clúster” a la izquierda (como la ref.) */
        radial-gradient(ellipse 45% 55% at 10% 48%, rgba(90, 185, 210, 0.18), transparent 52%),
        radial-gradient(ellipse 42% 50% at 12% 50%, rgba(190, 80, 140, 0.35), transparent 54%),
        /* Vacío verde profundo + contraste (hueco cósmico) */
        radial-gradient(ellipse 110% 95% at 6% 8%, rgba(4, 32, 24, 0.92), transparent 62%),
        radial-gradient(ellipse 100% 90% at 94% 12%, rgba(6, 38, 28, 0.88), transparent 60%),
        radial-gradient(ellipse 88% 100% at -8% 55%, rgba(5, 42, 30, 0.85), transparent 58%),
        radial-gradient(ellipse 90% 95% at 108% 58%, rgba(8, 48, 35, 0.82), transparent 57%),
        radial-gradient(ellipse 125% 72% at 48% 50%, rgba(6, 38, 28, 0.55), transparent 65%),
        /* Bruma inferior (gas + verde) */
        radial-gradient(
            ellipse 130% 95% at 50% 112%,
            rgba(160, 55, 105, 0.2) 0%,
            rgba(18, 62, 48, 0.55) 42%,
            transparent 72%
        );
    background-repeat: no-repeat;
    background-size: 118% 118%;
    background-position: calc(50% + var(--neb-scroll) * 0.6%) calc(45% - var(--neb-scroll) * 0.35%);
    background-attachment: fixed;
    /* Abajo: más oscuro + color más “presente” (como profundidad en la nebulosa) */
    filter: brightness(calc(1.08 - var(--neb-scroll) * 0.32))
        saturate(calc(1 + var(--neb-scroll) * 0.32))
        contrast(calc(1 + var(--neb-scroll) * 0.12));
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle 0.15vmin at 5% 8%, rgba(255, 255, 255, 0.92) 0%, transparent 72%),
        radial-gradient(circle 0.09vmin at 12% 18%, rgba(230, 245, 255, 0.75) 0%, transparent 72%),
        radial-gradient(circle 0.12vmin at 22% 6%, rgba(255, 255, 255, 0.88) 0%, transparent 72%),
        radial-gradient(circle 0.08vmin at 31% 14%, rgba(255, 250, 240, 0.7) 0%, transparent 72%),
        radial-gradient(circle 0.14vmin at 38% 28%, rgba(255, 255, 255, 0.85) 0%, transparent 72%),
        radial-gradient(circle 0.1vmin at 48% 11%, rgba(220, 235, 255, 0.8) 0%, transparent 72%),
        radial-gradient(circle 0.11vmin at 58% 22%, rgba(255, 255, 255, 0.78) 0%, transparent 72%),
        radial-gradient(circle 0.07vmin at 68% 8%, rgba(255, 255, 255, 0.65) 0%, transparent 72%),
        radial-gradient(circle 0.13vmin at 78% 19%, rgba(245, 255, 250, 0.82) 0%, transparent 72%),
        radial-gradient(circle 0.09vmin at 88% 12%, rgba(255, 255, 255, 0.9) 0%, transparent 72%),
        radial-gradient(circle 0.12vmin at 95% 26%, rgba(255, 245, 255, 0.72) 0%, transparent 72%),
        radial-gradient(circle 0.08vmin at 9% 35%, rgba(255, 255, 255, 0.68) 0%, transparent 72%),
        radial-gradient(circle 0.16vmin at 19% 42%, rgba(255, 255, 255, 0.95) 0%, transparent 72%),
        radial-gradient(circle 0.1vmin at 29% 38%, rgba(200, 235, 255, 0.55) 0%, transparent 72%),
        radial-gradient(circle 0.11vmin at 41% 48%, rgba(255, 255, 255, 0.8) 0%, transparent 72%),
        radial-gradient(circle 0.09vmin at 52% 36%, rgba(255, 255, 255, 0.75) 0%, transparent 72%),
        radial-gradient(circle 0.14vmin at 62% 44%, rgba(255, 248, 235, 0.88) 0%, transparent 72%),
        radial-gradient(circle 0.08vmin at 72% 33%, rgba(255, 255, 255, 0.65) 0%, transparent 72%),
        radial-gradient(circle 0.12vmin at 82% 41%, rgba(235, 255, 245, 0.78) 0%, transparent 72%),
        radial-gradient(circle 0.1vmin at 91% 48%, rgba(255, 255, 255, 0.85) 0%, transparent 72%),
        radial-gradient(circle 0.09vmin at 7% 55%, rgba(255, 255, 255, 0.72) 0%, transparent 72%),
        radial-gradient(circle 0.13vmin at 16% 62%, rgba(255, 255, 255, 0.9) 0%, transparent 72%),
        radial-gradient(circle 0.11vmin at 27% 58%, rgba(255, 230, 250, 0.68) 0%, transparent 72%),
        radial-gradient(circle 0.08vmin at 36% 68%, rgba(255, 255, 255, 0.62) 0%, transparent 72%),
        radial-gradient(circle 0.15vmin at 46% 55%, rgba(255, 255, 255, 0.93) 0%, transparent 72%),
        radial-gradient(circle 0.1vmin at 55% 66%, rgba(220, 245, 255, 0.7) 0%, transparent 72%),
        radial-gradient(circle 0.12vmin at 66% 58%, rgba(255, 255, 255, 0.82) 0%, transparent 72%),
        radial-gradient(circle 0.09vmin at 76% 64%, rgba(255, 255, 255, 0.76) 0%, transparent 72%),
        radial-gradient(circle 0.14vmin at 85% 55%, rgba(255, 245, 240, 0.86) 0%, transparent 72%),
        radial-gradient(circle 0.08vmin at 94% 62%, rgba(255, 255, 255, 0.7) 0%, transparent 72%),
        radial-gradient(circle 0.11vmin at 11% 78%, rgba(255, 255, 255, 0.8) 0%, transparent 72%),
        radial-gradient(circle 0.1vmin at 24% 82%, rgba(255, 255, 255, 0.74) 0%, transparent 72%),
        radial-gradient(circle 0.13vmin at 33% 74%, rgba(245, 255, 255, 0.68) 0%, transparent 72%),
        radial-gradient(circle 0.09vmin at 44% 88%, rgba(255, 255, 255, 0.88) 0%, transparent 72%),
        radial-gradient(circle 0.12vmin at 54% 79%, rgba(255, 255, 255, 0.78) 0%, transparent 72%),
        radial-gradient(circle 0.08vmin at 64% 86%, rgba(255, 255, 255, 0.65) 0%, transparent 72%),
        radial-gradient(circle 0.15vmin at 74% 76%, rgba(255, 255, 255, 0.92) 0%, transparent 72%),
        radial-gradient(circle 0.1vmin at 84% 84%, rgba(230, 255, 240, 0.72) 0%, transparent 72%),
        radial-gradient(circle 0.11vmin at 93% 78%, rgba(255, 255, 255, 0.84) 0%, transparent 72%),
        radial-gradient(circle 0.09vmin at 4% 92%, rgba(255, 255, 255, 0.7) 0%, transparent 72%),
        radial-gradient(circle 0.12vmin at 17% 95%, rgba(255, 255, 255, 0.8) 0%, transparent 72%),
        radial-gradient(circle 0.1vmin at 50% 96%, rgba(255, 255, 255, 0.77) 0%, transparent 72%),
        radial-gradient(circle 0.14vmin at 72% 93%, rgba(255, 248, 255, 0.9) 0%, transparent 72%),
        radial-gradient(circle 0.08vmin at 86% 91%, rgba(255, 255, 255, 0.66) 0%, transparent 72%);
    background-repeat: no-repeat;
    background-size: 125% 125%;
    background-position: calc(50% + var(--neb-scroll) * 1.8%) calc(50% - var(--neb-scroll) * 1.2%);
    background-attachment: fixed;
    opacity: calc(0.94 - var(--neb-scroll) * 0.14);
    animation: starfield-drift 75s ease-in-out infinite;
    will-change: transform;
}

/*
 * Móvil: fixed + filter en ::before + muchas capas + animación estrellas = jank (iOS/Safari).
 * Scroll en el attachment, sin filter dinámico, estrellas quietas, menos blur cristal.
 */
@media (max-width: 768px) {
    /*
     * Móvil: mismo espíritu que escritorio — scroll + sin filter dinámico; estrellas quietas.
     */
    body::before {
        background-attachment: scroll;
        filter: none;
        width: 100%;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        min-height: -webkit-fill-available;
        background-color: var(--page-root);
        background-image:
            radial-gradient(ellipse 92% 72% at 52% 42%, rgba(235, 170, 200, 0.42), transparent 64%),
            radial-gradient(ellipse 88% 80% at 78% 68%, rgba(195, 75, 130, 0.38), transparent 58%),
            radial-gradient(ellipse 95% 55% at 14% 30%, rgba(165, 70, 120, 0.32), transparent 56%),
            radial-gradient(ellipse 130% 95% at 50% 108%, rgba(75, 38, 58, 0.45), transparent 52%);
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
    }

    body::after {
        background-attachment: scroll;
        animation: none;
        will-change: auto;
        opacity: 0.72;
        width: 100%;
        min-height: 100vh;
        min-height: 100svh;
        min-height: 100dvh;
        min-height: -webkit-fill-available;
    }

    .hero__copy {
        backdrop-filter: none;
        background: linear-gradient(
            150deg,
            rgba(12, 10, 22, 0.72) 0%,
            rgba(6, 8, 12, 0.68) 50%,
            rgba(5, 8, 7, 0.55) 100%
        );
    }
}

main {
    position: relative;
    z-index: 1;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent-teal);
}

a:hover {
    color: var(--accent-lime);
}

ul {
    margin: 0;
    padding: 0;
}

/* ----- Util ----- */
.container {
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}

.container.narrow {
    max-width: 720px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    padding: 0.5rem 1rem;
    background: var(--black);
    color: var(--white);
    z-index: 10000;
}

.skip-link:focus {
    left: 0.5rem;
    top: 0.5rem;
}

.small {
    font-size: 0.88rem;
}

.muted {
    color: var(--text-muted);
}

/* ----- Header sticky: cristal alineado a nebulosa / aurora (no bloque negro plano) ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    box-sizing: border-box;
    background:
        linear-gradient(180deg, rgba(22, 16, 36, 0.52) 0%, rgba(8, 10, 14, 0.44) 42%, rgba(5, 8, 7, 0.5) 100%),
        rgba(5, 8, 7, 0.35);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: none;
    transition:
        box-shadow 0.5s var(--ease-out),
        background 0.45s var(--ease-out);
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(165deg, rgba(146, 120, 255, 0.14) 0%, transparent 42%),
        linear-gradient(200deg, transparent 48%, rgba(62, 224, 200, 0.07) 100%),
        linear-gradient(180deg, rgba(255, 178, 77, 0.04) 0%, transparent 55%);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 1px;
    pointer-events: none;
    opacity: 0.85;
    box-shadow: 0 1px 12px rgba(146, 120, 255, 0.18);
    background: linear-gradient(
        90deg,
        transparent 4%,
        rgba(62, 224, 200, 0.35) 22%,
        rgba(146, 120, 255, 0.42) 50%,
        rgba(208, 239, 58, 0.22) 72%,
        rgba(201, 157, 168, 0.28) 88%,
        transparent 97%
    );
}

.site-header.is-scrolled {
    background:
        linear-gradient(180deg, rgba(16, 12, 28, 0.72) 0%, rgba(6, 8, 10, 0.78) 100%),
        rgba(5, 8, 7, 0.65);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(146, 120, 255, 0.06);
}

.header-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    max-width: 1120px;
    margin-inline: auto;
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.logo:hover,
.logo:focus-visible {
    color: inherit;
}

.logo--with-name {
    container-type: inline-size;
    container-name: brand;
    gap: 0.55rem 0.85rem;
    line-height: 1;
    flex-wrap: nowrap;
}

/* PNG favicon ~294×272 + nombre a la derecha */
.logo__img {
    flex-shrink: 0;
    width: auto;
    height: auto;
    max-height: clamp(56px, 26vw, 82px);
    max-width: min(220px, 40vw);
    object-fit: contain;
    object-position: left center;
    display: block;
    transition:
        opacity 0.25s var(--ease-out),
        filter 0.25s var(--ease-out);
}

.logo .testimonial-keyword.magic {
    flex: 0 1 auto;
    min-width: 0;
    max-width: none;
    font-family: var(--font-title);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    vertical-align: middle;
}

.logo .testimonial-keyword.magic .magic-text {
    white-space: nowrap;
    font-size: clamp(1.05rem, 0.9vw + 0.85rem, 1.45rem);
}

.logo .testimonial-keyword.magic .magic-star {
    --size: clamp(6px, 1.8cqi, 10px);
}

.logo:hover .logo__img,
.logo:focus-visible .logo__img {
    opacity: 0.96;
    filter: drop-shadow(0 0 10px rgba(240, 180, 200, 0.42));
}

.logo:hover .testimonial-keyword.magic .magic-text {
    filter: drop-shadow(0 0 6px rgba(220, 190, 245, 0.35));
}

.logo:focus-visible {
    outline: 2px solid rgba(196, 182, 235, 0.55);
    outline-offset: 4px;
    border-radius: 10px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 901px) {
    .site-nav {
        margin-left: auto;
    }
}

.site-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    align-items: center;
}

.site-nav a {
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(232, 228, 245, 0.82);
    transition: color 0.25s var(--ease-out), text-shadow 0.25s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text-emphasis-rose);
    text-shadow:
        0 0 18px rgba(240, 180, 200, 0.38),
        0 0 28px rgba(196, 182, 235, 0.22);
}

/* WhatsApp móvil: borde lila + acento rosa francés (alineado a .btn) */
.header-whatsapp-icon {
    display: none;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border-radius: 999px;
    border: 1px solid var(--btn-border-lilac);
    background: transparent;
    color: rgba(232, 170, 195, 0.95);
    box-shadow:
        0 0 0 1px rgba(180, 168, 218, 0.2),
        0 0 18px rgba(200, 140, 170, 0.12);
    transition:
        color 0.25s var(--ease-out),
        background 0.25s,
        border-color 0.25s,
        box-shadow 0.25s,
        transform 0.2s var(--ease-out);
}

a.header-whatsapp-icon,
a.header-whatsapp-icon:visited {
    color: rgba(232, 175, 200, 0.92);
}

.header-whatsapp-icon svg {
    display: block;
    width: 22px;
    height: 22px;
    opacity: 0.92;
    filter: drop-shadow(0 0 8px rgba(217, 120, 148, 0.35));
}

.header-whatsapp-icon:hover {
    background: rgba(18, 14, 32, 0.35);
    border-color: rgba(210, 195, 245, 0.55);
    color: rgba(255, 230, 240, 0.98);
    box-shadow:
        0 0 0 1px rgba(196, 182, 235, 0.35),
        0 0 28px rgba(200, 150, 185, 0.22),
        inset 0 0 18px rgba(200, 160, 190, 0.08);
}

.header-whatsapp-icon:hover svg {
    filter: drop-shadow(0 0 10px rgba(220, 170, 200, 0.45));
}

.header-whatsapp-icon:active {
    transform: scale(0.97);
}

.header-whatsapp-icon:focus-visible {
    outline: 2px solid rgba(196, 182, 235, 0.55);
    outline-offset: 3px;
}

.header-whatsapp-desktop {
    display: none;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    touch-action: manipulation;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    background: var(--ink-strong);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

@media (max-width: 900px) {
    :root {
        --header-h: 88px;
    }

    .logo {
        order: 1;
        max-width: min(100%, calc(100vw - 7.5rem));
    }

    .logo__img {
        max-height: clamp(44px, 26vw, 68px);
        max-width: min(100px, 28vw);
    }

    .logo .testimonial-keyword.magic {
        max-width: none;
    }

    .logo .testimonial-keyword.magic .magic-text {
        white-space: nowrap;
        font-size: clamp(0.78rem, 2.4vw + 0.35rem, 1.05rem);
    }

    .header-inner {
        flex-wrap: nowrap;
    }

    .header-whatsapp-icon {
        display: inline-flex;
        order: 2;
        margin-left: auto;
    }

    .header-whatsapp-desktop {
        display: none !important;
    }

    .nav-toggle {
        display: flex;
        order: 3;
    }

    .site-nav {
        order: 10;
        position: fixed;
        z-index: 920;
        top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
        right: 0;
        left: 0;
        width: 100%;
        max-height: calc(100vh - var(--header-h) - env(safe-area-inset-top, 0px));
        max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: linear-gradient(165deg, rgba(24, 18, 38, 0.97) 0%, rgba(10, 12, 14, 0.98) 100%);
        backdrop-filter: blur(12px) saturate(1.1);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem max(1.5rem, env(safe-area-inset-right, 0px)) calc(1.75rem + env(safe-area-inset-bottom, 0px)) max(1.5rem, env(safe-area-inset-left, 0px));
        border-bottom: 1px solid rgba(146, 120, 255, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.4s var(--ease-out), opacity 0.35s;
    }

    .site-nav ul a {
        display: flex;
        align-items: center;
        padding: 0.65rem 0;
        min-height: 44px;
        line-height: 1.4;
    }

    .site-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (min-width: 901px) {
    .header-whatsapp-desktop {
        display: inline-flex;
    }

    .header-whatsapp-icon {
        display: none;
    }
}

/* ----- Botones ----- */
/* Primario: glow rotatorio inspirado en Wendell47 (Uiverse), adaptado a paleta local */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    touch-action: manipulation;
    padding: 0.85rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s;
}

.btn:hover:not(.btn--primary) {
    transform: translateY(-2px);
}

.btn__label {
    position: relative;
    z-index: 2;
}

.btn .hoverEffect {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}

.btn .hoverEffect > span {
    border-radius: 40rem;
    width: 10rem;
    height: 10rem;
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out);
    filter: blur(20px);
    opacity: 0.52;
    background: linear-gradient(
        90deg,
        rgba(240, 165, 190, 1) 0%,
        rgba(200, 175, 228, 0.95) 45%,
        rgba(248, 195, 215, 1) 100%
    );
    animation: btnGlowSpin 3s linear infinite;
}

.btn--primary:hover .hoverEffect > span {
    width: 8rem;
    height: 8rem;
}

@keyframes btnGlowSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.btn--primary {
    border: 1px solid var(--btn-border-lilac);
    background: linear-gradient(145deg, #faf2f5 0%, #f2d5df 45%, #ebc8d6 100%);
    color: var(--rose-french-deep);
    box-shadow:
        0 2px 18px -4px rgba(217, 120, 148, 0.42),
        0 0 0 1px rgba(180, 168, 218, 0.18);
}

.btn--primary:hover {
    transform: none;
    background: linear-gradient(145deg, #fff8fa 0%, #f8e2eb 100%);
    color: var(--rose-french);
    box-shadow:
        0 6px 26px -3px rgba(200, 130, 160, 0.45),
        0 0 0 1px rgba(196, 182, 235, 0.35);
}

.btn--primary:active {
    transform: scale(0.97);
}

.btn--primary .btn__label {
    color: inherit;
}

a.btn--primary,
a.btn--primary:visited {
    color: var(--rose-french-deep);
}

a.btn--primary:hover {
    color: var(--rose-french);
}

.btn--ghost {
    background: transparent;
    border: 1px solid var(--btn-border-lilac);
    color: var(--rose-french);
}

.btn--ghost:hover {
    background: rgba(232, 160, 180, 0.1);
    color: var(--rose-french-pale);
}

/* Secundario + píldoras “palabra”: mismo aspecto (fondo oscuro + lila + rosa francés) */
.btn--secondary,
.tone-pill {
    background: rgba(26, 22, 30, 0.92);
    border: 1px solid var(--btn-border-lilac);
    color: #e9b8cc;
    box-shadow: none;
}

.btn--secondary:hover {
    background: rgba(34, 28, 40, 0.96);
    border-color: rgba(210, 195, 245, 0.55);
    color: #f5d4e2;
}

.tone-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.85rem 1.6rem;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 999px;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.tone-pill:hover {
    background: rgba(34, 28, 40, 0.96);
    border-color: rgba(210, 195, 245, 0.55);
    color: #f5d4e2;
}

.tone-pills {
    list-style: none;
    padding: 0;
    margin: 1.5rem auto 1.75rem;
    max-width: min(280px, 100%);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tone-pills li {
    margin: 0;
}

.btn--small {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

.btn--block {
    width: 100%;
}

/* ----- Hero ----- */
.hero {
    position: relative;
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    /* El color viene del fondo global del body; sin segunda capa = sin costura con el resto */
    background: transparent;
    z-index: 0;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

@media (max-width: 820px) {
    .hero__grid {
        grid-template-columns: 1fr;
    }
}

.eyebrow {
    margin: 0 0 1rem;
}

/* Misma familia de color que títulos aurora; más suave y lento */
.eyebrow__text {
    display: inline;
    font-family: var(--font-title);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    background-image: linear-gradient(
        105deg,
        var(--aurora-clr-3) 0%,
        var(--aurora-clr-1) 24%,
        var(--aurora-clr-4) 52%,
        var(--aurora-clr-2) 78%,
        var(--aurora-clr-3) 100%
    );
    background-size: 240% 240%;
    animation: aurora-text-shift 18s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(200, 170, 235, 0.32));
}

@supports not (background-clip: text) {
    .eyebrow__text {
        color: rgba(200, 215, 230, 0.9);
        background: none;
        -webkit-text-fill-color: unset;
        animation: none;
        filter: none;
    }
}

.hero .title-aurora {
    margin: 0 0 1.25rem;
}

.hero__copy {
    position: relative;
    z-index: 1;
    padding: clamp(1.1rem, 4vw, 1.65rem) clamp(1rem, 3.5vw, 1.4rem);
    border-radius: var(--radius-md);
    background: linear-gradient(
        150deg,
        rgba(16, 14, 36, 0.38) 0%,
        rgba(8, 10, 18, 0.32) 45%,
        rgba(5, 8, 7, 0.18) 100%
    );
    backdrop-filter: blur(14px) saturate(1.12);
    border: 1px solid rgba(146, 120, 255, 0.14);
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.22),
        0 20px 44px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero__lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin: 0 0 2rem;
    max-width: 34ch;
    text-shadow: 0 0.08em 0.22em rgba(0, 0, 0, 0.55), 0 0 0.9em rgba(0, 0, 0, 0.28);
}

.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero__visual {
    margin: 0;
    display: flex;
    justify-content: center;
}

@media (min-width: 821px) {
    .hero__visual {
        justify-content: flex-end;
    }
}

.hero__visual .polaroid--hero {
    width: 100%;
    max-width: min(100%, clamp(320px, 52vw, 640px));
    margin-inline: 0;
}

/* Encuadre alineado a la foto hero (3:2) para verla completa sin franjas gruesas */
.hero__visual .polaroid--hero .polaroid__frame {
    aspect-ratio: 3 / 2;
}

/* Foto completa dentro del marco (si cambiás la imagen con otro ratio, sigue entrando entera) */
.hero__visual .polaroid--hero .polaroid__img {
    object-fit: contain;
    object-position: center;
}

/* ----- Secciones genéricas ----- */
.section {
    position: relative;
    --section-pad-y: clamp(3.5rem, 8vw, 5.5rem);
    padding: var(--section-pad-y) 0;
}

.section-title {
    color: var(--ink-strong);
    text-align: center;
    margin: 0 0 1rem;
}

.section-title::after {
    content: "";
    display: block;
    width: min(140px, 42%);
    height: 3px;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--aurora-clr-1), var(--aurora-clr-2), var(--aurora-clr-3));
    box-shadow: 0 0 20px rgba(200, 170, 235, 0.38);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 52ch;
    margin: 0 auto 2rem;
    text-shadow: 0 0.06em 0.2em rgba(0, 0, 0, 0.45);
}

.section-intro strong {
    color: var(--text-emphasis-rose);
    font-weight: 600;
}

.story-grid__body strong,
.lead strong {
    color: var(--text-emphasis-rose);
    font-weight: 600;
}

.section--soft {
    background: transparent;
}

.section--benefits {
    background: transparent;
    color: var(--text);
}

.section--benefits .section-intro {
    color: var(--text-muted);
}

.section--about {
    background: transparent;
}

.section--services {
    background: transparent;
    /* Fuera de pantalla: el navegador puede saltar trabajo de layout/pintura */
    content-visibility: auto;
    contain-intrinsic-size: auto 640px;
}

.section--testimonials {
    background: transparent;
}

/* Carrusel full-bleed: no recortar el strip horizontal */
.section--testimonials.section--botanical {
    overflow-x: visible;
}

.section--cta {
    padding-bottom: clamp(4rem, 10vw, 6rem);
    background: transparent;
}

/* Halo CTA (m2): no recortar glow lateral del contenedor botánico */
.section--cta.section--botanical {
    overflow-x: visible;
}

/* Fondo botánico: URL en --botanical-mist (index.html) para que resuelva bien */
.section--botanical {
    position: relative;
    overflow-x: clip;
}

.section--botanical::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: var(--botanical-mist, url("../assets/ui/botanical-mist.svg"));
    background-repeat: no-repeat;
    opacity: 0.34;
    background-size: min(155%, 1040px);
}

.section--botanical > .container {
    position: relative;
    z-index: 1;
}

.section--botanical--tr::before {
    background-position: 102% -4%;
}

.section--botanical--bl::before {
    background-position: -12% 100%;
    opacity: 0.3;
}

.section--botanical--tl::before {
    background-position: -6% -8%;
    opacity: 0.32;
}

.section--botanical--br-soft::before {
    background-position: 96% 98%;
    opacity: 0.3;
    background-size: min(145%, 960px);
}

.section--botanical--center::before {
    background-position: 50% 32%;
    opacity: 0.31;
    background-size: min(140%, 900px);
}

/* Lista problemas */
.problem-list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.problem-list li {
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    margin-bottom: 0.65rem;
    background: linear-gradient(135deg, rgba(34, 42, 33, 0.98), var(--surface-elevated));
    border-radius: var(--radius-md);
    box-shadow:
        var(--shadow-card),
        0 0 0 1px rgba(146, 120, 255, 0.16),
        0 0 48px -12px rgba(62, 224, 200, 0.14),
        0 0 56px -16px rgba(146, 120, 255, 0.1);
    border: 1px solid rgba(146, 120, 255, 0.22);
    text-shadow: 0 0.05em 0.14em rgba(0, 0, 0, 0.35);
}

.problem-list li::before {
    content: "✦";
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-emphasis-lilac);
    font-size: 1rem;
}

/* ========================================================================
   Utilidad accesible: sr-only (contenido solo visible a lectores de pantalla)
   ======================================================================== */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ========================================================================
   Keyword highlight para parrafos
   ======================================================================== */
.keyword {
    color: var(--text-emphasis-lilac);
    font-weight: 600;
    text-shadow: 0 0 18px rgba(212, 196, 240, 0.25);
}

.keyword--rose {
    color: var(--text-emphasis-rose);
    text-shadow: 0 0 18px rgba(240, 180, 200, 0.28);
}

/* ========================================================================
   Constelacion orbital animada
   ======================================================================== */
.constellation-orbit {
    margin: clamp(2.5rem, 6vw, 4rem) auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 1.75rem);
}

.constellation-orbit__caption {
    margin: 0;
    font-family: var(--font-display, serif);
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-emphasis-rose);
    text-shadow: 0 0 22px rgba(240, 180, 200, 0.28);
    text-align: center;
}

.orbit {
    --orbit-size: clamp(320px, 72vw, 620px);
    --orbit-r-inner: calc(var(--orbit-size) * 0.22);
    --orbit-r-outer: calc(var(--orbit-size) * 0.41);
    position: relative;
    width: var(--orbit-size);
    height: var(--orbit-size);
    max-width: 100%;
    aspect-ratio: 1 / 1;
}

/* Nucleo central */
.orbit__core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(110px, 22%, 150px);
    height: clamp(110px, 22%, 150px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(240, 180, 200, 0.32), rgba(146, 120, 255, 0.18) 45%, rgba(30, 22, 32, 0.92) 100%);
    border: 1px solid rgba(240, 180, 200, 0.35);
    box-shadow:
        0 0 0 1px rgba(212, 196, 240, 0.18),
        0 0 48px -8px rgba(240, 180, 200, 0.38),
        0 0 80px -18px rgba(146, 120, 255, 0.45),
        inset 0 0 32px rgba(240, 180, 200, 0.12);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.orbit__core-text {
    font-family: var(--font-display, serif);
    font-style: italic;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    line-height: 1.1;
    text-align: center;
    color: var(--text-emphasis-rose);
    text-shadow: 0 0 18px rgba(240, 180, 200, 0.55), 0 0.06em 0.18em rgba(0, 0, 0, 0.45);
}

/* Anillos dashed */
.orbit__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed var(--testimonial-border-lilac);
    opacity: 0.45;
    pointer-events: none;
}

.orbit__ring--inner {
    width: calc(var(--orbit-r-inner) * 2);
    height: calc(var(--orbit-r-inner) * 2);
    transform: translate(-50%, -50%);
}

.orbit__ring--outer {
    width: calc(var(--orbit-r-outer) * 2);
    height: calc(var(--orbit-r-outer) * 2);
    transform: translate(-50%, -50%);
    opacity: 0.32;
}

/* Nodos que orbitan */
.orbit__node {
    position: absolute;
    top: 50%;
    left: 50%;
    --count: 3;
    --r: var(--orbit-r-inner);
    --duration: 60s;
    animation: orbit-rotate var(--duration) linear infinite;
    animation-delay: calc(var(--duration) / var(--count) * var(--i) * -1);
    will-change: transform;
}

.orbit__node--outer {
    --count: 6;
    --r: var(--orbit-r-outer);
    --duration: 95s;
    animation-name: orbit-rotate-reverse;
}

@keyframes orbit-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r)) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(var(--r)) rotate(-360deg);
    }
}

/* Contrarotacion para mantener el texto horizontal girando en sentido opuesto. */
@keyframes orbit-rotate-reverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg) translateX(var(--r)) rotate(-360deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(0deg) translateX(var(--r)) rotate(0deg);
    }
}

.orbit__node-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(146, 120, 255, 0.22) 0%,
        rgba(201, 157, 168, 0.16) 45%,
        rgba(30, 22, 32, 0.85) 100%
    );
    border: 1px solid rgba(196, 182, 235, 0.5);
    box-shadow:
        0 0 0 1px rgba(240, 180, 200, 0.14),
        0 8px 22px -10px rgba(146, 120, 255, 0.4),
        0 0 28px -10px rgba(240, 180, 200, 0.28);
    color: rgba(235, 228, 250, 0.96);
    font-size: clamp(0.78rem, 1.6vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.orbit__node--outer .orbit__node-inner {
    background: linear-gradient(
        135deg,
        rgba(240, 180, 200, 0.18) 0%,
        rgba(146, 120, 255, 0.14) 45%,
        rgba(30, 22, 32, 0.85) 100%
    );
    border-color: rgba(240, 180, 200, 0.42);
}

.orbit__star {
    color: var(--text-emphasis-rose);
    font-size: 0.85em;
    text-shadow: 0 0 10px rgba(240, 180, 200, 0.55);
}

.orbit__node--inner .orbit__star {
    color: var(--text-emphasis-lilac);
    text-shadow: 0 0 10px rgba(212, 196, 240, 0.5);
}

.orbit__label {
    display: inline-block;
}

/* Mobile: orbit se encoge pero mantiene animacion. Radios y tamanios se ajustan */
@media (max-width: 620px) {
    .orbit {
        --orbit-size: clamp(280px, 92vw, 460px);
        --orbit-r-inner: calc(var(--orbit-size) * 0.24);
        --orbit-r-outer: calc(var(--orbit-size) * 0.44);
    }

    .orbit__core {
        width: clamp(88px, 24%, 120px);
        height: clamp(88px, 24%, 120px);
    }

    .orbit__node-inner {
        padding: 0.32rem 0.7rem;
        font-size: clamp(0.68rem, 3vw, 0.82rem);
        gap: 0.3rem;
    }
}

/* Mobile muy chico (<=360px): fallback accesible, chips apilados sin animacion */
@media (max-width: 360px) {
    .orbit {
        --orbit-size: auto;
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .orbit__ring,
    .orbit__core {
        display: none;
    }

    .orbit__node {
        position: static;
        animation: none;
        transform: none;
    }
}

/* Respeto a usuarios con motion reducida */
@media (prefers-reduced-motion: reduce) {
    .orbit__node {
        animation: none;
    }
}

/* ========================================================================
   Cita editorial de Hellinger
   ======================================================================== */
.hellinger-quote {
    margin: clamp(2rem, 5vw, 3.25rem) auto 0;
    max-width: 640px;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    text-align: center;
    border-radius: var(--radius-md, 18px);
    background: linear-gradient(
        135deg,
        rgba(146, 120, 255, 0.1) 0%,
        rgba(240, 180, 200, 0.08) 45%,
        rgba(30, 22, 32, 0.45) 100%
    );
    border: 1px solid rgba(196, 182, 235, 0.28);
    box-shadow:
        0 0 0 1px rgba(240, 180, 200, 0.08),
        0 20px 60px -30px rgba(146, 120, 255, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hellinger-quote::before {
    content: "✦";
    position: absolute;
    top: -0.6rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-emphasis-rose);
    font-size: 1.15rem;
    text-shadow: 0 0 18px rgba(240, 180, 200, 0.55);
    background: rgba(20, 14, 22, 0.85);
    padding: 0 0.5rem;
}

.hellinger-quote__text {
    margin: 0 0 0.75rem;
    font-family: var(--font-display, serif);
    font-style: italic;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.3;
}

.hellinger-quote__author {
    display: block;
    font-style: normal;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-emphasis-rose);
}

/* Antes / después */
/* ========================================================================
   Metamorfosis: crossfade animado de 6 pares Antes -> Despues
   ======================================================================== */
.metamorphosis {
    max-width: 720px;
    margin: clamp(2rem, 5vw, 3rem) auto 0;
}

.metamorphosis__card {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
    padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 5vw, 3rem);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(196, 182, 235, 0.32);
    background: linear-gradient(
        145deg,
        rgba(42, 32, 52, 0.55) 0%,
        rgba(24, 20, 30, 0.92) 55%,
        rgba(18, 22, 20, 0.96) 100%
    );
    box-shadow:
        var(--shadow-card),
        0 0 0 1px rgba(240, 180, 200, 0.08),
        0 0 60px -18px rgba(146, 120, 255, 0.38),
        0 0 80px -30px rgba(240, 180, 200, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    text-align: center;
    font: inherit;
    color: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.metamorphosis__card:hover,
.metamorphosis__card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(212, 196, 240, 0.55);
    box-shadow:
        var(--shadow-card),
        0 0 0 1px rgba(212, 196, 240, 0.35),
        0 0 70px -16px rgba(146, 120, 255, 0.55),
        0 0 90px -28px rgba(240, 180, 200, 0.3);
}

.metamorphosis__card:focus-visible {
    outline: 2px solid rgba(212, 196, 240, 0.65);
    outline-offset: 4px;
}

.metamorphosis__card:active {
    transform: translateY(-1px) scale(0.998);
}

.metamorphosis__glow {
    position: absolute;
    inset: -40% -20%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 30%, rgba(146, 120, 255, 0.3), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(240, 180, 200, 0.26), transparent 50%),
        radial-gradient(circle at 50% 110%, rgba(201, 157, 168, 0.22), transparent 55%);
    filter: blur(24px);
    animation: metamorphosis-glow 20s ease-in-out infinite alternate;
}

@keyframes metamorphosis-glow {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(4%, -3%, 0) scale(1.08); }
}

.metamorphosis__card > :not(.metamorphosis__glow) {
    position: relative;
    z-index: 1;
}

.metamorphosis__header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(0.85rem, 2.4vw, 1.75rem);
    font-family: var(--font-title);
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    font-size: clamp(0.78rem, 1.7vw, 0.92rem);
}

.metamorphosis__label--before {
    color: rgba(201, 157, 168, 0.78);
    text-shadow: 0 0 14px rgba(201, 157, 168, 0.3);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.metamorphosis__label--after {
    color: rgba(212, 196, 240, 0.85);
    text-shadow: 0 0 16px rgba(212, 196, 240, 0.35);
    transition: color 0.5s ease, text-shadow 0.5s ease;
}

.metamorphosis__card[data-stage="despues"] .metamorphosis__label--before {
    color: rgba(201, 157, 168, 0.45);
    text-shadow: none;
}

.metamorphosis__card[data-stage="despues"] .metamorphosis__label--after {
    color: var(--text-emphasis-lilac);
    text-shadow: 0 0 22px rgba(212, 196, 240, 0.55);
}

.metamorphosis__arrow {
    width: clamp(2.75rem, 8vw, 4.5rem);
    height: auto;
    display: block;
    overflow: visible;
    animation: meta-arrow-drift 3.2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(146, 120, 255, 0.5));
}

@keyframes meta-arrow-drift {
    0%, 100% { transform: translateX(0); opacity: 0.9; }
    50%      { transform: translateX(4px); opacity: 1; }
}

.metamorphosis__stage {
    position: relative;
    margin: clamp(1.5rem, 3.5vw, 2.25rem) 0 clamp(1.25rem, 3vw, 1.75rem);
    min-height: clamp(4.5rem, 12vw, 6.5rem);
}

.metamorphosis__pair {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Apilar from y to en la misma celda central; el dash queda oculto (decorativo) */
.metamorphosis__pair > .metamorphosis__from,
.metamorphosis__pair > .metamorphosis__to {
    grid-area: 1 / 1;
    padding: 0 1rem;
}

.metamorphosis__dash {
    display: none !important;
}

.metamorphosis__pair.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Palabra ANTES: italica serif, nitida, centrada; al tocar se desvanece */
.metamorphosis__from {
    color: rgba(214, 192, 202, 0.95);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-shadow: 0 0 24px rgba(201, 157, 168, 0.22);
    transform: scale(1);
    transition: opacity 0.55s ease, filter 0.55s ease, transform 0.55s ease,
        color 0.55s ease, text-shadow 0.55s ease;
}

/* Palabra DESPUES: italica serif, apilada en el mismo centro, emerge brillando */
.metamorphosis__to {
    color: var(--text-emphasis-lilac);
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.005em;
    opacity: 0;
    transform: scale(0.9);
    filter: blur(8px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.6s ease, text-shadow 0.6s ease;
}

/* STAGE = despues: la palabra ANTES desaparece, la DESPUES ocupa su lugar brillando */
.metamorphosis__card[data-stage="despues"] .metamorphosis__pair.is-active .metamorphosis__from {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.08);
}

.metamorphosis__card[data-stage="despues"] .metamorphosis__pair.is-active .metamorphosis__to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    text-shadow:
        0 0 20px rgba(212, 196, 240, 0.85),
        0 0 40px rgba(146, 120, 255, 0.55),
        0 0 64px rgba(240, 180, 200, 0.35);
    animation: metamorphosis-shine 2.4s ease-in-out infinite;
}

@keyframes metamorphosis-shine {
    0%, 100% {
        text-shadow:
            0 0 18px rgba(212, 196, 240, 0.85),
            0 0 36px rgba(146, 120, 255, 0.55),
            0 0 60px rgba(240, 180, 200, 0.35);
    }
    50% {
        text-shadow:
            0 0 24px rgba(212, 196, 240, 1),
            0 0 52px rgba(146, 120, 255, 0.75),
            0 0 80px rgba(240, 180, 200, 0.55);
    }
}

/* HINT "toca para transformar" - invitacion editorial */
.metamorphosis__hint {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(146, 120, 255, 0.14), rgba(240, 180, 200, 0.08));
    border: 1px solid rgba(212, 196, 240, 0.28);
    color: rgba(235, 228, 250, 0.9);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    font-weight: 500;
    letter-spacing: 0.015em;
    text-transform: none;
    animation: metamorphosis-hint-pulse 3s ease-in-out infinite;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.metamorphosis__hint-icon {
    display: inline-flex;
    color: var(--text-emphasis-lilac);
    opacity: 0.85;
    animation: metamorphosis-tap 2.2s ease-in-out infinite;
    transform-origin: 55% 85%;
}

@keyframes metamorphosis-hint-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 196, 240, 0.22), 0 6px 22px -12px rgba(146, 120, 255, 0.45);
        border-color: rgba(212, 196, 240, 0.28);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(212, 196, 240, 0), 0 8px 30px -10px rgba(146, 120, 255, 0.6);
        border-color: rgba(212, 196, 240, 0.5);
    }
}

@keyframes metamorphosis-tap {
    0%, 100% { transform: translateY(0) rotate(-4deg) scale(1); }
    45%      { transform: translateY(-2px) rotate(2deg) scale(1.05); }
    55%      { transform: translateY(0) rotate(-2deg) scale(0.98); }
}

.metamorphosis__card[data-stage="despues"] .metamorphosis__hint {
    background: linear-gradient(135deg, rgba(240, 180, 200, 0.22), rgba(212, 196, 240, 0.14));
    border-color: rgba(240, 180, 200, 0.5);
    color: rgba(250, 232, 238, 0.98);
    box-shadow: 0 6px 26px -10px rgba(240, 180, 200, 0.55);
    animation: none;
}

.metamorphosis__card[data-stage="despues"] .metamorphosis__hint-icon {
    animation: none;
    color: rgba(240, 180, 200, 0.98);
    transform: rotate(0);
    opacity: 1;
}

@media (max-width: 560px) {
    .metamorphosis__stage { min-height: clamp(5rem, 20vw, 7rem); }
    .metamorphosis__pair { font-size: clamp(1.85rem, 8vw, 2.6rem); }
    .metamorphosis__hint { font-size: 0.88rem; padding: 0.45rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .metamorphosis__glow,
    .metamorphosis__hint,
    .metamorphosis__hint-icon,
    .metamorphosis__card[data-stage="despues"] .metamorphosis__pair.is-active .metamorphosis__to {
        animation: none;
    }

    .metamorphosis__pair,
    .metamorphosis__from,
    .metamorphosis__to,
    .metamorphosis__dash {
        transition: none;
    }
}

.about-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.25rem;
    margin-top: 1.5rem;
}

.about-cta-row .social-strip--about-inline {
    flex: 0 0 auto;
    justify-content: flex-start;
    margin: 0;
}

.about-cta-row .social-strip--about-inline .social-strip__item {
    margin: 0 6px 0 0;
}

.about-cta-row .social-strip--about-inline .social-strip__item:last-child {
    margin-right: 0;
}

@media (max-width: 640px) {
    .about-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .about-cta-row .social-strip--about-inline {
        justify-content: center;
    }

    .about-cta-row .social-strip--about-inline .social-strip__item {
        margin: 0 8px;
    }
}

.lead {
    font-size: 1.15rem;
    color: var(--text);
    text-shadow: 0 0.06em 0.2em rgba(0, 0, 0, 0.42);
}

/* ----- Historias con polaroid (marco inspirado en Uiverse / datpedo_9896, foto real) ----- */
.section--story {
    --section-pad-y: clamp(2.5rem, 6vw, 4rem);
    background: transparent;
    overflow-x: clip;
}

/* Ancla menú Beneficios → video; margen para header sticky */
#video-constelaciones {
    scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 0.75rem);
}

.constelar-video-wrap {
    position: relative;
    width: 100%;
    max-width: min(920px, 100%);
    margin: clamp(1.35rem, 4vw, 2.25rem) auto 0;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(196, 182, 235, 0.55);
    box-shadow:
        var(--shadow-card),
        0 0 0 1px rgba(180, 168, 218, 0.22),
        0 12px 40px rgba(25, 18, 38, 0.45);
    background-color: #1a1422;
    /* Laterales “ala” como antes (vídeo vertical + object-fit contain) */
    background-image: url("../assets/fotos/web/Constelaciones-orion.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Reproductor nativo; fondo transparente para ver la constelación del wrap en los letterbox */
.constelar-video {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: contain;
    background-color: transparent;
    border-radius: inherit;
    transform: translateZ(0);
}

/* Salir del video: solo visible en pantalla completa (JS quita hidden) */
.constelar-video-exit {
    display: none;
    position: absolute;
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    z-index: 4;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(196, 182, 235, 0.55);
    border-radius: 50%;
    background: rgba(28, 22, 38, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--ink-strong);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(25, 18, 35, 0.55);
}

.constelar-video-exit.is-active:not([hidden]) {
    display: flex;
}

/* Video a pantalla completa solo: clon encima (el botón va con el wrap si fullscreen es el contenedor) */
.constelar-video-exit--floating {
    display: flex;
    position: fixed;
    top: max(0.75rem, env(safe-area-inset-top, 0px));
    right: max(0.75rem, env(safe-area-inset-right, 0px));
    z-index: 2147483646;
}

.constelar-video-exit__icon {
    display: block;
    margin-top: -2px;
    font-weight: 300;
}

.constelar-video-exit:hover,
.constelar-video-exit:focus-visible {
    outline: none;
    border-color: rgba(220, 208, 255, 0.75);
    background: rgba(40, 32, 52, 0.95);
    color: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
}

/* Más espacio para la columna donde va la foto */
.story-grid--photo-left {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
}

.story-grid--photo-right {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.story-grid--photo-right .story-grid__photo {
    order: 2;
}

.story-grid--photo-right .story-grid__text {
    order: 1;
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
    }

    .story-grid__photo,
    .story-grid--photo-right .story-grid__photo,
    .story-grid--photo-left .story-grid__photo {
        order: -1;
    }

    .story-grid__text,
    .story-grid--photo-right .story-grid__text,
    .story-grid--photo-left .story-grid__text {
        order: 1;
    }
}

.story-grid__text {
    max-width: 42rem;
}

.story-grid__title {
    color: var(--ink-strong);
    margin: 0 0 0.75rem;
}

.story-grid__title::after {
    content: "";
    display: block;
    width: min(110px, 38%);
    height: 3px;
    margin: 0.55rem 0 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--aurora-clr-1), var(--aurora-clr-2), var(--aurora-clr-3));
    box-shadow: 0 0 16px rgba(240, 160, 200, 0.35);
}

.story-grid__body {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    text-shadow: 0 0.06em 0.18em rgba(0, 0, 0, 0.42);
}

.story-grid__photo {
    margin: 0;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.story-grid__photo .polaroid {
    width: 100%;
}

.story-grid--photo-right .story-grid__photo {
    justify-content: center;
}

@media (min-width: 769px) {
    .story-grid--photo-left .story-grid__photo {
        justify-content: flex-end;
    }

    .story-grid--photo-right .story-grid__photo {
        justify-content: flex-start;
    }
}

.polaroid {
    width: 100%;
    max-width: min(100%, clamp(300px, 46vw, 520px));
    padding: 12px 12px 22px;
    background: linear-gradient(165deg, #2c3430 0%, #1e241d 42%, var(--surface-elevated) 100%);
    box-shadow:
        0 0 0 1px rgba(146, 120, 255, 0.22),
        0 2px 4px rgba(0, 0, 0, 0.35),
        0 8px 20px rgba(0, 0, 0, 0.38),
        0 14px 40px rgba(62, 224, 200, 0.14),
        0 22px 56px rgba(146, 120, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: rotate(-2deg);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.polaroid--tilt-left {
    transform: rotate(-2deg);
}

.polaroid--tilt-right {
    transform: rotate(2deg);
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow:
        0 0 0 1px rgba(62, 224, 200, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.28),
        0 10px 28px rgba(0, 0, 0, 0.38),
        0 20px 52px rgba(146, 120, 255, 0.22),
        0 24px 60px rgba(62, 224, 200, 0.12);
}

.polaroid--tilt-right:hover {
    transform: rotate(0deg) scale(1.02);
}

.polaroid__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    background: rgba(20, 26, 22, 0.85);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 3px 28px rgba(0, 0, 0, 0.55);
}

.polaroid__zoom {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    cursor: zoom-in;
    background: transparent;
    border-radius: 0;
}

.polaroid__zoom:focus-visible {
    outline: 2px solid var(--accent-teal);
    outline-offset: 2px;
}

.polaroid__zoom picture {
    display: block;
    width: 100%;
    height: 100%;
}

.polaroid__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translateZ(0);
}

.polaroid__caption {
    font-family: var(--font-sans);
    text-align: center;
    margin: 10px 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rose-french-pale);
    text-shadow:
        0 0 12px rgba(240, 180, 200, 0.35),
        0 0.08em 0.2em rgba(0, 0, 0, 0.55);
    opacity: 0.98;
}

.polaroid__caption--hero {
    margin-top: 8px;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
}

.polaroid--no-caption {
    padding-bottom: 12px;
}

/* Servicios cards — borde con gradiente animado + puntos (inspirado Uiverse) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

/* Elegí el camino — dos columnas, misma altura, estilo aurora / acentos sitio */
.services-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 4vw, 2.25rem);
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    align-items: stretch;
}

@media (max-width: 720px) {
    .services-path-grid {
        grid-template-columns: 1fr;
    }
}

.services-path-card {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(196, 182, 235, 0.42);
    background: linear-gradient(
        168deg,
        rgba(42, 32, 52, 0.42) 0%,
        rgba(24, 28, 26, 0.94) 42%,
        rgba(16, 20, 18, 0.97) 100%
    );
    box-shadow:
        var(--shadow-card),
        0 0 0 1px rgba(62, 224, 200, 0.1),
        0 0 48px -12px rgba(146, 120, 255, 0.24),
        0 0 40px -16px rgba(201, 157, 168, 0.12);
}

.services-path-card__figure {
    margin: 0;
    flex: 0 0 auto;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    line-height: 0;
    background: linear-gradient(180deg, rgba(36, 26, 48, 0.95), rgba(10, 12, 14, 0.98));
    border-bottom: 1px solid rgba(196, 182, 235, 0.22);
    contain: paint;
}

.services-path-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.services-path-card__text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.35rem 1.4rem 1.6rem;
}

.services-path-card__title {
    margin: 0 0 0.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(196, 182, 235, 0.2);
    font-family: var(--font-title);
    font-size: clamp(1.08rem, 2.4vw, 1.3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.22;
}

.services-path-card__title-text {
    display: inline;
    background-image: linear-gradient(
        118deg,
        var(--aurora-clr-1) 0%,
        var(--aurora-clr-4) 32%,
        var(--aurora-clr-3) 62%,
        var(--aurora-clr-1) 100%
    );
    background-size: 240% 240%;
    animation: aurora-text-shift 22s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0.08em 0.22em rgba(0, 0, 0, 0.55));
}

.services-path-card__text p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.68;
    text-shadow: 0 0.05em 0.14em rgba(0, 0, 0, 0.38);
}

.services-path-muted {
    color: rgba(228, 233, 225, 0.9);
}

.services-path-strong {
    color: var(--ink-strong);
    font-weight: 700;
}

.services-path-accent {
    color: var(--text-emphasis-rose);
    font-weight: 600;
}

.services-path-shout {
    color: var(--text-emphasis-lilac);
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.92em;
}

/* ========================================================================
   Services path card: animaciones fuertes (aurora halo, zoom, shimmer, orbs)
   ======================================================================== */
.services-path-card {
    position: relative;
    isolation: isolate;
    transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.services-path-card--animated:hover,
.services-path-card--animated:focus-within {
    transform: translateY(-6px);
    box-shadow:
        var(--shadow-card),
        0 0 0 1px rgba(212, 196, 240, 0.4),
        0 22px 60px -22px rgba(146, 120, 255, 0.55),
        0 0 90px -20px rgba(240, 180, 200, 0.35),
        0 0 60px -16px rgba(62, 224, 200, 0.22);
}

.services-path-card__aurora {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: conic-gradient(
        from 0deg,
        rgba(146, 120, 255, 0.55) 0deg,
        rgba(62, 224, 200, 0.35) 90deg,
        rgba(240, 180, 200, 0.5) 180deg,
        rgba(212, 196, 240, 0.45) 270deg,
        rgba(146, 120, 255, 0.55) 360deg
    );
    filter: blur(10px);
    opacity: 0.22;
    /* Sin giro continuo = menos GPU al scrollear; el giro solo al hover */
    animation: none;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

.services-path-card--animated:hover .services-path-card__aurora,
.services-path-card--animated:focus-within .services-path-card__aurora {
    opacity: 0.52;
    filter: blur(12px);
    animation: services-aurora-spin 24s linear infinite;
}

.services-path-card > :not(.services-path-card__aurora) {
    position: relative;
    z-index: 1;
}

@keyframes services-aurora-spin {
    to { transform: rotate(360deg); }
}

.services-path-card__img {
    transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.6s ease;
}

.services-path-card--animated:hover .services-path-card__img,
.services-path-card--animated:focus-within .services-path-card__img {
    transform: scale(1.07);
    filter: saturate(1.08) brightness(1.04);
}

.services-path-card__shimmer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

.services-path-card__shimmer::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 20%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 80%
    );
    transform: skewX(-18deg);
    /* Shimmer solo al pasar el mouse / foco: evita repintar constante */
    animation: none;
}

.services-path-card--animated:hover .services-path-card__shimmer::before,
.services-path-card--animated:focus-within .services-path-card__shimmer::before {
    animation: services-shimmer-sweep 2.5s ease-in-out infinite;
}

@keyframes services-shimmer-sweep {
    0%         { left: -60%; }
    55%, 100%  { left: 140%; }
}

.services-path-card--animated .services-path-card__figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 80% 15%, rgba(240, 180, 200, 0.22), transparent 38%),
        radial-gradient(circle at 15% 85%, rgba(146, 120, 255, 0.26), transparent 42%);
    mix-blend-mode: screen;
    opacity: 0.42;
    /* Orbes quietos por defecto; animación solo hover */
    animation: none;
    z-index: 1;
}

.services-path-card--animated:hover .services-path-card__figure::after,
.services-path-card--animated:focus-within .services-path-card__figure::after {
    opacity: 0.55;
    animation: services-orbs-drift 18s ease-in-out infinite alternate;
}

@keyframes services-orbs-drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(6%, -4%, 0) scale(1.08); }
}

.services-path-card--animated .services-path-card__title {
    transition: border-color 0.4s ease;
}

.services-path-card--animated:hover .services-path-card__title,
.services-path-card--animated:focus-within .services-path-card__title {
    border-bottom-color: rgba(212, 196, 240, 0.45);
}

@media (prefers-reduced-motion: reduce) {
    .services-path-card,
    .services-path-card__img {
        transition: none;
    }

    .services-path-card__aurora,
    .services-path-card__shimmer::before,
    .services-path-card--animated .services-path-card__figure::after {
        animation: none;
    }

    .services-path-card--animated:hover .services-path-card__aurora,
    .services-path-card--animated:focus-within .services-path-card__aurora {
        animation: none;
    }

    .services-path-card--animated:hover .services-path-card__shimmer::before,
    .services-path-card--animated:focus-within .services-path-card__shimmer::before {
        animation: none;
    }

    .services-path-card--animated:hover .services-path-card__figure::after,
    .services-path-card--animated:focus-within .services-path-card__figure::after {
        animation: none;
    }

    .services-path-card--animated:hover,
    .services-path-card--animated:focus-within {
        transform: none;
    }

    .services-path-card--animated:hover .services-path-card__img,
    .services-path-card--animated:focus-within .services-path-card__img {
        transform: none;
        filter: none;
    }
}

@supports not (background-clip: text) {
    .services-path-card__title-text {
        color: var(--ink-strong);
        background: none;
        -webkit-text-fill-color: unset;
        animation: none;
        filter: none;
    }
}

.service-card {
    --svc-border: 3px;
    --svc-rounded: var(--radius-lg);
    --svc-h: min(420px, 70vh);
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    margin: 0;
    padding: var(--svc-border);
    border-radius: var(--svc-rounded);
    min-height: 280px;
    isolation: isolate;
}

.service-card::before,
.service-card::after {
    content: "";
    z-index: 0;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--svc-rounded);
    background-size: 400% 400%;
    background-image: radial-gradient(circle farthest-side at 0 100%, rgba(45, 155, 135, 0.95), transparent),
        radial-gradient(circle farthest-side at 100% 0, rgba(62, 224, 200, 0.75), transparent),
        radial-gradient(circle farthest-side at 100% 100%, rgba(120, 170, 130, 0.55), transparent),
        radial-gradient(circle farthest-side at 0 0, rgba(22, 58, 48, 0.95), rgba(0, 0, 0, 0));
    animation: az-svc-border-spin 16s linear infinite;
    pointer-events: none;
}

.service-card::after {
    animation-delay: 0.45s;
    filter: blur(20px);
    opacity: 0.62;
}

.service-card--featured::before,
.service-card--featured::after,
.service-card--starfield::before,
.service-card--starfield::after {
    background-image: radial-gradient(circle farthest-side at 0 100%, rgba(62, 224, 200, 0.85), transparent),
        radial-gradient(circle farthest-side at 100% 0, rgba(146, 120, 255, 0.8), transparent),
        radial-gradient(circle farthest-side at 100% 100%, rgba(201, 157, 168, 0.65), transparent),
        radial-gradient(circle farthest-side at 0 0, rgba(110, 70, 130, 0.9), rgba(0, 0, 0, 0));
}

.service-card__inner {
    position: relative;
    z-index: 6;
    width: 100%;
    box-sizing: border-box;
    border-radius: calc(var(--svc-rounded) - var(--svc-border));
    padding: 2rem;
    background: linear-gradient(168deg, rgba(28, 34, 30, 0.97) 0%, var(--surface-elevated) 100%);
    box-shadow:
        var(--shadow-card),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-card--featured .service-card__inner,
.service-card--starfield .service-card__inner {
    background: linear-gradient(195deg, rgba(58, 48, 92, 0.22) 0%, rgba(32, 38, 34, 0.96) 42%, var(--surface-elevated) 100%);
    box-shadow:
        var(--shadow-card),
        0 0 40px -16px rgba(146, 120, 255, 0.2),
        inset 0 1px 0 rgba(146, 120, 255, 0.06);
}

.service-card__points {
    position: absolute;
    z-index: 4;
    overflow: hidden;
    pointer-events: none;
    left: calc(var(--svc-border) * 1.5);
    right: calc(var(--svc-border) * 1.5);
    top: calc(var(--svc-border) * 1.5);
    bottom: calc(var(--svc-border) * 1.5);
    border-radius: calc(var(--svc-rounded) - var(--svc-border) * 1.5);
}

.service-card__point {
    --sz-point: 4px;
    top: -8px;
    position: absolute;
    width: var(--sz-point);
    height: var(--sz-point);
    background-color: rgba(146, 120, 255, 0.85);
    border-radius: 9999px;
    animation: az-svc-point infinite ease-in-out;
    pointer-events: none;
    font-style: normal;
}

.service-card__points--teal .service-card__point {
    background-color: rgba(62, 224, 200, 0.78);
}

.service-card__point:nth-child(1) {
    left: 10%;
    animation-duration: 2.35s;
    animation-delay: 0.2s;
}

.service-card__point:nth-child(2) {
    left: 30%;
    opacity: 0.75;
    animation-duration: 2.5s;
    animation-delay: 0.5s;
}

.service-card__point:nth-child(3) {
    left: 25%;
    opacity: 0.85;
    animation-duration: 2.2s;
    animation-delay: 0.1s;
}

.service-card__point:nth-child(4) {
    left: 44%;
    opacity: 0.65;
    animation-duration: 2.05s;
}

.service-card__point:nth-child(5) {
    left: 50%;
    animation-duration: 1.9s;
}

.service-card__point:nth-child(6) {
    left: 75%;
    opacity: 0.55;
    animation-duration: 1.5s;
    animation-delay: 1.5s;
}

.service-card__point:nth-child(7) {
    left: 88%;
    opacity: 0.9;
    animation-duration: 2.2s;
    animation-delay: 0.2s;
}

.service-card__point:nth-child(8) {
    left: 58%;
    opacity: 0.8;
    animation-duration: 2.25s;
    animation-delay: 0.2s;
}

.service-card__point:nth-child(9) {
    left: 98%;
    opacity: 0.6;
    animation-duration: 2.6s;
    animation-delay: 0.1s;
}

.service-card__point:nth-child(10) {
    left: 65%;
    animation-duration: 2.5s;
    animation-delay: 0.2s;
}

.service-card h3 {
    margin: 0;
    color: var(--ink-strong);
}

.badge {
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--accent-violet);
    color: var(--ink-strong);
}

.badge--soft {
    background: rgba(196, 182, 235, 0.2);
    color: var(--text-emphasis-lilac);
    border: 1px solid rgba(196, 182, 235, 0.38);
}

.service-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.service-card__list li {
    padding: 0.35rem 0;
    padding-left: 1.1rem;
    position: relative;
    font-size: 0.95rem;
}

.service-card__list li::before {
    content: "·";
    position: absolute;
    left: 0;
    color: var(--text-emphasis-rose);
    font-weight: bold;
}

/* Testimonios */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.testimonial-card {
    margin: 0;
    padding: 1.75rem;
    background: linear-gradient(165deg, #252d25, var(--surface-elevated));
    border-radius: var(--radius-md);
    border: 1px solid rgba(146, 120, 255, 0.2);
    box-shadow:
        var(--shadow-card),
        0 0 44px -10px rgba(146, 120, 255, 0.14);
}

.testimonial-card:nth-child(3n + 1) {
    border-color: rgba(62, 224, 200, 0.32);
    box-shadow:
        var(--shadow-card),
        0 0 48px -10px rgba(62, 224, 200, 0.18);
}

.testimonial-card:nth-child(3n + 2) {
    border-color: rgba(208, 239, 58, 0.22);
    box-shadow:
        var(--shadow-card),
        0 0 44px -10px rgba(208, 239, 58, 0.12);
}

.testimonial-card:nth-child(3n + 3) {
    border-color: rgba(255, 178, 77, 0.22);
    box-shadow:
        var(--shadow-card),
        0 0 44px -10px rgba(255, 178, 77, 0.12);
}

.testimonial-card p {
    font-size: 1.02rem;
    margin: 0 0 1rem;
    font-style: italic;
    color: var(--text);
    text-shadow: 0 0.06em 0.18em rgba(0, 0, 0, 0.4);
}

.testimonial-card footer {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-teal);
}

/* Carrusel testimonios — ancho completo (bleed), sin caja ni fotos de fondo */
.testimonial-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    z-index: 1;
    padding-block: 0.25rem 0.5rem;
}

.testimonial-carousel-wrap {
    position: relative;
    overflow: visible;
    margin-top: 1.75rem;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.testimonial-carousel-wrap .testimonial-carousel--strip {
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.testimonial-carousel--strip {
    --tc-w: min(340px, 90vw);
    --tc-h: min(380px, 70vw);
    margin-top: 0;
    max-width: 100%;
}

.testimonial-carousel--strip .testimonial-carousel__viewport {
    overflow: hidden;
    border-radius: 0;
    padding-inline: 0;
    background: transparent;
    box-shadow: none;
    mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent);
}

.testimonial-carousel--strip .testimonial-carousel__track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.85rem;
    width: max-content;
    will-change: transform;
}

/* Desplazamiento continuo (sin pausa entre tarjetas); duración = --marquee-duration */
.testimonial-carousel--strip.is-marquee .testimonial-carousel__track {
    animation: testimonialMarquee var(--marquee-duration, 100s) linear infinite;
}

@keyframes testimonialMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.testimonial-carousel.is-reduced .testimonial-carousel--strip .testimonial-carousel__track {
    animation: none;
    transform: none;
}

.testimonial-card.testimonial-card--strip {
    position: relative;
    flex: 0 0 auto;
    width: var(--tc-w);
    height: var(--tc-h);
    min-width: 260px;
    min-height: 300px;
    margin: 0;
    padding: 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--testimonial-border-lilac);
    box-shadow: 0 0 0 1px rgba(180, 168, 218, 0.15);
    background: rgba(32, 24, 42, 0.42);
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    overflow: hidden;
    cursor: pointer;
    container-type: inline-size;
    container-name: testimonialstrip;
    transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.testimonial-card.testimonial-card--strip:hover,
.testimonial-card.testimonial-card--strip:focus-visible {
    outline: none;
    border-color: rgba(220, 208, 255, 0.85);
    box-shadow:
        0 0 0 1px rgba(200, 188, 232, 0.35),
        0 8px 28px rgba(35, 24, 48, 0.4);
}

@media (prefers-reduced-transparency: reduce) {
    .testimonial-card.testimonial-card--strip {
        backdrop-filter: blur(6px) saturate(1.05);
        -webkit-backdrop-filter: blur(6px) saturate(1.05);
        background: rgba(36, 28, 46, 0.72);
    }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .testimonial-card.testimonial-card--strip {
        background: rgba(36, 28, 46, 0.82);
    }
}

@media (prefers-contrast: more) {
    .testimonial-card--strip p {
        color: var(--ink-strong);
        text-shadow:
            0 0 2px rgba(0, 0, 0, 0.95),
            0 1px 3px rgba(0, 0, 0, 0.85);
    }
}

.testimonial-card__strip-inner {
    box-sizing: border-box;
    height: 100%;
    min-height: 0;
    padding: 0.65rem 0.75rem 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow: hidden;
    gap: 0.35rem;
}

/* Texto corto: el cuerpo llena la tarjeta y centra el bloque de párrafos */
.testimonial-card__strip-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Texto largo: arriba + recorte + ver más */
.testimonial-card--strip.testimonial-card--overflow .testimonial-card__strip-body {
    justify-content: flex-start;
}

.testimonial-card__more {
    flex-shrink: 0;
    align-self: center;
    margin-top: auto;
    padding: 0.28rem 0.65rem;
    border: 1px solid rgba(196, 182, 235, 0.45);
    border-radius: 999px;
    background: rgba(196, 182, 235, 0.14);
    color: var(--text-emphasis-lilac);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-family: inherit;
    font-style: normal;
    text-transform: lowercase;
    transition:
        background 0.2s var(--ease-out),
        border-color 0.2s,
        color 0.2s;
}

.testimonial-card__more:hover,
.testimonial-card__more:focus-visible {
    outline: none;
    background: rgba(240, 180, 200, 0.16);
    border-color: rgba(240, 190, 210, 0.55);
    color: var(--text-emphasis-rose);
}

.testimonial-card__more:focus-visible {
    box-shadow: 0 0 0 2px rgba(196, 182, 235, 0.45);
}

.testimonial-card__more[hidden] {
    display: none !important;
}

.testimonial-card--strip p {
    margin: 0 0 0.4rem;
    font-size: clamp(0.78rem, 2.35cqi + 0.32rem, 0.98rem);
    line-height: 1.38;
    font-style: italic;
    text-align: center;
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    text-shadow: 0 0.06em 0.18em rgba(0, 0, 0, 0.42);
    font-family:
        var(--font-sans),
        "Segoe UI Emoji",
        "Segoe UI Symbol",
        "Apple Color Emoji",
        "Noto Color Emoji",
        sans-serif;
}

.testimonial-card--strip strong {
    color: var(--text-emphasis-lilac);
    font-weight: 600;
    font-style: normal;
}

/* Palabras clave “magic” (gradiente + estrellas), inspirado en efecto tipo Linear */
.testimonial-keyword.magic {
    --magic-purple: rgb(168, 78, 205);
    --magic-violet: rgb(158, 118, 220);
    --magic-pink: rgb(255, 188, 218);
    display: inline-block;
    position: relative;
    vertical-align: baseline;
    padding: 0 0.12em;
    margin: 0 -0.02em;
    overflow: visible;
    z-index: 1;
}

.testimonial-keyword.magic .magic-text {
    animation: testimonial-magic-pan 3s linear infinite;
    background: linear-gradient(
        to right,
        var(--magic-purple),
        var(--magic-violet),
        var(--magic-pink),
        var(--magic-purple)
    );
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
}

.testimonial-keyword.magic .magic-star {
    --size: clamp(7px, 2.2cqi, 12px);
    animation: testimonial-magic-scale 700ms ease forwards;
    display: block;
    height: var(--size);
    width: var(--size);
    left: var(--star-left, 20%);
    top: var(--star-top, 10%);
    position: absolute;
    pointer-events: none;
}

.testimonial-read-dialog__body .testimonial-keyword.magic .magic-star {
    --size: clamp(9px, 1.1vw, 14px);
}

.testimonial-keyword.magic .magic-star svg {
    animation: testimonial-magic-rotate 1000ms linear infinite;
    display: block;
    opacity: 0.75;
    width: 100%;
    height: 100%;
}

.testimonial-keyword.magic .magic-star path {
    fill: rgb(200, 150, 235);
}

@keyframes testimonial-magic-pan {
    from {
        background-position: 0% center;
    }

    to {
        background-position: -200% center;
    }
}

@keyframes testimonial-magic-scale {
    from,
    to {
        transform: scale(0);
    }

    50% {
        transform: scale(1);
    }
}

@keyframes testimonial-magic-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(180deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-keyword.magic .magic-text {
        animation: none;
        background: none;
        -webkit-text-fill-color: var(--text-emphasis-lilac);
        color: var(--text-emphasis-lilac);
    }

    .testimonial-keyword.magic .magic-star {
        animation: none;
        opacity: 0.45;
    }

    .testimonial-keyword.magic .magic-star svg {
        animation: none;
    }
}

.testimonial-card--strip p:last-child {
    margin-bottom: 0;
}

@supports (font-size: 1cqi) {
    .testimonial-card--strip p {
        font-size: clamp(0.76rem, 2.65cqi + 0.26rem, 0.98rem);
    }
}

/* CTA — sin “ventana”: contenido sobre el fondo de la sección (nebulosa + botanical) */
.cta-box-outer {
    position: relative;
    max-width: 640px;
    margin-inline: auto;
    padding: 0;
}

.cta-box {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(2.5rem, 6vw, 3.5rem);
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
}

.cta-box .title-aurora {
    margin: 0 0 1rem;
}

.cta-box .title-aurora::after {
    content: "";
    display: block;
    width: min(180px, 55%);
    height: 3px;
    margin: 0.75rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--aurora-clr-1), var(--aurora-clr-2), var(--aurora-clr-3));
    box-shadow: 0 0 22px rgba(200, 170, 235, 0.4);
}

.cta-box p {
    color: var(--text-muted);
    margin: 0 0 1.75rem;
    text-shadow: 0 0.06em 0.18em rgba(0, 0, 0, 0.4);
}

/* Footer — malva oscuro (no negro plano: evita franja negra dura junto al degradé / overscroll) */
.site-footer {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #3a2e38 0%, #221a22 48%, #141018 100%);
    color: rgba(236, 240, 233, 0.88);
    padding: 2.5rem 0;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--aurora-clr-1),
        var(--aurora-clr-4),
        var(--aurora-clr-2),
        var(--aurora-clr-3),
        var(--aurora-clr-1)
    );
    opacity: 0.9;
}

.footer-grid {
    display: grid;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr auto;
        text-align: left;
        align-items: center;
    }

    .footer-copy,
    .footer-credit {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-copy {
        margin: 0;
    }

    .footer-credit {
        margin: 0.45rem 0 0;
    }
}

.footer-brand strong {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.02em;
}

.footer-brand__role {
    margin: 0.35rem 0 0;
    max-width: 28rem;
    margin-inline: auto;
    line-height: 1.55;
    color: rgba(220, 228, 215, 0.78);
}

@media (min-width: 640px) {
    .footer-brand__role {
        margin-inline: 0;
    }
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .footer-social {
        justify-content: flex-end;
    }
}

.footer-social .social-strip {
    justify-content: center;
}

@media (min-width: 640px) {
    .footer-social .social-strip {
        justify-content: flex-end;
    }
}

.footer-copy {
    color: rgba(200, 210, 195, 0.55);
}

.footer-credit {
    grid-column: 1 / -1;
    margin: 0.35rem 0 0;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(160, 175, 155, 0.28);
    text-align: center;
}

.footer-credit a {
    color: rgba(180, 200, 175, 0.38);
    text-decoration: none;
    font-weight: 500;
}

.footer-credit a:hover {
    color: var(--accent-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Scroll reveal */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.85s var(--ease-out);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal].reveal-from-left {
    transform: translate3d(calc(-1 * clamp(2rem, 16vw, 9rem)), 40px, 0);
}

[data-reveal].reveal-from-left.is-visible {
    transform: translate3d(0, 0, 0);
}

[data-reveal].reveal-from-right {
    transform: translate3d(clamp(2rem, 16vw, 9rem), 40px, 0);
}

[data-reveal].reveal-from-right.is-visible {
    transform: translate3d(0, 0, 0);
}

.reveal--delay.is-visible {
    transition-delay: 0.12s;
}

/* Modal leer testimonio completo */
.testimonial-read-dialog[hidden] {
    display: none !important;
}

.testimonial-read-dialog:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 10045;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.testimonial-read-dialog__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(18, 12, 26, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.testimonial-read-dialog__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 28rem);
    max-height: min(82vh, 640px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
    border: 1px solid var(--testimonial-border-lilac);
    background: linear-gradient(165deg, rgba(32, 24, 40, 0.96), rgba(22, 18, 30, 0.98));
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(155, 148, 201, 0.08);
}

.testimonial-read-dialog__title {
    flex-shrink: 0;
    margin: 0;
    padding: 1.1rem 3rem 0.5rem 1.25rem;
    font-family: var(--font-title);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink-strong);
    border-bottom: 1px solid rgba(155, 148, 201, 0.2);
}

.testimonial-read-dialog__close {
    position: absolute;
    top: max(0.6rem, env(safe-area-inset-top));
    right: max(0.6rem, env(safe-area-inset-right));
    z-index: 2;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(155, 148, 201, 0.35);
    border-radius: 50%;
    background: rgba(40, 32, 52, 0.9);
    color: var(--ink-strong);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-read-dialog__close:hover,
.testimonial-read-dialog__close:focus-visible {
    outline: none;
    border-color: rgba(200, 188, 232, 0.55);
    color: var(--white);
}

.testimonial-read-dialog__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem 1.25rem;
    -webkit-overflow-scrolling: touch;
}

.testimonial-read-dialog__body p {
    margin: 0 0 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    line-height: 1.6;
    font-style: italic;
    text-align: left;
    color: var(--text);
    mix-blend-mode: normal;
    text-shadow: none;
}

.testimonial-read-dialog__body p:last-child {
    margin-bottom: 0;
}

/* Lightbox fotos */
.lightbox[hidden] {
    display: none !important;
}

.lightbox:not([hidden]) {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(8, 10, 8, 0.92);
    cursor: pointer;
}

.lightbox__img {
    position: relative;
    z-index: 1;
    max-width: min(96vw, 1100px);
    max-height: min(88vh, 1200px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
    position: fixed;
    top: max(0.75rem, env(safe-area-inset-top));
    right: max(0.75rem, env(safe-area-inset-right));
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(246, 250, 244, 0.96);
    color: var(--black-soft);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(62, 224, 200, 0.2);
}

.lightbox__close:hover {
    background: var(--white);
    color: var(--accent-violet);
}

/* Redes estilo iconos (Uiverse / wilsondesouza, adaptado) */
.social-strip {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.social-strip__item {
    margin: 0 10px;
    position: relative;
    list-style: none;
}

.social-strip a {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--ink-strong);
    background-color: var(--surface-elevated);
    text-decoration: none;
    transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(146, 120, 255, 0.12);
}

.social-strip a:hover {
    color: var(--white);
    box-shadow: 3px 2px 28px 0 rgba(62, 224, 200, 0.2);
}

.social-strip__fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    transition: height 0.35s var(--ease-out);
    border-radius: 50%;
}

.social-strip a:hover .social-strip__fill {
    height: 100%;
}

.social-strip a svg {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
}

.social-strip__tooltip {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    padding: 6px 10px;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
    pointer-events: none;
}

.social-strip__item:hover .social-strip__tooltip {
    opacity: 1;
    visibility: visible;
    top: -48px;
}

.social-strip a[data-social="facebook"] .social-strip__fill {
    background-color: #3b5998;
}

.social-strip a[data-social="instagram"] .social-strip__fill {
    background: linear-gradient(45deg, #405de6, #5b51db, #b33ab4, #c135b4, #e1306c, #fd1f1f);
}

.social-strip a[data-social="tiktok"] .social-strip__fill {
    background: linear-gradient(135deg, #00f2ea, #ff0050);
}

.social-strip--on-dark a {
    background-color: rgba(62, 224, 200, 0.1);
    color: rgba(236, 240, 233, 0.94);
}

.social-strip--on-dark a:hover {
    color: var(--text-emphasis-rose);
}

.social-strip--on-dark a[data-social="facebook"]:hover .social-strip__fill {
    background: linear-gradient(135deg, #b86888, #e8a8c0) !important;
}

.social-strip--on-dark a[data-social="instagram"]:hover .social-strip__fill {
    background: linear-gradient(45deg, #c8789a, #d898b8, #e8b0c8, #f0c0d8) !important;
}

.social-strip--on-dark a[data-social="tiktok"]:hover .social-strip__fill {
    background: linear-gradient(135deg, #c8789a, #e090b0) !important;
}

.social-strip--on-dark .social-strip__tooltip {
    background: rgba(14, 18, 14, 0.96);
    color: var(--ink-strong);
    border: 1px solid rgba(146, 120, 255, 0.25);
}


/* ----- Móvil: pantallas estrechas ----- */
@media (max-width: 480px) {
    body {
        font-size: 1rem;
    }

    .hero {
        padding-top: clamp(2rem, 6vw, 3.5rem);
        padding-bottom: clamp(2.5rem, 8vw, 4rem);
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__cta .btn {
        width: 100%;
        text-align: center;
    }

    .section {
        --section-pad-y: clamp(2.5rem, 7vw, 4rem);
    }

    .section--story {
        --section-pad-y: clamp(2rem, 5.5vw, 3.25rem);
    }

    .problem-list li {
        padding: 0.85rem 0.85rem 0.85rem 2.65rem;
    }

    .problem-list li::before {
        left: 0.85rem;
    }

    .service-card__inner {
        padding: 1.5rem;
    }

    .cta-box {
        padding: 1.75rem 1.25rem;
    }

    .site-footer {
        padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
    }
}

@media (max-width: 768px) {
    .section--about .story-grid__text {
        text-align: center;
    }

    .section--about .story-grid__title::after {
        margin-left: auto;
        margin-right: auto;
    }

    .section--about .about-cta-row .social-strip--about-inline {
        justify-content: center;
    }
}

/* Sobre mí: retrato vertical en polaroid */
.section--about .polaroid__frame {
    aspect-ratio: 3 / 4;
}

/* Sobre mí — polaroid clara (borde oscuro + mat blanco, ref.) */
.polaroid--about-light {
    background: linear-gradient(165deg, #faf7fa 0%, #ebe4ef 45%, #d8d0dc 100%);
    padding: 11px 11px 12px;
    box-shadow:
        0 0 0 1px rgba(12, 10, 18, 0.65),
        0 2px 8px rgba(0, 0, 0, 0.38),
        0 14px 40px rgba(40, 28, 52, 0.42),
        0 0 0 1px rgba(196, 182, 235, 0.4),
        0 20px 50px rgba(146, 120, 255, 0.18),
        0 18px 44px rgba(62, 224, 200, 0.1);
}

.polaroid--about-light .polaroid__frame {
    background: #0c0a10;
    box-shadow:
        inset 0 0 0 2px rgba(255, 252, 255, 0.95),
        inset 0 0 0 3px rgba(18, 14, 24, 0.55),
        inset 0 4px 32px rgba(0, 0, 0, 0.48);
}

.polaroid--about-light:hover {
    box-shadow:
        0 0 0 1px rgba(62, 224, 200, 0.35),
        0 2px 10px rgba(0, 0, 0, 0.32),
        0 16px 48px rgba(146, 120, 255, 0.26),
        0 22px 56px rgba(62, 224, 200, 0.14);
}

/* Sobre mí — nombre rosa/mauve y énfasis (ref. texto violeta) */
.section--about .about-text-name {
    color: #d8a7b1;
    font-weight: 600;
    text-shadow:
        0 0 18px rgba(216, 167, 177, 0.35),
        0 0.06em 0.18em rgba(0, 0, 0, 0.4);
}

.section--about .about-text-lead {
    color: var(--ink-strong);
    font-weight: 700;
    font-style: normal;
}

.section--about .about-text-accent {
    color: var(--text-emphasis-lilac);
    font-weight: 600;
}

/* Sobre mí: espacio entre párrafos (título usa story-grid) */
.section--about .story-grid__text > p {
    margin: 0 0 0.85rem;
    text-shadow: 0 0.06em 0.2em rgba(0, 0, 0, 0.42);
}

.section--about .story-grid__text > p:last-of-type {
    margin-bottom: 0;
}
