/* =========================================================================
   Nixpet · Landing comercial
   Sistema de diseño tomado del producto real (config/nixpet.php, tailwind.config.js)
   Turquesa de marca #2EC4B6 · Navy #1F3A5F · Violeta #7C5CD6
   CSS propio, sin dependencias externas (rápido, SEO-friendly, mantenible).
   ========================================================================= */

/* ----------------------------- Tokens ---------------------------------- */
:root {
    /* Marca */
    --nix-500: #2EC4B6;   /* turquesa de la huella */
    --nix-600: #22A79B;
    --nix-700: #1C8880;
    --nix-300: #7FDCD3;
    --nix-100: #D9F5F1;
    --nix-50:  #F0FBFA;
    --nix-accent: #1a7d76; /* turquesa legible (texto/enlaces) */
    --ink:    #1F3A5F;     /* azul marino de marca (títulos) */
    --navy-800:#17304F;
    --navy-900:#12253D;
    --body:   #4B5C74;     /* texto corrido */
    --muted:  #667384;     /* secundario */
    --line:   #E4EAF1;     /* bordes */
    --canvas: #F2FAFA;     /* fondo de página */
    --white:  #ffffff;
    --violet: #7C5CD6;     /* acento del sistema */
    --violet-soft:#F0ECFC;
    --green:  #4CAF50;
    --amber:  #E09B33;
    --halo:   #DCF0EE;

    /* Tipografía */
    --font-display: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

    /* Radios */
    --r-sm: 12px;
    --r:    16px;
    --r-lg: 22px;
    --r-xl: 28px;
    --r-pill: 999px;

    /* Sombras */
    --sh-sm: 0 1px 2px rgba(31,58,95,.05);
    --sh:    0 2px 10px -2px rgba(31,58,95,.07);
    --sh-md: 0 10px 28px -8px rgba(31,58,95,.12);
    --sh-lg: 0 24px 60px -20px rgba(31,58,95,.20);
    --sh-xl: 0 40px 90px -30px rgba(31,58,95,.28);
    --sh-btn:0 12px 22px -8px rgba(46,196,182,.55);

    /* Layout */
    --maxw: 1180px;
    --gutter: clamp(20px, 5vw, 48px);
    --nav-h: 72px;
}

/* ----------------------------- Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--body);
    background: var(--white);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--nix-accent); text-decoration: none; }
a:hover { color: var(--nix-700); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--nix-300); outline-offset: 2px; border-radius: 6px; }

/* ----------------------------- Layout ---------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--canvas { background: var(--canvas); }
.section--mint { background: linear-gradient(180deg, var(--nix-50) 0%, #ffffff 100%); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--nix-700);
    background: var(--nix-100);
    padding: 7px 14px; border-radius: var(--r-pill);
}
.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { margin-top: 16px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }

.h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; }
.lead { font-size: clamp(17px, 1.8vw, 21px); color: var(--muted); }

/* ----------------------------- Buttons --------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-display); font-weight: 600; font-size: 16px;
    padding: 14px 26px; border-radius: var(--r-pill); border: 1.5px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--nix-500); color: #0e3b37; box-shadow: var(--sh-btn); }
.btn--primary:hover { background: var(--nix-600); color: #0e3b37; transform: translateY(-2px); box-shadow: 0 16px 28px -8px rgba(46,196,182,.6); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: var(--sh-sm); }
.btn--ghost:hover { border-color: var(--nix-300); color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn--light:hover { background: rgba(255,255,255,.24); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: #fff; color: var(--ink); transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 17px; }

/* ----------------------------- Navbar ---------------------------------- */
.nav {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.nav.is-stuck { box-shadow: var(--sh); border-bottom-color: var(--line); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.brand__name b { color: var(--nix-500); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
    font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink);
    padding: 9px 14px; border-radius: var(--r-pill); transition: background .16s ease, color .16s ease;
}
.nav__links a:hover { background: var(--nix-50); color: var(--nix-700); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__mobile { display: none; }
.nav__toggle {
    display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
    background: #fff; align-items: center; justify-content: center;
}
.nav__toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ----------------------------- Hero ------------------------------------ */
.hero { position: relative; overflow: clip; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 60% at 82% 8%, rgba(46,196,182,.14), transparent 60%),
        radial-gradient(50% 55% at 6% 4%, rgba(124,92,214,.10), transparent 60%),
        linear-gradient(180deg, var(--nix-50), #fff 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.pill {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13.5px; font-weight: 500; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 7px 14px; box-shadow: var(--sh-sm);
}
.pill svg { width: 15px; height: 15px; color: var(--nix-600); }
.hero h1 { margin-bottom: 20px; }
.hero h1 .hl { color: var(--nix-accent); position: relative; }
.hero__lead { max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px 24px; color: var(--muted); font-size: 14.5px; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 17px; height: 17px; color: var(--green); flex: none; }

/* Composición visual del hero */
.hero__visual { position: relative; }
.mockup {
    position: relative; border-radius: var(--r-lg); background: #fff;
    box-shadow: var(--sh-xl); border: 1px solid var(--line); overflow: hidden;
}
.mockup__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.mockup__bar i { width: 11px; height: 11px; border-radius: 50%; background: #E4EAF1; display: inline-block; }
.mockup__bar i:nth-child(1){ background:#FF9F9B; } .mockup__bar i:nth-child(2){ background:#FFD479; } .mockup__bar i:nth-child(3){ background:#8FE3B0; }
.mockup__bar .mockup__url { margin-left: 10px; flex: 1; height: 22px; border-radius: 7px; background: var(--canvas); border: 1px solid var(--line); display: flex; align-items: center; padding: 0 10px; font-size: 12px; color: var(--muted); }
.mockup img { width: 100%; display: block; }

.hero__float {
    position: absolute; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-lg); padding: 13px 16px; display: flex; align-items: center; gap: 12px;
}
.hero__float .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.hero__float .ic svg { width: 21px; height: 21px; }
.hero__float b { display: block; font-family: var(--font-display); color: var(--ink); font-size: 15px; line-height: 1.2; }
.hero__float small { color: var(--muted); font-size: 12.5px; }
.hero__float--a { top: -22px; left: -26px; }
.hero__float--b { bottom: 34px; left: -34px; }
.hero__mascot {
    position: absolute; right: -30px; bottom: -34px; width: clamp(120px, 15vw, 172px);
    filter: drop-shadow(0 24px 30px rgba(31,58,95,.24)); z-index: 3;
}

/* ----------------------------- Logos strip ----------------------------- */
.marquee { border-block: 1px solid var(--line); background: #fff; }
.marquee .container { display: flex; align-items: center; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; justify-content: center; padding-block: 26px; }
.marquee p { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; font-family: var(--font-display); }
.marquee__item { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600; font-family: var(--font-display); font-size: 15px; opacity: .78; }
.marquee__item svg { width: 20px; height: 20px; color: var(--nix-600); }

/* ----------------------------- Problema -------------------------------- */
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prob {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.prob:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #FBE0DC; }
.prob .ic { width: 42px; height: 42px; border-radius: 12px; background: #FCECEE; color: #C0394A; display: grid; place-items: center; margin-bottom: 14px; }
.prob .ic svg { width: 22px; height: 22px; }
.prob h3 { font-size: 16.5px; margin-bottom: 6px; }
.prob p { font-size: 14.5px; color: var(--muted); }

/* ----------------------------- Solución -------------------------------- */
.hub { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; text-align: center; }
.hub__ring { position: relative; width: min(560px, 92%); margin-inline: auto; aspect-ratio: 1; }
.hub__core {
    position: absolute; inset: 34%; border-radius: 50%; display: grid; place-items: center; text-align: center;
    background: radial-gradient(circle at 30% 25%, var(--nix-500), var(--nix-700));
    color: #fff; box-shadow: 0 20px 50px -16px rgba(28,136,128,.6); z-index: 2;
}
.hub__core span { font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 3vw, 22px); line-height: 1.05; }
.hub__core small { font-size: 12px; opacity: .85; }
.hub__orbit { position: absolute; inset: 0; border: 1.5px dashed var(--nix-300); border-radius: 50%; }
.hub__orbit::after { content:""; position:absolute; inset: 14%; border: 1.5px dashed #C9EEE9; border-radius: 50%; }
.hub__node {
    position: absolute; transform: translate(-50%, -50%);
    display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--r-pill); padding: 9px 15px 9px 10px; box-shadow: var(--sh-md); font-weight: 600;
    font-family: var(--font-display); color: var(--ink); font-size: 14px; white-space: nowrap; z-index: 3;
}
.hub__node .d { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
.hub__node .d svg { width: 15px; height: 15px; color: #fff; }

/* ----------------------------- Funcionalidades ------------------------- */
.feat-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feat {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feat__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.feat__ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.feat__ic svg { width: 25px; height: 25px; }
.feat__head h3 { font-size: 20px; }
.feat__head p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.feat ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.feat li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; color: var(--body); }
.feat li svg { width: 18px; height: 18px; color: var(--nix-600); flex: none; margin-top: 2px; }

.ic-turq { background: var(--nix-100); color: var(--nix-700); }
.ic-navy { background: #E7ECF4; color: var(--ink); }
.ic-violet { background: var(--violet-soft); color: var(--violet); }
.ic-green { background: #EAF6EB; color: #367C39; }

/* ----------------------------- Screenshots showcase -------------------- */
.shots { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }
.shot { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.shot--rev .shot__text { order: 2; }
.shot__text .eyebrow { margin-bottom: 16px; }
.shot__text h3 { font-size: clamp(23px, 3vw, 32px); margin-bottom: 14px; }
.shot__text p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.shot__list { list-style: none; padding: 0; display: grid; gap: 11px; }
.shot__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--body); }
.shot__list svg { width: 20px; height: 20px; color: var(--nix-600); flex: none; margin-top: 2px; }
.shot__media { position: relative; }
.shot__media .mockup { transition: transform .3s ease; }
.shot__media .glow { position: absolute; inset: 8% 6%; z-index: -1; border-radius: 40px; background: radial-gradient(closest-side, rgba(46,196,182,.28), transparent 78%); filter: blur(8px); }

/* ----------------------------- Beneficios ------------------------------ */
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ben {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
    position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.ben:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.ben::after { content:""; position:absolute; top:0; left:0; width:100%; height:4px; background: linear-gradient(90deg, var(--nix-500), var(--nix-300)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.ben:hover::after { transform: scaleX(1); }
.ben__ic { width: 48px; height: 48px; border-radius: 13px; background: var(--nix-100); color: var(--nix-700); display: grid; place-items: center; margin-bottom: 16px; }
.ben__ic svg { width: 24px; height: 24px; }
.ben h3 { font-size: 19px; margin-bottom: 8px; }
.ben p { font-size: 15px; color: var(--muted); }

/* ----------------------------- Cómo funciona --------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.step { position: relative; }
.step__num {
    font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--nix-700);
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 2px solid var(--nix-300); margin-bottom: 18px; position: relative; z-index: 2;
}
.step:not(:last-child) .step__num::after {
    content:""; position: absolute; left: 100%; top: 50%; width: calc(100% + 20px); height: 2px;
    background: repeating-linear-gradient(90deg, var(--nix-300) 0 8px, transparent 8px 16px);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ----------------------------- Diferenciadores ------------------------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin-inline: auto; }
.compare__col { border-radius: var(--r-lg); padding: 28px; }
.compare__col--old { background: #fff; border: 1px solid var(--line); }
.compare__col--new { background: linear-gradient(180deg, var(--ink), var(--navy-800)); color: #fff; box-shadow: var(--sh-lg); }
.compare__col h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 20px; }
.compare__col--new h3 { color: #fff; }
.compare__tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); font-family: var(--font-display); }
.compare__col--old .compare__tag { background: #F3F5F8; color: var(--muted); }
.compare__col--new .compare__tag { background: rgba(46,196,182,.22); color: var(--nix-300); }
.compare ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.compare li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.5px; }
.compare__col--old li { color: var(--muted); }
.compare__col--new li { color: rgba(255,255,255,.92); }
.compare li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.compare__col--old li svg { color: #C0394A; }
.compare__col--new li svg { color: var(--nix-300); }

/* ----------------------------- Seguridad ------------------------------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
    display: flex; gap: 15px; align-items: flex-start;
}
.sec__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--nix-50); color: var(--nix-700); display: grid; place-items: center; flex: none; }
.sec__ic svg { width: 22px; height: 22px; }
.sec h3 { font-size: 16.5px; margin-bottom: 5px; }
.sec p { font-size: 14px; color: var(--muted); }

/* ----------------------------- Testimonios ready ----------------------- */
.diseñado { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.testi-grid { display: grid; gap: 16px; }
.testi {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
    box-shadow: var(--sh); position: relative;
}
.testi__quote { font-size: 15.5px; color: var(--body); font-style: italic; }
.testi__ph { color: var(--muted); font-style: normal; }
.testi__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--nix-100), #E7ECF4); border: 1px dashed var(--nix-300); flex: none; }
.testi__who b { font-family: var(--font-display); color: var(--ink); font-size: 15px; display: block; }
.testi__who small { color: var(--muted); font-size: 13px; }
.badge-ph { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--violet); background: var(--violet-soft); padding: 3px 9px; border-radius: var(--r-pill); margin-top: 8px; }

/* ----------------------------- Planes ---------------------------------- */
.plans { max-width: 760px; margin-inline: auto; }
.plan-card {
    background: linear-gradient(150deg, var(--ink), var(--navy-900)); color: #fff;
    border-radius: var(--r-xl); padding: clamp(32px, 5vw, 52px); text-align: center; position: relative; overflow: hidden;
    box-shadow: var(--sh-lg);
}
.plan-card::before { content:""; position:absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(46,196,182,.28), transparent 70%); top: -120px; right: -80px; }
.plan-card h3 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 14px; position: relative; }
.plan-card p { color: rgba(255,255,255,.82); max-width: 520px; margin: 0 auto 26px; position: relative; }
.plan-card .plan-feats { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; margin-bottom: 30px; position: relative; }
.plan-card .plan-feats span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255,255,255,.9); }
.plan-card .plan-feats svg { width: 18px; height: 18px; color: var(--nix-300); }
.plan-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.6); position: relative; }

/* ----------------------------- CTA final ------------------------------- */
.cta-final { position: relative; overflow: hidden; background: var(--nix-50); }
.cta-final__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.cta-final h2 { font-size: clamp(26px, 3.6vw, 42px); margin-bottom: 14px; }
.cta-final p { color: var(--muted); font-size: 18px; max-width: 540px; margin-bottom: 26px; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-final__mascot { width: clamp(150px, 20vw, 230px); filter: drop-shadow(0 24px 30px rgba(31,58,95,.22)); }

/* ----------------------------- Formulario ------------------------------ */
.demo { background: linear-gradient(180deg, #fff, var(--nix-50)); }
.demo__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.demo__aside h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 16px; }
.demo__aside p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.demo__list { list-style: none; padding: 0; display: grid; gap: 16px; }
.demo__list li { display: flex; gap: 13px; align-items: flex-start; }
.demo__list .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--nix-100); color: var(--nix-700); display: grid; place-items: center; flex: none; }
.demo__list .ic svg { width: 19px; height: 19px; }
.demo__list b { font-family: var(--font-display); color: var(--ink); font-size: 15.5px; }
.demo__list p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--sh-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; font-family: var(--font-display); color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #C0394A; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; font-size: 15px; color: var(--ink);
    padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
    transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--nix-500); box-shadow: 0 0 0 4px rgba(46,196,182,.15); }
.field input::placeholder, .field textarea::placeholder { color: #9AA6B4; }
.form-legal { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-msg { display: none; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-sm); font-size: 14.5px; }
.form-msg.ok { display: block; background: #EAF6EB; color: #2c6b30; border: 1px solid #BFE3C1; }
.form-msg.error { display: block; background: #FDECEE; color: #A32330; border: 1px solid #F3C2C8; }

/* ----------------------------- Footer ---------------------------------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding-top: clamp(52px, 7vw, 84px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer .brand__name { color: #fff; }
.footer__about p { margin: 16px 0 20px; font-size: 14.5px; color: rgba(255,255,255,.6); max-width: 300px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: rgba(255,255,255,.8); transition: background .16s ease, color .16s ease; }
.footer__social a:hover { background: var(--nix-500); color: #0e3b37; }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { color: #fff; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer__col a { color: rgba(255,255,255,.66); font-size: 14.5px; }
.footer__col a:hover { color: var(--nix-300); }
.footer__ph { font-size: 12px; color: rgba(255,255,255,.4); font-style: italic; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; font-size: 13.5px; color: rgba(255,255,255,.5); }
.footer__bar a { color: rgba(255,255,255,.6); }

/* WhatsApp flotante */
.wa {
    position: fixed; right: 22px; bottom: 22px; z-index: 55;
    width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center;
    box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .2s ease;
}
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; color: #fff; }

/* ----------------------------- Animaciones ----------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.float-y { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ----------------------------- Responsive ------------------------------ */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { max-width: 620px; margin-inline: auto; margin-top: 20px; }
    .feat ul { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer__about { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .nav__links, .nav__cta .btn { display: none; }
    .nav__toggle { display: inline-flex; }
    .nav__mobile {
        position: fixed; inset: var(--nav-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
        box-shadow: var(--sh-md); padding: 16px var(--gutter) 24px; display: none; flex-direction: column; gap: 4px; z-index: 59;
    }
    body.menu-open .nav__mobile { display: flex; }
    .nav__mobile a { padding: 13px 12px; border-radius: 12px; font-family: var(--font-display); font-weight: 500; color: var(--ink); font-size: 16px; }
    .nav__mobile a:hover { background: var(--nix-50); }
    .nav__mobile .btn { margin-top: 10px; }

    .prob-grid { grid-template-columns: 1fr 1fr; }
    .feat-groups { grid-template-columns: 1fr; }
    .ben-grid { grid-template-columns: 1fr; }
    .sec-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr 1fr; gap: 28px; }
    .step:not(:last-child) .step__num::after { display: none; }
    .shot, .shot--rev .shot__text { grid-template-columns: 1fr; order: 0; }
    .shot__text { order: 0 !important; }
    .compare { grid-template-columns: 1fr; }
    .diseñado { grid-template-columns: 1fr; }
    .demo__grid { grid-template-columns: 1fr; }
    .cta-final__inner { grid-template-columns: 1fr; text-align: center; }
    .cta-final__actions { justify-content: center; }
    .cta-final__mascot { margin-inline: auto; }
    .hub__node { font-size: 12.5px; padding: 7px 12px 7px 8px; }
}

@media (max-width: 520px) {
    body { font-size: 16px; }
    .prob-grid { grid-template-columns: 1fr; }
    .feat ul { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .hero__float--a { left: -6px; top: -14px; }
    .hero__float--b { left: -6px; }
    .btn { width: 100%; }
    .hero__actions .btn, .cta-final__actions .btn, .plan-card .btn { width: auto; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
}

/* ----------------------------- App móvil ------------------------------- */
.eyebrow--light { color: var(--nix-300); background: rgba(46,196,182,.16); }
.appsec { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--ink), var(--navy-900)); color: #fff; }
.appsec::before { content:""; position:absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(46,196,182,.22), transparent 68%); top: -160px; right: -120px; }
.appsec::after { content:""; position:absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,214,.18), transparent 70%); bottom: -140px; left: -100px; }
.appblock { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.appblock__copy h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 16px 0 16px; }
.appblock__copy h2 .hl { color: var(--nix-300); }
.appblock__copy .lead { color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 26px; }
.appfeat { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin-bottom: 30px; }
.appfeat li { display: flex; gap: 12px; align-items: flex-start; }
.appfeat .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(46,196,182,.16); color: var(--nix-300); display: grid; place-items: center; flex: none; }
.appfeat .ic svg { width: 20px; height: 20px; }
.appfeat b { display: block; font-family: var(--font-display); color: #fff; font-size: 15.5px; line-height: 1.25; }
.appfeat small { color: rgba(255,255,255,.62); font-size: 13px; }
.app-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store { display: inline-flex; align-items: center; gap: 11px; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 18px; box-shadow: var(--sh-md); transition: transform .18s ease; }
.store:hover { transform: translateY(-2px); color: var(--ink); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.store b { display: block; font-family: var(--font-display); font-size: 16px; line-height: 1.2; }
.app-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.55); }

.appblock__visual { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 620; background: #0d1a2b; border-radius: 44px; padding: 12px; box-shadow: 0 40px 80px -24px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.06); z-index: 2; }
.phone::before { content:""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%); width: 120px; height: 24px; background: #0d1a2b; border-radius: 0 0 16px 16px; z-index: 4; }
.phone__screen { width: 100%; height: 100%; background: var(--canvas); border-radius: 34px; overflow: hidden; position: relative; display: flex; flex-direction: column; }
.pstatus { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px 6px; font-size: 12px; font-weight: 600; color: var(--ink); font-family: var(--font-display); }
.pstatus .dots { display: inline-flex; gap: 4px; align-items: center; }
.pstatus .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .5; display: inline-block; }
.phead { display: flex; align-items: center; gap: 10px; padding: 6px 18px 14px; }
.phead__mark { width: 30px; height: 30px; border-radius: 9px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-sm); }
.phead__mark svg { width: 20px; height: 20px; }
.phead b { font-family: var(--font-display); color: var(--ink); font-size: 14px; display: block; line-height: 1.1; }
.phead small { color: var(--muted); font-size: 11px; }
.phead .bell { margin-left: auto; position: relative; width: 34px; height: 34px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-sm); color: var(--ink); }
.phead .bell svg { width: 17px; height: 17px; }
.phead .bell::after { content:""; position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--nix-500); border: 2px solid #fff; }
.pbody { padding: 4px 16px 16px; display: grid; gap: 12px; overflow: hidden; }
.pkpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pkpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.pkpi b { font-family: var(--font-display); font-size: 20px; color: var(--ink); display: block; }
.pkpi small { font-size: 11px; color: var(--muted); }
.pkpi .up { color: var(--nix-700); }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.pcard__t { font-family: var(--font-display); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.pquick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pq { display: grid; gap: 6px; justify-items: center; text-align: center; }
.pq .qic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; }
.pq .qic svg { width: 20px; height: 20px; color: #fff; }
.pq span { font-size: 10.5px; color: var(--body); font-weight: 500; line-height: 1.1; }
.pappt { display: flex; align-items: center; gap: 11px; }
.pappt__time { width: 46px; height: 46px; border-radius: 12px; background: var(--nix-50); border: 1px solid var(--nix-100); display: grid; place-items: center; text-align: center; flex: none; }
.pappt__time b { font-family: var(--font-display); color: var(--nix-700); font-size: 14px; line-height: 1; }
.pappt__time small { font-size: 9px; color: var(--muted); }
.pappt__info b { font-family: var(--font-display); color: var(--ink); font-size: 13.5px; display: block; }
.pappt__info small { color: var(--muted); font-size: 11.5px; }
.pappt__tag { margin-left: auto; font-size: 10px; font-weight: 600; color: var(--nix-700); background: var(--nix-100); padding: 3px 9px; border-radius: var(--r-pill); }

.phone--ghost { position: absolute; left: 6%; bottom: 8%; width: 46%; z-index: 1; opacity: .9; transform: rotate(-8deg); filter: blur(.3px); }
.app-chip { position: absolute; z-index: 3; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--sh-lg); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; font-family: var(--font-display); }
.app-chip .ci { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.app-chip .ci svg { width: 16px; height: 16px; color: #fff; }
.app-chip--a { top: 12%; right: 2%; }
.app-chip--b { bottom: 16%; right: 0; }


/* App móvil · responsive */
@media (max-width: 1024px) { .appblock { grid-template-columns: 1fr; } .appblock__visual { order: -1; } }
@media (max-width: 860px) { .appfeat { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .app-chip--a { right: -6px; } .app-chip--b { right: -8px; } .app-actions .store { width: auto; } }
