/*
 * Landing de QUIZI. Hoja propia (sin Tailwind) para que la portada cargue rápido.
 * Marca: ciruela (principal), coral (acento), crema y tinta. Colores planos, sin degradados.
 */
:root {
    --plum-50: #FBF5FA;
    --plum-100: #F5E7F3;
    --plum-200: #EBCFE7;
    --plum-300: #DCABD5;
    --plum-600: #8E4185;
    --plum-700: #74336D;
    --plum-800: #5F2B5A;
    --plum-900: #4F264B;
    --coral-100: #FDE8E0;
    --coral-400: #F28F71;
    --coral-500: #EE7B5B;
    --coral-600: #DB5F3E;
    --coral-700: #B74A2F;
    --coral-800: #923D2A;
    --sage-100: #DDEEE1;
    --sage-600: #3F7D58;
    --sage-700: #2F6145;
    --ink: #241B2F;
    --ink-2: #4A4256;
    --muted: #6E6679;
    --line: #E8E1D9;
    --line-soft: #F0EBE4;
    --cream: #FAF6F1;
    --white: #FFFFFF;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(36, 27, 47, .06);
    --shadow: 0 1px 2px rgba(36, 27, 47, .05), 0 16px 40px -16px rgba(36, 27, 47, .2);
    --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-display: Fraunces, Georgia, Cambria, serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
svg { display: block; }
a { color: inherit; }
[id] { scroll-margin-top: 80px; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 12px;
    font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.btn:focus-visible { outline: 3px solid var(--plum-300); outline-offset: 2px; }
.btn-primary { background: var(--plum-700); color: var(--white); }
.btn-primary:hover { background: var(--plum-800); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--plum-300); color: var(--plum-800); }
.btn-light { background: var(--white); color: var(--plum-800); }
.btn-light:hover { background: var(--plum-100); }
.btn-light:focus-visible { outline-color: var(--coral-400); }
.btn-sm { padding: .6rem 1rem; font-size: .9375rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.0625rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }

/* ---------- Navegación ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(250, 246, 241, .94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.nav.is-scrolled, .nav.is-open { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.nav-logo { display: inline-flex; color: var(--ink); flex-shrink: 0; }
.logo { height: 34px; width: auto; }
.nav-links { display: none; gap: 1.75rem; margin-left: 1rem; }
.nav-links a, .nav-login { color: var(--ink-2); font-size: .9375rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover, .nav-login:hover { color: var(--plum-700); }
.nav-login { color: var(--ink); font-weight: 600; }
.nav-actions { display: none; margin-left: auto; align-items: center; gap: 1.25rem; }
.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--white); color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .icon-close, .nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline; }
.nav-mobile { display: flex; flex-direction: column; padding: .25rem 20px 1.25rem; border-top: 1px solid var(--line-soft); }
.nav-mobile[hidden] { display: none; }
.nav-mobile a:not(.btn) { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); color: var(--ink); font-weight: 500; text-decoration: none; }
.nav-mobile .btn { margin-top: 1.1rem; }
@media (min-width: 960px) {
    .nav-links, .nav-actions { display: flex; }
    .nav-toggle { display: none; }
}

/* ---------- Portada ---------- */
.hero { padding: 2.5rem 0 4rem; }
.hero-inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
    .hero { padding: 4.5rem 0 6rem; }
    .hero-inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 4rem; }
}
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1.5rem;
    padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white);
    font-size: .875rem; font-weight: 500; color: var(--ink-2);
}
.spark-icon { width: 12px; height: 12px; fill: var(--coral-500); flex-shrink: 0; }
.display {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.5rem, 3.4vw + 1.4rem, 4.25rem); line-height: 1.05; letter-spacing: -.012em;
}
.accent-line { display: block; color: var(--plum-700); }
.lead { margin-top: 1.5rem; max-width: 34rem; font-size: 1.1875rem; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 479px) { .hero-ctas .btn { flex: 1 1 100%; } }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .9375rem; color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: .5rem; }
.hero-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--coral-500); }

/* ---------- Maquetas de producto ---------- */
.mock { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 1.25rem; }
.mock-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.mock-title { font-weight: 700; color: var(--ink); }
.mock-sub { font-size: .8125rem; color: var(--muted); }
.segmented { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--line-soft); font-size: .75rem; font-weight: 600; color: var(--muted); }
.segmented span { padding: .3rem .65rem; border-radius: 8px; }
.segmented .is-active { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.avatar {
    --c: var(--plum-600);
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 22px; height: 22px; border-radius: 50%; background: var(--c); color: var(--white);
    font-size: .6875rem; font-style: normal; font-weight: 700;
}
.pill { display: inline-flex; align-items: center; padding: .25rem .65rem; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pill-coral { background: var(--coral-100); color: var(--coral-800); }
.pill-sage { background: var(--sage-100); color: var(--sage-700); }

/* Agenda de la portada */
.hero-visual { position: relative; padding: 2rem 0 2.5rem; }
.agenda { border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.agenda-head, .agenda-body { display: grid; grid-template-columns: 44px repeat(3, minmax(0, 1fr)); }
.agenda-head { background: var(--cream); border-bottom: 1px solid var(--line-soft); font-size: .8125rem; font-weight: 600; }
.agenda-head span { display: flex; align-items: center; gap: .4rem; min-width: 0; padding: .6rem .5rem; }
.agenda-body { position: relative; height: 260px; }
@media (min-width: 640px) { .agenda-body { height: 300px; } }
.agenda-lines { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(5, 1fr); pointer-events: none; }
.agenda-lines i { border-top: 1px solid var(--line-soft); }
.agenda-lines i:first-child { border-top: 0; }
.agenda-hours { display: grid; grid-template-rows: repeat(5, 1fr); padding: .2rem .5rem 0 0; font-size: .6875rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.agenda-col { position: relative; border-left: 1px solid var(--line-soft); }
.appt {
    position: absolute; left: 4px; right: 4px; top: var(--top); height: var(--h); overflow: hidden;
    padding: .3rem .5rem; border-left: 3px solid; border-radius: 8px; font-size: .6875rem; line-height: 1.3;
}
.appt b, .appt span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.appt b { font-weight: 600; }
.appt span { opacity: .8; }
@media (max-width: 639px) {
    /* En el móvil las columnas son estrechas: solo el servicio, en dos líneas si hace falta */
    .appt b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .appt span { display: none; }
    .mock-sub { white-space: nowrap; }
    .segmented span { padding: .3rem .5rem; }
}
.appt-plum { background: var(--plum-100); border-color: var(--plum-600); color: var(--plum-900); }
.appt-coral { background: var(--coral-100); border-color: var(--coral-600); color: var(--coral-800); }
.appt-sage { background: var(--sage-100); border-color: var(--sage-600); color: var(--sage-700); }
.now-line { position: absolute; left: 44px; right: 0; top: var(--top); z-index: 2; border-top: 2px solid var(--coral-500); }
.now-line i { position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral-500); }
.float-card {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: .75rem;
    padding: .65rem 1rem .65rem .65rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); box-shadow: var(--shadow);
}
.float-top { top: 0; right: 12px; }
.float-bottom { bottom: 0; left: 12px; }
@media (min-width: 1024px) {
    .float-top { right: -20px; }
    .float-bottom { left: -28px; }
}
.float-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; }
.float-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-icon-plum { background: var(--plum-100); color: var(--plum-700); }
.float-icon-sage { background: var(--sage-100); color: var(--sage-700); }
.float-label { font-size: .75rem; line-height: 1.2; color: var(--muted); }
.float-value { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums; }
.float-value.small { font-size: .8125rem; font-weight: 600; }

/* ---------- Para quién ---------- */
.audience { border-block: 1px solid var(--line); }
.audience-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2rem; padding-block: 1.5rem; }
.audience p { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.audience ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.75rem; margin: 0; padding: 0; list-style: none; }
.audience li { font-family: var(--font-display); font-size: 1.125rem; font-weight: 500; color: var(--ink-2); }

/* ---------- Secciones ---------- */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-plum { background: var(--plum-50); }
.section-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.kicker { display: inline-block; margin-bottom: .85rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-700); }
.display-2 {
    font-family: var(--font-display); font-weight: 600; text-wrap: balance;
    font-size: clamp(2rem, 2vw + 1.4rem, 3rem); line-height: 1.12; letter-spacing: -.008em;
}
.section-lead { margin-top: 1.1rem; font-size: 1.125rem; color: var(--ink-2); }

/* Funciones */
.features { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.feature { padding: 1.75rem; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--cream); transition: border-color .2s; }
.feature:hover { border-color: var(--plum-200); }
.feature h3 { margin: 1.25rem 0 .5rem; font-size: 1.1875rem; font-weight: 700; letter-spacing: -.01em; }
.feature p { color: var(--ink-2); }
.feature-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--plum-700);
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-icon .spark { fill: var(--coral-500); stroke: none; }

/* Bloques de detalle (texto + maqueta) */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) {
    .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; }
    .split-reverse .split-copy { order: 2; }
}
.split-copy > p:not(.kicker) { margin-top: 1.1rem; font-size: 1.0625rem; color: var(--ink-2); }
.split-visual { display: flex; flex-direction: column; gap: 1rem; }
.split-visual .mock + .mock { align-self: flex-end; width: min(100%, 26rem); }
.checks { display: grid; gap: .85rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.checks li { position: relative; padding-left: 2rem; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: .2rem; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: var(--plum-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374336D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Maqueta: nueva cita con aviso */
.form-rows { display: grid; gap: .6rem; margin-top: 1rem; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px; font-size: .875rem; }
.form-row span { color: var(--muted); }
.form-row b { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-align: right; }
.warning { display: flex; gap: .75rem; margin-top: 1rem; padding: .9rem 1rem; border: 1px solid #F3D9A4; border-radius: 12px; background: #FFF8EA; color: #6E4A0B; font-size: .875rem; line-height: 1.45; }
.warning svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: .1rem; fill: none; stroke: #B7791F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mock-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: 1.1rem; }
.mock-btn { padding: .55rem .9rem; border-radius: 10px; background: var(--plum-700); color: var(--white); font-size: .8125rem; font-weight: 600; }
.mock-btn.ghost { border: 1px solid var(--line); background: var(--white); color: var(--ink); }

/* Maqueta: clientes que se retrasan y resultados */
.client-rows { display: grid; margin: 0; padding: 0; list-style: none; }
.client-rows li { display: flex; align-items: center; gap: .75rem; padding: .75rem 0; border-top: 1px solid var(--line-soft); }
.client-rows li:first-child { border-top: 0; padding-top: 0; }
.client-rows .avatar { width: 34px; height: 34px; font-size: .8125rem; }
.client-rows div { flex: 1; min-width: 0; }
.client-rows b { display: block; font-size: .9375rem; }
.client-rows span { display: block; font-size: .8125rem; color: var(--muted); }
.client-rows em { font-size: .8125rem; font-style: normal; font-weight: 600; color: var(--coral-700); white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; margin-top: .9rem; }
.stats div { display: flex; flex-direction: column; padding: .8rem .9rem; border-radius: 12px; background: var(--cream); }
.stats b { font-size: 1.5rem; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stats span { margin-top: .25rem; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.stats .stat-accent { background: var(--plum-700); color: var(--white); }
.stats .stat-accent span { color: var(--plum-100); }

/* Maqueta: cierre de caja y fichajes */
.cash-rows { display: grid; margin: 0; }
.cash-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--line-soft); font-size: .9375rem; }
.cash-rows div:first-child { border-top: 0; padding-top: 0; }
.cash-rows dt { color: var(--ink-2); }
.cash-rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.cash-rows .neg { color: var(--coral-700); }
.cash-rows .cash-total { margin-top: .25rem; padding-top: .85rem; border-top: 2px solid var(--ink); }
.cash-total dt { font-weight: 700; color: var(--ink); }
.cash-total dd { font-size: 1.25rem; font-weight: 700; }
.mock-clock ul { display: grid; gap: .6rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.mock-clock li { display: flex; align-items: center; gap: .6rem; font-size: .9375rem; font-weight: 600; }
.mock-clock li span { margin-left: auto; font-size: .8125rem; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Cómo funciona */
.steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.steps li { padding: 2rem 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.step-num {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--plum-700); color: var(--white); font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
}
.steps h3 { margin: 1.25rem 0 .4rem; font-size: 1.1875rem; font-weight: 700; }
.steps p { color: var(--ink-2); }
.steps-help, .faq-more { margin-top: 2.5rem; text-align: center; color: var(--muted); }
.steps-help a, .faq-more a { color: var(--plum-700); font-weight: 600; }

/* Precio */
.price { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .price { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); gap: 5rem; } }
.price-copy > p:not(.kicker) { max-width: 32rem; margin-top: 1.1rem; font-size: 1.125rem; color: var(--ink-2); }
.price-card { padding: 2.25rem; border: 1px solid var(--plum-200); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
.price-name { font-weight: 700; color: var(--plum-700); }
.price-amount { margin-top: .75rem; font-family: var(--font-display); font-size: 4.5rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.price-note { margin-top: .5rem; color: var(--muted); }
.price-card .checks { margin: 1.75rem 0 2rem; }

.price-copy a { color: var(--plum-700); font-weight: 600; }

/* Servicios */
@media (min-width: 1024px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.services-price {
    display: grid; gap: 1.25rem; align-items: center; margin-top: 2rem; padding: 2rem;
    border-radius: 28px; background: var(--plum-800); color: var(--white);
}
@media (min-width: 768px) { .services-price { grid-template-columns: auto minmax(0, 1fr) auto; gap: 2.5rem; padding: 2rem 2.5rem; } }
.services-price-label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-400); }
.services-price-amount { margin-top: .25rem; font-family: var(--font-display); font-size: 3.25rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.services-price-amount span { margin-left: .2rem; font-family: var(--font-sans); font-size: 1.125rem; font-weight: 500; letter-spacing: 0; color: var(--plum-100); }
.services-price-note { max-width: 28rem; color: var(--plum-100); }

/* Contacto */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); gap: 5rem; } }
.contact-copy > p:not(.kicker) { max-width: 30rem; margin-top: 1.1rem; font-size: 1.0625rem; color: var(--ink-2); }
.contact-copy .contact-mail { font-size: .9375rem; color: var(--muted); }
.contact-mail a { color: var(--plum-700); font-weight: 600; }
.contact-card { padding: 1.75rem; border: 1px solid var(--plum-200); border-radius: 28px; background: var(--white); box-shadow: var(--shadow); }
@media (min-width: 640px) { .contact-card { padding: 2.25rem; } }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form-block { margin: 1.25rem 0 0; padding: 0; border: 0; min-width: 0; }
.form-label { display: block; margin-bottom: .4rem; padding: 0; font-size: .875rem; font-weight: 600; color: var(--ink); }
.form-label .optional { font-weight: 400; color: var(--muted); }
.input {
    display: block; width: 100%; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px;
    background: var(--white); color: var(--ink); font: inherit; font-size: 1rem;
    transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 3px var(--plum-100); }
textarea.input { min-height: 8rem; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
    display: inline-flex; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px;
    background: var(--white); font-size: .875rem; font-weight: 500; color: var(--ink-2); transition: all .15s;
}
.chip:hover span { border-color: var(--plum-300); }
.chip input:checked + span { border-color: var(--plum-700); background: var(--plum-700); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--plum-300); outline-offset: 2px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .6rem; align-items: flex-start; margin: 1.25rem 0; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.consent input { flex-shrink: 0; width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--plum-700); }
.form-error { margin: -.25rem 0 1rem; padding: .75rem 1rem; border: 1px solid #F5C2B5; border-radius: 12px; background: var(--coral-100); color: var(--coral-800); font-size: .875rem; }
.form-error[hidden], .contact-success[hidden], [data-contact-fields][hidden] { display: none; }
.btn:disabled { opacity: .6; cursor: wait; }
.consent a, .legal-note a { color: var(--plum-700); font-weight: 600; }
.legal-note { margin-top: 1rem; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.contact-success { padding: 2rem 0; text-align: center; }
.contact-success-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--plum-100); color: var(--plum-700);
}
.contact-success-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-success-title { margin-top: 1rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.contact-success p:last-child { margin-top: .4rem; color: var(--ink-2); }

/* Preguntas frecuentes */
.faq-wrap { max-width: 52rem; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.35rem 0;
    font-size: 1.0625rem; font-weight: 600; list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; transition: transform .2s;
    background: var(--plum-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374336D' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--plum-700); }
.faq summary:focus-visible { outline: 3px solid var(--plum-300); outline-offset: 4px; border-radius: 6px; }
.faq details p { max-width: 44rem; padding-bottom: 1.35rem; color: var(--ink-2); }

/* Llamada final */
.cta { overflow: hidden; background: var(--plum-800); color: var(--white); }
.cta-inner { position: relative; padding-block: 5.5rem; text-align: center; }
.cta .display-2 { position: relative; max-width: 40rem; margin-inline: auto; }
.cta p { position: relative; max-width: 32rem; margin: 1rem auto 2rem; font-size: 1.125rem; color: var(--plum-100); }
.cta .btn { position: relative; }
.cta-spark { position: absolute; }
.cta-spark-big { width: 420px; height: 420px; right: -140px; top: -150px; fill: var(--plum-700); }
.cta-spark-a { width: 40px; height: 40px; left: 6%; top: 24%; fill: var(--coral-400); }
.cta-spark-b { width: 20px; height: 20px; left: 14%; bottom: 22%; fill: var(--plum-300); }
@media (max-width: 639px) {
    .cta-spark-big { width: 260px; height: 260px; right: -110px; top: -110px; }
    .cta-spark-a { left: 4%; top: 8%; width: 28px; height: 28px; }
    .cta-spark-b { left: auto; right: 8%; bottom: 8%; }
}

/* Pie */
.footer { padding-top: 3.5rem; border-top: 1px solid var(--line); background: var(--cream); }
.footer-inner { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; } }
.footer-brand a { display: inline-flex; color: var(--ink); }
.footer-brand p { max-width: 20rem; margin-top: 1rem; font-size: .9375rem; color: var(--muted); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, auto); gap: 4rem; } }
.footer-title { margin-bottom: .75rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-cols a { display: block; padding: .3rem 0; font-size: .9375rem; color: var(--ink-2); text-decoration: none; }
.footer-cols a:hover { color: var(--plum-700); }
.footer-bottom { margin-top: 3rem; }
.footer-bottom p { padding-block: 1.5rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer-bottom a { color: var(--ink-2); text-decoration: none; }
.footer-bottom a:hover { color: var(--plum-700); text-decoration: underline; }
