/* ==========================================================
   GPSVM CHILE · Landing page
   Paleta basada en el logo: rojo, negro y plata sobre blanco.
   ========================================================== */

:root {
  /* Base */
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f2f3f5;
  --line: rgba(20, 20, 24, 0.08);
  --line-strong: rgba(20, 20, 24, 0.15);
  --text: #141416;
  --text-2: #3a3c42;
  --muted: #6b6e77;

  /* Marca (logo) */
  --red: #d91e26;
  --red-hover: #bb141b;
  --red-deep: #9e0f14;
  --red-bright: #ff3b42;
  --red-soft: rgba(217, 30, 38, 0.08);
  --black: #141416;
  --black-2: #1d1d21;
  --silver: #c9cdd3;
  --silver-grad: linear-gradient(145deg, #ffffff 0%, #e4e6ea 45%, #b9bdc4 100%);

  --warn: #e8890c;
  --danger: #d91e26;
  --wa: #25d366;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 24, .05), 0 4px 14px -6px rgba(20, 20, 24, .1);
  --shadow-lg: 0 30px 70px -30px rgba(20, 20, 24, .35);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.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;
}

/* Iconos */
.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.i-fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font-body);
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 26px -10px rgba(217, 30, 38, .65);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--red-hover); box-shadow: 0 16px 34px -12px rgba(217, 30, 38, .7); }

.btn-ghost {
  background: #fff; color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-ghost .i-fill { color: var(--wa); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { transform: translateY(-2px); background: #1ebe5b; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.header.scrolled, .header.menu-open {
  background: rgba(255, 255, 255, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(20, 20, 24, .4);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; line-height: 1; }
.brand-text small { display: block; margin-top: 4px; color: var(--red); font-weight: 600; font-size: .66rem; letter-spacing: .32em; }

.nav-links { display: flex; gap: 34px; font-size: .93rem; color: var(--text-2); font-weight: 500; }
.nav-links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text);
  align-items: center; justify-content: center; cursor: pointer;
}

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px 20px 22px; }
.mobile-menu a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--text-2); font-weight: 500; }
.mobile-menu .btn { margin-top: 14px; }
.header.menu-open .mobile-menu { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 156px 0 72px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 20, 24, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 20, 24, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 25%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 900px; height: 900px; right: -280px; top: -360px;
  background: radial-gradient(circle, rgba(217, 30, 38, .13), rgba(217, 30, 38, .04) 40%, transparent 68%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: .82rem; font-weight: 500; color: var(--text-2);
  box-shadow: var(--shadow-sm);
}
.dot, .live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 0 rgba(217, 30, 38, .55); animation: ping 2s infinite;
}
.live-dot { background: var(--red-bright); }

h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  line-height: 1.03; letter-spacing: -.04em;
  margin: 24px 0 22px; color: var(--black);
}
.grad {
  background: linear-gradient(95deg, var(--red-bright) 0%, var(--red) 45%, var(--red-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 540px; }

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust { display: flex; gap: 10px 26px; flex-wrap: wrap; margin-top: 36px; font-size: .9rem; color: var(--text-2); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust .i { width: 17px; height: 17px; color: var(--red); stroke-width: 2.6; }

/* Mapa */
.hero-visual { position: relative; }
.map-card {
  position: relative; aspect-ratio: 50 / 44; border-radius: 28px; overflow: hidden;
  border: 6px solid #fff;
  outline: 1px solid var(--line-strong);
  box-shadow: 0 50px 100px -40px rgba(20, 20, 24, .55), 0 0 0 1px rgba(20, 20, 24, .04);
  background: #131315;
}
.map-card svg { width: 100%; height: 100%; }
.map-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .35));
}
.route-line { stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s .4s cubic-bezier(.6, .1, .2, 1) forwards; }

.float-card {
  position: absolute; z-index: 2;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 50px -20px rgba(20, 20, 24, .4);
  color: var(--text); font: inherit; text-align: left;
  animation: float 7s ease-in-out infinite;
}
.fc-1 { top: 26px; left: -34px; padding: 16px 18px; min-width: 220px; }
.fc-2 { bottom: 90px; right: -30px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; animation-delay: -2.5s; }
.fc-3 { bottom: -20px; left: 30px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; animation-delay: -5s; }

.fc-head { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.fc-title { display: block; font-family: var(--font-display); font-size: 1.02rem; margin: 6px 0 12px; }
.fc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.fc-stats div > span { display: block; font-size: .72rem; color: var(--muted); }
.fc-stats b { white-space: nowrap; font-family: var(--font-display); font-size: .98rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.fc-icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); flex: none; }
.fc-icon.warn { background: rgba(232, 137, 12, .12); color: var(--warn); }
.fc-text { display: flex; flex-direction: column; line-height: 1.3; }
.fc-text strong { font-size: .9rem; font-weight: 600; }
.fc-text small { font-size: .76rem; color: var(--muted); }

.switch { position: relative; width: 40px; height: 23px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-strong); transition: background .25s, border-color .25s; margin-left: 6px; }
.switch span { position: absolute; top: 2px; left: 2px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s; }
.fc-2[aria-pressed="true"] .switch { background: var(--red); border-color: var(--red); }
.fc-2[aria-pressed="true"] .switch span { transform: translateX(17px); }
.fc-2[aria-pressed="true"] #lock-status { color: var(--red); font-weight: 600; }

/* Stats */
.stats {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 96px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
}
.stats > div { position: relative; padding: 26px 28px; display: flex; flex-direction: column; gap: 2px; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats > div::before { content: ""; position: absolute; left: 28px; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--red); }
.stats b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.stats span { font-size: .87rem; color: var(--muted); }

/* ---------- Secciones ---------- */
.section { padding: 112px 0; position: relative; }
.section-tight { padding: 40px 0 112px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; margin: 14px 0 16px; color: var(--black); }
.section-head p, .booking-info > p { color: var(--muted); font-size: 1.08rem; }

/* Sección oscura */
.section-dark {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(217, 30, 38, .18), transparent 60%),
    var(--black);
  color: #f2f3f5;
}
.section-dark h2 { color: #fff; }
.section-dark .section-head p { color: #a3a6ae; }
.section-dark .kicker { color: var(--red-bright); }

/* Soluciones */
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.seg-card {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 30px 30px; border-radius: 24px;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.seg-card:hover { transform: translateY(-5px); border-color: rgba(217, 30, 38, .35); box-shadow: var(--shadow-lg); }
.seg-card.featured {
  border-color: var(--black); background: var(--black); color: #f2f3f5;
  box-shadow: 0 30px 60px -30px rgba(20, 20, 24, .6);
}
.seg-card.featured::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 55% at 50% 0%, rgba(217, 30, 38, .28), transparent 65%);
}
.seg-card.featured > * { position: relative; }
.seg-card.featured > p { color: #a3a6ae; }
.seg-card.featured .check-list li { color: #dfe1e5; }
.seg-card.featured .seg-icon { background: rgba(255, 59, 66, .14); color: var(--red-bright); }
.seg-card.featured .check-list .i { color: var(--red-bright); }
.seg-badge {
  position: absolute !important; top: 22px; right: 22px;
  font-size: .72rem; font-weight: 600; letter-spacing: .03em;
  padding: 5px 11px; border-radius: 99px; background: var(--red); color: #fff;
}
.seg-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 24px; }
.seg-icon .i { width: 26px; height: 26px; }
.seg-card h3 { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 10px; }
.seg-card > p { color: var(--muted); font-size: .97rem; }
.check-list { margin: 24px 0 30px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--text-2); }
.check-list .i { width: 18px; height: 18px; color: var(--red); margin-top: 3px; stroke-width: 2.6; }
.seg-card .btn { margin-top: auto; }

/* Funciones (sobre fondo oscuro) */
.feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: 24px; overflow: hidden;
}
.feat { background: var(--black); padding: 36px 32px; transition: background-color .3s; }
.feat:hover { background: var(--black-2); }
.feat .i { width: 46px; height: 46px; padding: 11px; box-sizing: border-box; border-radius: 13px; color: #fff; background: linear-gradient(145deg, var(--red-bright), var(--red-deep)); margin-bottom: 22px; stroke-width: 1.8; box-shadow: 0 10px 24px -10px rgba(217, 30, 38, .8); }
.feat h3 { font-size: 1.1rem; letter-spacing: -.01em; margin-bottom: 8px; color: #fff; }
.feat p { color: #a3a6ae; font-size: .95rem; }

/* Proceso */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.step {
  position: relative; padding: 34px 30px; border-radius: 24px;
  border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm);
}
.step-num { position: absolute; top: 26px; right: 30px; font-family: var(--font-display); font-size: 2.8rem; font-weight: 700; line-height: 1; background: var(--silver-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px rgba(20, 20, 24, .08); }
.step .i { width: 46px; height: 46px; padding: 11px; border-radius: 13px; background: var(--black); color: #fff; margin-bottom: 22px; box-sizing: border-box; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Agendar ---------- */
.booking { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.booking-info { position: sticky; top: 112px; }

.contact-list { display: grid; gap: 14px; margin: 36px 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: #fff; color: var(--red); flex: none; }
.ci .i-fill { color: var(--wa); }
.contact-list small { display: block; font-size: .78rem; color: var(--muted); }
.contact-list a { font-weight: 600; transition: color .2s; }
.contact-list a:hover { color: var(--red); }

.note-box { display: flex; gap: 14px; padding: 20px; border-radius: 18px; border: 1px dashed rgba(217, 30, 38, .4); background: var(--red-soft); }
.note-box .i { color: var(--red); margin-top: 2px; }
.note-box p { font-size: .93rem; color: var(--text-2); }

.form-card {
  padding: 36px; border-radius: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-lg);
}

.segmented {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: 6px; margin: 0; border-radius: 18px;
  border: 1px solid var(--line); background: var(--surface-2);
}
.segmented input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  padding: 14px 8px; border-radius: 13px; cursor: pointer;
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.segmented label:hover { color: var(--text); }
.segmented input:checked + label { background: #fff; color: var(--text); font-weight: 600; box-shadow: 0 0 0 1.5px var(--red), 0 6px 16px -8px rgba(217, 30, 38, .45); }
.segmented input:checked + label .i { color: var(--red); }
.segmented input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 2px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin: 28px 0 26px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field.is-hidden { display: none; }
.field > label { font-size: .86rem; font-weight: 600; color: var(--text-2); }
.opt { color: var(--muted); font-weight: 400; }

input, select, textarea {
  width: 100%; height: 50px; padding: 0 15px;
  font: inherit; font-size: .96rem; color: var(--text);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 13px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; min-height: 100px; padding: 13px 15px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9a9da5; }
select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6e77' 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 14px center; background-size: 18px;
}
select:invalid { color: #9a9da5; }
select option { color: var(--text); }
input:hover, select:hover, textarea:hover { border-color: rgba(20, 20, 24, .3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
input[type="date"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .6; }

.err { display: none; font-size: .78rem; font-weight: 500; color: var(--danger); }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: #fff8f8; }

.field > .check { display: flex; gap: 12px; align-items: flex-start; font-size: .87rem; font-weight: 400; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { width: 19px; height: 19px; flex: none; margin: 1px 0 0; accent-color: var(--red); cursor: pointer; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#submit-btn { position: relative; }
.spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
#submit-btn.loading { pointer-events: none; opacity: .85; }
#submit-btn.loading .spinner { display: block; }
#submit-btn.loading .i { display: none; }
.form-note { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; font-weight: 600; font-size: 1.05rem;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary .i { width: 30px; height: 30px; padding: 6px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--text); transition: transform .3s ease, background-color .3s, color .3s, border-color .3s; }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.faq details p { padding: 0 4px 24px; color: var(--muted); max-width: 700px; }

/* ---------- CTA ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: 60px 64px; border-radius: 32px; overflow: hidden; position: relative;
  color: #fff;
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(217, 30, 38, .45), transparent 60%),
    radial-gradient(50% 120% at 0% 100%, rgba(201, 205, 211, .12), transparent 60%),
    var(--black);
}
.cta-band h2 { margin: 0 0 8px; color: #fff; }
.cta-band p { color: #c3c6cc; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .25); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { display: inline-block; padding: 10px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.footer-logo img { width: 118px; height: auto; }
.footer-desc { color: var(--muted); font-size: .92rem; max-width: 360px; margin-top: 18px; }
.footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 16px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 10px; font-size: .94rem; color: var(--text-2); }
.footer-grid > div:not(:first-child) a:hover { color: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .83rem; color: var(--muted); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8);
  transition: transform .25s ease;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .i { width: 30px; height: 30px; }

/* ---------- Modal ---------- */
.modal {
  width: min(460px, calc(100% - 32px)); padding: 40px 34px 30px;
  border-radius: 26px; border: 0; border-top: 4px solid var(--red);
  background: #fff; color: var(--text); text-align: center;
  box-shadow: 0 50px 120px -30px rgba(20, 20, 24, .5);
}
.modal::backdrop { background: rgba(20, 20, 24, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .35s cubic-bezier(.2, .8, .2, 1); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 11px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.modal-close:hover { background: var(--surface-2); color: var(--text); }
.modal-icon { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 0 0 10px var(--red-soft); }
.modal-icon .i { width: 32px; height: 32px; stroke-width: 2.6; }
.modal-icon.error { background: var(--warn); box-shadow: 0 0 0 10px rgba(232, 137, 12, .12); }
.modal h3 { font-size: 1.5rem; letter-spacing: -.02em; margin-bottom: 10px; }
.modal p { color: var(--muted); font-size: .97rem; }
.modal-id { margin: 20px 0 26px; padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: .87rem; color: var(--muted); }
.modal-id b { color: var(--text); font-family: var(--font-display); letter-spacing: .04em; }
.modal-actions { display: grid; gap: 10px; }

/* ---------- Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.seg-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .1s; }
.seg-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .2s; }

@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(217, 30, 38, .55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(217, 30, 38, 0); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .route-line { stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .seg-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .booking { grid-template-columns: 1fr; gap: 44px; }
  .booking-info { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .nav { height: 68px; }
  .brand img { height: 48px; }
  .nav-actions .btn { display: none; }
  .hero { padding: 116px 0 56px; }
  .lead { font-size: 1.04rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { margin-top: 8px; }
  .fc-1 { left: 12px; top: 12px; min-width: 0; padding: 12px 14px; }
  .fc-1 .fc-title { margin: 4px 0 8px; font-size: .92rem; }
  .fc-stats { gap: 16px; padding-top: 10px; }
  .fc-2 { right: 12px; bottom: -18px; }
  .fc-3 { display: none; }
  .stats { margin-top: 72px; }
  .stats > div { padding: 20px; }
  .stats > div::before { left: 20px; }
  .stats b { font-size: 1.1rem; }
  .section { padding: 80px 0; }
  .section-tight { padding: 24px 0 80px; }
  .section-head { margin-bottom: 40px; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat { padding: 28px 24px; }
  .form-card { padding: 22px 18px; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .segmented label { font-size: .84rem; padding: 12px 4px; }
  .cta-band { padding: 40px 24px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
