:root {
  --bg: #f4f8fc;
  --card: #ffffff;
  --ink: #0e2437;
  --ink2: #43576b;
  --muted: #7d8ca0;
  --line: #dde7f0;
  --blue: #0f5e9c;
  --blue-dark: #0b3f6b;
  --navy: #0e2a44;
  --amber: #f0a202;
  --ok: #17a673;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(14, 42, 68, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 42, 68, 0.18);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { font-family: 'Sora', system-ui, sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.4rem; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: 'Sora', sans-serif; font-weight: 600; font-size: .96rem; padding: .8rem 1.6rem; border-radius: 12px; cursor: pointer; border: 2px solid transparent; transition: transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-sm { padding: .5rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(15,94,156,.28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Header */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 2px 16px rgba(14,42,68,.05); }
.nav-in { display: flex; align-items: center; gap: 1rem; height: 72px; }
.logo { font-family: 'Sora', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; margin-right: auto; }
.logo-mark { color: var(--blue); }
.logo-thin { font-weight: 400; color: var(--blue); }
.links { display: flex; align-items: center; gap: 1.5rem; }
.links a { font-size: .92rem; font-weight: 500; color: var(--ink2); transition: color .15s; }
.links a:hover { color: var(--blue); }
.links .btn { color: #fff; }
.lang { display: flex; gap: .2rem; background: var(--bg); border: 1px solid var(--line); border-radius: 50px; padding: .18rem; }
.lang-btn { border: none; background: none; cursor: pointer; font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 600; color: var(--muted); padding: .28rem .55rem; border-radius: 50px; transition: background .15s, color .15s; }
.lang-btn.active { background: var(--blue); color: #fff; }
.burger { display: none; background: none; border: none; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { padding: 3.5rem 0 4rem; }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.tag { display: inline-block; font-family: 'Sora', sans-serif; color: var(--blue); background: #e7f1fb; font-size: .8rem; font-weight: 600; padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1.3rem; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: 1.1rem; }
.lead { font-size: 1.1rem; color: var(--ink2); max-width: 520px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-mini { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-mini div { display: flex; flex-direction: column; }
.hero-mini strong { font-family: 'Sora', sans-serif; font-size: 1.02rem; color: var(--ink); }
.hero-mini span { font-size: .84rem; color: var(--muted); }

/* Hero card (ilustración) */
.hero-card { position: relative; border-radius: 24px; min-height: 360px; overflow: hidden; background: linear-gradient(155deg, #123f66, #0f5e9c 70%); box-shadow: var(--shadow-lg); display: flex; align-items: flex-end; padding: 1.6rem; }
.hero-card::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 36px), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 36px); }
.hero-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-card-badge { position: relative; z-index: 2; background: #fff; color: var(--blue-dark); font-family: 'Sora', sans-serif; font-weight: 700; font-size: .92rem; padding: .6rem 1.1rem; border-radius: 50px; box-shadow: var(--shadow); }

/* Secciones */
.section { padding: 4.5rem 0; }
.section-alt { background: #eef4fa; }
.head { max-width: 620px; margin: 0 auto 2.8rem; text-align: center; }
.eyebrow { display: inline-block; font-family: 'Sora', sans-serif; color: var(--blue); font-weight: 600; font-size: .8rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: .6rem; }
.head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .5rem; }
.head p { color: var(--muted); font-size: 1.02rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #e7f1fb; color: var(--blue); font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.2rem; margin-bottom: .9rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* Grid cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .ico { font-size: 1.9rem; display: block; margin-bottom: .7rem; }
.card h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .93rem; }

/* Destinos */
.dest { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.dest h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.dest p { color: var(--muted); font-size: .9rem; }

/* Cotizador */
.section-quote { background: linear-gradient(180deg, #eef4fa, var(--bg)); }
.quoter { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; max-width: 960px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.quoter-form { padding: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.q-field { display: flex; flex-direction: column; gap: .4rem; }
.q-field > span { font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 600; color: var(--ink2); }
.q-field select, .q-field input { font-family: 'Inter', sans-serif; font-size: .96rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: .7rem .8rem; outline: none; transition: border-color .15s; }
.q-field select:focus, .q-field input:focus { border-color: var(--blue); }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.q-toggle { display: flex; gap: .5rem; }
.q-opt { flex: 1; font-family: 'Sora', sans-serif; font-weight: 600; font-size: .9rem; color: var(--ink2); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: .65rem; cursor: pointer; transition: all .15s; }
.q-opt.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.quoter-result { background: var(--navy); color: #eaf2fb; padding: 2rem; display: flex; flex-direction: column; }
.qr-label { font-family: 'Sora', sans-serif; font-size: .82rem; letter-spacing: .5px; text-transform: uppercase; color: #8fb2d4; }
.qr-price { font-family: 'Sora', sans-serif; font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1.1; margin: .2rem 0 .3rem; }
.qr-detail { font-size: .9rem; color: #b9cfe6; min-height: 1.2em; margin-bottom: 1rem; }
.qr-note { font-size: .8rem; color: #93aecb; margin-bottom: 1.2rem; line-height: 1.5; }
.quoter-result .btn-primary { background: var(--ok); box-shadow: 0 8px 22px rgba(23,166,115,.35); }
.quoter-result .btn-primary:hover { background: #12905f; }
.qr-lang { font-size: .78rem; color: #8fb2d4; margin-top: .9rem; line-height: 1.5; }

/* Cotizador: paradas (multiparada) y nota de cupo */
#multi-wrap { display: none; }
.q-stops { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.q-stops label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: .55rem .7rem; cursor: pointer; transition: border-color .15s; }
.q-stops label:hover { border-color: var(--blue); }
.q-stops input { accent-color: var(--blue); width: 16px; height: 16px; flex-shrink: 0; }
.q-cupo { font-size: .82rem; color: var(--ink2); background: #eaf3fb; border-radius: 10px; padding: .6rem .8rem; margin-top: .2rem; }

/* Legal */
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; max-width: 900px; margin: 0 auto; }
.legal-item { display: flex; gap: 1rem; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.legal-item .l-ico { font-size: 1.6rem; flex-shrink: 0; }
.legal-item strong { font-family: 'Sora', sans-serif; display: block; font-size: 1.02rem; margin-bottom: .2rem; }
.legal-item p { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faqs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; max-width: 900px; margin: 0 auto; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.faq h4 { font-size: 1.02rem; margin-bottom: .35rem; }
.faq p { color: var(--muted); font-size: .92rem; }

/* Footer */
.footer { background: var(--navy); color: #b9cfe6; padding: 3rem 0 1.6rem; }
.footer-in { text-align: center; }
.logo-foot { display: inline-flex; align-items: center; gap: .4rem; font-family: 'Sora', sans-serif; font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: .4rem; }
.logo-foot .logo-thin { color: #7fb2e0; }
.footer-tag { color: #8fb2d4; font-size: .9rem; margin-bottom: 1.4rem; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6rem; }
.footer-links a { color: #b9cfe6; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: #7fa0c0; }

/* WhatsApp */
.wa-float { position: fixed; bottom: 1.6rem; right: 1.6rem; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 960px) {
  .links { display: none; }
  .lang { margin-left: auto; }
  .burger { display: flex; }
  .hero-in { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-card { order: -1; min-height: 220px; }
  .quoter { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .links { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.4rem 1rem; box-shadow: var(--shadow); }
  .links.open { display: flex; }
  .links a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .links a:last-child { border-bottom: none; margin-top: .5rem; }
  .steps, .grid { grid-template-columns: 1fr; }
  .legal-grid, .faqs { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .q-row { grid-template-columns: 1fr; }
  .q-stops { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
