:root {
  --navy-950: #071944;
  --navy-900: #0d255a;
  --navy-800: #17346d;
  --yellow: #ffc219;
  --yellow-strong: #ffb400;
  --green: #40d68b;
  --text: #f7f9ff;
  --muted: #b9c6e3;
  --soft: #dce6ff;
  --ink: #0d255a;
  --panel: rgba(58, 82, 138, 0.72);
  --line: rgba(203, 216, 255, 0.34);
  --ctrl: rgba(255, 255, 255, 0.08);
  --paper: #ffffff;
  --paper-ink: #0d255a;
  --paper-muted: #6a7a95;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
  --radius: 16px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text); background: var(--navy-950);
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}

/* Fondo: foto de viaje + overlay */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-overlay { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(5,20,58,0.5) 0%, rgba(5,20,58,0.16) 34%, rgba(4,18,55,0.42) 74%, rgba(4,18,55,0.66) 100%),
  linear-gradient(90deg, rgba(4,19,58,0.4) 0%, transparent 44%); }
.bg-stars { position: absolute; inset: 0; opacity: 0.5; background-image:
  radial-gradient(1.4px 1.4px at 12% 14%, #fff, transparent),
  radial-gradient(1.3px 1.3px at 34% 8%, #fff, transparent),
  radial-gradient(1.4px 1.4px at 58% 16%, #cfe0ff, transparent),
  radial-gradient(1.3px 1.3px at 80% 10%, #fff, transparent),
  radial-gradient(1.3px 1.3px at 92% 22%, #fff, transparent);
  animation: twinkle 5s ease-in-out infinite; }
@keyframes twinkle { 0%,100% { opacity: .45; } 50% { opacity: .75; } }

.wrap { position: relative; z-index: 1; max-width: 1360px; margin: 0 auto;
  padding: 26px clamp(18px,4vw,48px) 44px;
  padding-left: max(clamp(18px,4vw,48px), env(safe-area-inset-left));
  padding-right: max(clamp(18px,4vw,48px), env(safe-area-inset-right)); }
/* Embebido bajo el header real del sitio: deja espacio para el navbar fijo (~72px) */
.wrap--embed { padding-top: 88px; }
.wrap--embed .hero-zone { min-height: calc(100vh - 160px); }

/* Header */
.head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand-logo { height: 44px; width: auto; filter: drop-shadow(0 8px 22px rgba(0,0,0,0.35)); }
.head-nav { display: flex; align-items: center; gap: 24px; font-size: 14.5px; font-weight: 500; color: #e6ecfb; }
.head-nav a { color: #cdd9f2; text-decoration: none; transition: color .15s ease; }
.head-nav a:hover { color: #fff; }
.nav-seg { position: relative; }
.nav-nuevo { position: absolute; top: -11px; right: -22px; background: #40d68b; color: #08351d; font-size: 8px; font-weight: 900; letter-spacing: .04em; padding: 2px 5px; border-radius: 5px; line-height: 1; }
.head-cta { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: none; border-radius: 12px; background: linear-gradient(100deg, var(--yellow), var(--yellow-strong)); color: #0d255a !important; font-weight: 800; box-shadow: 0 10px 24px rgba(255,194,25,0.28); }
.head-cta:hover { filter: brightness(1.03); }

/* Hero zone: hero centrado + buscador abajo */
.hero-zone { min-height: calc(100vh - 130px); display: flex; flex-direction: column; }
.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 17px; border: 1px solid rgba(255,194,25,0.5); border-radius: 999px; color: #ffe6a0; background: rgba(255,194,25,0.16); font-weight: 800; font-size: 14px; backdrop-filter: blur(6px); }
.hero h1 { margin: 20px 0 12px; font-size: clamp(44px, 7vw, 82px); line-height: 0.94; font-weight: 900; letter-spacing: -1px; text-wrap: balance; text-shadow: 0 6px 30px rgba(0,0,0,0.4); }
.hero .accent { color: var(--yellow); }
.hero-sub { margin: 0; max-width: 640px; color: #e2e9f9; font-size: clamp(16px, 2vw, 20px); line-height: 1.45; font-weight: 600; text-shadow: 0 2px 14px rgba(0,0,0,0.4); }

/* Buscador */
.buscador { border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)), rgba(9,24,60,0.28);
  backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 30px 90px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.24); }
.buscador-modo { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.buscador-modo label { font-size: 12px; font-weight: 900; color: var(--soft); letter-spacing: .03em; text-transform: uppercase; }
.buscador-modo select { height: 40px; }
.buscador-row { display: grid; grid-template-columns: 1fr 1fr 1.35fr 0.85fr auto; gap: 12px; align-items: end; }
.b-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.b-field > label, .edades-label { font-size: 12px; font-weight: 900; color: var(--soft); letter-spacing: .03em; text-transform: uppercase; padding-left: 2px; }

select, .dr-trigger, input[type="text"], .buscador-modo select {
  width: 100%; height: 56px; padding: 0 14px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--ctrl); color: var(--text);
  font-size: 16px; font-weight: 700; outline: none; font-family: inherit;
}
.buscador-modo select { width: auto; padding-right: 40px; font-weight: 800; }
select { -webkit-appearance: none; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%), linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 7px 7px, 7px 7px; background-repeat: no-repeat; padding-right: 38px; font-weight: 800; }
select:focus, .dr-trigger:focus { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,194,25,0.16); }
select option, select optgroup { color: #101b3a; }

/* Combobox glass (reemplaza el desplegable nativo) */
.combo { position: relative; }
.combo-native { display: none !important; }
.combo-trigger { width: 100%; height: 56px; padding: 0 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--ctrl); color: var(--text); font-size: 16px; font-weight: 800; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 10px; font-family: inherit; }
.combo-trigger:hover { border-color: rgba(255,255,255,0.46); background: rgba(255,255,255,0.12); }
.combo-trigger[aria-expanded="true"] { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,194,25,0.16); }
.combo-val { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo-val.ph { color: #8ea6cf; font-weight: 600; }
.combo-caret { color: var(--yellow); flex-shrink: 0; }
.buscador-modo .combo-trigger { width: auto; min-width: 150px; }
.combo-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(4,12,30,0.5); backdrop-filter: blur(7px) saturate(120%); -webkit-backdrop-filter: blur(7px) saturate(120%); animation: cargaIn .18s ease; }
.combo-pop { position: absolute; z-index: 100; top: calc(100% + 8px); left: 0; right: 0; min-width: 230px; border: 1px solid rgba(255,255,255,0.2); border-radius: 15px; padding: 8px; background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02)), rgba(9,22,54,0.66); backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%); box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.2); }
.combo-search { width: 100%; height: 44px; margin-bottom: 8px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,0.1); color: var(--text); font-size: 15px; font-weight: 600; outline: none; }
.combo-search::placeholder { color: #9fb3d6; }
.combo-search:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,194,25,0.14); }
.combo-list { max-height: 256px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.combo-item { border: none; background: transparent; color: #e6ecfb; text-align: left; cursor: pointer; padding: 11px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; font-family: inherit; }
.combo-item:hover { background: rgba(255,255,255,0.12); }
.combo-item.sel { background: rgba(255,194,25,0.22); color: #fff; font-weight: 800; }
.combo-group { padding: 10px 12px 5px; margin-top: 4px; font-size: 10.5px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: #8ea6cf; border-top: 1px solid rgba(255,255,255,0.08); }
.combo-group:first-child { margin-top: 0; padding-top: 2px; border-top: none; }
.combo-empty { padding: 16px; text-align: center; color: var(--muted); font-size: 14px; }
.combo-list::-webkit-scrollbar { width: 8px; }
.combo-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 8px; }

/* Date range picker */
.daterange { position: relative; }
.dr-trigger { display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; font-weight: 700; }
.dr-trigger:hover { border-color: rgba(255,255,255,0.46); }
.dr-trigger[aria-expanded="true"] { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,194,25,0.16); }
.dr-ico { color: var(--yellow); flex-shrink: 0; }
.dr-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; }
.dr-text.placeholder { color: #8ea6cf; }
.dias { font-size: 12.5px; font-weight: 800; color: var(--ink); background: var(--yellow); padding: 6px 10px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; }
.dr-pop { position: absolute; z-index: 60; bottom: calc(100% + 8px); left: 0; background: rgba(9,22,54,0.9); border: 1px solid rgba(255,255,255,0.18); border-radius: 14px; box-shadow: var(--shadow); backdrop-filter: blur(20px); padding: 12px; width: max-content; max-width: 92vw; }
/* Calendario como overlay CENTRADO (portalizado al body, encima del scrim) */
.dr-pop.dr-open { position: fixed; left: 50%; top: 50%; right: auto; bottom: auto; transform: translate(-50%, -50%); z-index: 100; max-height: 90vh; overflow: auto; animation: drIn .2s cubic-bezier(.2,.8,.3,1); }
.dr-pop.dr-out { animation: drOut .18s ease forwards; }
@keyframes drIn { from { opacity: 0; transform: translate(-50%, -46%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes drOut { from { opacity: 1; transform: translate(-50%, -50%) scale(1); } to { opacity: 0; transform: translate(-50%, -47%) scale(.98); } }
.combo-scrim--out { animation: cargaOut .18s ease forwards; }
.dr-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.dr-nav { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,0.06); color: #eaf1fd; font-size: 18px; cursor: pointer; }
.dr-nav:hover { background: rgba(255,255,255,0.14); }
.dr-titles { display: flex; gap: 22px; flex: 1; justify-content: space-around; font: 800 14px/1 "Inter", sans-serif; }
.dr-grids { display: flex; gap: 16px; }
.dr-cal { width: 200px; }
.dr-dow { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.dr-dow span { text-align: center; font-size: 9.5px; font-weight: 800; color: #8ea6cf; text-transform: uppercase; padding: 4px 0; }
.dr-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dr-day { aspect-ratio: 1; border: none; background: transparent; color: #dbe6fb; cursor: pointer; font-size: 12px; font-weight: 700; border-radius: 8px; display: grid; place-items: center; }
.dr-day:hover:not(:disabled):not(.empty) { background: rgba(255,255,255,0.12); }
.dr-day:disabled, .dr-day.empty { color: #4b6699; cursor: default; }
.dr-day.today { box-shadow: inset 0 0 0 1px rgba(255,194,25,0.55); }
.dr-day.in-range { background: rgba(255,194,25,0.16); border-radius: 0; }
.dr-day.start, .dr-day.end { background: var(--yellow); color: var(--ink); font-weight: 900; }
.dr-day.start { border-radius: 8px 0 0 8px; } .dr-day.end { border-radius: 0 8px 8px 0; } .dr-day.start.end { border-radius: 8px; }
.dr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.dr-hint { font-size: 12.5px; color: #a9c0e6; }
.dr-actions { display: flex; gap: 8px; }
.dr-clear, .dr-apply { border-radius: 8px; font: 800 13px/1 "Inter", sans-serif; padding: 10px 14px; cursor: pointer; border: 1px solid var(--line); }
.dr-clear { background: transparent; color: #cdd9ef; }
.dr-apply { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.dr-apply:disabled { opacity: 0.5; }

/* Stepper */
.stepper { display: flex; align-items: stretch; gap: 6px; height: 56px; }
.stepper button { width: 46px; border: 1px solid var(--line); background: rgba(255,255,255,0.08); color: #fff; font-size: 22px; font-weight: 800; cursor: pointer; border-radius: 13px; }
.stepper button:hover { background: rgba(255,255,255,0.16); }
.stepper input { flex: 1; min-width: 40px; text-align: center; font-weight: 900; font-size: 18px; border: 1px solid var(--line); background: rgba(255,255,255,0.08); color: var(--text); border-radius: 13px; }

/* Botón cotizar */
.btn-cotizar { height: 56px; padding: 0 30px; border: none; border-radius: 13px; background: linear-gradient(100deg, var(--yellow), var(--yellow-strong)); color: var(--ink); font-family: "Inter"; font-weight: 900; font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 14px 30px rgba(255,194,25,0.32); white-space: nowrap; }
.btn-cotizar:hover { filter: brightness(1.03); }
.btn-cotizar:disabled { opacity: 0.6; cursor: default; }

/* Edades */
.edades-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.edades-label { display: inline-flex; align-items: center; gap: 8px; }
.edades { display: flex; flex-wrap: wrap; gap: 10px; }
.edades .edad-item { display: flex; flex-direction: column; gap: 3px; width: 88px; }
.edades .edad-item small { color: var(--muted); font-size: 11px; font-weight: 700; }
.edades input { height: 44px; text-align: center; border: 1px solid var(--line); background: var(--ctrl); color: var(--text); border-radius: 11px; font-weight: 700; }

/* Resultados */
.resultados { margin-top: 30px; }
.res-resumen { font-size: 15px; background: rgba(11,28,66,0.72); border: 1px solid var(--line); border-radius: 14px; padding: 13px 18px; margin-bottom: 18px; backdrop-filter: blur(10px); }
.res-resumen b { color: var(--yellow); }
.planes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; background: #fff; color: var(--paper-ink); border: 1px solid #e7edf6; border-radius: 20px; box-shadow: 0 16px 38px rgba(8,25,68,0.22); display: flex; flex-direction: column; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 24px 50px rgba(8,25,68,0.30); }
.plan--dest { border: 2px solid var(--yellow); box-shadow: 0 24px 54px rgba(255,194,25,0.30); }
.plan-reco { display: flex; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(100deg,#ffc219,#ffb400); color: var(--ink); font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 7px; }
.plan-reco svg { flex-shrink: 0; }
.plan--barato { border: 2px solid #1e5fd0; }
.plan-barato { text-align: center; background: #1e5fd0; color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; padding: 7px; }
/* Banda superior con el logo */
.plan-band { display: flex; align-items: center; gap: 13px; padding: 18px; background: linear-gradient(135deg, #16407d 0%, #0d255a 100%); }
.plan-logo { width: 58px; height: 58px; flex-shrink: 0; border-radius: 15px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,0.28); }
.plan-logo-img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.plan-logo-ini { color: #1c55a4; font-weight: 900; font-size: 22px; }
.plan-id { min-width: 0; }
.plan-name { font-size: 18px; font-weight: 900; line-height: 1.1; letter-spacing: -0.3px; color: #fff; }
.plan-tier { font-size: 12.5px; color: #b9cdf0; font-weight: 600; margin-top: 3px; }
/* Cuerpo */
.plan-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.plan-metric { display: flex; align-items: baseline; gap: 8px; }
.plan-amount { font-size: 35px; font-weight: 900; line-height: 1; letter-spacing: -1.5px; color: var(--ink); }
.plan-cur { font-size: 13px; color: var(--paper-muted); font-weight: 800; }
.plan-per { color: var(--paper-muted); font-size: 12px; margin-top: 4px; font-weight: 600; }
/* Coberturas clave con íconos */
.plan-keys { margin: 15px 0 4px; display: flex; flex-direction: column; gap: 10px; }
.pk { display: flex; align-items: center; gap: 10px; }
.pk-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.pk-l { font-size: 12.5px; color: #5a6b86; font-weight: 600; flex-grow: 1; }
.pk-v { font-size: 12.5px; color: var(--ink); font-weight: 800; text-align: right; }
.plan-actions { display: flex; gap: 9px; margin-top: auto; padding-top: 16px; }
.plan-select { flex: 1; border: none; background: linear-gradient(100deg,#ffc219,#ffb400); color: #0d255a; border-radius: 11px; font-weight: 900; font-size: 13.5px; padding: 13px 10px; cursor: pointer; font-family: inherit; }
.plan-select:hover { filter: brightness(1.04); }
.plan-details { border: 1px solid #dce6f4; background: #f8fbff; color: #214b8b; border-radius: 11px; padding: 13px 16px; font-size: 13.5px; font-weight: 800; cursor: pointer; font-family: inherit; }
.plan-details:hover { background: #eaf3ff; }

/* Modal de detalle del plan */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-scrim { position: absolute; inset: 0; background: rgba(6,15,40,0.6); backdrop-filter: blur(7px) saturate(120%); -webkit-backdrop-filter: blur(7px) saturate(120%); animation: cargaIn .2s ease; }
.modal-box { position: relative; z-index: 1; width: min(100%, 460px); max-height: 86vh; display: flex; flex-direction: column; border-radius: 22px; padding: 24px; color: var(--text); border: 1px solid rgba(255,255,255,0.16); background: linear-gradient(180deg, rgba(255,255,255,0.08), transparent 30%), #0c1f45; box-shadow: 0 40px 100px rgba(0,0,0,0.55); animation: modalUp .28s cubic-bezier(.2,.8,.3,1); }
@keyframes modalUp { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal-head h3 { margin: 0; font-size: 23px; font-weight: 900; letter-spacing: -0.5px; }
.modal-sub { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.modal-close { flex-shrink: 0; width: 34px; height: 34px; border: none; border-radius: 10px; background: rgba(255,255,255,0.1); color: #fff; font-size: 15px; cursor: pointer; }
.modal-close:hover { background: rgba(255,255,255,0.2); }
.modal-cobs { margin: 18px 0; overflow-y: auto; display: flex; flex-direction: column; padding-right: 4px; }
.mc-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.09); }
.mc-name { font-size: 13.5px; color: #cdd9ef; }
.mc-val { font-size: 13.5px; font-weight: 800; color: #fff; white-space: nowrap; text-align: right; }
.mc-empty { padding: 20px; text-align: center; color: var(--muted); }
.modal-precio { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f4f8fe; color: #153e82; border-radius: 14px; padding: 15px 18px; }
.modal-precio span { font-weight: 700; font-size: 14px; }
.modal-precio strong { font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.modal-foot { display: flex; gap: 10px; margin-top: 16px; }
.modal-wa { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: #25d366; color: #06351d; border-radius: 12px; padding: 14px; font-weight: 900; font-size: 15px; }
.modal-wa:hover { filter: brightness(1.04); }
.modal-cta { border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; border-radius: 12px; padding: 14px 22px; font-weight: 800; font-size: 15px; cursor: pointer; font-family: inherit; }
.modal-cta:hover { background: rgba(255,255,255,0.16); }
.modal-cobs::-webkit-scrollbar { width: 8px; }
.modal-cobs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 8px; }

/* Estado / pie */
.estado { margin-top: 20px; padding: 14px 16px; border-radius: 13px; font-size: 15px; background: rgba(255,255,255,0.08); border: 1px solid var(--line); }
.estado.error { background: rgba(220,70,70,0.2); border-color: rgba(255,120,120,0.42); }
.estado.cargando { color: var(--muted); }
.pie { position: relative; z-index: 1; text-align: center; color: var(--muted); font-size: 12px; padding: 18px; }

/* Pantalla de carga (mapa + avión) */
.cargando { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: radial-gradient(950px 520px at 50% 42%, #123a72 0%, #0a2050 55%, #06122e 100%); animation: cargaIn .3s ease; }
.cargando.saliendo { animation: cargaOut .45s ease forwards; }
@keyframes cargaIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes cargaOut { from { opacity: 1; } to { opacity: 0; } }
.cargando-stars { position: absolute; inset: 0; pointer-events: none; opacity: .6; background-image:
  radial-gradient(1.4px 1.4px at 12% 16%, #fff, transparent), radial-gradient(1.3px 1.3px at 32% 10%, #fff, transparent),
  radial-gradient(1.4px 1.4px at 54% 20%, #cfe0ff, transparent), radial-gradient(1.3px 1.3px at 72% 8%, #fff, transparent),
  radial-gradient(1.4px 1.4px at 88% 18%, #fff, transparent), radial-gradient(1.3px 1.3px at 20% 82%, #fff, transparent),
  radial-gradient(1.3px 1.3px at 46% 90%, #cfe0ff, transparent), radial-gradient(1.3px 1.3px at 78% 84%, #fff, transparent);
  animation: twinkle 5s ease-in-out infinite; }
.cargando-mapa { position: relative; width: min(94vw, 1120px); aspect-ratio: 2000 / 1001; z-index: 1; }
.mapa-base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0.95; filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5)); }
.mapa-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
#mapRuta { stroke: rgba(255,222,140,0.4); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 0.5 11; }
#mapArco { stroke: var(--yellow); stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 0 9px rgba(255,194,25,0.9)); }
#mapPlane { filter: drop-shadow(0 0 10px rgba(255,210,58,0.9)) drop-shadow(0 3px 5px rgba(0,0,0,0.55)); }
.mapa-lbl { font-family: "Inter", sans-serif; font-size: 27px; font-weight: 900; paint-order: stroke; stroke: #071a3f; stroke-width: 6; }
.mapa-lbl.o { fill: #ffffff; } .mapa-lbl.d { fill: var(--yellow); }
.cargando-txt { position: relative; z-index: 1; font-family: "Inter", sans-serif; font-weight: 900; font-size: 22px; color: #fff; text-align: center; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.cargando-txt small { display: block; font-family: "Inter", sans-serif; font-weight: 500; font-size: 14px; color: #cfe0ff; margin-top: 5px; text-shadow: none; }
@media (prefers-reduced-motion: reduce) { #mapArco, #mapPlane, .cargando-stars, .bg-stars { animation: none; } }

/* ============ Responsive ============ */

/* Tablet / iPad retrato (≤900px): buscador a 2 columnas, un solo mes */
@media (max-width: 900px) {
  .hero-zone { min-height: auto; }
  .hero { padding: 22px 0; }
  .buscador-row { grid-template-columns: 1fr 1fr; }
  .btn-cotizar { grid-column: 1 / -1; justify-content: center; }
  .dr-cal.second { display: none; }
  .dr-titles > span:nth-child(2) { display: none; }
  .dr-titles { justify-content: center; }
  .dr-pop { width: max-content; max-width: 92vw; }
}

/* Móvil (≤620px): todo en una columna, apto para Android/iOS */
@media (max-width: 620px) {
  .wrap { padding-top: 18px; padding-bottom: 34px; }
  .head { gap: 12px; }
  .brand-logo { height: 38px; }
  .head-nav { gap: 14px; font-size: 14px; }
  /* En pantallas chicas dejamos solo el logo + "Reservar cita" */
  .head-nav a:not(.head-cta), .head-nav .on { display: none; }
  .head-cta { padding: 10px 14px; font-size: 14px; }

  .hero { padding: 14px 0 20px; }
  .hero-badge { font-size: 12.5px; padding: 8px 14px; }
  .hero h1 { margin: 14px 0 10px; font-size: clamp(34px, 11vw, 46px); letter-spacing: -0.5px; }
  .hero-sub { font-size: 15.5px; }

  .buscador { border-radius: 18px; padding: 14px; }
  .buscador-row { grid-template-columns: 1fr; gap: 12px; }
  .btn-cotizar { grid-column: auto; width: 100%; height: 54px; }
  .buscador-modo { flex-wrap: wrap; }

  /* Alturas de control cómodas para el dedo; ≥16px evita el zoom de iOS */
  select, .dr-trigger, input[type="text"], .combo-trigger { height: 54px; font-size: 16px; }
  .combo-search { font-size: 16px; height: 46px; }

  /* Calendario: un mes, celdas más grandes para tocar */
  .dr-pop { left: 50% !important; right: auto !important; transform: translateX(-50%);
    width: min(340px, 92vw) !important; padding: 12px; }
  .dr-grids { justify-content: center; }
  .dr-cal { width: 100%; max-width: 300px; }
  .dr-day { font-size: 14px; border-radius: 9px; }
  .dr-dow span { font-size: 11px; }
  .dr-foot { flex-wrap: wrap; gap: 10px; }

  .edades-row { gap: 10px; }
  .edades .edad-item { width: calc(50% - 5px); }

  /* Resultados: una tarjeta por fila */
  .planes { grid-template-columns: 1fr; gap: 14px; }
  .plan { padding: 20px; min-height: 0; }
  .res-resumen { font-size: 14px; padding: 12px 15px; }

  /* Modal a pantalla cómoda */
  .modal { padding: 14px; align-items: flex-end; }
  .modal-box { width: 100%; max-height: 88vh; padding: 20px; border-radius: 20px 20px 16px 16px; }
  .modal-head h3 { font-size: 20px; }
  .modal-precio strong { font-size: 23px; }
  .modal-foot { gap: 9px; }
  .modal-cta { padding: 14px 16px; }

  .cargando-txt { font-size: 18px; }
  .cargando-txt small { font-size: 12.5px; }
  .pie { font-size: 11px; padding: 16px 14px; }
}

/* Móvil muy angosto (≤380px): pasajeros y botones del modal apilados */
@media (max-width: 380px) {
  .edades .edad-item { width: 100%; }
  .modal-foot { flex-direction: column-reverse; }
  .modal-cta, .modal-wa { width: 100%; }
  .hero h1 { font-size: 32px; }
}

/* Móvil apaisado (poca altura): hero compacto para que el buscador se vea */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-zone { min-height: auto; }
  .hero { padding: 10px 0; }
  .hero h1 { font-size: 30px; margin: 8px 0; }
  .hero-sub { display: none; }
}
