/* =========================================================
   CHICHI · "Prueba Ibero" — booking-engine layout
   Reuses design-system.css tokens. Transactional structure
   inspired by iberotransfers, re-skinned to Chichi brand.
   ========================================================= */

/* ---------- Trust topbar ---------- */
.topbar {
  position: relative;
  z-index: 101;
  background: rgba(15, 11, 30, 0.6);
  border-bottom: 1px solid var(--purple-20);
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 40px;
  flex-wrap: wrap;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
}
.trust-pill strong { color: #fff; font-weight: 600; }
.trust-pill .stars { color: var(--gold); letter-spacing: 1px; }
.trust-sep { width: 1px; height: 16px; background: var(--purple-20); }
@media (max-width: 560px) {
  .topbar { font-size: 12px; }
  .topbar-inner { gap: 10px; flex-wrap: nowrap; overflow: hidden; }
  .trust-sep { display: none; }
  /* Hide the last pill on small screens so topbar stays 1 line */
  .trust-pill:last-child { display: none; }
}

/* Nav variant for this page (static, not fixed) */
/* Logo PNG real */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Footer social icons */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: rgba(155, 95, 255, 0.12);
  border: 1px solid var(--purple-20);
  color: var(--text);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.footer-social a:hover {
  background: rgba(155, 95, 255, 0.28);
  border-color: var(--purple-30);
  color: #fff;
}
.footer-social svg { width: 17px; height: 17px; fill: currentColor; }

.nav-ibero {
  position: sticky;
  top: 0;
  background: rgba(6, 3, 16, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--purple-20);
}
.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }
@media (min-width: 940px) { .nav-links { display: flex; } }

/* ---------- Hamburger (mobile <940px) ---------- */
/* z-index hierarchy:
   page content: 0–10
   backdrop (.nav-bd): 1002  ← darkens the page
   nav-ibero stacking ctx: 1003 ← nav + drawer sit ABOVE backdrop
   All nav-mobile content inherits 1003 context, so always clickable
*/
.nav-ibero { z-index: 1003; }

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: rgba(155,95,255,0.10);
  border: 1px solid var(--purple-20);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  transition: background .2s;
  flex-shrink: 0;
}
.nav-burger:hover { background: rgba(155,95,255,0.22); }
.nav-burger span {
  display: block;
  width: 100%; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
  transform-origin: center;
}
@media (min-width: 940px) { .nav-burger { display: none; } }

.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Side drawer ---- */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: min(300px, 88vw);
  height: 100vh;
  /* Solid gradient so the drawer is clearly distinct from the page */
  background: linear-gradient(170deg, #1a0e38 0%, #0e0820 50%, #080518 100%);
  border-left: 2px solid rgba(155, 95, 255, 0.5);
  padding: 0;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(110%);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  box-shadow: -6px 0 40px rgba(0,0,0,0.8),
              0 0 0 1px rgba(155,95,255,0.08) inset;
}
.nav-open .nav-mobile { transform: translateX(0); }
@media (min-width: 940px) { .nav-mobile { display: none !important; } }

/* Drawer header */
.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 18px;
  border-bottom: 1px solid rgba(155,95,255,0.2);
  background: rgba(155,95,255,0.06);
  flex-shrink: 0;
}
.nav-mobile-head .nm-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-mobile-head .nm-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.nav-mobile-head .nm-brand {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.nav-mobile-head .nm-brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: rgba(196,160,255,0.7);
  letter-spacing: 0.05em;
}
.nav-mobile-x {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(155,95,255,0.15);
  border: 1px solid rgba(155,95,255,0.35);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.nav-mobile-x:hover { background: rgba(155,95,255,0.35); border-color: rgba(155,95,255,0.6); }

/* Drawer nav links */
.nav-mobile a:not(.btn) {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(155,95,255,0.18);
  transition: background .2s, padding-left .25s;
  letter-spacing: 0.01em;
}
.nav-mobile a:not(.btn):last-of-type { border-bottom: none; }
.nav-mobile a:not(.btn):hover,
.nav-mobile a:not(.btn):active {
  background: rgba(155,95,255,0.18);
  padding-left: 36px;
}

/* CTA button in drawer */
.nav-mobile .btn {
  margin: 20px 20px 32px;
  justify-content: center;
  border-radius: 14px;
  flex-shrink: 0;
}

/* ---- Backdrop overlay (injected by JS) ---- */
.nav-bd {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1002; /* above page content, BELOW nav-ibero (1003) */
  cursor: pointer;
}
.nav-bd.open { display: block; }

/* ---------- Steps redesign ---------- */
.steps-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}
@media (min-width: 700px) { .steps-row { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.step-visual {
  width: 100%;
  max-width: 200px;
  margin: 0 auto 0;
  position: relative;
}
.step-visual svg { width: 100%; height: auto; }
.step-num-big {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--purple), var(--purple-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 8px 0 12px;
}
.step-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.step-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin: 0;
}
.step-connector {
  display: none;
}
@media (min-width: 700px) {
  .steps-row { position: relative; align-items: start; }
  .step-connector {
    display: block;
    position: absolute;
    top: 88px;
    width: calc(33.33% - 60px);
    height: 2px;
    border-top: 2px dashed rgba(155,95,255,0.35);
  }
  .step-connector:nth-of-type(1) { left: calc(33.33% + 20px); }
  .step-connector:nth-of-type(2) { left: calc(66.66% + 20px); }
}

/* ---------- Comparison table scrollable ---------- */
.compare-scroll-wrap {
  position: relative;
  margin-top: 32px;
}
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: var(--r-lg);
}
.compare-scroll::-webkit-scrollbar { display: none; }
.compare-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}
.compare-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(26,21,48,0.9);
  border: 1px solid var(--purple-20);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, opacity .2s;
}
.compare-arrow:hover { background: rgba(155,95,255,0.3); border-color: var(--purple-30); }
.compare-arrow svg { width: 18px; height: 18px; }
@media (min-width: 860px) { .compare-arrows { display: none; } }

/* ---------- Reviews carousel ---------- */
.reviews-outer {
  position: relative;
  padding: 0 52px;
  margin-top: 32px;
}
.reviews-wrapper { overflow: hidden; }
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.review {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 260px;
}
@media (max-width: 1099px) { .review { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 719px)  { .review { flex: 0 0 100%; } }

.rev-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(26,21,48,0.9);
  border: 1px solid var(--purple-20);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, opacity .25s;
  z-index: 5;
}
.rev-btn:hover { background: rgba(155,95,255,0.3); border-color: var(--purple-30); }
.rev-btn svg { width: 20px; height: 20px; }
.rev-prev { left: 0; }
.rev-next { right: 0; }
.rev-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.rev-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--purple-20); border: none; cursor: pointer;
  transition: background .3s, width .3s; padding: 0;
}
.rev-dot.active { background: var(--purple); width: 24px; }

/* ---------- Fleet carousel ---------- */
.fleet-outer {
  position: relative;
  padding: 0 52px;
  margin-top: 32px;
}
.fleet-wrapper { overflow: hidden; }
.fleet-track {
  display: flex;
  gap: 20px;
  transition: transform .5s cubic-bezier(.16,1,.3,1);
  will-change: transform;
}
.fleet-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 260px;
}
@media (max-width: 1099px) { .fleet-card { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 719px)  { .fleet-card { flex: 0 0 100%; } }

.flt-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(26,21,48,0.9);
  border: 1px solid var(--purple-20);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s, opacity .25s;
  z-index: 5;
}
.flt-btn:hover { background: rgba(155,95,255,0.3); border-color: var(--purple-30); }
.flt-btn svg { width: 20px; height: 20px; }
.flt-prev { left: 0; }
.flt-next { right: 0; }
.flt-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 24px;
}
.flt-dot {
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--purple-20); border: none; cursor: pointer;
  transition: background .3s, width .3s; padding: 0;
}
.flt-dot.active { background: var(--purple); width: 24px; }

/* ---------- HERO (split: copy + booking) ---------- */
.ibero-hero {
  position: relative;
  padding: 56px 0 72px;
}
@media (min-width: 980px) { .ibero-hero { padding: 72px 0 96px; } }
.ibero-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .ibero-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
.hero-usp { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.hero-usp-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text);
}
.hero-usp-item .tick {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.4);
  color: var(--success);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}

/* ---------- Booking widget ---------- */
.booking-card {
  position: relative;
  padding: 24px;
  border-radius: var(--r-lg);
  background: rgba(20, 15, 40, 0.86);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}
@media (min-width: 560px) { .booking-card { padding: 32px; } }
.booking-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.booking-head .bh-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  display: grid; place-items: center;
  font-size: 20px;
  box-shadow: var(--shadow-orange);
}
.booking-head h2 {
  font-size: 20px;
  margin: 0;
}
.booking-head p { font-size: 13px; color: var(--purple-soft); margin: 2px 0 0; }

.booking-fields { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--purple-soft);
  text-transform: uppercase;
}
.field-control {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 14px;
  background: rgba(6, 3, 16, 0.5);
  border: 1px solid var(--bg-line);
  border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-control:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-15);
}
.field-control .fc-icon { color: var(--purple); flex-shrink: 0; display: grid; place-items: center; }
.field-control .fc-icon svg { width: 20px; height: 20px; }
.field-control select,
.field-control input {
  flex: 1;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
}
.field-control select option { background: var(--bg-card); color: #fff; }
.field-control select option[disabled] { color: var(--text-dim); }
.field-control select optgroup { background: var(--bg-deep); color: var(--purple-soft); font-weight: 700; }
.field-control .chevron {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: var(--purple-soft);
}
.field-control input[type="date"] { color-scheme: dark; }
.field-control input::placeholder { color: var(--text-dim); }

.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Passenger counter */
.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  padding: 0 8px 0 14px;
  background: rgba(6, 3, 16, 0.5);
  border: 1px solid var(--bg-line);
  border-radius: var(--r-md);
}
.counter .c-label { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 500; font-size: 15px; }
.counter .c-label svg { width: 20px; height: 20px; color: var(--purple); }
.counter-controls { display: flex; align-items: center; gap: 6px; }
.counter-btn {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--purple-15);
  border: 1px solid var(--purple-30);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  display: grid; place-items: center;
  transition: background .15s ease, transform .1s ease;
  line-height: 1;
}
.counter-btn:hover { background: var(--purple-30); }
.counter-btn:active { transform: scale(0.92); }
.counter-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.counter-val { min-width: 28px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }

/* Trip type segmented */
.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: rgba(6, 3, 16, 0.5);
  border: 1px solid var(--bg-line);
  border-radius: var(--r-md);
  height: 52px;
}
.segmented button {
  border-radius: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  transition: background .2s ease, color .2s ease;
}
.segmented button.active {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 4px 14px rgba(155,95,255,0.35);
}

.booking-submit { margin-top: 4px; width: 100%; height: 56px; font-size: 17px; }
.booking-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
}
.booking-foot svg { width: 15px; height: 15px; color: var(--success); }

/* round-trip date reveal */
.return-field { display: none; }
.return-field.show { display: flex; }

/* ---------- Feature cards (6) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature .f-ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--purple-15), rgba(255,107,53,0.08));
  border: 1px solid var(--purple-30);
  display: grid; place-items: center;
  color: var(--purple);
}
.feature .f-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18px; }
.feature p { font-size: 14px; color: var(--text); line-height: 1.6; }
.feature strong { color: #fff; }

/* ---------- Steps (3) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  counter-reset: step;
  position: relative;
}
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  position: relative;
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: #fff;
  box-shadow: 0 8px 26px rgba(155,95,255,0.4);
}
.step h3 { font-size: 19px; }
.step p { font-size: 14px; color: var(--text); line-height: 1.6; }
@media (min-width: 820px) {
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 32px; right: -10px;
    width: 20px; height: 2px;
    background: var(--purple-30);
  }
}

/* ---------- Comparison table ---------- */
.compare {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-lg);
  border: 1px solid var(--purple-20);
}
.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: rgba(26, 21, 48, 0.4);
}
.compare-table th, .compare-table td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid var(--purple-20);
}
.compare-table thead th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  background: rgba(15, 11, 30, 0.6);
}
.compare-table thead th.col-chichi {
  color: #fff;
  background: linear-gradient(180deg, var(--purple-20), rgba(155,95,255,0.05));
  border-top: 2px solid var(--purple);
  position: relative;
}
.compare-table thead th.col-chichi .badge-best {
  display: inline-block;
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  font-family: var(--font-body);
}
.compare-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}
.compare-table td.col-chichi {
  background: rgba(155,95,255,0.06);
  border-left: 1px solid var(--purple-20);
  border-right: 1px solid var(--purple-20);
}
.compare-table tr:last-child td { border-bottom: 0; }
.ci-yes { color: var(--success); font-size: 20px; }
.ci-no  { color: var(--error); font-size: 18px; opacity: 0.6; }
.ci-meh { color: var(--warn); font-size: 18px; }
.compare-foot { text-align: center; margin-top: 24px; }

/* ---------- Airport price cards ---------- */
.airport-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) { .airport-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .airport-grid { grid-template-columns: repeat(4, 1fr); } }
.airport-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  text-decoration: none;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.airport-price:hover {
  transform: translateY(-4px);
  border-color: var(--purple-30);
  box-shadow: 0 16px 40px rgba(155,95,255,0.18);
}
.ap-code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--purple);
}
.ap-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.ap-meta { font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.ap-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ap-cta svg { width: 14px; height: 14px; }

/* ---------- Driver / español section ---------- */
.driver {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) { .driver { grid-template-columns: 1fr 1fr; gap: 56px; } }
.driver-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--purple-20);
}
.driver-visual svg { width: 100%; height: 100%; }
.driver-flag {
  position: absolute;
  top: 16px; left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(15,11,30,0.8);
  border: 1px solid var(--purple-20);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: #fff;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.driver-text { display: flex; flex-direction: column; gap: 16px; }
.driver-text p { font-size: 17px; color: var(--text); line-height: 1.7; }

/* ---------- Stats band ---------- */
.statband {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--purple-15), rgba(255,107,53,0.06));
  border: 1px solid var(--purple-20);
  text-align: center;
}
.statband .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.statband .label { font-size: 13px; color: var(--purple-soft); margin-top: 8px; }

/* ---------- Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review .r-stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
.review p { font-size: 14px; color: var(--text); line-height: 1.6; flex: 1; }
.review .r-foot { display: flex; align-items: center; gap: 10px; }
.review .r-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.review .r-name { font-size: 14px; font-weight: 600; color: #fff; }
.review .r-date { font-size: 12px; color: var(--text-dim); font-family: var(--font-mono); }

/* ---------- Fleet ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 700px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }
.fleet-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fleet-visual {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-card));
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--purple-20);
  position: relative;
}
.fleet-visual svg { width: 70%; height: auto; }
.fleet-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.fleet-body h3 { font-size: 20px; }
.fleet-specs { display: flex; flex-direction: column; gap: 8px; }
.fleet-spec {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.fleet-spec svg { width: 18px; height: 18px; color: var(--purple); flex-shrink: 0; }

/* ---------- Destinations ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }
.dest-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.dest-link:hover {
  transform: translateX(4px);
  border-color: var(--purple-30);
  background: var(--purple-15);
}
.dest-link .d-name { font-size: 15px; color: #fff; font-weight: 500; }
.dest-link .d-price { font-size: 13px; color: var(--orange); font-weight: 600; white-space: nowrap; }

/* ---------- Long-form reasons ---------- */
.reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
.reason {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.reason h3 {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reason h3 .r-ico { color: var(--orange); display: grid; place-items: center; }
.reason h3 .r-ico svg { width: 22px; height: 22px; }
.reason p { font-size: 14px; color: var(--text); line-height: 1.65; }

/* Section intro (left aligned variant) */
.sec-intro { max-width: 720px; margin: 0 0 40px; display: flex; flex-direction: column; gap: 14px; }
.sec-intro.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.sec-intro p { font-size: 16px; color: var(--text); line-height: 1.65; }

/* =========================================================
   DYNAMIC CARDS — animated gradient border + motion
   (the moving orange/purple border the booking widget had,
    now on every card, with hover lift + icon motion)
   ========================================================= */
.card-dyn {
  position: relative;
  background: rgba(26, 21, 48, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
  will-change: transform;
  isolation: isolate;
}
.card-dyn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(120deg,
    var(--purple) 0%,
    var(--purple-soft) 22%,
    var(--orange) 50%,
    var(--purple-soft) 78%,
    var(--purple) 100%);
  background-size: 250% 250%;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: borderFlow 7s linear infinite;
  opacity: 0.45;
  transition: opacity .45s ease;
  pointer-events: none;
  z-index: 2;
}
.card-dyn::after {
  /* soft glow that fades in on hover */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(120% 120% at 50% 0%, rgba(255,107,53,0.16), transparent 60%);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  z-index: 0;
}
.card-dyn:hover {
  transform: translateY(-8px) scale(1.018);
  box-shadow: 0 26px 60px rgba(155, 95, 255, 0.28);
}
.card-dyn:hover::before { opacity: 1; animation-duration: 2.8s; }
.card-dyn:hover::after  { opacity: 1; }
.card-dyn > * { position: relative; z-index: 1; }

/* icon micro-motion inside dynamic cards */
.card-dyn .f-ico,
.card-dyn .use-ico,
.card-dyn .inc-ico,
.card-dyn .r-ico,
.card-dyn .fleet-spec svg {
  transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.card-dyn:hover .f-ico,
.card-dyn:hover .use-ico,
.card-dyn:hover .inc-ico {
  transform: translateY(-4px) rotate(-6deg) scale(1.08);
}

/* Gradient sweep used on step numbers / accents */
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .card-dyn::before { animation: none; }
  .card-dyn:hover { transform: translateY(-4px); }
}

/* =========================================================
   HERO PHOTO (replaces booking widget)
   ========================================================= */
.hero-photo {
  position: relative;
  perspective: 1200px;
}
.hero-photo .photo-frame {
  position: relative;
  border-radius: calc(var(--r-lg) + 4px);
  padding: 6px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--orange) 55%, var(--purple) 100%);
  background-size: 220% 220%;
  animation: borderFlow 8s linear infinite;
  box-shadow: 0 30px 70px rgba(155, 95, 255, 0.30);
  will-change: transform;
  transform-origin: center center;
}
.hero-photo image-slot {
  display: block;
  width: 100%;
  height: clamp(360px, 48vw, 540px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
}
/* Cinematic vignette over the hero photo — keeps any image (or the user's own) looking pro */
.hero-photo .photo-frame::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(130% 90% at 50% 6%, transparent 52%, rgba(6,3,16,0.42) 100%),
    linear-gradient(180deg, transparent 60%, rgba(6,3,16,0.30) 100%);
  pointer-events: none;
  z-index: 2;
}
@media (min-width: 980px) {
  .hero-photo image-slot { height: clamp(440px, 38vw, 560px); }
}

/* Floating chips over the photo */
.photo-chip {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(15, 11, 30, 0.82);
  border: 1px solid var(--purple-30);
  border-radius: 14px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}
.photo-chip.tl { top: -14px; left: -14px; animation: floatBob 5s ease-in-out infinite; }
.photo-chip.br { bottom: -14px; right: -14px; animation: floatBob 6s ease-in-out infinite 0.5s; }
.photo-chip .pc-emoji { font-size: 24px; }
.photo-chip .pc-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  line-height: 1;
}
.photo-chip .pc-label { font-size: 11px; color: var(--purple-soft); letter-spacing: 0.04em; }
.photo-chip .stars { color: var(--gold); font-size: 14px; letter-spacing: 1px; }
@media (max-width: 560px) {
  .photo-chip { padding: 9px 12px; }
  .photo-chip .pc-num { font-size: 17px; }
  .photo-chip.tl { left: 4px; top: -10px; }
  .photo-chip.br { right: 4px; bottom: -10px; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-chip.tl, .photo-chip.br, .hero-photo .photo-frame { animation: none; }
}

/* =========================================================
   WhatsApp FAB — icon-only on mobile (was too big)
   ========================================================= */
@media (max-width: 640px) {
  .wa-fab {
    left: auto;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }
  .wa-fab .wa-text-full { display: none; }
  .wa-fab .icon-wa { width: 26px; height: 26px; }
  body { padding-bottom: 0; }
}

/* =========================================================
   FULL-BLEED HERO with background photo + landing plane
   (used on aeropuerto.html)
   ========================================================= */
.ibero-hero.hero-bg {
  padding: 0;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
@media (min-width: 980px) { .ibero-hero.hero-bg { min-height: 92vh; } }

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
/* the background image (swap the file for a real photo) */
.hero-bg-media img.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  will-change: transform;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
/* the drag-droppable background image (default = London dusk SVG) */
.hero-bg-media image-slot {
  position: absolute;
  inset: -4% -2%;
  width: 104%;
  height: 108%;
  display: block;
  background: var(--bg-deep);
  will-change: transform;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to   { transform: scale(1.12) translate3d(-1.5%, -1.5%, 0); }
}

/* darkening overlay so copy stays legible over any photo */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6,3,16,0.90) 0%, rgba(6,3,16,0.55) 34%, rgba(6,3,16,0.10) 62%, rgba(6,3,16,0) 100%),
    linear-gradient(0deg, rgba(6,3,16,0.55) 0%, transparent 34%);
  pointer-events: none;
}

/* --- the landing plane --- */
.hero-plane {
  position: absolute;
  z-index: 3;
  top: 12%;
  left: 0;
  width: clamp(110px, 16vw, 230px);
  color: #fff;
  pointer-events: none;
  will-change: transform, opacity;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.5));
  transform: translate3d(-12vw, -4vh, 0) rotate(9deg);
  animation: planeLand 16s cubic-bezier(.45,.05,.55,.95) infinite;
}
.hero-plane .contrail {
  transform-origin: right center;
  animation: contrailPulse 16s ease-in-out infinite;
}
/* glides down from upper-left toward the runway lower-right, then resets unseen */
@keyframes planeLand {
  0%   { transform: translate3d(-12vw, -4vh, 0) rotate(9deg) scale(0.9);  opacity: 0; }
  10%  { opacity: 1; }
  58%  { transform: translate3d(70vw, 30vh, 0) rotate(7deg) scale(1.0);   opacity: 1; }
  70%  { transform: translate3d(104vw, 42vh, 0) rotate(6deg) scale(1.05); opacity: 0; }
  100% { transform: translate3d(104vw, 42vh, 0) rotate(6deg) scale(1.05); opacity: 0; }
}
@keyframes contrailPulse {
  0%, 10% { opacity: 0; }
  24%    { opacity: 0.55; }
  58%    { opacity: 0.35; }
  68%, 100% { opacity: 0; }
}

/* content sits above everything */
.ibero-hero.hero-bg .wrap { position: relative; z-index: 4; padding-top: 64px; padding-bottom: 140px; }
.ibero-hero.hero-bg .hero-copy { max-width: 660px; }
.ibero-hero.hero-bg .hero-copy h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); }

/* floating chips pinned to the bottom of the hero */
.hero-bg-chips {
  position: absolute;
  z-index: 4;
  left: 0; right: 0; bottom: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 24px;
}
.hero-bg-chips .photo-chip { position: static; animation: floatBob 5s ease-in-out infinite; }
.hero-bg-chips .photo-chip:nth-child(2) { animation-delay: .6s; }
.hero-bg-chips .photo-chip:nth-child(3) { animation-delay: 1.2s; }
@media (max-width: 760px) { .hero-bg-chips { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero-bg-media img.hero-bg-img { animation: none; }
  .hero-bg-media image-slot { animation: none; }
  .hero-plane { animation: none; opacity: 1; transform: translate3d(58vw, 22vh, 0) rotate(7deg); }
  .hero-plane .contrail { opacity: 0.3; }
  .hero-bg-chips .photo-chip { animation: none; }
}

/* =========================================================
   THEMATIC HERO MOTION — bus / cab / balloon
   ========================================================= */
/* shared: a vehicle riding along the lower band of the hero */
.hero-vehicle {
  position: absolute;
  z-index: 3;
  bottom: 11%;
  width: clamp(120px, 15vw, 210px);
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.45));
}
/* red double-decker — drives left → right */
.hero-vehicle.bus { left: 0; animation: busDrive 19s linear infinite; }
@keyframes busDrive {
  0%   { transform: translate3d(-26vw, 0, 0); }
  100% { transform: translate3d(122vw, 0, 0); }
}
/* black cab — drives right → left */
.hero-vehicle.cab { right: 0; animation: cabDrive 17s linear infinite; }
@keyframes cabDrive {
  0%   { transform: translate3d(26vw, 0, 0) scaleX(-1); }
  100% { transform: translate3d(-122vw, 0, 0) scaleX(-1); }
}

/* hot-air balloon — drifts up-and-across, gentle */
.hero-balloon {
  position: absolute;
  z-index: 3;
  top: 8%;
  left: 0;
  width: clamp(64px, 7vw, 104px);
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,0.4));
  animation: balloonDrift 26s ease-in-out infinite;
}
@keyframes balloonDrift {
  0%   { transform: translate3d(-16vw, 8vh, 0) rotate(-2deg); opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translate3d(52vw, -2vh, 0) rotate(2deg); opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translate3d(120vw, -6vh, 0) rotate(-2deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-vehicle { animation: none; }
  .hero-vehicle.bus { transform: translate3d(20vw, 0, 0); }
  .hero-vehicle.cab { transform: translate3d(-20vw, 0, 0) scaleX(-1); }
  .hero-balloon { animation: none; opacity: 1; transform: translate3d(40vw, 0, 0); }
}

/* Experiment ribbon */
.experiment-ribbon {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-bottom-right-radius: 10px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
