/* Mariposa mobile theme: exact visual tokens shared with the curated home page. */
:root{color-scheme:light}
/* Shared mobile tokens mirror the notebook homepage: warm paper, ink blue and restrained terracotta. */
html,body{background:#f3eddf!important;color:#242641!important}
body{font-family:"Anek Latin","Avenir Next",-apple-system,system-ui,"Segoe UI",Roboto,sans-serif!important;overflow-x:hidden;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4,h5,h6,.font-display{font-family:"Fraunces",Georgia,"Times New Roman",serif!important;font-weight:400!important;letter-spacing:-.01em}
header.fixed{background:rgba(247,243,235,.97)!important;border-color:#d7caba!important;color:#242641!important;backdrop-filter:blur(12px)}
header.fixed img[src*="lockup-cream"]{opacity:0!important}
header.fixed img[src*="lockup-ink"]{opacity:1!important}
main{background:#f3eddf!important}
.text-limestone{color:#242641!important}
.text-sand{color:#545262!important}
.text-white,.text-white\/85{color:#f3eddf!important}
.text-gold-light,.text-gold-pale{color:#914d38!important}
.text-gold{color:#914d38!important}
.bg-ink,.bg-ink-deep{background:#292740!important}
.bg-gold{background:#edc087!important}
.text-label{color:#242641!important}
.border-gold-ui\/25,.border-gold-ui\/30{border-color:#d7caba!important}
[class*="bg-paper"],[class*="bg-cream"],[class*="bg-ground"]{background:#f3eddf!important}
[class*="border-paper"]{border-color:#d7caba!important}
footer{background:#292740!important;color:#f3eddf!important;border-color:#6a5e69!important}
footer .text-limestone,footer .text-sand,footer .text-white,footer .text-white\/85,footer .text-gold-light,footer .text-gold-pale{color:#f3eddf!important}
nav.fixed.bottom-0{background:#292740!important;border-color:#6a5e69!important}
nav.fixed.bottom-0 .text-sand,nav.fixed.bottom-0 .text-limestone{color:#e7ebec!important}
nav.fixed.bottom-0 .bg-gold-light{background:#edc087!important}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #914d38!important;outline-offset:3px}
img{max-width:100%;height:auto}
.mt-site-header,.mt-site-menu,.mt-site-footer{display:none}
@media(max-width:700px){main{padding-bottom:calc(10rem + var(--consent-offset,0px))!important}.text-display-xl{font-size:clamp(2.75rem,11vw,4.5rem)!important;line-height:1.02!important}.text-display-lg{font-size:clamp(2rem,8vw,3.1rem)!important;line-height:1.08!important}.text-display-md{font-size:clamp(1.55rem,6vw,2.2rem)!important;line-height:1.12!important}h1,h2,h3,p,li,dd,dt{overflow-wrap:anywhere}}
@media(max-width:700px){.bg-ink,.bg-ink-deep{color:#f3eddf!important}}

/* Interior pages use the same restrained single-M masthead as the mobile home. */
@media(max-width:700px){
  header.fixed>div{min-height:4.5rem!important}
  header.fixed a[aria-label="Mariposa Travels — inicio"]{display:block!important;width:2.75rem!important;height:2.75rem!important;background:url('/brand/original-mark.webp') center/contain no-repeat!important;filter:brightness(.21)}
  header.fixed a[aria-label="Mariposa Travels — inicio"]>img{display:none!important}
}

/* Shared mobile shell: the same masthead, navigation, CTA language and footer as the homepage. */
@media(max-width:700px){
  .mt-interior-shell [data-legacy-mobile="true"]{display:none!important}
  .mt-interior-shell main{padding-bottom:3rem!important}
  .mt-site-header{position:sticky;top:0;z-index:60;display:flex;align-items:center;justify-content:space-between;min-height:4.5rem;padding:.65rem 1.25rem;background:rgba(243,237,223,.97);border-bottom:1px solid #292740;color:#292740;backdrop-filter:blur(12px)}
  .mt-site-mark{display:block;width:2.25rem;height:2.5rem}
  .mt-site-mark img{width:100%;height:100%;object-fit:contain;filter:brightness(.21)}
  .mt-site-header nav{display:flex;align-items:center;gap:1.15rem;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}
  .mt-site-header a,.mt-site-header button{color:#292740;text-decoration:none}
  .mt-menu-open{display:inline-flex;align-items:center;gap:.5rem;border:0;background:transparent;padding:.5rem 0;font:inherit;text-transform:inherit;letter-spacing:inherit}
  .mt-menu-open span,.mt-menu-open span::after{display:block;width:1.15rem;height:1px;background:#292740;content:""}
  .mt-menu-open span::after{transform:translateY(.32rem)}
  .mt-site-menu{position:fixed;inset:0;z-index:80;display:flex;flex-direction:column;padding:1.25rem;background:#292740;color:#f3eddf;overflow:auto}
  .mt-site-menu[hidden]{display:none!important}
  .mt-menu-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:1rem;border-bottom:1px solid rgba(243,237,223,.35)}
  .mt-menu-top img{width:2.35rem;height:2.65rem;object-fit:contain}
  .mt-menu-close{border:0;background:transparent;color:#f3eddf;padding:.65rem 0;font:inherit;text-transform:uppercase;letter-spacing:.08em}
  .mt-site-menu nav{display:grid;margin-top:1.4rem}
  .mt-site-menu nav a{padding:.9rem 0;border-bottom:1px solid rgba(243,237,223,.22);color:#f3eddf;font-family:"Fraunces",Georgia,serif;font-size:1.65rem;line-height:1.15;text-decoration:none}
  .mt-menu-cta,.mt-footer-cta{display:flex;align-items:center;justify-content:center;min-height:3.35rem;margin-top:1.5rem;padding:.8rem 1rem;background:#f3eddf;color:#292740;font-weight:700;text-decoration:none}
  .mt-menu-visible{overflow:hidden!important}
  .mt-interior-shell main a[href*="tailormade-journeys"]:not(.mt-menu-cta):not(.mt-footer-cta),.mt-interior-shell .audit-enquiry button{background:#292740!important;color:#f3eddf!important;border:1px solid #292740!important;border-radius:0!important;box-shadow:none!important}
  .mt-interior-shell main a[href*="tailormade-journeys"]:not(.mt-menu-cta):not(.mt-footer-cta){display:inline-flex;align-items:center;justify-content:center;min-height:3.2rem;padding:.75rem 1rem;text-decoration:none;font-weight:700}
  .mt-interior-shell main section,.mt-interior-shell main>div,.mt-interior-shell main>article{scroll-margin-top:5.2rem}
  .mt-page-agency main article>header+.prose-mt>p:first-child{display:none!important}
  .mt-site-footer{display:block;margin-top:0;padding:3rem 1.35rem 2rem;background:#292740!important;color:#f3eddf!important;border:0!important}
  .mt-site-footer .mt-footer-kicker{margin:0 0 .8rem;color:#edc087!important;font-size:.72rem;letter-spacing:.13em;text-transform:uppercase}
  .mt-site-footer h2{max-width:11ch;margin:0;color:#f3eddf!important;font-size:2.25rem;line-height:1.05}
  .mt-site-footer>p:not(.mt-footer-kicker):not(.mt-footer-contact):not(.mt-footer-legal){max-width:31rem;margin:1rem 0;color:#e7ebec!important;line-height:1.55}
  .mt-site-footer .mt-footer-cta{background:#f3eddf;color:#292740!important}
  .mt-site-footer nav{display:grid;grid-template-columns:1fr 1fr;gap:0;margin-top:2rem;border-top:1px solid rgba(243,237,223,.28)}
  .mt-site-footer nav a,.mt-footer-trust a{padding:.85rem 0;border-bottom:1px solid rgba(243,237,223,.2);color:#f3eddf!important;text-decoration:none}
  .mt-site-footer nav a:nth-child(even){padding-left:1rem}
  .mt-footer-trust{display:grid;margin-top:1rem}
  .mt-footer-contact,.mt-footer-legal{margin:1.5rem 0 0!important;color:#e7ebec!important;font-size:.85rem;line-height:1.6}
  .mt-footer-legal{margin-top:.45rem!important}
  .mt-footer-contact a,.mt-footer-legal a{color:inherit!important;text-decoration:none}
}

/* Audit fixes: enquiry forms share the homepage's mobile visual system. */
.audit-enquiry{margin:3rem 0 0;padding:1.5rem;border:1px solid #d7caba;background:#f3eddf;color:#242641;border-radius:10px;scroll-margin-top:5rem}
.audit-enquiry h2{margin:0 0 .65rem;font-size:clamp(2rem,8vw,3rem);line-height:1.08}
.audit-enquiry>p{margin:.5rem 0 1.25rem;color:#545262;line-height:1.55}
.audit-enquiry form{display:grid;gap:.85rem}
.audit-enquiry label{font-size:.9375rem;font-weight:600;color:#242641}
.audit-enquiry input,.audit-enquiry select,.audit-enquiry textarea{width:100%;min-height:3rem;border:1px solid #aeb1b7;border-radius:6px;background:#fff;color:#242641;padding:.7rem .8rem;font:inherit}
.audit-enquiry textarea{min-height:7rem;resize:vertical}
.audit-enquiry input:focus-visible,.audit-enquiry select:focus-visible,.audit-enquiry textarea:focus-visible{outline:3px solid #914d38;outline-offset:2px;border-color:#914d38}
.audit-enquiry button,.audit-enquiry .audit-send{display:inline-flex;align-items:center;justify-content:center;min-height:3rem;border:0;border-radius:0;background:#292740;color:#f3eddf;padding:.75rem 1rem;font-weight:700;text-decoration:none;cursor:pointer}
.audit-enquiry .audit-send[aria-disabled="true"]{opacity:.55;pointer-events:none}
.audit-status{font-size:.875rem;color:#545262;min-height:1.4rem}
.audit-status a{color:#914d38;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.audit-note{font-size:.8125rem!important;color:#545262!important}
@media(max-width:480px){.audit-enquiry{padding:1.1rem;border-radius:8px}.audit-enquiry h2{font-size:2rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* The consent notice sits above the CTA and bottom navigation without obscuring either. */
[role="dialog"][aria-label="Aviso de cookies"]{background:#292740!important;border-color:#6a5e69!important;padding:.75rem 1rem!important}
[role="dialog"][aria-label="Aviso de cookies"] p{color:#f3eddf!important;font-size:.875rem!important;line-height:1.4!important}
[role="dialog"][aria-label="Aviso de cookies"] a{color:#edc087!important}
[role="dialog"][aria-label="Aviso de cookies"] button{min-height:2.75rem!important}

.bg-ink .text-limestone,.bg-ink-deep .text-limestone,.dark .text-limestone,.menu .text-limestone{color:#f3eddf!important}
.bg-ink .text-sand,.bg-ink-deep .text-sand,.dark .text-sand,.menu .text-sand{color:#e7ebec!important}
.bg-ink .text-gold-light,.bg-ink .text-gold-pale,.bg-ink-deep .text-gold-light,.bg-ink-deep .text-gold-pale{color:#edc087!important}
