/* av-bilingual 1.2.5 — language switch + Divi mobile hamburger fix */

/* Segmented EN|ES control — sits in top contact strip, above .av-topbar */
.av-lang-switch-fixed {
  position: fixed;
  top: 0.2rem;
  right: 0.55rem;
  z-index: 100003; /* .av-topbar is 100002; #main-header is 99999 */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  pointer-events: auto;
}
body.av-has-topbar .av-lang-switch-fixed {
  top: 0.15rem;
}
body.admin-bar .av-lang-switch-fixed {
  top: calc(0.2rem + 32px);
}
body.admin-bar.av-has-topbar .av-lang-switch-fixed {
  top: calc(0.15rem + 32px);
}
@media (max-width: 782px) {
  body.admin-bar .av-lang-switch-fixed { top: calc(0.2rem + 46px); }
  body.admin-bar.av-has-topbar .av-lang-switch-fixed { top: calc(0.15rem + 46px); }
}

.av-lang-seg {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(11, 26, 20, 0.92);
  border: 1px solid rgba(42, 158, 214, 0.55);
  border-radius: 999px;
  padding: 0.12rem 0.2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}
.av-lang-opt {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: #c5d0d4;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.62rem;
  min-width: 2.4rem;
  min-height: 1.75rem;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  touch-action: manipulation;
}
.av-lang-opt:hover,
.av-lang-opt:focus-visible {
  color: #f4f7f8;
  outline: none;
}
.av-lang-opt.is-active,
.av-lang-opt[aria-pressed="true"] {
  background: rgba(42, 158, 214, 0.28);
  color: #f4f7f8;
}
.av-lang-pipe {
  color: rgba(244, 247, 248, 0.35);
  font-size: 0.75rem;
  user-select: none;
  pointer-events: none;
  padding: 0 0.05rem;
}

/* Legacy dropdown (kept if present) */
.av-lang-trigger {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(11, 15, 18, 0.88);
  border: 1px solid rgba(42, 158, 214, 0.45);
  color: #f4f7f8;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.av-lang-trigger:hover { border-color: #2a9ed6; }
.av-lang-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  background: #1a2228;
  border: 1px solid rgba(42, 158, 214, 0.35);
  border-radius: 8px;
  min-width: 150px;
  padding: 0.35rem 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.av-lang-menu[hidden] { display: none; }
.av-lang-menu li {
  padding: 0.55rem 1rem;
  cursor: pointer;
  color: #f4f7f8;
}
.av-lang-menu li:hover,
.av-lang-menu li.active {
  background: rgba(42, 158, 214, 0.18);
  color: #2a9ed6;
}
.av-hide { display: none !important; }

/* Mobile: keep clear of burger (header row) and enlarge tap targets */
@media (max-width: 767px) {
  .av-lang-switch-fixed {
    top: 0.12rem;
    right: 0.4rem;
    z-index: 100003;
  }
  body.av-has-topbar .av-lang-switch-fixed {
    top: 0.1rem;
  }
  body.admin-bar .av-lang-switch-fixed {
    top: calc(0.12rem + 46px);
  }
  body.admin-bar.av-has-topbar .av-lang-switch-fixed {
    top: calc(0.1rem + 46px);
  }
  .av-lang-opt {
    font-size: 0.8rem;
    padding: 0.38rem 0.7rem;
    min-width: 2.55rem;
    min-height: 1.9rem;
  }
}

/* --- Hero / menu clearance (v1.2.2) ---
 Transparent Divi header sits over fullscreen hero; push title below nav. */
.av-hero .et_pb_fullwidth_header .et_pb_fullwidth_header_container,
.av-hero .et_pb_fullwidth_header .header-content-container {
  padding-top: clamp(5.75rem, 14vh, 8.75rem) !important;
  box-sizing: border-box !important;
}
.av-hero .et_pb_fullwidth_header .header-content {
  margin-top: 0.5rem;
}
.av-hero .et_pb_fullwidth_header .header-content h1,
.av-hero .et_pb_module_header {
  position: relative;
  z-index: 1;
}
@media (max-width: 782px) {
  .av-hero .et_pb_fullwidth_header .et_pb_fullwidth_header_container,
  .av-hero .et_pb_fullwidth_header .header-content-container {
    padding-top: clamp(5rem, 16vh, 7.5rem) !important;
  }
}

/* --- Mobile hamburger icon (v1.2.4) ---
 Divi uses content:"\61" with ETmodules; customizer Figtree override fixed. */
body #et_mobile_nav_menu .mobile_menu_bar:before,
body #et_mobile_nav_menu .mobile_menu_bar::before,
body #et_mobile_nav_menu .mobile_menu_bar_toggle:before,
body #et_mobile_nav_menu .mobile_menu_bar_toggle::before,
body .et_mobile_nav_menu .mobile_menu_bar:before,
body .et_mobile_nav_menu .mobile_menu_bar::before {
  font-family: ETmodules !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1;
}

/* ---- route pages + route buttons (1.2.7) ---- */
.av-dest-more{display:block;margin-top:4px;font-size:.85em;font-weight:600;color:#1f7a4d;text-decoration:underline}
.av-route-page h2{margin-top:1.6em}
.av-route-intro{font-size:1.1em}
.av-route-groups{background:#f3f7f4;border-left:4px solid #1f7a4d;padding:10px 14px;border-radius:6px}
.av-route-details{margin:0 0 0 1.2em}
.av-included-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px}
.av-included-item{display:flex;gap:8px;align-items:flex-start}
.av-included-check{color:#1f7a4d;font-weight:700}
.av-route-cta{margin-top:2em;padding:18px;border-radius:10px;background:#f3f7f4;text-align:center}
.av-wa-btn{display:inline-block;background:#25d366;color:#fff!important;font-weight:700;padding:12px 22px;border-radius:999px;text-decoration:none}
.av-route-vat{font-size:.85em;opacity:.8;margin:6px 0 0}
.av-faq-item{border-bottom:1px solid #e3e3e3;padding:10px 0}
.av-faq-item summary{cursor:pointer;font-weight:600}
.av-faq-answer{margin:8px 0 0}
.av-hide{display:none!important}

/* --- Route pages layout (v1.2.8) --- */
body.av-route-body #sidebar,
body.av-route-body .et_pb_widget_area_right,
body.av-route-body #left-area > article > .main_title,
body.av-route-body #left-area .entry-title.main_title,
body.av-route-body .et_post_meta_wrapper > h1.main_title{display:none!important}
body.av-route-body #main-content .container:before{display:none!important}
body.av-route-body #left-area{width:100%!important;float:none!important;padding:0!important}
body.av-route-body #main-content .container{padding-top:calc(150px + 1.5rem)!important;padding-bottom:3rem!important}
body.admin-bar.av-route-body #main-content .container{padding-top:calc(182px + 1.5rem)!important}
@media (max-width:980px){
  body.av-route-body #main-content .container{padding-top:150px!important}
}
@media (max-width:600px){
  body.av-route-body #main-content .container{padding-top:140px!important}
}
body.av-route-body .av-route-page{max-width:880px;margin:0 auto;color:#2b3640}
body.av-route-body .av-route-page .av-section-kicker{display:inline-block;margin:0 0 .6rem;padding:4px 12px;border-radius:999px;background:#e8f1fb;color:#0b6bcb!important;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-shadow:none!important}
body.av-route-body .av-route-page h1.av-section-title{color:#12263a!important;text-shadow:none!important;font-size:clamp(1.7rem,4.5vw,2.6rem)!important;line-height:1.2!important;margin:0 0 .8rem!important;padding:0 0 .6rem!important;border-bottom:4px solid #0b6bcb;display:inline-block}
body.av-route-body .av-route-page h2{color:#12263a!important;font-size:1.35rem;padding-bottom:4px}
body.av-route-body .av-route-page p,body.av-route-body .av-route-page li{color:#2b3640}
body.av-route-body .av-route-cta{margin-bottom:5rem}
body.av-route-body .av-wa-float{right:16px!important;max-width:calc(100vw - 32px);box-sizing:border-box}
@media (max-width:600px){
  body.av-route-body .av-wa-float .av-wa-label{display:none!important}
}

/* --- 1.2.9: route-page WhatsApp quote pill ---
   The site's floating-bubble snippet styles the generic .av-wa-btn as a 58x58 circle
   (display:flex;width:58px;height:58px;border-radius:50%). Undo that inside .av-route-cta only;
   the floating bubble (.av-wa-float .av-wa-btn) is untouched. */
.av-route-cta p{padding-bottom:0!important;margin:0 0 .9rem}
.av-route-cta p:last-child{margin-bottom:0}
.av-route-cta p:has(> .av-wa-btn){margin:1.1rem 0 .5rem;line-height:1;text-align:center}
.av-route-cta a.av-wa-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;
  width:auto!important;height:auto!important;min-height:0;max-width:100%;box-sizing:border-box;
  padding:14px 28px!important;border-radius:999px!important;background:#25D366!important;color:#fff!important;
  font-size:17px;font-weight:700;line-height:1.25!important;white-space:nowrap;text-decoration:none!important;
  box-shadow:0 6px 18px rgba(37,211,102,.35);transform:none}
.av-route-cta a.av-wa-btn.av-hide{display:none!important}
.av-route-cta a.av-wa-btn:hover{background:#1ebe5b!important;transform:translateY(-1px)}
.av-route-cta a.av-wa-btn::before{content:"";flex:0 0 20px;width:20px;height:20px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35zM12.05 21.5h-.01a9.4 9.4 0 0 1-4.79-1.31l-.34-.2-3.56.93.95-3.47-.22-.36a9.38 9.38 0 0 1-1.44-5.01c0-5.19 4.23-9.41 9.42-9.41a9.36 9.36 0 0 1 9.41 9.42c0 5.19-4.23 9.41-9.42 9.41zm8.02-17.43A11.27 11.27 0 0 0 12.04.75C5.8.75.72 5.83.72 12.08c0 2 .52 3.95 1.52 5.66L.62 23.25l5.65-1.48a11.3 11.3 0 0 0 5.77 1.57h.01c6.25 0 11.33-5.08 11.33-11.33 0-3.03-1.18-5.87-3.31-8.01z'/%3E%3C/svg%3E")}
.av-route-cta .av-route-vat{margin:.35rem 0 0!important;padding:0!important}
@media (max-width:480px){
  .av-route-cta a.av-wa-btn{white-space:normal;text-align:center;padding:13px 22px!important;font-size:16px}
}

/* --- 1.3.0: desktop header "Request" pill vertically centred on menu links ---
   Links: #top-menu li line-height 14px, text box starts at #et-top-navigation padding-top.
   Pill (from site CSS) was 30px tall with margin-top:-4px -> centre 4px below link text centre.
   Fixed 30px height + margin-top:-8px puts its centre at padding-top + 7px = link text centre,
   in both normal and .et-fixed-header states (both measure from the same padding-top). */
@media (min-width: 981px) {
  #et-top-navigation .av-header-cta,
  .et-fixed-header #et-top-navigation .av-header-cta {
    box-sizing: border-box;
    height: 30px;
    line-height: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: -8px;
  }
}

/* --- 1.3.0: photo credits on /privacidad/ --- */
.av-photo-credits{margin-top:2rem;font-size:.9rem}
.av-photo-credits ul{padding-left:1.2em}
.av-photo-credits li{margin-bottom:.35rem}

/* --- 1.3.8: tours WhatsApp pill (same as .av-route-cta, not the floating bubble) --- */
p.av-tours-cta{margin:1.1rem 0 .5rem;line-height:1;text-align:center}
.av-tours-cta a.av-wa-btn{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;
  width:auto!important;height:auto!important;min-height:0;max-width:100%;box-sizing:border-box;
  padding:14px 28px!important;border-radius:999px!important;background:#25D366!important;color:#fff!important;
  font-size:17px;font-weight:700;line-height:1.25!important;white-space:nowrap;text-decoration:none!important;
  box-shadow:0 6px 18px rgba(37,211,102,.35);transform:none}
.av-tours-cta a.av-wa-btn.av-hide{display:none!important}
.av-tours-cta a.av-wa-btn:hover{background:#1ebe5b!important;transform:translateY(-1px)}
.av-tours-cta a.av-wa-btn::before{content:"";flex:0 0 20px;width:20px;height:20px;background:no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.08c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.09 1.76-.72 2.01-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35zM12.05 21.5h-.01a9.4 9.4 0 0 1-4.79-1.31l-.34-.2-3.56.93.95-3.47-.22-.36a9.38 9.38 0 0 1-1.44-5.01c0-5.19 4.23-9.41 9.42-9.41a9.36 9.36 0 0 1 9.41 9.42c0 5.19-4.23 9.41-9.42 9.41zm8.02-17.43A11.27 11.27 0 0 0 12.04.75C5.8.75.72 5.83.72 12.08c0 2 .52 3.95 1.52 5.66L.62 23.25l5.65-1.48a11.3 11.3 0 0 0 5.77 1.57h.01c6.25 0 11.33-5.08 11.33-11.33 0-3.03-1.18-5.87-3.31-8.01z'/%3E%3C/svg%3E")}
.av-tours-cta .av-route-vat{margin:.35rem 0 0!important;padding:0!important}
@media (max-width:480px){
  .av-tours-cta a.av-wa-btn{white-space:normal;text-align:center;padding:13px 22px!important;font-size:16px}
}

