@layer footer-clean { .clean-footer {display:none;} }
@media(max-width:959px) {
 @layer footer-clean {
  /* Tour-page bounce alone reveals the dark footer surface; other pages retain their own canvas. */
  html:has(body[data-page="tour"]),
  html body[data-page="tour"] {background-color:#19252b!important;background-image:none!important;}
  html body[data-page="tour"]:has(.clean-footer) :is(#site,.shell) {background-color:#19252b!important;}
  /* Hero and carousel own their photos; the shell must expose only footer gray at the main curve. */
  html body[data-page="tour"]:has(.clean-footer) .shell::before {
   visibility:hidden!important;
  }
  /* Once mobile tour tabs meet the header, the spacer keeps them pinned
     through Contact and the footer while the page continues scrolling. */
  html body[data-page="tour"] .journey-tabs-wrap {
   position:sticky!important;top:var(--tour-sticky-header-height,var(--header-height,78px))!important;
   z-index:480!important;
  }
  html body[data-page="tour"] .journey-tabs-wrap.is-viewport-pinned {
   position:fixed!important;inset-inline:0!important;width:100%!important;margin:0!important;
   top:var(--tour-sticky-header-height,var(--header-height,78px))!important;
   z-index:480!important;transform:none!important;transition:none!important;
  }
}
}
@media(max-width:959px) {
@layer footer-clean {
 /* Reusable 3D shadow, independent of the footer component. */
 .efecto-sombra-3d {box-shadow:0 10px 15px rgba(0,0,0,.15)!important;}
 /* Layer trick: an opaque real main box scrolls over the lower sticky footer.
    Footer remains in flow; the mobile overlap joins the rounded main to the CTA. */
 html body:has(.clean-footer) main.footer-reveal-main {
  display:block!important;position:relative!important;z-index:1!important;
  background:var(--paper,#f5f5f7)!important;border-radius:0 0 40px 40px!important;
  overflow:clip!important;margin-bottom:0!important;
 }
 html body:has(.clean-footer) .shell {position:relative!important;isolation:isolate!important;}
 .clean-footer {
  position:sticky;bottom:0;z-index:0;background:#19252b;color:#fff;
  height:auto;min-height:50svh;padding:36px 0 22px;box-sizing:border-box;
  font:14px/1.5 Arial,Helvetica,sans-serif;
 }
 .clean-footer *, .clean-footer *::before,.clean-footer *::after {box-sizing:border-box;}
 .clean-footer a {color:inherit!important;-webkit-text-fill-color:currentColor!important;text-decoration:none!important;}
 .clean-footer__wrap {width:min(1280px,calc(100% - 96px));margin-inline:auto;}
 .clean-footer__cta {
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  width:100%;padding:22px 28px;background:#fff;border-radius:999px;color:#19252b;margin-bottom:32px;
 }
 .clean-footer__cta h2 {font:400 clamp(24px,2.2vw,32px)/1.15 Georgia,'Times New Roman',serif!important;color:#19252b!important;-webkit-text-fill-color:#19252b!important;margin:0!important;}
 .clean-footer__actions {display:flex;flex-direction:row;justify-content:center;align-items:center;gap:10px;flex-shrink:0;}
 .clean-footer__action {display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 18px;min-height:44px;border-radius:999px;background:#173a4f;color:#fff!important;font-size:14px;}
 .clean-footer__action--whatsapp {background:#167c4b;}
 :is(.clean-footer,.mobile-menu-contact) svg {display:block;width:20px;height:20px;fill:none!important;stroke:currentColor!important;flex:none;}
 :is(.clean-footer,.mobile-menu-contact) img.whatsapp-mark {display:block;width:28px;height:28px;object-fit:contain;filter:none!important;flex:none;}
 /* Strictly equal columns; all three navigation/contact columns align right. */
 .clean-footer__grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;align-items:start;}
 .clean-footer__grid > * {min-width:0;}
 .clean-footer__grid h3 {font:600 13px/1.3 Arial,Helvetica,sans-serif!important;color:#fff!important;-webkit-text-fill-color:#fff!important;margin:0 0 12px!important;text-align:right!important;}
 .clean-footer__brand {display:block;width:min(230px,100%);margin-bottom:14px;}
 /* Preserve the white logo and align its visible artwork, not its transparent padding. */
 .clean-footer__brand img {display:block;width:100%;height:auto;filter:brightness(0) invert(1)!important;transform:translateX(-5.365854%)!important;}
 .clean-footer__company {font:12px/1.6 Arial,Helvetica,sans-serif!important;margin:0!important;color:#bac6cc!important;text-align:justify!important;text-align-last:start!important;}
 .clean-footer__pages,.clean-footer__destinations,.clean-footer__details {text-align:right;}
 .clean-footer__pages,.clean-footer__destinations {display:flex;flex-direction:column;align-items:flex-end;gap:6px;}
 .clean-footer__pages a,.clean-footer__destinations a,.clean-footer__legal a {font-size:13px;}
 .clean-footer__legal a {display:block;margin-bottom:7px;}
 .clean-footer__contact {display:flex;flex-direction:column;align-items:flex-end;gap:5px;margin:18px 0;font-size:13px;}
 .clean-footer__contact a {overflow-wrap:anywhere;}
 .clean-footer__socials {display:flex;justify-content:flex-end;gap:10px;}
 .clean-footer__socials a {display:grid;place-items:center;width:32px;height:32px;border:1px solid #516068;border-radius:50%;}
 .clean-footer__mobile-contact {display:none;}
 /* Original payment logos stay intact, centered below all columns. */
 .clean-footer__payments {display:flex;justify-content:center;flex-wrap:wrap;margin:28px auto 0;}
 .clean-footer__payments img {display:block;width:300px;max-width:100%;height:auto;filter:none!important;}
 .clean-footer__copyright {margin-top:16px;text-align:center;font-size:11px;color:#bac6cc;}
 @media(hover:hover) and (pointer:fine) {
  .clean-footer__pages a:hover,.clean-footer__destinations a:hover,.clean-footer__legal a:hover {text-decoration:underline!important;text-underline-offset:4px;}
  .clean-footer__action {transition:transform .25s ease,box-shadow .25s ease;}
  .clean-footer__action:hover {transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.22);}
 }
 @media(max-width:959px) {
  html body:has(.clean-footer) main.footer-reveal-main {
   border-radius:0 0 16px 16px!important;margin-bottom:0!important;
   position:relative!important;z-index:1!important;box-shadow:0 10px 15px rgba(0,0,0,.15)!important;
  }
  /* Overlap the 16px main curve with the white CTA rather than exposing a dark gap. */
  .clean-footer {height:auto;min-height:0;margin-top:0;padding:0 0 10px;z-index:0;display:flow-root!important;}
  .clean-footer__wrap {width:calc(100% - 28px);max-width:680px;}
  .clean-footer__cta {flex-direction:column;text-align:center;padding:10px 16px;gap:7px;margin-top:14px;margin-bottom:14px;}
  .clean-footer__cta h2 {font-size:18px!important;text-align:center!important;}
  .clean-footer__actions {gap:12px;}
  .clean-footer__action {width:36px;height:36px;min-height:36px;padding:0;}
  .clean-footer__action span {display:none;}
  .clean-footer__action svg {width:18px;height:18px;color:#fff!important;stroke:#fff!important;}
  :is(.clean-footer,.mobile-menu-contact) img.whatsapp-mark {width:36px;height:36px;}
  .clean-footer__action--whatsapp {background:transparent;}
  .clean-footer__grid {grid-template-columns:minmax(0,1fr);gap:12px;text-align:center;}
  .clean-footer__brand {width:146px;margin:0 auto 4px;}
  .clean-footer__brand img {transform:none!important;}
  .clean-footer__mobile-contact {display:flex;flex-direction:column;align-items:center;gap:2px;margin-bottom:6px;font-size:11px;}
  .clean-footer__company {font-size:11px!important;line-height:1.45!important;text-align:center!important;text-align-last:center!important;max-width:480px;margin-inline:auto!important;}
  .clean-footer__pages,.clean-footer__destinations {flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:8px 12px;text-align:center;}
  .clean-footer__grid h3 {flex-basis:100%;font-size:11px!important;text-align:center!important;margin:0!important;}
  .clean-footer__pages a,.clean-footer__destinations a,.clean-footer__legal a {font-size:10px;}
  .clean-footer__details {display:flex;flex-direction:column;gap:10px;text-align:center;}
  .clean-footer__contact {display:none;}
  .clean-footer__follow {order:0;}
  .clean-footer__follow h3 {margin-bottom:6px!important;}
  .clean-footer__socials {justify-content:center;gap:10px;}
  .clean-footer__socials a {width:28px;height:28px;}
  .clean-footer__socials svg {width:17px;height:17px;}
  .clean-footer__legal {order:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;gap:10px;}
  .clean-footer__legal h3 {grid-column:1/-1;}
  .clean-footer__legal a {margin:0;}
  .clean-footer__payments {margin-top:12px;}
  .clean-footer__payments img {width:240px;}
  .clean-footer__copyright {margin-top:10px;font-size:9px;}
 }
 /* Short landscape windows can scroll through the entire footer without clipping. */
 @media(max-height:600px) {.clean-footer {position:relative;}}
 @media(prefers-reduced-motion:reduce) {.clean-footer__action {transition:none;}}
}

@layer footer-clean {html body .reveal-footer {display:none!important;} html body .clean-footer {display:block;} }
}

@layer footer-clean {
 @media(max-width:959px) {
  .clean-footer .clean-footer__grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;align-items:start;}
  .clean-footer .clean-footer__company-column {text-align:left;}
  .clean-footer .clean-footer__brand {width:min(146px,100%);margin:0 0 8px;}
  .clean-footer .clean-footer__brand img {transform:translateX(-5.365854%)!important;}
  .clean-footer .clean-footer__company {text-align:justify!important;text-align-last:start!important;line-height:1.55!important;margin:0 0 12px!important;}
  .clean-footer .clean-footer__mobile-contact {align-items:flex-start;font-size:10px;gap:4px;margin:0 0 14px;}
  .clean-footer .clean-footer__mobile-contact a {overflow-wrap:anywhere;}
  .clean-footer .clean-footer__follow h3 {text-align:left!important;}
  .clean-footer .clean-footer__socials {justify-content:flex-start;}
  .clean-footer .clean-footer__navigation-column {display:flex;flex-direction:column;gap:16px;}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations,.clean-footer__legal) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;align-items:start;text-align:left;}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations,.clean-footer__legal) h3 {grid-column:1/-1;text-align:left!important;margin:0 0 2px!important;}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations,.clean-footer__legal) a {font-size:10px;line-height:1.45;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  /* Full-width company block followed by three compact horizontal link sections. */
  .clean-footer .clean-footer__grid {grid-template-columns:minmax(0,1fr);gap:18px;}
  .clean-footer .clean-footer__company-column {text-align:center;}
  .clean-footer .clean-footer__brand {width:146px;margin:0 auto 8px;}
  .clean-footer .clean-footer__brand img {transform:none!important;}
  .clean-footer .clean-footer__company {max-width:none;width:100%;text-align:justify!important;text-align-last:start!important;margin:0 0 12px!important;}
  .clean-footer .clean-footer__mobile-contact {flex-direction:row;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px 18px;margin:0 0 12px;font-size:11px;}
  .clean-footer .clean-footer__follow {display:flex;align-items:center;justify-content:center;gap:12px;}
  .clean-footer .clean-footer__follow h3 {flex-basis:auto;margin:0!important;text-align:center!important;}
  .clean-footer .clean-footer__socials {justify-content:center;}
  .clean-footer .clean-footer__navigation-column {gap:16px;}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations) {grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:column;grid-template-rows:auto repeat(2,auto);gap:8px 12px;text-align:center;}
  .clean-footer .clean-footer__destinations {grid-template-rows:auto repeat(3,auto);}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations,.clean-footer__legal) h3 {grid-column:1/-1;grid-row:1;text-align:center!important;}
  .clean-footer .clean-footer__destinations a:nth-of-type(3) {grid-column:2;grid-row:2;}
  .clean-footer .clean-footer__destinations a:nth-of-type(4) {grid-column:2;grid-row:3;}
  .clean-footer .clean-footer__destinations a:nth-of-type(5) {grid-column:3;grid-row:2;}
  .clean-footer .clean-footer__destinations a:nth-of-type(6) {grid-column:3;grid-row:3;}
  .clean-footer .clean-footer__destinations a:nth-of-type(7) {grid-column:3;grid-row:4;}
  .clean-footer .clean-footer__legal {grid-template-columns:repeat(2,minmax(0,1fr));text-align:center;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  :is(.clean-footer,.mobile-menu-contact) .clean-footer__cta {margin-bottom:8px;padding-block:8px;gap:5px;}
  .clean-footer .clean-footer__grid {gap:10px;}
  .clean-footer .clean-footer__brand {width:128px;margin-bottom:3px;}
  .clean-footer .clean-footer__company {font-size:10px!important;line-height:1.4!important;margin-bottom:0!important;}
  .clean-footer .clean-footer__navigation-column {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;align-items:start;}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations,.clean-footer__legal) {display:flex;flex-direction:column;align-items:center;gap:4px;padding:0 8px;text-align:center;}
  .clean-footer :is(.clean-footer__pages,.clean-footer__legal) {border-left:1px solid rgba(255,255,255,.18);}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations,.clean-footer__legal) h3 {margin-bottom:3px!important;}
  .clean-footer :is(.clean-footer__pages,.clean-footer__destinations,.clean-footer__legal) a {font-size:10px;line-height:1.25;}
  .clean-footer .clean-footer__payments {margin-top:8px;}
  .clean-footer .clean-footer__copyright {margin-top:6px;font-size:9px;}
  .clean-footer .clean-footer__mobile-contact {gap:6px 14px;margin:5px 0;font-size:10px;}
  .clean-footer .clean-footer__follow {gap:10px;}
  .clean-footer .clean-footer__socials a {width:24px;height:24px;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  .clean-footer .clean-footer__company {text-align:center!important;text-align-last:center!important;}
  .clean-footer .clean-footer__mobile-contact {margin:10px 0 0;justify-content:center;}
  .clean-footer .clean-footer__navigation-column {grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
  .clean-footer :is(.clean-footer__destinations,.clean-footer__destinations-second,.clean-footer__pages) {display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:0;gap:5px;border:0;}
  .clean-footer :is(.clean-footer__destinations,.clean-footer__pages) h3 {text-align:left!important;margin:0 0 3px!important;}
  .clean-footer .clean-footer__destinations-second {padding-top:0;}
  .clean-footer .clean-footer__destinations-second a {font-size:10px;line-height:1.25;}
  .clean-footer .clean-footer__copyright {margin-top:12px;}
  .clean-footer .clean-footer__payments {margin-top:6px;}
  .clean-footer .clean-footer__payments img {width:200px;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  .clean-footer {padding-bottom:16px;}
  :is(.clean-footer,.mobile-menu-contact) .clean-footer__cta {margin-bottom:14px;}
  .clean-footer .clean-footer__grid {gap:16px;}
  .clean-footer .clean-footer__navigation-column {gap:14px;}
  .clean-footer :is(.clean-footer__destinations,.clean-footer__destinations-second,.clean-footer__pages) {width:max-content;max-width:100%;justify-self:center;align-items:flex-start;gap:7px;}
  .clean-footer :is(.clean-footer__destinations,.clean-footer__destinations-second,.clean-footer__pages) a {max-width:100%;overflow-wrap:break-word;}
  .clean-footer .clean-footer__copyright {margin-top:16px;}
  .clean-footer .clean-footer__payments {margin-top:10px;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  html body:is([data-page="contact"],[data-page="agencies"]) main.footer-reveal-main {background:transparent!important;clip-path:inset(0 round 0 0 16px 16px)!important;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  .clean-footer {padding-top:18px;padding-bottom:24px;}
  :is(.clean-footer,.mobile-menu-contact) .clean-footer__cta {margin-bottom:20px;}
  .clean-footer .clean-footer__mobile-contact {margin-top:16px;margin-bottom:4px;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  .clean-footer .clean-footer__contact-social-row {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:18px;margin-top:14px;}
  .clean-footer .clean-footer__contact-social-row .clean-footer__mobile-contact {display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;margin:0;text-align:left;font-size:11px;}
  .clean-footer .clean-footer__contact-social-row .clean-footer__socials {justify-content:flex-end;align-items:center;gap:12px;margin:0;}
  .clean-footer .clean-footer__contact-social-row .clean-footer__socials a {width:28px;height:28px;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  /* Keep the original Contact/B2B photo fixed while both sections scroll over it. */
  html body:is([data-page="contact"],[data-page="agencies"]) main.footer-reveal-main::before {
   content:""!important;display:block!important;visibility:visible!important;
   position:fixed!important;inset:0!important;width:100%!important;height:100lvh!important;
   z-index:-1!important;pointer-events:none!important;transform:none!important;
   background-size:cover!important;background-repeat:no-repeat!important;
  }
  html body:is([data-page="contact"],[data-page="agencies"]) main .page-banner__image,
  html body:is([data-page="contact"],[data-page="agencies"]) main .page-banner__shade {display:none!important;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  html body .site-header .mobile-header-tours,
  html body .site-header .mobile-header-tours:is(:hover,:focus,:focus-visible,:active),
  html body .site-header .mobile-panel .nav-link--agencies-b2b,
  html body .site-header .mobile-panel .nav-link--agencies-b2b:is(:hover,:focus,:focus-visible,:active) {
   background:#19252b!important;border-color:#19252b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
  }
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  /* A single reveal canvas supplies both the hero and the contact area. */
  html body:is([data-page="contact"],[data-page="agencies"]) main :is(.page-banner,.enquiry-section) {
   background:transparent!important;background-image:none!important;
  }
  html body:is([data-page="contact"],[data-page="agencies"]) main :is(.page-banner,.enquiry-section)::before,
  html body:is([data-page="contact"],[data-page="agencies"]) main :is(.page-banner,.enquiry-section)::after {
   content:none!important;display:none!important;background-image:none!important;
  }
  html body:is([data-page="contact"],[data-page="agencies"]) main .page-banner > :is(img,picture,.page-banner__shade) {display:none!important;}
 }
}

@layer footer-clean {
 @media(min-width:960px) {
  html body .site-header a.nav-link--agencies-b2b,
  html body .site-header a.nav-link--agencies-b2b:is(:hover,:focus,:focus-visible,:active) {
   background:#19252b!important;border-color:#19252b!important;
   color:#fff!important;-webkit-text-fill-color:#fff!important;
  }
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  /* Larger mobile footer with one shared alignment for contact and navigation. */
  .clean-footer {padding-top:36px;padding-bottom:40px;}
  :is(.clean-footer,.mobile-menu-contact) .clean-footer__cta {margin-bottom:24px;}
  .clean-footer .clean-footer__grid {gap:22px;}
  .clean-footer .clean-footer__brand {width:148px;margin-bottom:7px;}
  .clean-footer .clean-footer__company {font-size:11px!important;line-height:1.5!important;}
  .clean-footer .clean-footer__navigation-column,
  .clean-footer .clean-footer__contact-social-row {width:calc(100% - 32px);margin-inline:auto;}
  .clean-footer .clean-footer__contact-social-row {margin-top:18px;gap:12px;}
  .clean-footer .clean-footer__contact-social-row .clean-footer__mobile-contact {font-size:12px;gap:5px;}
  .clean-footer :is(.clean-footer__destinations,.clean-footer__destinations-second,.clean-footer__pages) {width:100%;justify-self:stretch;gap:8px;}
  .clean-footer :is(.clean-footer__destinations,.clean-footer__destinations-second,.clean-footer__pages) a {font-size:11px;line-height:1.35;}
  .clean-footer .clean-footer__destinations h3 {font-size:12px!important;}
  .clean-footer .clean-footer__copyright {margin-top:20px;font-size:11px;line-height:1.5;}
  .clean-footer .clean-footer__payments {margin-top:12px;}
 }
}

@layer footer-clean {
 @media(max-width:959px) {
  html body .site-header .mobile-header-tours,
  html body .site-header .mobile-header-tours:is(:hover,:focus,:focus-visible,:active) {
   background:#173a4f!important;border-color:#173a4f!important;
   color:#fff!important;-webkit-text-fill-color:#fff!important;
  }
 }
}


/* Restore the blue Agencies B2B shortcut in both menu versions. */
@layer footer-clean {
 html body .site-header a.nav-link--agencies-b2b,
 html body .site-header a.nav-link--agencies-b2b:is(:hover,:focus,:focus-visible,:active),
 html body .site-header .mobile-panel .nav-link--agencies-b2b,
 html body .site-header .mobile-panel .nav-link--agencies-b2b:is(:hover,:focus,:focus-visible,:active) {
  background:#173a4f!important;border-color:#173a4f!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 }
}
