/* CarFast Logistics — estilos del sitio público (mobile-first).
   Paleta derivada del logo: azul #19509F y rojo #DA2026, sobre azul marino profundo
   y blanco cálido. El ámbar se reserva para acciones (botones, progreso). */

@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }

:root {
  --navy-950: #061229;
  --navy-900: #0a1d3d;
  --navy-800: #102c58;
  --navy-700: #17407c;
  --brand-blue: #19509f;
  --brand-red: #da2026;
  --amber: #f6a823;
  --amber-600: #e0920c;
  --amber-50: #fff5e1;
  --ink: #0d1b2e;
  --ink-2: #33415a;
  --muted: #5d6b7f;
  --line: #e2e0d9;
  --line-strong: #b8bfca;
  --paper: #fbfaf7;
  --sand: #f3f1ec;
  --white: #ffffff;
  --ok: #117a45;
  --ok-50: #e7f6ee;
  --danger: #b42318;
  --danger-50: #fdeeec;
  --focus: #2d6fe0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(6, 18, 41, .06), 0 2px 8px rgba(6, 18, 41, .05);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Barlow", "Inter", system-ui, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 1rem; }
img { max-width: 100%; display: block; }
a { color: var(--brand-blue); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.005em; font-weight: 800; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: .75em 1.35em; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .15s var(--ease), border-color .15s, transform .12s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy-950); }
.btn-primary:hover { background: var(--amber-600); }
.btn-secondary { background: var(--navy-900); color: #fff; }
.btn-secondary:hover { background: var(--navy-800); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--navy-900); }
.btn-outline:hover { border-color: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--navy-800); padding-inline: .6em; }
.btn-ghost:hover { background: var(--sand); }
.btn-wa { background: #1c9b4f; color: #fff; }
.btn-wa:hover { background: #157a3e; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.on-dark .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .45); }
.on-dark .btn-outline:hover { border-color: #fff; }
.on-dark .quote-card .btn-outline { color: var(--navy-900); border-color: var(--line-strong); }
.on-dark .quote-card .btn-outline:hover { border-color: var(--navy-900); }

/* ---------- Encabezado ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 30px; width: auto; }
.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); display: none; }
.main-nav.open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; display: grid; }
.main-nav a { display: block; padding: 14px 8px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.main-nav li:last-child a { border-bottom: 0; }
.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn { min-height: 44px; padding: .55em 1em; font-size: .95rem; }
.nav-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--white); border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }
@media (max-width: 420px) { .header-cta .btn-primary { display: none; } .brand img { height: 26px; } }
@media (min-width: 960px) {
  .header-row { min-height: 76px; }
  .brand img { height: 38px; }
  .nav-toggle { display: none; }
  .main-nav { position: static; display: block; border: 0; background: none; }
  .main-nav ul { display: flex; gap: 2px; padding: 0; }
  .main-nav a { border: 0; padding: 10px 14px; border-radius: 8px; color: var(--ink-2); }
  .main-nav a:hover { background: var(--sand); color: var(--ink); }
}

/* ---------- Portada ---------- */
.hero { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 18, 41, .72); }
/* Franjas inclinadas como eco del logotipo (sin foto). */
.hero:not(.has-photo)::after { content: ""; position: absolute; z-index: -1; right: -12%; top: 0; bottom: 0; width: 46%; background: linear-gradient(var(--navy-800), var(--navy-800)) 0 0 / 34% 100% no-repeat, linear-gradient(var(--brand-blue), var(--brand-blue)) 52% 0 / 10% 100% no-repeat, linear-gradient(var(--brand-red), var(--brand-red)) 72% 0 / 4% 100% no-repeat; transform: skewX(-12deg); opacity: .55; }
.hero-grid { display: grid; gap: 24px; padding: 28px 16px 40px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-style: italic; font-weight: 800; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.kicker::before { content: ""; width: 26px; height: 4px; background: var(--brand-red); transform: skewX(-20deg); }
.hero h1 { font-size: clamp(2.1rem, 8vw, 3.9rem); margin-bottom: 14px; }
.hero-lead { font-size: 1.1rem; color: #d3dceb; max-width: 34ch; margin-bottom: 20px; }
.hero-start { width: 100%; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: none; gap: 12px; }
.hero-points li { display: flex; gap: 10px; align-items: center; color: #e5ebf5; }
.hero-points svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1fr minmax(0, 500px); gap: 56px; align-items: center; padding: 64px 16px 72px; }
  .hero-start { display: none; }
  .hero-points { display: grid; }
}

/* ---------- Cotizador ---------- */
.quote-card { background: var(--white); color: var(--ink); border-radius: 20px; padding: 20px; box-shadow: 0 20px 50px rgba(0, 0, 0, .28); }
@media (min-width: 520px) { .quote-card { padding: 28px; } }
.quote-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.quote-head h2 { font-size: 1.45rem; margin: 0; }
.step-count { font-size: .9rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.stepper { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 12px 0 6px; list-style: none; padding: 0; }
.stepper li { height: 6px; border-radius: 3px; background: var(--sand); transition: background-color .25s var(--ease); }
.stepper li.done { background: var(--navy-700); }
.stepper li.current { background: var(--amber); }
.step-name { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; animation: stepIn .22s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step.back { animation-name: stepBack; }
@keyframes stepBack { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.step legend { font-family: var(--display); font-weight: 800; font-size: 1.3rem; padding: 0; margin-bottom: 4px; }
.step-help { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { display: block; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.optional { font-weight: 400; color: var(--muted); }
.req { color: var(--danger); }
input[type=text], input[type=tel], input[type=email], input[type=password], input[type=number], input[type=search], input[type=month], input[type=url], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(45, 111, 224, .22); }
[aria-invalid=true] { border-color: var(--danger) !important; background: var(--danger-50); }
.field-error { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-weight: 600; font-size: .92rem; margin-top: 6px; }
.field-error:empty { display: none; }
.field-error::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--danger); color: #fff; font-size: .75rem; margin-top: 1px; }
.row { display: grid; gap: 0 12px; }
.row-3 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.row-3 > :first-child { grid-column: 1 / -1; }
@media (min-width: 520px) { .row { grid-template-columns: 1fr 1fr; } .row-3 { grid-template-columns: .8fr 1.2fr 1.2fr; } .row-3 > :first-child { grid-column: auto; } }

.vin-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; letter-spacing: .1em; text-transform: uppercase; font-size: 1.1rem !important; }
.vin-meta { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; color: var(--muted); margin-top: 6px; }
.vin-actions { margin-top: 12px; }
.vin-result { border-radius: var(--radius-sm); padding: 14px; margin: 4px 0 16px; font-size: .95rem; animation: stepIn .2s var(--ease); }
.vin-result.loading { background: var(--sand); color: var(--ink-2); display: flex; gap: 10px; align-items: center; }
.vin-result.ok { background: var(--ok-50); border: 1px solid #b7e2c9; }
.vin-result.warn { background: var(--amber-50); border: 1px solid #f2d39a; }
.vin-result strong { display: block; font-family: var(--display); font-size: 1.15rem; }
details.help { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; font-size: .93rem; }
details.help summary { cursor: pointer; font-weight: 600; color: var(--brand-blue); min-height: 32px; display: flex; align-items: center; }
details.help p { margin: 6px 0 0; color: var(--ink-2); }

.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice label { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); font-family: var(--display); font-weight: 800; font-size: 1.2rem; cursor: pointer; min-height: 84px; transition: border-color .15s, background-color .15s; }
.choice label small { font-family: var(--font); font-weight: 400; font-size: .88rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--navy-800); background: #eef3fb; box-shadow: inset 0 0 0 1px var(--navy-800); }
.choice input:focus-visible + label { outline: 3px solid var(--focus); outline-offset: 2px; }

.dropzone { display: grid; place-items: center; text-align: center; gap: 4px; border: 2px dashed var(--line-strong); border-radius: var(--radius); padding: 24px 16px; background: var(--paper); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dropzone:hover, .dropzone.drag { border-color: var(--navy-700); background: #eef3fb; }
.dropzone svg { width: 34px; height: 34px; color: var(--navy-700); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; margin: 14px 0 0; list-style: none; padding: 0; }
.thumbs li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--sand); animation: stepIn .2s var(--ease); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(6, 18, 41, .82); color: #fff; font-size: 18px; cursor: pointer; line-height: 1; }

.review-list { margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.review-list > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); align-items: center; }
.review-list > div:last-child { border-bottom: 0; }
.review-list dt { font-weight: 600; color: var(--muted); font-size: .85rem; grid-column: 1; }
.review-list dd { margin: 0; word-break: break-word; grid-column: 1; }
.review-list .btn-ghost { grid-column: 2; grid-row: 1 / span 2; min-height: 40px; font-size: .9rem; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.consent input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--navy-800); }
.consent label { font-size: .95rem; }

.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.step-nav .btn-primary { margin-left: auto; flex: 1; max-width: 260px; }
@media (max-width: 519px) { .step-nav .btn-primary { max-width: none; } }
.error-summary { background: var(--danger-50); color: var(--danger); border: 1px solid #f1b8b2; border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; margin-bottom: 16px; }
.error-summary p { margin: 0 0 4px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: var(--danger); }
.form-note { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.form-note svg { width: 16px; height: 16px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.success { text-align: center; animation: stepIn .25s var(--ease); }
.success:focus { outline: none; }
.success .icon { width: 64px; height: 64px; margin: 0 auto 12px; color: var(--ok); }
.success h2 { font-size: 1.6rem; }
.wa-preview { text-align: left; white-space: pre-wrap; background: #e9f8ee; border-radius: 12px; padding: 14px; font-size: .92rem; margin: 16px 0; border: 1px solid #c6ead2; }
.success .btn-wa { width: 100%; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(6, 18, 41, .2); border-top-color: currentColor; border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--brand-red); font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 8px; }
@media (min-width: 960px) { .section { padding: 88px 0; } .section-head { margin-bottom: 40px; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.steps .ico { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: 14px; background: var(--navy-900); color: #fff; display: grid; place-items: center; position: relative; }
.steps .ico svg { width: 26px; height: 26px; }
.steps .ico span { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: var(--navy-950); font-family: var(--display); font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.steps h3 { font-size: 1.2rem; margin: 2px 0 0; }
.steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 16px; } .steps li { grid-template-columns: 1fr; padding: 24px; } .steps .ico { grid-row: auto; margin-bottom: 14px; } }

/* Trámites realizados */
.cases { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.case { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.case-media { all: unset; position: relative; display: block; aspect-ratio: 4 / 3; background: var(--sand); cursor: zoom-in; overflow: hidden; }
.case-media:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.case-media:hover img { transform: scale(1.03); }
.case-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; gap: 6px; align-items: center; background: rgba(6, 18, 41, .8); color: #fff; font-size: .82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.case-count svg { width: 14px; height: 14px; }
.case-badge { position: absolute; left: 10px; top: 10px; display: inline-flex; gap: 6px; align-items: center; background: var(--white); color: var(--ok); font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.case-badge svg { width: 14px; height: 14px; }
.case-body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.case-body h3 { font-size: 1.3rem; margin: 0; }
.case-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.case-date { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Confianza y contacto */
.trust-grid { display: grid; gap: 28px; }
.trust-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.trust-list li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; }
.trust-list .ico { grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; background: var(--amber-50); color: var(--navy-900); display: grid; place-items: center; }
.trust-list .ico svg { width: 22px; height: 22px; }
.trust-list h3 { font-size: 1.15rem; margin: 2px 0 0; }
.trust-list p { margin: 0; color: var(--ink-2); }
.contact-card { background: var(--navy-900); color: #fff; border-radius: 20px; padding: 24px; display: grid; gap: 16px; align-content: start; }
.contact-card h2 { font-size: 1.7rem; margin: 0; }
.contact-card p { margin: 0; color: #cdd6e4; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: #e5ebf5; }
.contact-list li { display: flex; gap: 10px; align-items: center; }
.contact-list svg { width: 20px; height: 20px; color: var(--amber); flex: none; }
.contact-list a { color: #fff; }
.contact-actions { display: grid; gap: 10px; }
.social { display: flex; gap: 10px; }
.social a { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .15s; }
.social a:hover { background: var(--brand-blue); }
.social svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .trust-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } .contact-card { padding: 32px; } .contact-actions { grid-template-columns: 1fr 1fr; } }

/* Preguntas */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 1.05rem; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--navy-800); border-bottom: 2.5px solid var(--navy-800); transform: rotate(45deg); transition: transform .2s var(--ease); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 2px 18px; color: var(--ink-2); margin: 0; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-950); color: #b9c4d6; padding: 48px 0 28px; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { height: 34px; width: auto; margin-bottom: 14px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; font-family: var(--display); }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 20px; font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Barra móvil para cotizar */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s var(--ease); }
.mobile-cta.show { transform: none; }
.mobile-cta .btn-primary { flex: 1; }
.mobile-cta .btn-wa { width: 52px; padding: 0; }
@media (min-width: 960px) { .mobile-cta { display: none; } }
.wa-float { display: none; }
@media (min-width: 960px) { .wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1c9b4f; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); } .wa-float svg { width: 30px; height: 30px; } }

/* Visor de fotos */
dialog.lightbox { border: 0; padding: 0; background: transparent; width: min(96vw, 1100px); max-height: 94vh; color: #fff; }
dialog.lightbox::backdrop { background: rgba(4, 10, 22, .9); }
dialog.lightbox img { max-height: 76vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 12px; }
dialog.lightbox p { text-align: center; margin: 12px 0 0; }
.lb-bar { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 12px; }
.lb-bar button { min-width: 48px; min-height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 1.4rem; cursor: pointer; }
.lb-bar button:hover { background: rgba(255, 255, 255, .28); }

/* Página legal */
.legal { max-width: 760px; padding: 40px 16px 64px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
