/* ==========================================================================
   H&Q MOBILITY · ESTILOS (CSS nativo, sin Tailwind)
   --------------------------------------------------------------------------
   Para cambiar colores de la marca, edita las variables de :root.
   Puntos de corte: 640px (móvil grande), 768px (tablet), 1024px (ordenador).
   Índice:
     1. Variables y base
     2. Utilidades y botones
     3. Cabecera
     4. Hero
     5. Flota
     6. Tarifas
     7. Ventajas
     8. Formulario
     9. Pie y botón flotante de WhatsApp
   ========================================================================== */

/* Tipografías alojadas en la propia web (carpeta fonts/): así el navegador no pide nada a Google.
   Son fuentes variables, un archivo cubre todos los pesos. Licencia SIL Open Font License. */
@font-face {
    font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url(../fonts/inter-latin.woff2) format('woff2');
}
@font-face {
    font-family: Montserrat; font-style: normal; font-weight: 100 900; font-display: swap;
    src: url(../fonts/montserrat-latin.woff2) format('woff2');
}

/* ---------- 1. Variables y base ---------- */
:root {
    --font-text: Inter, system-ui, sans-serif;
    --font-display: Montserrat, Inter, system-ui, sans-serif;
    --navy: #0A2239;
    --navy-light: #0D2B45;
    --teal: #1F9D97;
    --teal-light: #2BB3A9;
    --green: #4CAF50;
    --coral: #E63946;
    --coral-hover: #D62839;
    /* Tonos para TEXTO y botones con texto (contraste WCAG AA). Los de arriba siguen siendo los de marca. */
    --teal-text: #167F7A;      /* teal oscurecido: texto sobre blanco, botón de cabecera (4,8:1) */
    --teal-pale: #5CCFC6;      /* teal claro: texto de etiquetas sobre navy (6:1) */
    --coral-strong: #D62839;   /* coral para botones y texto sobre blanco (5:1) */
    --coral-strong-hover: #C81E2E;
    --error: #B91C1C;
    --whatsapp: #25D366;
    --whatsapp-hover: #1EBE5D;
    --whatsapp-icon: #128C4A;   /* verde WhatsApp oscurecido: icono sobre fondo claro (4,4:1) */

    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;

    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; border: 0 solid var(--slate-200); }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; /* alto de la cabecera fija */ line-height: 1.5; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-text);
    color: var(--slate-800);
    background: var(--slate-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--teal-text); color: #fff; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; padding: 0; }
.hidden { display: none; }

/* Foco visible con teclado: anillo teal sobre fondos claros, blanco sobre navy */
.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; }
:focus-visible { outline: 3px solid var(--teal-text); outline-offset: 3px; }
.hero :focus-visible, .tarifas :focus-visible, .site-footer .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; }
:focus-visible { outline-color: #fff; }
main:focus { outline: none; }

/* Enlace "Saltar al contenido": oculto hasta que recibe el foco con el teclado */
.skip-link {
    position: absolute; top: .75rem; left: .75rem; z-index: 100;
    padding: .75rem 1rem; border-radius: .75rem; background: var(--navy); color: #fff; font-weight: 700;
    transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- 2. Utilidades y botones ---------- */
.container { width: 100%; max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.container-5xl { max-width: 64rem; }
.container-6xl { max-width: 72rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.section { padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .section { padding-top: 6rem; padding-bottom: 6rem; } }

.icon { fill: currentColor; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }


/* Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; padding: 1rem 2rem; border-radius: 1rem;
    font-size: 1rem; line-height: 1.5rem; transition: background-color .2s cubic-bezier(.4, 0, .2, 1), transform .2s cubic-bezier(.4, 0, .2, 1);
}
@media (min-width: 640px) { .btn { width: auto; font-size: 1.125rem; line-height: 1.75rem; } }
.btn-coral {
    gap: .5rem; background: var(--coral-strong); color: #fff; font-weight: 800;
}
.btn-coral:hover { background: var(--coral-strong-hover); transform: translateY(-.125rem); }
.btn-ghost {
    gap: .625rem; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 700;
    border: 1px solid rgba(255, 255, 255, .25);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost .icon { color: var(--green); }

/* ---------- 3. Cabecera ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, .8); box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
}
.header-bar { display: flex; justify-content: space-between; align-items: center; height: 5rem; }

.brand { display: flex; align-items: center; gap: .75rem; }
.brand-logo { width: 3rem; height: 3rem; flex-shrink: 0; transition: transform .3s cubic-bezier(.4, 0, .2, 1); }
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.5rem; line-height: 1; font-weight: 800; letter-spacing: -.025em; color: var(--navy); }
.brand-sub { margin-top: .125rem; font-size: .75rem; line-height: 1.25; font-weight: 800; letter-spacing: .2em; color: var(--teal-text); }
@media (min-width: 640px) {
    .brand-logo { width: 3.5rem; height: 3.5rem; }
    .brand-name { font-size: 1.875rem; line-height: 2.25rem; }
    .brand-sub { font-size: .875rem; line-height: 1.25rem; }
}

.nav-desktop { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .nav-desktop { display: flex; } }
.nav-link { font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--slate-700); transition: color .15s; }
.nav-link:hover { color: var(--teal-text); }

.header-actions { display: flex; align-items: center; gap: .75rem; }
.btn-header {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--coral-strong); color: #fff; font-size: .875rem; line-height: 1.25rem; font-weight: 700;
    padding: .75rem 1rem; border-radius: .75rem;   /* 44 px de alto: área táctil cómoda */
    transition: background-color .2s cubic-bezier(.4, 0, .2, 1);
}
.btn-header:hover { background: var(--coral-strong-hover); }
.only-desktop { display: none; }
@media (min-width: 640px) { .only-desktop { display: inline; } .only-mobile { display: none; } }

.menu-btn { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: .75rem; color: var(--navy); }
.menu-btn[aria-expanded="true"] { background: var(--slate-100); }
.menu-btn:hover { background: var(--slate-100); }
.menu-btn svg { width: 1.5rem; height: 1.5rem; }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.mobile-menu {
    background: #fff; border-top: 1px solid var(--slate-100);
    padding: .5rem 1rem 1rem; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; gap: .25rem;
}
.mobile-menu.hidden { display: none; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }
.mobile-link {
    display: block; padding: .625rem .75rem; border-radius: .75rem;
    font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--navy);
}
.mobile-link:hover { background: var(--slate-50); color: var(--teal-text); }
.mobile-link-cta { font-weight: 700; color: var(--coral-strong); }
.mobile-link-cta:hover { background: #fef2f2; color: var(--coral-strong); }

/* ---------- 4. Hero ---------- */
.hero { position: relative; overflow: hidden; background-color: var(--navy); color: #fff; }
.hero-inner { position: relative; padding-top: 4rem; padding-bottom: 4rem; }
@media (min-width: 640px) { .hero-inner { padding-top: 5rem; } }
@media (min-width: 1024px) { .hero-inner { padding-top: 6rem; } }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
.hero-text { text-align: center; }
@media (min-width: 1024px) {
    .hero-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .hero-text { text-align: left; }
}

.hero-note { margin-top: 1.25rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--teal-pale); }

.hero-title { margin-bottom: 1.25rem; font-size: 2.25rem; line-height: 1.05; font-weight: 800; letter-spacing: -.025em; }
@media (min-width: 640px) { .hero-title { font-size: 3.25rem; line-height: 1; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; line-height: 1.02; } }
.hero-accent { color: var(--teal-light); }

.hero-lead {
    max-width: 36rem; margin: 0 auto 1.75rem;
    font-size: 1rem; line-height: 1.625; font-weight: 500; color: var(--slate-300);
}
.hero-lead strong { font-weight: 700; color: #fff; }
.hero-lead strong.accent { color: var(--teal-light); }
@media (min-width: 640px) { .hero-lead { font-size: 1.25rem; line-height: 1.75rem; } }
@media (min-width: 1024px) { .hero-lead { margin-left: 0; margin-right: 0; } }

.hero-actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }
@media (min-width: 1024px) { .hero-actions { justify-content: flex-start; } }


/* Precio: el mensaje que vende, grande y junto al botón */
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; column-gap: .5rem; margin: 0 0 1.75rem; }
.hero-price-label { width: 100%; font-size: .875rem; line-height: 1.25rem; font-weight: 700; color: var(--teal-pale); }
.hero-price-value { font-family: var(--font-display); font-variant-numeric: tabular-nums; font-size: 3.5rem; line-height: 1; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.hero-price-unit { font-size: 1.125rem; font-weight: 700; color: var(--slate-200); }
.hero-price-plazo { width: 100%; margin-top: .375rem; font-size: .9375rem; font-weight: 500; color: var(--slate-300); }
@media (min-width: 640px) { .hero-price-value { font-size: 4.5rem; } .hero-price-unit { font-size: 1.25rem; } }
@media (min-width: 1024px) { .hero-price { justify-content: flex-start; } }

/* Foto real: sobresale por abajo y pisa la sección de flota */
.hero { overflow: visible; }
.hero-inner { padding-bottom: 0; }
.hero-photo { position: relative; z-index: 1; margin: 0 0 -5rem; }
.hero-photo img {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%;
    border-radius: 1.5rem; box-shadow: 0 24px 48px -12px rgba(4, 16, 29, .45);
}
.hero-photo figcaption {
    position: absolute; left: 1rem; bottom: 1rem; padding: .375rem .75rem; border-radius: .625rem;
    background: rgba(10, 34, 57, .82); color: #fff; font-size: .8125rem; line-height: 1.25rem; font-weight: 600;
}
.hero + .section { padding-top: 8rem; }
@media (min-width: 640px) { .hero-inner { padding-bottom: 0; } .hero-photo { margin-bottom: -6rem; } .hero + .section { padding-top: 10rem; } }
@media (min-width: 1024px) {
    .hero-grid { align-items: start; }
    .hero-text { grid-column: span 6 / span 6; padding-bottom: 5rem; }
    .hero-photo { grid-column: 7 / span 6; align-self: end; margin-bottom: -8rem; }
    .hero-photo img { aspect-ratio: 5 / 6; object-position: 50% 50%; }
    .hero + .section { padding-top: 12rem; }
}
/* Único momento de movimiento: la foto entra al cargar */
@media (prefers-reduced-motion: no-preference) {
    .hero-photo { animation: hero-foto .9s cubic-bezier(.16, 1, .3, 1) both; }
    @keyframes hero-foto { from { opacity: 0; transform: translateY(2.5rem); } }
}

/* ---------- Cabeceras de sección (flota, ventajas) ---------- */
.section-head { max-width: 60rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head .section-lead { max-width: 42rem; margin: 0 auto; }
.section-head-narrow { max-width: 42rem; margin-bottom: 3rem; }
.section-title { margin-top: .5rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; color: var(--navy); }
.section-head > .section-title { margin-bottom: 1rem; }
.section-head-narrow > .section-title { margin-bottom: 0; }
.section-lead { font-size: 1rem; line-height: 1.5rem; color: var(--slate-600); }
@media (min-width: 640px) {
    .section-title { font-size: 2.25rem; line-height: 2.5rem; }
    .section-lead { font-size: 1.125rem; line-height: 1.75rem; }
}

/* ---------- 5. Flota ---------- */
/* Se adapta solo al número de furgonetas: 1 columna en móvil, 2 o 3 en pantallas anchas */
.fleet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2rem; }

.van-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid rgba(226, 232, 240, .9); border-radius: 1.5rem;
    box-shadow: 0 20px 25px -5px rgba(226, 232, 240, .5), 0 8px 10px -6px rgba(226, 232, 240, .5);
}
.van-card-head {
    position: relative; padding: 1.5rem; color: #fff;
    background: var(--navy);
}
@media (min-width: 640px) { .van-card-head { padding: 2rem; } }
.van-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.chip { display: inline-block; padding: .25rem .75rem; border-radius: 9999px; font-size: .75rem; line-height: 1rem; font-weight: 700; }
.chip-teal { background: rgba(31, 157, 151, .2); border: 1px solid rgba(43, 179, 169, .4); color: var(--teal-pale); }
.chip-emerald { padding: .25rem .625rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); color: var(--slate-200); }
.van-title { font-size: 1.5rem; line-height: 2rem; font-weight: 800; letter-spacing: -.025em; }
.van-title span { color: var(--teal-light); }
@media (min-width: 640px) { .van-title { font-size: 1.875rem; line-height: 2.25rem; } }
.van-desc { margin-top: .25rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; color: var(--slate-300); }

.price-badge {
    flex-shrink: 0; padding: .5rem .875rem; text-align: right;
    background: #fff; color: var(--navy); border: 2px solid var(--teal);
    border-radius: 1rem; box-shadow: var(--shadow-md);
}
.price-badge-label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--teal-text); }
.price-badge-value { font-size: 1.5rem; line-height: 1; font-weight: 800; }
.price-badge-unit { display: block; font-size: 11px; font-weight: 700; color: var(--slate-500); }

.van-visual { margin-top: 1.5rem; margin-bottom: .5rem; }
.van-visual svg, .van-visual img { width: 100%; max-width: 28rem; height: auto; margin: 0 auto; }
.van-visual svg { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .07)) drop-shadow(0 2px 2px rgba(0, 0, 0, .06)); }
.van-visual img { border-radius: 1rem; box-shadow: var(--shadow-lg); object-fit: cover; }
.van-visual-foto { margin: 1.5rem -1.5rem -1.5rem; }
.van-visual-foto img { max-width: none; aspect-ratio: 2 / 1; border-radius: 0; box-shadow: none; }
@media (min-width: 640px) { .van-visual-foto { margin: 1.75rem -2rem -2rem; } }

.van-card-body { padding: 1.25rem 1.5rem 1.5rem; }
@media (min-width: 640px) { .van-card-body { padding: 1.5rem 2rem 2rem; } }
.btn-navy {
    display: flex; align-items: center; justify-content: center; gap: .5rem; width: 100%;
    padding: 1rem 1.5rem; border-radius: 1rem; background: var(--navy); color: #fff;
    font-weight: 800; box-shadow: var(--shadow-md); transition: background-color .2s cubic-bezier(.4, 0, .2, 1);
}
.btn-navy:hover { background: var(--coral-strong); }

/* ---------- 6. Tarifas ---------- */
.tarifas { position: relative; overflow: hidden; background-color: var(--navy); color: #fff; }
.tarifas-inner { position: relative; }
.tarifas-head { margin-bottom: 3rem; text-align: center; }
.tarifas-title { font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; letter-spacing: -.025em; }
.tarifas-sub { margin-top: .75rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--slate-200); }
.tarifas-sub strong { font-weight: 700; color: var(--teal-light); }
.tarifas-note { margin-top: .25rem; font-size: .875rem; line-height: 1.25rem; color: var(--slate-300); }
@media (min-width: 640px) {
    .tarifas-title { font-size: 3rem; line-height: 1; }
    .tarifas-sub { font-size: 1.25rem; }
    .tarifas-note { font-size: 1rem; line-height: 1.5rem; }
}

.plans { display: flex; flex-direction: column; gap: 1.25rem; }
.plan {
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem;
    padding: 1.5rem; border-radius: 1.5rem;
    background: rgba(13, 43, 69, .9); border: 2px solid rgba(43, 179, 169, .6);
    box-shadow: var(--shadow-xl); transition: border-color .15s cubic-bezier(.4, 0, .2, 1);
}
.plan:hover { border-color: var(--teal-light); }
.plan-featured {
    position: relative; background: var(--navy-light);
    border-color: var(--green); box-shadow: var(--shadow-2xl);
}
.plan-featured:hover { border-color: var(--green); }
.plan-featured .plan-amount { color: #fff; }
.plan:not(.plan-featured) { background: rgba(13, 43, 69, .55); border-color: rgba(43, 179, 169, .35); box-shadow: none; }
.plan-ribbon {
    position: absolute; top: -.875rem; right: 1.5rem; padding: .25rem 1rem; border-radius: 9999px;
    background: var(--green); color: var(--navy); box-shadow: var(--shadow-md);
    font-size: .75rem; line-height: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.plan-name { text-align: center; }
.plan-duration { font-size: 1.5rem; line-height: 1.25; font-weight: 800; }
.plan-price { flex: 1 1 0%; text-align: center; }
.plan-price-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .5rem; }
.plan-amount { font-size: 2.25rem; line-height: 2.5rem; font-weight: 800; color: var(--teal-light); }
.plan-unit { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; color: #fff; }
.plan-total { margin-top: .25rem; font-size: 1rem; line-height: 1.5rem; font-weight: 800; color: #fff; }
.plan-total-value { color: var(--slate-200); }
.plan-iva { font-size: .75rem; line-height: 1rem; font-weight: 400; color: var(--slate-400); }
.plan-km { margin-top: .375rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--teal-pale); }
.plan-action { width: 100%; }
.btn-plan {
    width: 100%; padding: .875rem 1.5rem; border-radius: 1rem;
    background: #fff; color: var(--navy); font-weight: 800; box-shadow: var(--shadow-md);
    transition: color .2s cubic-bezier(.4, 0, .2, 1), background-color .2s cubic-bezier(.4, 0, .2, 1);
}
.btn-plan:hover { background: var(--coral-strong); color: #fff; }
.btn-plan-featured { background: var(--coral-strong); color: #fff; }
.btn-plan-featured:hover { background: var(--coral-strong-hover); }
@media (min-width: 640px) {
    .plan { padding: 2rem; }
    .plan-duration { font-size: 1.875rem; line-height: 2.25rem; }
    .plan-amount { font-size: 2.5rem; line-height: 1; }
    .plan-featured { padding: 2.5rem 2rem; }
    .plan-featured .plan-amount { font-size: 3.75rem; }
    .plan-unit { font-size: 1.25rem; }
    .plan-total { font-size: 1.125rem; line-height: 1.75rem; }
}
@media (min-width: 768px) {
    .plan { flex-direction: row; }
    .plan-name { width: 33.333333%; padding-right: 1.5rem; border-right: 1px solid rgba(43, 179, 169, .3); text-align: left; }
    .plan-price { text-align: left; }
    .plan-price-row { justify-content: flex-start; }
    .plan-action { width: auto; }
    .btn-plan { width: auto; }
}

/* ---------- 7. Ventajas ---------- */
.ventajas { padding-top: 4rem; padding-bottom: 4rem; background: #fff; border-bottom: 1px solid var(--slate-200); }
@media (min-width: 640px) { .ventajas { padding-top: 5rem; padding-bottom: 5rem; } }
.pillars { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 2.5rem; }
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pillar { padding-top: 1.25rem; border-top: 2px solid var(--slate-200); }
.pillar-icon { display: block; width: 2.25rem; height: 2.25rem; margin-bottom: .75rem; color: var(--teal-text); }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-title { font-size: 1.125rem; line-height: 1.75rem; font-weight: 800; color: var(--navy); }
.pillar-text { margin-top: .375rem; font-size: 1rem; line-height: 1.5rem; color: var(--slate-600); }

/* ---------- Cómo funciona: 3 pasos numerados y unidos por una línea ---------- */
.pasos-sec { background: #fff; border-bottom: 1px solid var(--slate-200); }
.pasos { display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; padding: 0; list-style: none; }
.paso { position: relative; padding-left: 4.25rem; }
.paso-num {
    position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 3rem; height: 3rem;
    border-radius: 9999px; background: var(--navy); color: #fff; font-size: 1.25rem; font-weight: 800;
}
.paso:not(:last-child)::before { content: ''; position: absolute; left: 1.4375rem; top: 3.5rem; bottom: -1.5rem; width: 2px; background: var(--slate-200); }
.paso-title { padding-top: .5rem; font-size: 1.125rem; line-height: 1.75rem; font-weight: 800; color: var(--navy); }
.paso-text { margin-top: .375rem; font-size: 1rem; line-height: 1.5rem; color: var(--slate-600); }
.paso-req { margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--teal-text); }
.paso-text a { color: var(--teal-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* Dudas: chips que abren WhatsApp con la pregunta escrita */
.dudas { max-width: 64rem; margin: 3.5rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--slate-200); text-align: center; }
.dudas-title { margin-bottom: 1.25rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 800; color: var(--navy); }
.dudas-lista { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin: 0; padding: 0; list-style: none; }
.duda {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .5rem 1rem; border-radius: 9999px;
    border: 1px solid var(--slate-200); background: var(--slate-50); color: var(--navy);
    font-size: .9375rem; line-height: 1.25rem; font-weight: 600; text-align: left;
    transition: border-color .15s, background-color .15s;
}
.duda .icon { flex: none; width: 1.125rem; height: 1.125rem; color: var(--whatsapp-icon); }
.duda:hover { border-color: var(--teal); background: #fff; }
@media (max-width: 639px) {
    .dudas-lista { flex-direction: column; }
    .duda { width: 100%; border-radius: .875rem; padding: .625rem 1rem; }
}
@media (min-width: 768px) {
    .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
    .paso { padding-left: 0; padding-top: 4.25rem; }
    .paso:not(:last-child)::before { left: 3.75rem; right: -1.75rem; top: 1.4375rem; bottom: auto; width: auto; height: 2px; }
    .paso-title { padding-top: 0; }
}

/* ---------- 8. Formulario ---------- */
.reservar { background: var(--slate-100); }
.form-card { width: 100%; background: #fff; border: 1px solid rgba(226, 232, 240, .9); border-radius: 1.5rem; box-shadow: var(--shadow-2xl); }
.form-head { padding: 1.5rem; text-align: center; background: var(--navy); color: #fff; border-radius: 1.5rem 1.5rem 0 0; }
@media (min-width: 640px) { .form-head { padding: 2.5rem; } }
.pill-coral {
    display: inline-block; margin-bottom: .75rem; padding: .25rem .875rem; border-radius: 9999px;
    background: var(--coral-strong); color: #fff; font-size: .75rem; line-height: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
}
.form-title { font-size: 1.5rem; line-height: 2rem; font-weight: 800; }
.form-lead { max-width: 42rem; margin: .5rem auto 0; font-size: .875rem; line-height: 1.25rem; color: var(--slate-300); }
.form-lead strong { font-weight: 700; }
@media (min-width: 640px) {
    .form-title { font-size: 2.25rem; line-height: 2.5rem; }
    .form-lead { font-size: 1rem; line-height: 1.5rem; }
}

.booking-form { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; padding: 1.5rem; }
@media (min-width: 640px) { .booking-form { padding: 2.5rem; } }
@media (min-width: 1024px) { .booking-form { padding: 3rem; } }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field-label { display: block; margin-bottom: .5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 700; color: var(--navy); }
.req { color: var(--coral-strong); }
.optional { font-size: .75rem; line-height: 1rem; font-weight: 400; color: var(--slate-500); }
.field {
    width: 100%; padding: .875rem 1rem; border-radius: 1rem; outline: none;
    background: var(--slate-50); border: 1px solid var(--slate-300);
    font-size: 1rem; line-height: 1.5rem; font-weight: 500;   /* 16 px en móvil: iOS no hace zoom al tocar */
    transition: background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1), box-shadow .15s cubic-bezier(.4, 0, .2, 1);
}
@media (min-width: 768px) { .field { font-size: .875rem; line-height: 1.25rem; } }
.field::placeholder { color: var(--slate-500); }
.field:focus { background: #fff; border-color: var(--teal-text); box-shadow: 0 0 0 3px rgba(22, 127, 122, .45); }
.field-select { font-weight: 600; color: var(--navy); }
input[type="date"].field { color: var(--navy); }
.field.field-highlight { box-shadow: 0 0 0 4px var(--teal); }
.field[aria-invalid="true"] { border-color: var(--error); background: #fff; }
.field[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(185, 28, 28, .3); }

.summary {
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.25rem; border-radius: 1rem; color: #fff;
    background: var(--navy); border: 1px solid rgba(31, 157, 151, .4);
}
.summary-main { text-align: center; }
.summary-kicker { display: block; font-size: .75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-light); }
.summary-plan { margin-top: .125rem; font-size: 1rem; line-height: 1.5rem; font-weight: 800; }
.summary-price {
    flex-shrink: 0; padding: .625rem 1.25rem; text-align: center; border-radius: .75rem;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15);
}
.summary-base { font-size: 1.25rem; line-height: 1.75rem; font-weight: 800; color: var(--teal-light); }
.summary-unit { font-size: .75rem; line-height: 1rem; font-weight: 400; color: #fff; }
.summary-total { margin-top: .125rem; font-size: .75rem; line-height: 1rem; font-weight: 700; color: var(--slate-200); }
@media (min-width: 640px) {
    .summary { flex-direction: row; padding: 1.5rem; }
    .summary-main { text-align: left; }
    .summary-plan { font-size: 1.125rem; line-height: 1.75rem; }
    .summary-price { text-align: right; }
    .summary-base { font-size: 1.5rem; line-height: 2rem; }
}


.form-feedback { display: none; padding: 1rem; border-radius: 1rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; }
.form-feedback a { font-weight: 800; color: var(--navy); text-decoration: underline; }
.form-feedback.is-error { display: block; background: #fef2f2; color: var(--error); border: 1px solid #fecaca; }
.form-feedback.is-ok { display: block; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.field-note { margin-top: .375rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--teal-text); }
.field-note:empty { display: none; }
.form-req { text-align: center; font-size: .9375rem; line-height: 1.375rem; color: var(--slate-700); }
.form-req strong { color: var(--navy); }
.form-hint { margin-top: -.5rem; text-align: center; font-size: .875rem; line-height: 1.25rem; color: var(--slate-500); }
.form-legal { margin-top: -.75rem; font-size: .75rem; line-height: 1.125rem; }
.form-legal a { color: var(--teal-text); text-decoration: underline; }
.form-legal a:hover { color: var(--navy); }

.btn-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: .75rem; width: 100%;
    padding: 1rem 2rem; border-radius: 1rem; background: var(--whatsapp); color: var(--navy);
    font-size: 1rem; line-height: 1.5rem; font-weight: 800;
    box-shadow: 0 6px 16px -8px rgba(10, 34, 57, .45);
    transition: background-color .2s cubic-bezier(.4, 0, .2, 1), transform .2s cubic-bezier(.4, 0, .2, 1);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); transform: translateY(-.125rem); }
@media (min-width: 640px) { .btn-whatsapp { font-size: 1.125rem; line-height: 1.75rem; } }

/* ---------- 9. Pie y botón flotante de WhatsApp ---------- */
.site-footer { background: var(--navy); color: var(--slate-300); border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-inner { padding-top: 3rem; padding-bottom: 5.5rem; } /* hueco extra: el botón flotante de WhatsApp no tapa los enlaces */
@media (min-width: 640px) { .footer-inner { padding-top: 4rem; padding-bottom: 6rem; } }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.footer-brand { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.footer-brand svg { width: 3rem; height: 3rem; flex-shrink: 0; }
.footer-brand-name { display: block; font-size: 1.5rem; line-height: 1; font-weight: 800; color: #fff; }
.footer-brand-sub { display: block; margin-top: .125rem; font-size: .75rem; line-height: 1rem; font-weight: 800; letter-spacing: .2em; color: var(--teal-light); }
.footer-about { max-width: 24rem; font-size: .875rem; line-height: 1.625; color: var(--slate-400); }
.footer-heading { margin-bottom: 1rem; font-size: .875rem; line-height: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: .625rem; font-size: .875rem; line-height: 1.25rem; }
.footer-links a { transition: color .15s; }
.footer-links a:hover, a.footer-contact:hover { color: var(--teal-light); }
.footer-contacts { display: flex; flex-direction: column; gap: .75rem; font-size: .875rem; line-height: 1.25rem; }
.footer-contact { display: flex; align-items: center; gap: .625rem; transition: color .15s; }
.footer-contact strong { font-weight: 700; color: #fff; }
.footer-contact-icon {
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 2rem; height: 2rem; border-radius: .5rem; background: rgba(31, 157, 151, .2); color: var(--teal-light);
}
.footer-bottom {
    flex-wrap: wrap;
    display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem;
    margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .75rem; line-height: 1rem; color: var(--slate-400);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

.wa-float {
    position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50;
    display: flex; align-items: center; gap: .5rem; padding: 1rem; border-radius: 9999px;
    background: var(--whatsapp); color: var(--navy); box-shadow: 0 8px 20px -6px rgba(10, 34, 57, .45);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease-out, visibility .2s;
}
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(1rem); }
.wa-float:hover { background: var(--whatsapp-hover); transform: scale(1.1); }
.wa-float.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; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px var(--navy); }
.wa-float svg { width: 1.75rem; height: 1.75rem; }
.wa-float span {
    max-width: 0; overflow: hidden; white-space: nowrap;
    font-size: .875rem; line-height: 1.25rem; font-weight: 700; transition: max-width .3s cubic-bezier(.4, 0, .2, 1);
}
.wa-float:hover span, .wa-float:focus-visible span { max-width: 20rem; }

/* Menos movimiento si el usuario lo pide en su sistema: sin parpadeo, sin scroll
   suave y sin desplazamientos al pasar el ratón. Los cambios de color se mantienen. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .btn-coral:hover, .btn-whatsapp:hover,
    .brand:hover .brand-logo, .wa-float:hover { transform: none; }
    .wa-float span { transition: none; }
}

/* Salto de línea que solo se aplica en pantallas anchas */
.solo-ordenador { display: none; }
@media (min-width: 768px) { .solo-ordenador { display: inline; } }

/* ---------- 10. Páginas legales (aviso legal, privacidad, cookies) ---------- */
.legal { max-width: 48rem; padding-top: 3rem; padding-bottom: 4rem; }
.legal h1 { margin-bottom: .5rem; font-size: 1.875rem; line-height: 2.25rem; font-weight: 800; letter-spacing: -.025em; color: var(--navy); }
.legal-date { margin-bottom: 2rem; font-size: .875rem; line-height: 1.25rem; color: var(--slate-600); }
.legal h2 { margin-top: 2rem; margin-bottom: .75rem; font-size: 1.25rem; line-height: 1.75rem; font-weight: 800; color: var(--navy); }
.legal p { margin-bottom: 1rem; line-height: 1.625; color: var(--slate-700); }
.legal ul { margin-bottom: 1rem; padding-left: 1.25rem; list-style: disc; color: var(--slate-700); }
.legal li { margin-bottom: .375rem; line-height: 1.625; }
.legal a { font-weight: 600; color: var(--teal-text); text-decoration: underline; }
.legal a:hover { color: var(--navy); }
.legal strong { font-weight: 700; color: var(--slate-800); }
.pendiente { padding: 0 .25rem; border-radius: .25rem; background: #fef08a; color: #713f12; font-weight: 600; }
.footer-bottom-flat { margin-top: 0; padding-top: 0; border-top: 0; }
@media (min-width: 640px) { .legal h1 { font-size: 2.25rem; line-height: 2.5rem; } }

/* Enlaces legales del pie */
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; }
.footer-legal a:hover { color: var(--teal-light); }

/* Áreas táctiles de 44 px en los enlaces del pie (solo móvil y tablet) */
@media (max-width: 767px) {
    .footer-links { gap: 0; }
    .footer-links a { display: inline-block; padding: .75rem 0; }
    .footer-contacts { gap: .25rem; }
    a.footer-contact { padding: .375rem 0; }
    .footer-legal { gap: 0 .75rem; }
    .footer-legal a { display: inline-block; padding: .875rem .25rem; }
}

/* ---------- Tipografía: Montserrat (como el logotipo) en títulos y precios ---------- */
.brand-name, .brand-sub, .footer-brand-name, .footer-brand-sub,
.hero-title, .section-title, .tarifas-title, .van-title, .plan-duration, .pillar-title, .paso-title, .paso-num,
.form-title, .legal h1,
.price-tag-value, .price-badge-value, .plan-amount, .summary-base {
    font-family: var(--font-display);
}
.price-tag-value, .price-badge-value, .plan-amount, .summary-base, .plan-total-value {
    font-variant-numeric: tabular-nums;
}
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

[hidden] { display: none !important; }

/* ---------- Quiénes somos ---------- */
.nosotros { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.nosotros-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .nosotros-grid { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: start; } }
.nosotros .section-title { margin-bottom: 1rem; }
.nosotros-lead { max-width: 38rem; font-size: 1.125rem; line-height: 1.75rem; color: var(--slate-700); }
.nosotros-lead + .nosotros-lead { margin-top: 1rem; }
.nosotros-datos { display: grid; gap: 1.25rem; padding: 1.5rem; background: #fff; border: 1px solid var(--slate-200); border-radius: 1rem; }
.nosotros-datos dt { font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--slate-500); }
.nosotros-datos dd { margin: .125rem 0 0; font-weight: 700; color: var(--navy); }
.nosotros-subtitulo { margin: 3rem 0 1.25rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.75rem; font-weight: 800; color: var(--navy); }
.resenas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem 2rem; }
.resena { padding-top: 1rem; border-top: 2px solid var(--teal-light); }
.resena blockquote { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--slate-700); }
.resena-autor { margin-top: .75rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; color: var(--slate-500); }
