/* ==========================================================================
   Citovia · Landing
   Mismo sistema visual que la landing de Quantix (hero oscuro con orbes, form
   con borde luminoso, aparición al scrollear) con la paleta de Citovia.
   ========================================================================== */

@property --cv-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

:root {
    --teal-950: #062328;
    --teal-900: #0a3a40;
    --teal: #115e67;
    --teal-600: #16808b;
    --aqua: #2bb3a7;
    --mint: #9be7d5;
    --peach: #f6a57f;
    --coral: #ef8a6b;
    --cream: #fef6ed;
    --cream-2: #f8ecdd;
    --ink: #12292d;
    --muted: #4d6266;
    --line: rgba(17, 94, 103, 0.12);
    --wa: #25d366;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    --cv-dots: radial-gradient(rgba(17, 94, 103, 0.16) 1.25px, transparent 1.3px) 0 0 / 20px 20px;
    --cv-page-bg: linear-gradient(180deg, #fef6ed 0%, #fff9f3 45%, #f6efe6 100%);
    font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--cv-dots), var(--cv-page-bg);
    background-attachment: fixed, fixed;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
}

/* Scrollbar con los colores de la marca */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(254, 246, 237, 0.6); }
::-webkit-scrollbar-thumb { background: linear-gradient(135deg, var(--aqua), var(--teal)); border-radius: 10px; }
* { scrollbar-width: thin; scrollbar-color: var(--teal) rgba(254, 246, 237, 0.6); }

/* Capa decorativa global (viñeta + brillos suaves) debajo del contenido */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 65% at 50% 42%, transparent 42%, rgba(17, 94, 103, 0.06) 100%),
        radial-gradient(ellipse 42% 36% at 0% 90%, rgba(246, 165, 127, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 32% at 100% 10%, rgba(43, 179, 167, 0.07) 0%, transparent 68%);
}

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

.wrap {
    width: min(1200px, 100% - 2.5rem);
    margin-inline: auto;
}

/* Barra de progreso del scroll */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    transform-origin: 0 50%;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--aqua), var(--mint), var(--peach));
    box-shadow: 0 0 12px rgba(43, 179, 167, 0.6);
    pointer-events: none;
}

/* ---------- Header: transparente sobre el hero, crema al scrollear ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 76px;
}

.header__logo {
    position: relative;
    display: block;
    height: 40px;
}

.header__logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Solo anclado arriba a la izquierda: con inset: 0 tomaba el ancho del logo crema y quedaba aplastado */
.header__logo .logo--dark {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.header.is-scrolled {
    background: rgba(254, 246, 237, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(6, 35, 40, 0.35);
}

.header.is-scrolled .logo--light { opacity: 0; }
.header.is-scrolled .logo--dark { opacity: 1; }

.nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-weight: 700;
    font-size: 0.98rem;
}

.nav a:not(.btn) {
    text-decoration: none;
    color: rgba(254, 246, 237, 0.85);
    transition: color 0.2s ease;
}

.nav a:not(.btn):hover { color: #fff; }
.header.is-scrolled .nav a:not(.btn) { color: var(--muted); }
.header.is-scrolled .nav a:not(.btn):hover { color: var(--teal); }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    border: 2px solid transparent;
    /* El degradé cubre también el borde: si no, se repite debajo del borde transparente y deja un filo */
    background-origin: border-box;
    font: inherit;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.btn svg { width: 20px; height: 20px; }

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--teal-600), var(--teal));
    box-shadow: 0 10px 24px -10px rgba(17, 94, 103, 0.8);
}

.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(17, 94, 103, 0.9); }

.btn--light {
    color: var(--teal);
    background: var(--cream);
    box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5);
}

.btn--ghost-light {
    color: var(--cream);
    border-color: rgba(254, 246, 237, 0.45);
    background: rgba(254, 246, 237, 0.06);
    backdrop-filter: blur(6px);
}

.btn--ghost-light:hover { border-color: var(--cream); background: rgba(254, 246, 237, 0.12); }

.btn--wa {
    color: #fff;
    background: linear-gradient(135deg, var(--wa), #128c7e);
    box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.7);
}

/* CTA "Pedí una demo": degradé con brillo interno, flecha en círculo y destello al pasar el mouse */
.btn--cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    gap: 0.65rem;
    padding: 0.5rem 0.5rem 0.5rem 1.3rem;
    /* Sin borde: con el borde transparente de .btn el degradé se repetía debajo y dejaba un filo en los costados */
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, var(--aqua) 0%, var(--teal-600) 45%, var(--teal) 100%);
    box-shadow: 0 10px 26px -10px rgba(17, 94, 103, 0.75);
}

.btn--cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
    translate: -120% 0;
    transition: translate 0.7s var(--ease-out);
}

.btn--cta:hover::after { translate: 120% 0; }

.btn--cta:hover { box-shadow: 0 16px 34px -10px rgba(17, 94, 103, 0.85); }

.btn__arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: var(--teal);
    background: var(--cream);
    transition: translate 0.3s var(--ease-spring);
}

.btn__arrow svg { width: 16px; height: 16px; }
.btn--cta:hover .btn__arrow { translate: 3px 0; }

.nav .btn { font-size: 0.95rem; }

/* Sobre el hero oscuro: CTA crema con la flecha en verde */
.header:not(.is-scrolled) .nav .btn--cta {
    color: var(--teal);
    background: linear-gradient(135deg, #ffffff 0%, var(--cream) 100%);
    box-shadow: 0 10px 26px -12px rgba(0, 0, 0, 0.55);
}

.header:not(.is-scrolled) .nav .btn--cta .btn__arrow {
    color: #fff;
    background: linear-gradient(135deg, var(--aqua), var(--teal));
}

.header:not(.is-scrolled) .nav .btn--cta::after {
    background: linear-gradient(110deg, transparent 30%, rgba(43, 179, 167, 0.18) 50%, transparent 70%);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7.5rem 0 6.5rem;
    color: var(--cream);
    background: linear-gradient(115deg, var(--teal-950) 0%, var(--teal-900) 45%, #0f5059 75%, #145f66 100%);
}

/* Foto opcional de fondo (img/landing/hero.webp) con efecto Ken Burns */
.hero--photo::before {
    content: '';
    position: absolute;
    inset: -12px;
    z-index: -2;
    background: var(--hero-img) center / cover no-repeat;
    filter: blur(2px) saturate(1.05);
    scale: 1.08;
    translate: 0 var(--hero-shift, 0px);
    animation: cv-ken-burns 28s ease-in-out infinite alternate;
}

.hero--photo::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 55% 65% at 88% 28%, rgba(43, 179, 167, 0.35) 0%, transparent 62%),
        radial-gradient(ellipse 45% 55% at 8% 95%, rgba(246, 165, 127, 0.28) 0%, transparent 60%),
        linear-gradient(110deg, rgba(6, 35, 40, 0.94) 0%, rgba(10, 58, 64, 0.86) 42%, rgba(17, 94, 103, 0.7) 75%, rgba(43, 179, 167, 0.5) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: cv-orb-float 18s ease-in-out infinite alternate;
}

.hero-orb--1 { width: min(520px, 80vw); height: min(520px, 80vw); top: -180px; left: -140px; background: var(--aqua); }
.hero-orb--2 { width: min(440px, 70vw); height: min(440px, 70vw); bottom: -200px; right: 18%; background: var(--peach); opacity: 0.32; animation-duration: 22s; animation-delay: -7s; }
.hero-orb--3 { width: min(360px, 60vw); height: min(360px, 60vw); top: 18%; right: -140px; background: var(--mint); opacity: 0.3; animation-duration: 26s; animation-delay: -12s; }

.hero-grid {
    position: absolute;
    inset: -80px;
    background-image:
        linear-gradient(rgba(254, 246, 237, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(254, 246, 237, 0.1) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 78% 68% at 32% 42%, #000 18%, transparent 76%);
    mask-image: radial-gradient(ellipse 78% 68% at 32% 42%, #000 18%, transparent 76%);
    animation: cv-grid-drift 26s linear infinite;
}

.hero-wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: clamp(36px, 6vw, 90px);
    display: block;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 420px);
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: center;
}

.hero-text { min-width: 0; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.1rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mint);
    background: rgba(155, 231, 213, 0.1);
    border: 1px solid rgba(155, 231, 213, 0.25);
}

.hero-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wa);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2);
    animation: cv-pulse 2s ease-in-out infinite;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 1.15rem;
    max-width: 19ch;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.hero-text h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--mint), var(--aqua));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    font-size: clamp(1.02rem, 1.55vw, 1.2rem);
    max-width: 38rem;
    margin-bottom: 1.35rem;
    color: rgba(254, 246, 237, 0.88);
}

.hero-tagline {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.45rem;
    margin-bottom: 1.6rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    background: rgba(6, 35, 40, 0.5);
    border: 1px solid rgba(155, 231, 213, 0.25);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.hero-tagline b { color: var(--mint); text-shadow: 0 0 14px rgba(155, 231, 213, 0.45); }

.hero-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 0.75rem;
    max-width: 42rem;
}

.hero-benefit {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.45rem 0.65rem 0.45rem 0.45rem;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.hero-benefit__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: var(--teal);
    background: var(--cream);
}

.hero-benefit__icon svg { width: 20px; height: 20px; }

/* ---------- Form con borde luminoso ---------- */
.form-card {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 420px;
    padding: 2rem 1.75rem;
    border-radius: 22px;
    color: var(--ink);
    background: #fff;
    box-shadow:
        0 28px 60px rgba(2, 20, 23, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 70px -12px rgba(43, 179, 167, 0.55);
}

.form-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: 24px;
    background: conic-gradient(from var(--cv-angle), transparent 0deg, var(--aqua) 70deg, var(--mint) 120deg, var(--peach) 170deg, transparent 240deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: cv-spin 6s linear infinite;
    pointer-events: none;
}

.form-card h2 {
    font-size: clamp(1.25rem, 2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--teal);
    margin-bottom: 0.35rem;
}

.form-card__subtitle {
    color: var(--muted);
    font-size: 0.93rem;
    margin-bottom: 1.3rem;
    line-height: 1.45;
}

.field { margin-bottom: 0.8rem; }

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}

.form-input {
    width: 100%;
    padding: 0.78rem 0.9rem;
    border: 1.5px solid #dce5e6;
    border-radius: 12px;
    background: #fbfdfd;
    font: inherit;
    font-size: 16px;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--aqua);
    box-shadow: 0 0 0 4px rgba(43, 179, 167, 0.15);
}

.form-input.is-invalid { border-color: #dc2626; }

.field-label {
    display: block;
    margin: 0 0 0.3rem 0.15rem;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--muted);
}

/* ---------- Desplegable con íconos (rubro / profesionales) ---------- */
.picker { position: relative; }

.picker__button {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
    cursor: pointer;
    padding: 0.55rem 0.7rem 0.55rem 0.55rem;
}

.picker__button:hover { border-color: #b9cfd0; }

.picker__icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: var(--teal);
    background: #e6f4f2;
}

.picker__icon svg { width: 18px; height: 18px; }

.picker__value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.picker__chevron {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--muted);
    transition: rotate 0.25s var(--ease-out);
}

.picker.is-open .picker__chevron { rotate: 180deg; }
.picker.is-open .picker__button { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(43, 179, 167, 0.15); }

.picker__list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 30;
    min-width: 190px;
    max-height: 290px;
    overflow-y: auto;
    padding: 0.35rem;
    list-style: none;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e3eaea;
    box-shadow: 0 22px 44px -18px rgba(6, 35, 40, 0.35);
    outline: none;
    transform-origin: top center;
    animation: cv-picker-in 0.18s var(--ease-out);
}

.picker__option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}

.picker__option > span:nth-child(2) { flex: 1; }

.picker__option.is-active,
.picker__option:hover { background: #f0f7f6; }

.picker__option[aria-selected="true"] { color: var(--teal); }
.picker__option[aria-selected="true"] .picker__icon { color: #fff; background: linear-gradient(135deg, var(--aqua), var(--teal)); }

.picker__check { width: 18px; height: 18px; color: var(--aqua); opacity: 0; }
.picker__option[aria-selected="true"] .picker__check { opacity: 1; }

@keyframes cv-picker-in {
    from { opacity: 0; scale: 0.96; translate: 0 -4px; }
    to { opacity: 1; scale: 1; translate: 0 0; }
}

.field-error {
    display: none;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #dc2626;
}

.field-error.show { display: block; }

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-submit {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.9rem 1rem;
    border: none;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    font-size: 1.02rem;
    color: #fff;
    background: linear-gradient(135deg, var(--teal-600), var(--teal));
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.25s var(--ease-out);
}

.form-submit:hover { filter: saturate(1.1) brightness(1.05); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.7; cursor: wait; }

.form-note {
    margin-top: 0.7rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* Éxito: tilde animado + seguir por WhatsApp */
.form-success {
    display: none;
    text-align: center;
    padding: 0.5rem 0;
}

.form-success.show { display: grid; gap: 0.6rem; place-items: center; }

.ok-anim__svg { width: 84px; height: 84px; }
.ok-anim__circle { stroke: var(--aqua); stroke-width: 3; stroke-linecap: round; opacity: 0.35; animation: cv-ok-circle 0.6s ease forwards; }
.ok-anim__check { stroke: var(--teal); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: cv-ok-check 0.5s 0.4s ease forwards; }
.form-success h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.form-success p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; }
.form-success .btn { width: 100%; margin-top: 0.4rem; }

/* ==========================================================================
   Secciones
   ========================================================================== */
section { position: relative; padding: 5.5rem 0; }

.section-head {
    max-width: 760px;
    margin: 0 auto 3rem;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(227, 239, 239, 0.95));
    border: 1px solid rgba(17, 94, 103, 0.18);
    box-shadow: 0 4px 20px rgba(17, 94, 103, 0.08);
}

.section-title {
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 0.9rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--aqua), var(--mint));
}

.section-lead {
    margin-top: 1rem;
    font-size: clamp(1.02rem, 2vw, 1.15rem);
    color: var(--muted);
}

/* ---------- Tarjetas de beneficios ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.feature-card {
    padding: 2.25rem 1.9rem;
    text-align: center;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #fbfaf7 100%);
    border: 1px solid #eef1f0;
    box-shadow: 0 4px 6px -1px rgba(6, 35, 40, 0.04), 0 12px 28px -10px rgba(17, 94, 103, 0.14);
    transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease, border-color 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(43, 179, 167, 0.35);
    box-shadow: 0 24px 48px -20px rgba(17, 94, 103, 0.4);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.4rem;
    border-radius: 20px;
    color: var(--teal);
    background: linear-gradient(135deg, #e9f6f4 0%, #cdeee8 100%);
    box-shadow: inset 0 0 0 1px rgba(17, 94, 103, 0.1);
}

.feature-icon svg { width: 34px; height: 34px; }

.feature-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 0.6rem; }
.feature-card p { color: var(--muted); font-size: 1rem; line-height: 1.7; }

/* ---------- Bloque blanco con media (cómo funciona / rubros) ---------- */
.showcase {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 2.75rem 2.5rem;
    border-radius: 26px;
    background: #fff;
    border: 1px solid #e9eeee;
    box-shadow: 0 18px 40px rgba(6, 35, 40, 0.08);
}

.showcase--reverse .showcase__content { order: 2; }
.showcase--reverse .showcase__media { order: 1; }

.showcase__content h2 {
    font-size: clamp(1.6rem, 3.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--teal);
    margin-bottom: 0.9rem;
}

.showcase__content > p {
    font-size: 1.06rem;
    color: var(--muted);
    margin-bottom: 1.4rem;
}

.showcase__media { display: flex; justify-content: center; min-width: 0; }

.showcase__image {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 18px;
}

.steps {
    list-style: none;
    display: grid;
    gap: 1rem;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: 0.2rem 0 0.2rem 3.4rem;
    counter-increment: step;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 12px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--aqua), var(--teal));
    box-shadow: 0 8px 18px -6px rgba(17, 94, 103, 0.6);
}

.steps h3 { font-size: 1.08rem; font-weight: 800; }
.steps p { color: var(--muted); font-size: 0.98rem; }

.highlight {
    margin-top: 1.4rem;
    font-weight: 800;
    font-size: 1.08rem;
    color: var(--teal-600);
}

/* Celular de WhatsApp (se reemplaza por captura real si existe) */
.phone {
    width: min(340px, 100%);
    padding: 12px;
    border-radius: 42px;
    background: #0b1416;
    box-shadow: 0 34px 60px -24px rgba(6, 35, 40, 0.55), inset 0 0 0 2px #26363a;
    animation: cv-float 7s ease-in-out infinite;
}

.phone__screen { border-radius: 31px; overflow: hidden; background: #efe7de; }

.phone__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: #fff;
    background: #0d5c55;
}

.phone__head img { width: 34px; height: 34px; border-radius: 50%; }
.phone__head b { display: block; font-size: 0.95rem; }
.phone__head small { opacity: 0.8; font-size: 0.75rem; }

.chat {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 14px 12px 18px;
    font-size: 0.86rem;
    line-height: 1.4;
    background-image: radial-gradient(rgba(13, 92, 85, 0.06) 1px, transparent 1px);
    background-size: 14px 14px;
}

.msg { max-width: 84%; padding: 7px 10px 6px; border-radius: 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.msg time { display: block; text-align: right; font-size: 0.68rem; color: #667781; margin-top: 2px; }
.msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.msg--out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 3px; }
.msg__btn { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px solid #edf0f0; text-align: center; font-weight: 800; color: #0b8a7f; }
.msg__link { color: #0b8a7f; text-decoration: underline; }

/* Foto del celular con el chat (img/landing/celular-chat.webp) */
.showcase__image--phone {
    max-width: 440px;
    border-radius: 28px;
    box-shadow: 0 34px 60px -26px rgba(6, 35, 40, 0.55);
    animation: cv-float 7s ease-in-out infinite;
}

/* Captura del panel dentro de un marco de navegador (img/landing/panel-hoy.webp) */
.browser {
    max-width: 1080px;
    margin: 0 auto 3rem;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3eaea;
    box-shadow: 0 40px 80px -40px rgba(6, 35, 40, 0.45), 0 0 0 8px rgba(255, 255, 255, 0.55);
}

.browser__bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem 1rem;
    background: #f3f6f6;
    border-bottom: 1px solid #e3eaea;
}

.browser__bar span { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.browser__bar span:nth-child(2) { background: #fbbf24; }
.browser__bar span:nth-child(3) { background: #4ade80; }

.browser__url {
    flex: 1;
    max-width: 360px;
    margin-left: 0.75rem;
    padding: 0.25rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    background: #fff;
    border: 1px solid #e3eaea;
}

.browser img { width: 100%; height: auto; }

/* Tarjeta "Se adapta a cómo trabajás" (sección de rubros) */
.fit-card {
    width: 100%;
    max-width: 480px;
    padding: 2rem 1.9rem;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 70% 60% at 100% 0%, rgba(43, 179, 167, 0.14) 0%, transparent 60%),
        linear-gradient(145deg, #f7fbfa 0%, #eef7f5 100%);
    border: 1px solid rgba(17, 94, 103, 0.12);
}

.fit-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 1rem; }

.rubros {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.4rem;
}

.rubros li {
    padding: 0.32rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--teal);
    background: #e6f4f2;
}

.check-list {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.check-list li {
    position: relative;
    padding-left: 1.6rem;
    color: #2f4548;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    color: var(--aqua);
}

/* ---------- Grilla del panel (tarjetas con ícono degradé) ---------- */
.panel-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.panel-card {
    padding: 1.65rem 1.5rem 1.75rem;
    border-radius: 22px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fbfa 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 6px -1px rgba(6, 35, 40, 0.04), 0 12px 28px -8px rgba(17, 94, 103, 0.13);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.panel-card:hover {
    transform: translateY(-6px);
    border-color: rgba(43, 179, 167, 0.35);
    box-shadow: 0 12px 24px -8px rgba(6, 35, 40, 0.08), 0 20px 40px -12px rgba(17, 94, 103, 0.22);
}

.panel-card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 1.1rem;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--aqua), var(--teal));
    box-shadow: 0 8px 20px rgba(17, 94, 103, 0.32);
}

.panel-card__icon svg { width: 26px; height: 26px; }
.panel-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; }
.panel-card p { font-size: 0.97rem; line-height: 1.65; color: var(--muted); }

/* Bento: [celular celular números] [hoy agenda seña] [clientas humano humano] */
.panel-grid--bento { grid-auto-flow: dense; }

.panel-card--mobile,
.panel-card--wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.75rem;
    align-items: center;
}

.panel-card--mobile {
    padding: 2rem 2rem 0;
    align-items: end;
    background:
        radial-gradient(ellipse 60% 80% at 100% 100%, rgba(43, 179, 167, 0.18) 0%, transparent 70%),
        linear-gradient(145deg, #eef7f5 0%, #e3f1ee 100%);
}

.panel-card--mobile .panel-card__text { align-self: center; padding-bottom: 2rem; }
.panel-card--mobile h3 { font-size: 1.35rem; }

/* Mini vistas dentro de las tarjetas */
.mini-phone {
    width: 250px;
    padding: 14px 12px 18px;
    border: 6px solid var(--ink);
    border-bottom: 0;
    border-radius: 30px 30px 0 0;
    background: #fff;
    box-shadow: 0 -10px 40px -18px rgba(6, 35, 40, 0.45);
}

.mini-phone__head { padding: 2px 4px 10px; }
.mini-phone__head b { display: block; font-size: 1.05rem; font-weight: 800; }
.mini-phone__head small { font-size: 0.75rem; color: var(--muted); }

.mini-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.5rem;
    border-top: 1px solid #edf1f0;
    font-size: 0.78rem;
    line-height: 1.25;
}

.mini-row time { font-weight: 800; color: var(--teal); }
.mini-row b { display: block; font-weight: 800; }
.mini-row small { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.chip {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
    white-space: nowrap;
}

.chip--ok { color: #0f6b3c; background: #d7f5e3; }
.chip--teal { color: var(--teal); background: #dcefed; }
.chip--wait { color: #9a4b1f; background: #fde6d6; }
.chip--bad { color: #9b2c2c; background: #fde2e2; }
.chip--muted { color: var(--muted); background: #eef1f0; }

.mini-bars,
.mini-actions,
.mini-agenda,
.mini-deposit {
    height: 76px;
    margin-bottom: 1.1rem;
    padding: 12px 14px;
    border-radius: 16px;
    background: #f4f8f7;
}

.mini-bars { display: flex; align-items: flex-end; gap: 8px; }
.mini-bars span { flex: 1; height: var(--h); border-radius: 5px; background: #c6e4de; }
.mini-bars span.is-peak { background: linear-gradient(180deg, var(--aqua), var(--teal)); }

.mini-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.mini-actions .chip { padding: 0.4rem 0.8rem; font-size: 0.8rem; }

.mini-agenda { display: grid; align-content: center; gap: 4px; padding-block: 8px; }
.mini-agenda span { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.mini-agenda i {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 800;
    color: #fff;
    background: var(--teal-600);
}

.mini-deposit { display: grid; align-content: center; }
.mini-deposit b { font-size: 1.5rem; font-weight: 800; line-height: 1.1; color: var(--teal); }
.mini-deposit small { font-size: 0.8rem; color: var(--muted); }

.mini-chat {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 260px;
    padding: 14px 12px;
    border-radius: 16px;
    font-size: 0.84rem;
    line-height: 1.4;
    background: #efeae2;
}

/* ---------- Diagrama: WhatsApp del local → Citovia → agenda / seña / recordatorios ---------- */
.wa-flow {
    display: grid;
    justify-items: center;
    width: 100%;
    max-width: 440px;
    padding: 2rem 1.5rem;
    border-radius: 22px;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(37, 211, 102, 0.12) 0%, transparent 70%),
        linear-gradient(160deg, #f4fbf9 0%, #fdf8f2 100%);
    border: 1px solid var(--line);
}

.wa-flow__node {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e6eeec;
    box-shadow: 0 10px 26px -14px rgba(6, 35, 40, 0.35);
}

.wa-flow__node b { display: block; font-size: 1.02rem; font-weight: 800; line-height: 1.25; }
.wa-flow__node small { display: block; font-size: 0.86rem; color: var(--muted); }

.wa-flow__badge {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--wa), #128c7e);
    box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.wa-flow__badge svg { width: 24px; height: 24px; }

.wa-flow__node--core {
    color: var(--cream);
    background: linear-gradient(135deg, var(--teal-900), var(--teal));
    border-color: transparent;
    box-shadow: 0 18px 36px -14px rgba(10, 58, 64, 0.6);
}

.wa-flow__node--core img { width: 44px; height: 44px; flex-shrink: 0; }
.wa-flow__node--core small { color: rgba(254, 246, 237, 0.75); }

.wa-flow__live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--mint);
    white-space: nowrap;
}

.wa-flow__live::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wa);
    animation: cv-pulse 2s ease-in-out infinite;
}

/* Conector punteado con un "mensaje" que baja */
.wa-flow__link {
    position: relative;
    width: 2px;
    height: 34px;
    background: repeating-linear-gradient(to bottom, rgba(17, 94, 103, 0.35) 0 5px, transparent 5px 10px);
}

.wa-flow__link::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: var(--aqua);
    box-shadow: 0 0 0 4px rgba(43, 179, 167, 0.18);
    animation: cv-flow-dot 1.8s ease-in-out infinite;
}

.wa-flow__outs {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    width: 100%;
}

.wa-flow__outs li {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    padding: 0.85rem 0.4rem;
    text-align: center;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.3;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e6eeec;
}

.wa-flow__outs span {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: var(--teal);
    background: linear-gradient(135deg, #e9f6f4 0%, #cdeee8 100%);
}

.wa-flow__outs svg { width: 20px; height: 20px; }

/* ---------- Precios ---------- */
.price-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f7fbfa 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 6px -1px rgba(6, 35, 40, 0.04), 0 12px 28px -8px rgba(17, 94, 103, 0.13);
}

.price-card h3 { font-size: 1.3rem; font-weight: 800; }
.price-card__tagline { margin-top: 0.3rem; font-size: 0.95rem; color: var(--muted); }

.price-card__price { display: flex; align-items: baseline; gap: 0.3rem; margin: 1.25rem 0 1.4rem; }
.price-card__price b { font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--teal); }
.price-card__price span { font-size: 0.95rem; color: var(--muted); }

.price-card .check-list { margin-bottom: 1.75rem; font-size: 0.97rem; }

.price-card__cta {
    margin-top: auto;
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    text-align: center;
    font-weight: 800;
    text-decoration: none;
    color: var(--teal);
    border: 2px solid var(--teal);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.price-card__cta:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }

.price-card--featured {
    color: var(--cream);
    border-color: transparent;
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(43, 179, 167, 0.4) 0%, transparent 65%),
        linear-gradient(150deg, var(--teal-900), var(--teal));
    box-shadow: 0 26px 50px -18px rgba(10, 58, 64, 0.55);
}

.price-card--featured .price-card__tagline,
.price-card--featured .price-card__price span { color: rgba(254, 246, 237, 0.75); }
.price-card--featured .price-card__price b { color: var(--mint); }
.price-card--featured .check-list li { color: rgba(254, 246, 237, 0.92); }
.price-card--featured .check-list li::before { color: var(--mint); }
.price-card--featured .price-card__cta { color: var(--teal-900); background: var(--mint); border-color: var(--mint); }
.price-card--featured .price-card__cta:hover { background: #fff; border-color: #fff; color: var(--teal-900); }

.price-card__tag {
    position: absolute;
    top: -12px;
    right: 1.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-900);
    background: var(--peach);
    box-shadow: 0 6px 16px rgba(239, 138, 107, 0.4);
}

.price-note { margin-top: 1.75rem; text-align: center; font-size: 0.92rem; color: var(--muted); }

/* Plan elegido, dentro del formulario del hero */
.form-plan {
    margin: 0.25rem 0 0.75rem;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    font-size: 0.86rem;
    color: var(--teal);
    background: #e6f4f1;
}

.form-plan[hidden] { display: none; }

/* ---------- Bloque oscuro: te acompañamos ---------- */
.team {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: center;
    padding: 3rem 2.75rem;
    border-radius: 26px;
    color: var(--cream);
    background:
        radial-gradient(ellipse 50% 70% at 100% 0%, rgba(43, 179, 167, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 0% 100%, rgba(246, 165, 127, 0.18) 0%, transparent 60%),
        linear-gradient(135deg, var(--teal-900), var(--teal));
    box-shadow: 0 22px 48px rgba(10, 58, 64, 0.35);
    overflow: hidden;
}

.team h2 { font-size: clamp(1.55rem, 3.4vw, 2.15rem); font-weight: 800; line-height: 1.22; margin-bottom: 0.85rem; }
.team__lead { color: rgba(254, 246, 237, 0.85); font-size: 1.04rem; margin-bottom: 1.6rem; max-width: 34rem; }

.team__stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.5rem;
}

.team__stat-value { display: block; font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 800; line-height: 1.15; color: var(--mint); }
.team__stat-label { display: block; font-size: 0.92rem; color: rgba(254, 246, 237, 0.75); }

.team__media { display: grid; place-items: center; }

/* Foto recortada (fondo transparente): se apoya sobre el borde inferior de la tarjeta */
.team__media:has(.team__photo) { align-self: end; place-items: end center; margin-bottom: -3rem; }

/* Arco tipo píldora arriba, recto abajo (apoya en la tarjeta) y fundido hacia los costados
   para que la foto no se corte de golpe. El fondo claro hace visible el arco detrás del recorte. */
.team__photo {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 220px 220px 0 0;
    background:
        radial-gradient(ellipse 70% 80% at 55% 35%, rgba(155, 231, 213, 0.38) 0%, transparent 70%),
        linear-gradient(170deg, rgba(43, 179, 167, 0.32) 0%, rgba(17, 94, 103, 0.1) 100%);
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 30%, #000 86%, transparent 100%);
    mask-image:
        linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.55) 12%, #000 30%, #000 86%, transparent 100%);
}

.team__mark {
    width: min(280px, 70%);
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
    animation: cv-float 9s ease-in-out infinite;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    padding: 1.05rem 1.3rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e9eeee;
    box-shadow: 0 6px 20px -16px rgba(6, 35, 40, 0.4);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] { border-color: rgba(43, 179, 167, 0.4); box-shadow: 0 14px 30px -18px rgba(17, 94, 103, 0.45); }

.faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-size: 1.3rem; line-height: 1; color: var(--aqua); transition: rotate 0.25s ease; }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { margin-top: 0.75rem; color: var(--muted); line-height: 1.65; }

/* ---------- Footer ---------- */
footer {
    padding: 3.5rem 0 1.75rem;
    color: rgba(254, 246, 237, 0.78);
    background:
        radial-gradient(ellipse 45% 80% at 100% 0%, rgba(43, 179, 167, 0.22) 0%, transparent 65%),
        linear-gradient(135deg, var(--teal-950), var(--teal-900) 55%, var(--teal));
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 2.5rem;
}

.footer__brand img { height: 38px; width: auto; margin-bottom: 1rem; }
.footer__brand p { max-width: 30ch; font-size: 0.95rem; line-height: 1.6; }

.footer__title {
    margin-bottom: 0.9rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint);
}

.footer__links { list-style: none; display: grid; gap: 0.55rem; }

.footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--cream);
    text-decoration: none;
    opacity: 0.88;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.footer__links a:hover { opacity: 1; color: var(--mint); }
.footer__links svg { width: 18px; height: 18px; flex-shrink: 0; }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 1.5rem;
    margin-top: 2.75rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(254, 246, 237, 0.12);
    font-size: 0.86rem;
    color: rgba(254, 246, 237, 0.6);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 150;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wa), #128c7e);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s var(--ease-spring);
}

.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ==========================================================================
   Movimiento
   ========================================================================== */
@keyframes cv-spin { to { --cv-angle: 360deg; } }
@keyframes cv-ken-burns { from { scale: 1.08; } to { scale: 1.16; } }
@keyframes cv-grid-drift { from { background-position: 0 0; } to { background-position: 64px 64px; } }
@keyframes cv-orb-float { 0% { translate: 0 0; scale: 1; } 50% { translate: 48px -32px; scale: 1.12; } 100% { translate: -32px 24px; scale: 0.94; } }
@keyframes cv-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes cv-pulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.2); } 50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.05); } }
@keyframes cv-ok-circle { from { stroke-dasharray: 0 999; } to { stroke-dasharray: 999 0; } }
@keyframes cv-ok-check { to { stroke-dashoffset: 0; } }
@keyframes cv-flow-dot { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@keyframes cv-hero-in { from { opacity: 0; translate: 0 28px; filter: blur(10px); } to { opacity: 1; translate: 0 0; filter: none; } }
@keyframes cv-hero-card-in { from { opacity: 0; translate: 48px 0; scale: 0.96; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes cv-icon-pop { from { opacity: 0; scale: 0.4; rotate: -14deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }

@media (prefers-reduced-motion: no-preference) {
    .hero-text > * { animation: cv-hero-in 1s var(--ease-out) both; }
    .hero-text > :nth-child(1) { animation-delay: 0.1s; }
    .hero-text > :nth-child(2) { animation-delay: 0.22s; }
    .hero-text > :nth-child(3) { animation-delay: 0.36s; }
    .hero-text > :nth-child(4) { animation-delay: 0.5s; }
    .hero-text > :nth-child(5) { animation-delay: 0.62s; }
    .hero-benefit { animation: cv-hero-in 0.8s var(--ease-out) both; }
    .hero-benefit:nth-child(1) { animation-delay: 0.7s; }
    .hero-benefit:nth-child(2) { animation-delay: 0.77s; }
    .hero-benefit:nth-child(3) { animation-delay: 0.84s; }
    .hero-benefit:nth-child(4) { animation-delay: 0.91s; }
    .hero-benefit:nth-child(5) { animation-delay: 0.98s; }
    .hero-benefit:nth-child(6) { animation-delay: 1.05s; }
    .form-card { animation: cv-hero-card-in 1.1s var(--ease-out) 0.35s both; }
}

/* Aparición al scrollear: solo si el JS confirmó soporte (sin JS todo queda visible) */
.reveal-ready [data-reveal] {
    opacity: 0;
    translate: 0 42px;
    filter: blur(8px);
    transition:
        opacity 0.9s var(--ease-out) var(--reveal-delay, 0ms),
        translate 1.1s var(--ease-out) var(--reveal-delay, 0ms),
        scale 1.1s var(--ease-out) var(--reveal-delay, 0ms),
        filter 0.9s var(--ease-out) var(--reveal-delay, 0ms),
        transform 0.35s var(--ease-out),
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.reveal-ready [data-reveal="left"] { translate: -56px 0; }
.reveal-ready [data-reveal="right"] { translate: 56px 0; }
.reveal-ready [data-reveal="zoom"] { translate: 0 24px; scale: 0.9; }
.reveal-ready [data-reveal="pop"] { translate: 0 12px; scale: 0.7; filter: none; }

.reveal-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; scale: 1; filter: none; }

.reveal-ready .feature-card .feature-icon,
.reveal-ready .panel-card .panel-card__icon { opacity: 0; }

.reveal-ready .feature-card.is-visible .feature-icon,
.reveal-ready .panel-card.is-visible .panel-card__icon {
    animation: cv-icon-pop 0.8s var(--ease-spring) calc(var(--reveal-delay, 0ms) + 250ms) both;
}

@media (prefers-reduced-motion: reduce) {
    .hero--photo::before, .hero-grid, .hero-orb, .form-card::before, .phone, .showcase__image--phone, .team__mark, .hero-eyebrow::before, .wa-flow__link::after, .wa-flow__live::before { animation: none; }
    .hero--photo::before { translate: none; }
    .btn--cta::after { display: none; }
}

/* Las entradas laterales no generan scroll horizontal mientras están ocultas */
section { overflow-x: clip; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .hero-content { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 380px); gap: 2rem; }
    .hero-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
    .hero { min-height: auto; padding-top: 6.5rem; }
    .hero-content { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
    .hero-text h1 { max-width: none; }
    .form-card { justify-self: stretch; max-width: none; }
    .showcase, .team { grid-template-columns: 1fr; }
    .showcase--reverse .showcase__content, .showcase--reverse .showcase__media { order: initial; }
    .panel-grid, .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .panel-card--tablet-wide { grid-column: span 2; } /* en 2 columnas, completa la fila impar del bento */
    .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 1.75rem; }
}

@media (max-width: 768px) {
    body { background-attachment: scroll, scroll; }
    section { padding: 3.75rem 0; }
    .nav a:not(.btn) { display: none; }
    .hero { padding: 6rem 0 4.5rem; }
    .hero-benefits { gap: 0.5rem; }
    .hero-benefit { font-size: 0.8rem; }
    .form-card { padding: 1.5rem 1.25rem; }
    .showcase { padding: 1.8rem 1.25rem; gap: 1.6rem; border-radius: 20px; }
    .team { padding: 2rem 1.3rem; border-radius: 20px; }
    .team__media:has(.team__photo) { margin-bottom: -2rem; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
    .footer__brand { grid-column: 1 / -1; }
    footer { padding-bottom: 5.5rem; } /* que el botón flotante de WhatsApp no tape el © */
    .team__photo { border-radius: 160px 160px 0 0; }
    .panel-grid, .features-grid { grid-template-columns: 1fr; }
    .panel-card--tablet-wide { grid-column: auto; }
    .panel-card--mobile, .panel-card--wide { grid-column: auto; grid-template-columns: 1fr; gap: 1.25rem; }
    .panel-card--mobile { padding: 1.65rem 1.25rem 0; }
    .panel-card--mobile .panel-card__text { padding-bottom: 0; }
    .mini-phone { justify-self: center; width: min(260px, 100%); }
    .mini-chat { width: 100%; }
    .section-head { margin-bottom: 2rem; }
    .browser { margin-bottom: 2rem; border-radius: 12px; box-shadow: 0 24px 50px -30px rgba(6, 35, 40, 0.45); }
    .browser__url { display: none; }
    .showcase__image--phone { max-width: 340px; }
    .reveal-ready [data-reveal="left"], .reveal-ready [data-reveal="right"] { translate: 0 36px; }
}

@media (max-width: 480px) {
    .wrap { width: calc(100% - 2rem); }
    .header__logo img { height: 34px; }
    .header__logo { height: 34px; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .wa-flow { padding: 1.4rem 1rem; }
    .wa-flow__live { display: none; }
    .wa-flow__outs li { font-size: 0.78rem; }
    .hero-benefits { grid-template-columns: 1fr 1fr; }
}
