/* Nexova — estilos compartidos (landing + páginas legales)
   Estética: rejilla técnica (bordes de 1px, sin radios, etiquetas en mono),
   secciones oscuras alternas y un único acento verde. */

@font-face {
    font-family: 'Schibsted Grotesk';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('fonts/schibsted-grotesk-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Geist Mono';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/geist-mono-latin.woff2') format('woff2');
}

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

:root {
    /* Claro */
    --paper: #F4F5F1;
    --paper-2: #E9ECE6;
    --surface: #FFFFFF;
    --ink: #0D1512;
    --ink-2: #2E3833;
    --muted: #5F6B64;
    --line: #D9DED8;
    --line-strong: #BFC7C0;

    /* Oscuro */
    --dk: #0D1512;
    --dk-2: #131D18;
    --dk-line: #24302A;
    --dk-text: #C3CCC6;
    --dk-muted: #8A968F;

    /* Acento */
    --accent: #14B87A;
    --accent-hover: #2FD08F;
    --accent-text: #0A7A50;
    --accent-bright: #3EE6A0;
    --accent-soft: #E3F6EC;

    --ok: #0A7A50;
    --error: #B42318;

    --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --wrap: 1240px;
    --gutter: clamp(20px, 4vw, 40px);
    --header-h: 68px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--accent-text);
    outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.process :focus-visible,
.contact :focus-visible {
    outline-color: var(--accent-bright);
}

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    padding: 0.7rem 1rem;
    background: var(--accent);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 0.8rem;
}

.skip-link:focus {
    top: 1rem;
}

/* Aparición al hacer scroll (solo con JS) */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ───────── Botones ───────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 52px;
    padding: 0 1.35rem;
    border: 1px solid transparent;
    background: transparent;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn::before {
    content: '';
    width: 6px;
    height: 6px;
    background: currentColor;
    flex-shrink: 0;
    transition: background-color 0.2s;
}

.btn .icon {
    width: 15px;
    height: 15px;
    transition: transform 0.2s;
}

.btn:hover .icon {
    transform: translate(2px, -2px);
}

/* Claro sobre fondo oscuro */
.btn-light {
    background: var(--paper);
    color: var(--ink);
}

.btn-light::before {
    background: var(--accent);
}

.btn-light:hover {
    background: var(--accent);
}

.btn-light:hover::before {
    background: var(--ink);
}

/* Contorno sobre fondo oscuro */
.btn-ghost {
    border-color: var(--dk-line);
    color: var(--paper);
}

.btn-ghost:hover {
    border-color: var(--paper);
}

/* Acción principal: verde con texto oscuro */
.btn-primary {
    background: var(--accent);
    color: var(--ink);
}

.btn-primary::before {
    background: var(--ink);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-ink {
    background: var(--ink);
    color: var(--paper);
}

.btn-ink::before {
    background: var(--accent);
}

.btn-ink:hover {
    background: var(--ink-2);
}

/* Contorno sobre fondo claro */
.btn-outline {
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn-outline::before {
    background: var(--accent);
}

.btn-outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

/* Flecha en caja cuadrada */
.sq-arrow {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line-strong);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.sq-arrow .icon {
    width: 15px;
    height: 15px;
}

/* ───────── Cabecera ───────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 21, 18, 0.94);
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--dk-line);
    color: var(--paper);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.brand-mark {
    width: 28px;
    height: 28px;
}

.site-header .brand-mark {
    outline: 1px solid var(--dk-line);
    outline-offset: -1px;
    border-radius: 4px;
}

.main-nav {
    display: flex;
    margin-inline: auto;
    border: 1px solid var(--dk-line);
}

.main-nav a {
    padding: 0.6rem 1rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dk-text);
    border-left: 1px solid var(--dk-line);
    transition: background-color 0.15s, color 0.15s;
}

.main-nav a:first-child {
    border-left: 0;
}

.main-nav a:hover {
    background: var(--dk-2);
    color: var(--paper);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.15s;
}

.header-cta .icon {
    width: 15px;
    height: 15px;
    color: var(--accent-bright);
    transition: transform 0.2s;
}

.header-cta:hover {
    color: var(--accent-bright);
}

.header-cta:hover .icon {
    transform: translate(2px, -2px);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--dk-line);
    background: transparent;
    color: var(--paper);
    cursor: pointer;
}

.menu-toggle .icon {
    width: 20px;
    height: 20px;
}

.menu-toggle .icon-close {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-open {
    display: none;
}

.menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

.back-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dk-text);
}

.back-link:hover {
    color: var(--accent-bright);
}

@media (max-width: 960px) {
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        border: 0;
        border-bottom: 1px solid var(--dk-line);
        padding: 0.4rem var(--gutter) 1.2rem;
        background: var(--dk);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 1rem 0;
        border-left: 0;
        border-bottom: 1px solid var(--dk-line);
        font-size: 0.82rem;
    }

    .main-nav a:hover {
        background: transparent;
    }

    .header-cta {
        margin-left: auto;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .header-inner {
        gap: 1rem;
    }
}

@media (max-width: 440px) {
    .header-cta {
        display: none;
    }

    .menu-toggle {
        margin-left: auto;
    }
}

/* ───────── Tipografía de sección ───────── */

.section {
    padding-block: clamp(80px, 10vw, 136px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.3rem;
}

.eyebrow span {
    color: var(--accent-text);
}

.eyebrow span::after {
    content: ' /';
    color: var(--line-strong);
}

.h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.h2 .dot {
    color: var(--accent);
}

.lead {
    font-size: 1.1rem;
    color: var(--ink-2);
    line-height: 1.6;
    text-wrap: pretty;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 1.5rem 4rem;
    align-items: end;
    margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head .lead {
    max-width: 440px;
    justify-self: end;
}

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

    .section-head .lead {
        justify-self: start;
    }
}

/* ───────── Hero ───────── */

.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--dk);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 64px 64px;
    color: var(--paper);
    padding-block: clamp(64px, 9vw, 120px) clamp(72px, 9vw, 120px);
}

.hero-ascii {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--accent);
    opacity: 0.3;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.35) 35%, #000 70%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.35) 35%, #000 70%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 3rem;
    align-items: center;
}

.hero .eyebrow {
    color: var(--dk-text);
}

.hero .eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-bright);
}

.hero h1 {
    font-size: clamp(2.7rem, 6vw, 5.1rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: -0.05em;
    margin-bottom: 1.8rem;
    text-wrap: balance;
}

.hero h1 .accent {
    color: var(--accent-bright);
}

.hero .lead {
    max-width: 540px;
    margin-bottom: 2.4rem;
    color: var(--dk-text);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 520px) {
    .hero-actions .btn,
    .process-cta .btn {
        width: 100%;
    }
}

.hero-note {
    margin-top: 1.1rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dk-muted);
}

.hero-signature {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 2.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--dk-line);
    max-width: 540px;
    font-size: 0.93rem;
    color: var(--dk-muted);
    line-height: 1.45;
}

.hero-signature strong {
    display: block;
    color: var(--paper);
    font-weight: 600;
}

.avatar {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
    height: 540px;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: 40px 0 40px 12%;
    border: 1px solid var(--dk-line);
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.5px) 0 0 / 16px 16px,
        rgba(19, 29, 24, 0.7);
}

/* ───────── Mockup iPhone 15 ─────────
   Proporciones del modelo real: pantalla 393 × 852 pt, Dynamic Island 125 × 37 pt,
   barra de estado de 59 pt. Todo se mide en cqw sobre el ancho del teléfono. */

.iphone {
    --frame: #4A4D50;
    --status-bg: #0D1512;
    --status-fg: #fff;
    position: relative;
    container-type: inline-size;
    width: 200px;
    flex-shrink: 0;
}

.iphone[data-color="azul"] { --frame: #C7D3DC; }
.iphone[data-color="verde"] { --frame: #CBD6C6; }
.iphone[data-color="amarillo"] { --frame: #EAE2C1; }
.iphone[data-color="rosa"] { --frame: #EACBD0; }
.iphone[data-color="gris"] { --frame: #D3D7DA; }

.iphone-body {
    position: relative;
    padding: 1.1cqw;
    border-radius: 16.2cqw;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(255, 255, 255, 0.35) 4%, transparent 12%, transparent 88%, rgba(255, 255, 255, 0.35) 96%, rgba(0, 0, 0, 0.18)),
        var(--frame);
    box-shadow:
        inset 0 0 0 0.3cqw rgba(255, 255, 255, 0.4),
        inset 0 0 0.6cqw 0.2cqw rgba(0, 0, 0, 0.15),
        0 1.5cqw 3cqw -1cqw rgba(0, 0, 0, 0.35),
        0 14cqw 24cqw -10cqw rgba(0, 0, 0, 0.45);
}

/* Botones: acción y volumen a la izquierda, encendido a la derecha */
.iphone::before,
.iphone::after,
.iphone-body::before {
    content: '';
    position: absolute;
    width: 1cqw;
    background: var(--frame);
    box-shadow: inset 0 0 0 0.25cqw rgba(0, 0, 0, 0.12);
}

.iphone-body::before {
    left: -0.75cqw;
    top: 35cqw;
    height: 8.5cqw;
    border-radius: 0.6cqw 0 0 0.6cqw;
}

.iphone::before {
    left: -0.75cqw;
    top: 51cqw;
    height: 15.5cqw;
    border-radius: 0.6cqw 0 0 0.6cqw;
    box-shadow: inset 0 0 0 0.25cqw rgba(0, 0, 0, 0.12), 0 20.5cqw 0 var(--frame);
}

.iphone::after {
    right: -0.75cqw;
    top: 56cqw;
    height: 25cqw;
    border-radius: 0 0.6cqw 0.6cqw 0;
}

.iphone-screen {
    position: relative;
    overflow: hidden;
    border: 2.4cqw solid #0B0B0C;
    border-radius: 15.1cqw;
    background: var(--status-bg);
}

/* Reflejo del cristal */
.iphone-screen::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0) 38%);
    pointer-events: none;
    z-index: 3;
}

/* Indicador de inicio */
.iphone-screen::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 1.9cqw;
    width: 31.5cqw;
    height: 1.2cqw;
    margin-left: -15.75cqw;
    border-radius: 1cqw;
    background: rgba(17, 17, 17, 0.82);
    z-index: 2;
}

.iphone-status {
    position: relative;
    height: 13.95cqw;
    display: grid;
    grid-template-columns: 1fr 29.6cqw 1fr;
    align-items: center;
    color: var(--status-fg);
}

.iphone-time {
    justify-self: center;
    padding-left: 1.5cqw;
    font-family: -apple-system, 'SF Pro Text', system-ui, sans-serif;
    font-size: 4cqw;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
}

.iphone-island {
    height: 8.75cqw;
    border-radius: 999px;
    background: #000;
}

.iphone-icons {
    justify-self: center;
    width: 17.5cqw;
    height: auto;
    margin-right: 1.5cqw;
    fill: currentColor;
    stroke: currentColor;
}

.iphone-screen > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 393 / 793;
    object-fit: cover;
    object-position: top;
}

/* Composición del hero */
.hero-visual .iphone {
    position: absolute;
}

/* Abanico de cinco: el central delante y los de los extremos detrás */
.hero-visual .iphone-1 {
    left: 10%;
    top: 64px;
    z-index: 1;
    width: 180px;
    transform: rotate(-6deg);
}

.hero-visual .iphone-2 {
    left: 50%;
    top: 0;
    z-index: 2;
    width: 208px;
    margin-left: -104px;
}

.hero-visual .iphone-3 {
    right: 10%;
    top: 80px;
    z-index: 1;
    width: 180px;
    transform: rotate(6deg);
}

.hero-visual .iphone-4 {
    left: -4%;
    top: 150px;
    width: 156px;
    transform: rotate(-12deg);
}

.hero-visual .iphone-5 {
    right: -4%;
    top: 166px;
    width: 156px;
    transform: rotate(12deg);
}

@media (max-width: 1200px) {
    .hero-visual .iphone-4 { left: 0; width: 140px; }
    .hero-visual .iphone-5 { right: 0; width: 140px; }
}

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

    .hero-visual {
        height: auto;
        display: flex;
        justify-content: center;
        gap: 0;
        padding-block: 24px;
    }

    .hero-visual::before {
        inset: 64px 0 0;
    }

    .hero-visual .iphone {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        margin: 0;
        width: min(29vw, 176px);
    }

    .hero-visual .iphone-1 {
        margin-right: -5vw;
        margin-top: 44px;
    }

    .hero-visual .iphone-2 {
        width: min(32vw, 196px);
        margin: 0;
    }

    .hero-visual .iphone-3 {
        margin-left: -5vw;
        margin-top: 44px;
    }

    .hero-visual .iphone-4,
    .hero-visual .iphone-5 {
        display: none;
    }
}

/* ───────── Datos clave ───────── */

.facts {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.fact {
    padding: 2.2rem 1.6rem;
    border-left: 1px solid var(--line);
}

.fact:first-child {
    border-left: 0;
    padding-left: 0;
}

.fact-value {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.fact-label {
    margin-top: 0.6rem;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    line-height: 1.5;
}

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

    .fact {
        padding: 1.5rem 1rem 1.5rem 1.2rem;
    }

    .fact:nth-child(odd) {
        border-left: 0;
        padding-left: 0;
    }

    .fact:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

/* ───────── Trabajos de ejemplo ───────── */

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.work {
    display: flex;
    flex-direction: column;
    background: var(--surface);
}

@media (max-width: 1100px) {
    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.work-shot {
    position: relative;
    height: 380px;
    display: flex;
    justify-content: center;
    padding-top: 48px;
    overflow: hidden;
    background: var(--tint, var(--paper-2));
    border-bottom: 1px solid var(--line);
}

.work-num {
    position: absolute;
    top: 16px;
    right: 18px;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.work-shot .iphone {
    width: 214px;
    transition: transform 0.45s var(--ease);
}

.work:hover .work-shot .iphone {
    transform: translateY(-12px);
}

.work-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.6rem 1.5rem;
}

.work-type {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.work h3 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0.4rem 0 0.5rem;
}

.work p {
    font-size: 0.97rem;
    color: var(--ink-2);
    line-height: 1.55;
}

.work-link {
    margin-top: auto;
    padding-top: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.work:hover .sq-arrow {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

.work-note {
    margin-top: 1.4rem;
    font-size: 0.9rem;
    color: var(--muted);
}

@media (max-width: 900px) {
    .work-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .work-shot {
        height: 340px;
    }
}

/* ───────── Opiniones (oculta hasta la primera reseña) ───────── */

.reviews-section {
    border-top: 1px solid var(--line);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.review {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: clamp(24px, 3vw, 36px);
    background: var(--surface);
}

.review-stars {
    display: flex;
    gap: 3px;
    color: var(--accent);
}

.review-stars .icon {
    width: 16px;
    height: 16px;
}

.review blockquote {
    flex: 1;
    font-size: 1.12rem;
    line-height: 1.55;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.review blockquote::before {
    content: '«';
}

.review blockquote::after {
    content: '»';
}

.review figcaption {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.2rem 0.8rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 0.93rem;
}

.review figcaption span {
    color: var(--muted);
}

.review figcaption a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.review figcaption a .icon {
    width: 14px;
    height: 14px;
}

/* ───────── Servicios (bento) ───────── */

.services {
    background: var(--surface);
    border-block: 1px solid var(--line);
}

.bento {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.cell {
    display: flex;
    flex-direction: column;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    background: var(--surface);
    min-height: 380px;
}

.cell-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cell-icon {
    width: 30px;
    height: 30px;
    stroke-width: 1.5;
}

.cell-num {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.cell h3 {
    margin-top: 2.4rem;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.8rem;
}

.cell > p {
    margin-top: 0.7rem;
    color: var(--ink-2);
    max-width: 520px;
}

.tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 0.6rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--ink);
    color: var(--accent-bright);
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.2rem;
    margin-top: auto;
    padding-top: 1.8rem;
    list-style: none;
}

.chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
}

.chips li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent);
}

.service-note {
    margin-top: 1.2rem;
    font-size: 0.86rem;
    color: var(--muted);
    padding-left: 0.9rem;
    border-left: 2px solid var(--accent);
    max-width: 520px;
}

/* Celda con "código" */
.cell-code {
    background: var(--paper);
}

.code {
    margin-top: 1.8rem;
    font-family: var(--mono);
    font-size: 0.82rem;
    line-height: 2;
    color: var(--ink);
    white-space: pre;
    overflow: hidden;
}

.code span {
    color: var(--muted);
    margin-right: 1.4rem;
}

.code b {
    font-weight: 500;
    color: var(--accent-text);
}

.code i {
    font-style: normal;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.code em {
    font-style: normal;
    color: var(--accent-text);
    animation: blink 1.1s steps(2, start) infinite;
}

@keyframes blink {
    to { visibility: hidden; }
}

/* Celda destacada en verde */
.cell-accent {
    background: var(--accent);
    color: var(--ink);
}

.cell-accent .cell-num,
.cell-accent > p,
.cell-accent .chips li {
    color: rgba(13, 21, 18, 0.78);
}

.cell-accent .chips li::before {
    background: var(--ink);
}

.cell-link {
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(13, 21, 18, 0.22);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cell-accent .sq-arrow {
    border-color: var(--ink);
}

.cell-link:hover .sq-arrow {
    background: var(--ink);
    color: var(--accent-bright);
}

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

    .cell {
        min-height: 0;
    }

    .cell h3 {
        margin-top: 1.8rem;
    }
}

/* ───────── Precios ───────── */

/* Lanzamiento: etiqueta + barra de plazas + contador */
.launch {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.2rem 2.4rem;
    padding: 1.3rem 1.8rem;
    margin-bottom: 1.6rem;
    background: var(--dk);
    color: var(--paper);
    box-shadow: inset 3px 0 0 var(--accent);
}

.launch-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid rgba(62, 230, 160, 0.35);
    background: rgba(62, 230, 160, 0.08);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-bright);
    white-space: nowrap;
}

.launch-pulse {
    position: relative;
    width: 8px;
    height: 8px;
    background: var(--accent-bright);
}

.launch-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--accent-bright);
    animation: launch-pulse 1.8s var(--ease) infinite;
}

@keyframes launch-pulse {
    from {
        opacity: 0.9;
        transform: scale(0.6);
    }

    to {
        opacity: 0;
        transform: scale(1.6);
    }
}

.launch-bar {
    display: flex;
    gap: 5px;
}

.launch-bar i {
    flex: 1;
    height: 10px;
    background: var(--accent);
}

.launch-bar i.is-taken {
    background: var(--dk-line);
}

.launch-spots {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    white-space: nowrap;
}

.launch-num {
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: var(--accent-bright);
    font-variant-numeric: tabular-nums;
}

.launch-word {
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--dk-text);
}

.launch.is-out {
    box-shadow: inset 3px 0 0 #F97066;
}

.launch.is-out .launch-bar i {
    background: var(--dk-line);
}

.launch.is-out .launch-word {
    color: #F97066;
}

@media (max-width: 760px) {
    .launch {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 1.2rem 1.3rem;
    }

    .launch-bar {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 520px) {
    .launch {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .launch-tag {
        justify-self: start;
    }

    .launch-bar {
        grid-row: 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .launch-pulse::after {
        animation: none;
        opacity: 0;
    }
}

/* Planes */
.plans {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.plan {
    grid-row: span 6;
    display: grid;
    grid-template-rows: subgrid;
    padding: 1.9rem 1.5rem;
    border-left: 1px solid var(--line);
    position: relative;
}

.plan:first-child {
    border-left: 0;
}

.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 26px;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.015em;
}

.plan-code {
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--muted);
}

.plan-flag {
    font-family: var(--mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.55rem;
    background: var(--accent);
    color: var(--ink);
}

.plan-price {
    margin-top: 1.3rem;
}

.plan-price .was {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.6rem;
    min-height: 24px;
    font-size: 0.95rem;
    color: var(--muted);
}

.plan-price .was s {
    text-decoration-thickness: 1.5px;
    text-decoration-color: var(--error);
}

.plan-price .save {
    padding: 0.2rem 0.45rem;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    background: var(--accent-soft);
    color: var(--accent-text);
}

.plan-price .amount {
    display: flex;
    align-items: flex-start;
    margin-top: 0.6rem;
    font-size: clamp(2.8rem, 4vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1;
    white-space: nowrap;
}

.plan-price .cur {
    margin: 0.16em 0 0 0.1em;
    font-size: 0.45em;
    letter-spacing: 0;
}

.plan-price .unit {
    display: block;
    margin-top: 0.6rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.plan-desc {
    margin-top: 1.1rem;
    padding-bottom: 1.3rem;
    font-size: 0.93rem;
    color: var(--ink-2);
    line-height: 1.5;
    border-bottom: 1px solid var(--line);
}

.plan-desc strong {
    color: var(--ink);
    font-weight: 600;
}

.plan-feats {
    padding: 1.2rem 0 1.3rem;
}

.feats-lead {
    margin-bottom: 0.85rem;
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.plan-feats ul {
    display: grid;
    gap: 0.7rem;
    list-style: none;
}

.plan-feats li {
    display: flex;
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.plan-feats .icon {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 0.1rem;
    color: var(--accent-text);
    stroke-width: 2.2;
}

.plan-maint {
    align-self: start;
    display: flex;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--line);
    background: var(--paper);
    font-size: 0.86rem;
    line-height: 1.4;
    color: var(--ink-2);
}

.plan-maint .icon {
    width: 18px;
    height: 18px;
    margin-top: 0.05rem;
    color: var(--accent-text);
}

.plan-maint strong {
    color: var(--ink);
    font-weight: 600;
}

.plan-maint span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.plan .btn {
    margin-top: 1.3rem;
    width: 100%;
    align-self: end;
}

.plan.is-featured {
    background: var(--dk);
    color: var(--paper);
    margin: -1px;
    padding: calc(1.9rem + 1px) calc(1.5rem + 1px);
}

.plan.is-featured .plan-price .unit,
.plan.is-featured .plan-price .was,
.plan.is-featured .feats-lead,
.plan.is-featured .plan-maint span {
    color: var(--dk-muted);
}

.plan.is-featured .plan-price .was s {
    text-decoration-color: #F97066;
}

.plan.is-featured .plan-price .save {
    background: rgba(62, 230, 160, 0.14);
    color: var(--accent-bright);
}

.plan.is-featured .plan-desc,
.plan.is-featured .plan-maint {
    color: var(--dk-text);
}

.plan.is-featured .plan-desc strong,
.plan.is-featured .plan-maint strong {
    color: var(--paper);
}

.plan.is-featured .plan-desc {
    border-color: var(--dk-line);
}

.plan.is-featured .plan-maint {
    border-color: var(--dk-line);
    background: var(--dk-2);
}

.plan.is-featured .plan-feats .icon,
.plan.is-featured .plan-maint .icon {
    color: var(--accent-bright);
}

/* Incluido en todos los planes */
.included {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.6rem 2.4rem;
    margin-top: 1.6rem;
    padding: clamp(1.4rem, 3vw, 2rem);
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.included-kicker {
    margin-bottom: 0.55rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.included-title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

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

.included-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--ink-2);
}

.tick {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    background: var(--accent-soft);
    color: var(--accent-text);
}

.tick .icon {
    width: 14px;
    height: 14px;
    stroke-width: 2.4;
}

/* Garantías */
.assurances {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.assurance {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: clamp(1.2rem, 3vw, 1.6rem);
    border: 1px solid var(--line-strong);
    background: var(--surface);
}

.assurance-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--accent-bright);
}

.assurance-icon .icon {
    width: 20px;
    height: 20px;
}

.assurance h4 {
    margin-bottom: 0.35rem;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.3;
    color: var(--ink);
}

.assurance p {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--muted);
}

.nw {
    white-space: nowrap;
}

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

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

@media (max-width: 620px) {
    .included-list {
        grid-template-columns: 1fr;
    }

    .plan-maint {
        margin-top: 0.2rem;
    }
}

@media (max-width: 1040px) {
    .plans {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan:nth-child(3) {
        border-left: 0;
    }

    .plan:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 620px) {
    .plans {
        grid-template-columns: 1fr;
        border: 0;
        background: transparent;
        gap: 1rem;
    }

    .plan,
    .plan:nth-child(n) {
        grid-row: auto;
        display: flex;
        flex-direction: column;
        border: 1px solid var(--line-strong);
        background: var(--surface);
    }

    .plan.is-featured {
        margin: 0;
        padding: 1.9rem 1.5rem;
        background: var(--dk);
        border-color: var(--dk);
    }
}

/* ───────── Proceso (oscuro) ───────── */

.process {
    background: var(--dk);
    color: var(--paper);
}

.process .eyebrow {
    color: var(--dk-muted);
}

.process .eyebrow span {
    color: var(--accent-bright);
}

.process .eyebrow span::after {
    color: var(--dk-line);
}

.process .lead {
    color: var(--dk-text);
}

.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-block: 1px solid var(--dk-line);
}

.step {
    padding: 2.2rem 2rem 2.6rem;
    border-left: 1px solid var(--dk-line);
}

.step:first-child {
    border-left: 0;
    padding-left: 0;
}

.step:last-child {
    padding-right: 0;
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-num {
    font-family: var(--mono);
    font-size: clamp(2.8rem, 4.4vw, 3.8rem);
    font-weight: 400;
    letter-spacing: -0.04em;
    line-height: 1;
}

.step-top .icon {
    width: 24px;
    height: 24px;
    color: var(--accent-bright);
}

.diagram {
    margin-top: 1.8rem;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    border: 1px solid var(--dk-line);
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1.5px) 0 0 / 14px 14px;
    overflow: hidden;
}

/* Paso 1: conversación */
.diagram:has(.bubble) {
    flex-direction: column;
    align-items: stretch;
    padding-inline: 1.4rem;
}

.bubble {
    align-self: flex-start;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--dk-line);
    background: var(--dk-2);
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--dk-text);
}

.bubble.is-me {
    align-self: flex-end;
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

/* Paso 2: boceto de web */
.wire {
    width: 156px;
    height: 112px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 8px;
    border: 1px solid var(--dk-muted);
    background: var(--dk);
}

.wire i {
    display: block;
    height: 7px;
    background: var(--dk-line);
}

.wire .w-bar {
    height: 5px;
    width: 40%;
}

.wire .w-hero {
    height: 30px;
    border: 1px solid var(--accent-bright);
    background: transparent;
}

.wire .w-row:nth-child(3) { width: 85%; }
.wire .w-row:nth-child(4) { width: 65%; }

.wire .w-row.is-accent {
    width: 38%;
    background: var(--accent);
}

/* Paso 3: publicación */
.node {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid var(--dk-line);
    background: var(--dk-2);
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dk-text);
    white-space: nowrap;
}

.node.is-live {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
}

.node.is-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ink);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.25; }
}

.link {
    position: relative;
    width: 34px;
    height: 1px;
    background: var(--accent-bright);
    flex-shrink: 0;
}

.link::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -3px;
    border: 3.5px solid transparent;
    border-left: 5px solid var(--accent-bright);
    border-right: 0;
}

.step-label {
    display: block;
    margin-top: 1.8rem;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dk-muted);
}

.step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin: 0.5rem 0 0.6rem;
}

.step p {
    color: var(--dk-text);
    max-width: 360px;
}

.process-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    padding-top: 2rem;
}

.process-cta p {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dk-text);
}

.process-cta p::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-bright);
}

@media (max-width: 880px) {
    .steps {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .step,
    .step:first-child,
    .step:last-child {
        padding: 2rem 0 2.4rem;
        border-left: 0;
        border-bottom: 1px solid var(--dk-line);
    }
}

/* ───────── Cinta ───────── */

.marquee {
    overflow: hidden;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 48s linear infinite;
}

.marquee span {
    padding: 1.2rem 1.8rem;
    font-family: var(--mono);
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--accent-text);
}

.marquee span::before {
    content: '// ';
}

.marquee span::after {
    content: '  ↗';
    color: var(--ink);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ───────── Comparativa ───────── */

.compare-section {
    background: var(--surface);
}

.compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 1px solid var(--line);
}

.compare-col {
    padding: clamp(1.5rem, 3vw, 2.2rem);
}

.compare-col.is-good {
    background: var(--accent-soft);
    border-left: 1px solid var(--line);
}

.compare-col h3 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compare-col h3 .icon {
    width: 18px;
    height: 18px;
}

.compare-col.is-good h3 {
    color: var(--accent-text);
    border-color: #C5E6D5;
}

.compare-col ul {
    list-style: none;
}

.compare-col li {
    display: flex;
    gap: 0.9rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.98rem;
}

.compare-col li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.compare-col:not(.is-good) li::before {
    content: '—';
    color: var(--line-strong);
}

.compare-col.is-good li {
    color: var(--ink);
    border-color: #C5E6D5;
}

.compare-col.is-good li .icon {
    width: 18px;
    height: 18px;
    margin-top: 0.2rem;
    color: var(--accent-text);
    stroke-width: 2.2;
}

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

    .compare-col.is-good {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

/* ───────── FAQ ───────── */

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 2rem clamp(3rem, 7vw, 6rem);
    align-items: start;
}

.faq-mark {
    margin-top: clamp(1.5rem, 5vw, 3.5rem);
    font-family: var(--mono);
    font-size: clamp(3.6rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--accent);
}

.faq-list {
    border-top: 1px solid var(--line-strong);
}

.faq-item {
    border-bottom: 1px solid var(--line-strong);
}

.faq-item summary {
    list-style: none;
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    padding: 1.4rem 0;
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    cursor: pointer;
    transition: color 0.15s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-num {
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--muted);
}

.faq-item summary .icon {
    width: 20px;
    height: 20px;
    transition: transform 0.25s var(--ease);
}

.faq-item[open] summary,
.faq-item summary:hover {
    color: var(--accent-text);
}

.faq-item[open] summary .icon {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 2.5rem 1.5rem 2.9rem;
    color: var(--ink-2);
}

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

    .faq-mark {
        display: none;
    }

    .faq-item p {
        padding-left: 0;
        padding-right: 0;
    }
}

/* ───────── Contacto (oscuro) ───────── */

.contact {
    background: var(--dk);
    color: var(--paper);
}

.contact .eyebrow {
    color: var(--dk-muted);
}

.contact .eyebrow span {
    color: var(--accent-bright);
}

.contact .eyebrow span::after {
    color: var(--dk-line);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem clamp(3rem, 7vw, 6rem);
    align-items: start;
}

.contact-title {
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.contact-title .accent {
    color: var(--accent-bright);
}

.contact .lead {
    color: var(--dk-text);
    margin-top: 1.4rem;
    max-width: 460px;
}

.contact-direct {
    list-style: none;
    margin-top: 2.4rem;
    border-top: 1px solid var(--dk-line);
}

.contact-direct li {
    border-bottom: 1px solid var(--dk-line);
}

.contact-direct a,
.contact-direct span.row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 0;
}

.contact-direct .icon {
    width: 20px;
    height: 20px;
    color: var(--accent-bright);
}

.contact-direct small {
    display: block;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dk-muted);
}

.contact-direct strong {
    font-weight: 600;
}

.contact-direct a:hover strong {
    color: var(--accent-bright);
}

.contact-direct .go {
    margin-left: auto;
    color: var(--dk-muted);
    width: 18px;
    height: 18px;
    transition: transform 0.2s, color 0.2s;
}

.contact-direct a:hover .go {
    color: var(--accent-bright);
    transform: translate(2px, -2px);
}

.form-card {
    background: var(--paper);
    color: var(--ink);
    padding: clamp(1.5rem, 3vw, 2.4rem);
}

.form-card h3 {
    font-family: var(--mono);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}

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

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

.field.full {
    grid-column: 1 / -1;
}

.field label {
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 0;
    background: var(--surface);
    font-size: 0.97rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field select {
    appearance: none;
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6B64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 18px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(20, 184, 122, 0.25);
}

.field-hp {
    position: absolute;
    left: -9999px;
}

.consent {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.45;
}

.consent input {
    width: 17px;
    height: 17px;
    margin-top: 0.12rem;
    accent-color: var(--accent-text);
    flex-shrink: 0;
}

.consent a {
    color: var(--accent-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.4rem;
}

.form-actions .btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.form-status {
    font-size: 0.9rem;
    font-weight: 600;
}

.form-status.ok {
    color: var(--ok);
}

.form-status.error {
    color: var(--error);
}

.flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 1rem;
    margin-top: clamp(56px, 8vw, 96px);
    padding-top: 2.2rem;
    border-top: 1px solid var(--dk-line);
    font-family: var(--mono);
    font-size: clamp(0.95rem, 2.2vw, 1.6rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-bright);
}

.flow i {
    font-style: normal;
    color: var(--dk-muted);
}

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

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

/* ───────── Pie ───────── */

.site-footer {
    background: var(--surface);
    color: var(--muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 2.2rem;
}

.site-footer .brand {
    color: var(--ink);
    font-size: 1.1rem;
}

.site-footer .brand-mark {
    width: 26px;
    height: 26px;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.6rem;
    color: var(--ink-2);
}

.footer-legal a:hover,
.to-top:hover {
    color: var(--accent-text);
}

.to-top {
    font-family: var(--mono);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-2);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    padding-block: 1.2rem 1.6rem;
    background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
    font-family: var(--mono);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
}

/* ───────── Páginas legales ───────── */

.legal {
    max-width: 780px;
    padding-block: clamp(56px, 8vw, 96px);
}

.legal h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.4rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.02;
    margin-bottom: 0.8rem;
}

.legal-updated {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--line);
}

.legal h2 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 2.4rem 0 0.8rem;
}

.legal h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin: 1.4rem 0 0.5rem;
}

.legal p,
.legal li {
    font-size: 1rem;
    color: var(--ink-2);
    line-height: 1.75;
}

.legal p {
    margin-bottom: 0.9rem;
}

.legal ul {
    margin: 0.5rem 0 1rem 1.3rem;
}

.legal strong {
    color: var(--ink);
}

.legal a.inline {
    color: var(--accent-text);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    background: var(--surface);
}

.legal th,
.legal td {
    text-align: left;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--line);
    color: var(--ink-2);
    vertical-align: top;
    font-size: 0.93rem;
}

.legal th {
    background: var(--paper-2);
    color: var(--ink);
    font-weight: 600;
}

.table-scroll {
    overflow-x: auto;
}

.info-note {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    padding: 1rem 1.2rem;
    font-size: 0.95rem;
    color: var(--ink-2);
    margin: 1rem 0 1.5rem;
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.6rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.legal-nav a {
    color: var(--accent-text);
}

.legal-nav a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
