/* Volare Viajes — estilos compartidos (cabecera, pie, base) */
:root {
  --ink: #1E1E1C;
  --ink-soft: #4A5254;
  --ink-mute: #5E6769;
  --ink-faint: #6E7577;
  --bg: #F6F9FA;
  --surface: #fff;
  --tint: #E3F3F8;
  --tint-neutral: #F1F4F5;
  --line: #E6EEF1;
  --line-soft: #EEF3F5;
  --line-strong: #D5E3E8;
  --sky: #A5DAEA;
  --brand: #0099B9;
  --brand-deep: #00728A;
  --footer-text: #E8EEF0;
  --footer-mute: #A3ACAE;
  --footer-line: #34393A;
  --font: 'Open Sans', sans-serif;
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-deep); }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.page { min-height: 100vh; background: var(--bg); }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand-deep);
}
.crumbs { font-size: 13px; color: var(--ink-soft); display: flex; gap: 6px; flex-wrap: wrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Cabecera ---------- */
.site-header { position: relative; z-index: 60; background: var(--surface); }

.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar .wrap {
  padding-top: 8px; padding-bottom: 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.topbar__links, .topbar__social { display: flex; flex-wrap: wrap; align-items: center; }
.topbar__links { gap: 20px; }
.topbar__social { gap: 14px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--sky); }
.topbar__lang { font-weight: 600; }
.topbar__sep { color: var(--ink-faint); }
.topbar a.topbar__wa { color: var(--sky); font-weight: 600; }

.mainbar {
  padding-top: 14px; padding-bottom: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: block; width: 150px; height: 71px; overflow: hidden; position: relative; flex: none; }
.logo img { position: absolute; width: 186px; left: -18px; top: -57px; }

.mainbar__desktop { display: flex; align-items: center; gap: 28px; }
.mainbar__mobile { display: none; gap: 8px; align-items: center; }

.origin { position: relative; }
.origin__btn {
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px;
  padding: 8px 14px; display: flex; flex-direction: column; align-items: flex-start;
  cursor: pointer; min-width: 170px;
}
.origin__btn:hover { border-color: var(--brand); }
.origin__label { font-size: 11px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; }
.origin__value { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.origin__panel {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 40, 48, .14); padding: 14px; width: 440px;
}
.origin__panel[hidden] { display: none; }
.origin__hint { font-size: 13px; color: var(--ink-mute); margin: 0 0 10px 6px; }
.origin__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  max-height: 280px; overflow: auto;
}
.origin__opt {
  text-align: left; background: transparent; color: var(--ink); border: none;
  padding: 7px 8px; border-radius: 6px; font-size: 13px; cursor: pointer;
}
.origin__opt:hover { background: var(--tint); }
.origin__opt[aria-selected="true"] { background: var(--brand); color: #fff; }

.phone { display: flex; align-items: center; gap: 12px; }
.phone__icon, .icon-btn {
  width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none;
}
.phone__text { display: flex; flex-direction: column; line-height: 1.25; }
.phone__small { font-size: 12px; color: var(--ink-mute); }
.phone__tiny { font-size: 11px; color: var(--ink-mute); }
.phone__num { font-size: 22px; font-weight: 600; }

.icon-btn { width: 44px; height: 44px; }
.burger {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 18px; cursor: pointer; color: var(--ink);
}

.mainnav {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  position: relative; background: var(--surface);
}
.mainnav__list { max-width: var(--wrap); margin: 0 auto; padding: 0 12px; display: flex; flex-wrap: wrap; }
.mainnav__item {
  padding: 15px 14px 12px; font-size: 15px; font-weight: 600; color: var(--ink);
  border-bottom: 3px solid transparent;
}
.mainnav__item.is-on { color: var(--brand-deep); border-bottom-color: var(--brand); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--surface);
  border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(16, 40, 48, .10);
}
.mega[hidden] { display: none; }
.mega__grid {
  max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 34px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px;
}
.mega__col { display: flex; flex-direction: column; gap: 10px; }
.mega__col a { font-size: 14px; line-height: 1.35; }

.mobilenav {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 8px 24px 20px; display: flex; flex-direction: column;
}
.mobilenav[hidden] { display: none; }
.mobilenav__item {
  padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 16px; font-weight: 600;
}
.mobilenav__item.is-on { color: var(--brand-deep); }
.mobilenav__phone { margin-top: 16px; font-size: 20px; font-weight: 600; color: var(--brand-deep); }

@media (max-width: 859px) {
  .mainbar__desktop, .mainnav { display: none; }
  .mainbar__mobile { display: flex; }
}
@media (min-width: 860px) {
  .mobilenav { display: none !important; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: var(--footer-text); font-family: var(--font); }
.site-footer__grid {
  padding-top: 56px; padding-bottom: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px;
}
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col--info, .site-footer__col--contact { gap: 12px; }
.site-footer__title {
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky);
}
.site-footer__text { font-size: 14px; line-height: 1.6; }
.site-footer__col a { font-size: 14px; color: var(--footer-text); }
.site-footer__col a:hover { color: var(--sky); }
.site-footer__col a.site-footer__phone { font-size: 20px; font-weight: 600; color: #fff; }
.site-footer__bottom { border-top: 1px solid var(--footer-line); }
.site-footer__bottom .wrap {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: var(--footer-mute);
}
.site-footer__social { display: flex; gap: 16px; }
.site-footer__social a { color: var(--footer-mute); }
.site-footer__social a:hover { color: #fff; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; padding: 14px 20px; border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 80, 100, .3); font-weight: 600; font-size: 15px;
}
.wa-float:hover { background: var(--brand-deep); color: #fff; }

/* ---------- Hueco de imagen (sustituye a image-slot del prototipo) ---------- */
.img-slot {
  position: absolute; inset: 0; overflow: hidden; background: var(--tint);
  display: flex; align-items: center; justify-content: center;
}
.img-slot__ph { font-size: 13px; color: var(--brand-deep); opacity: .7; padding: 12px; text-align: center; }
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
