/* ==========================================================================
   Maplazini: shared modern layer
   Loaded last on every page. Keeps the warm cream / umber theme, but:
   - all buttons use Muted Safari Olive
   - page tags (eyebrows) become soft, sentence-case chips
   - one footer design everywhere
   - gentler corners, sentence-case navigation
   ========================================================================== */
:root{
  --mz-olive:#667050;
  --mz-olive-hover:#56603f;
  --mz-olive-deep:#4d5636;
  --mz-olive-tint:rgba(102,112,80,.11);
  --mz-olive-line:rgba(102,112,80,.30);
  --mz-cream:#fbf8f1;
  --mz-ink:#2c231a;
  --mz-r-card:14px;
}

/* ---------- Buttons: Muted Safari Olive ---------- */
:root body .btn-gold,
:root body .btn-primary,
:root body .cta-final .btn-primary,
:root body .collection-nav-btn,
:root body .nav-safari,
:root body .navlinks .city-stays-btn,
:root body .hotels-badge,
:root body .modal-submit,
:root body .pane .btn,
:root body .step-row a.step-cta{
  background:var(--mz-olive) !important;
  background-image:none !important;
  border:1px solid var(--mz-olive) !important;
  color:var(--mz-cream) !important;
  box-shadow:none;
}
:root body .btn-gold:hover,
:root body .btn-primary:hover,
:root body .cta-final .btn-primary:hover,
:root body .collection-nav-btn:hover,
:root body .nav-safari:hover,
:root body .navlinks .city-stays-btn:hover,
:root body .modal-submit:hover,
:root body .pane:hover .btn,
:root body .pane:focus-visible .btn,
:root body .step-row a.step-cta:hover{
  background:var(--mz-olive-hover) !important;
  border-color:var(--mz-olive-hover) !important;
  color:var(--mz-cream) !important;
  filter:none;
  transform:none;
}
:root body .btn-gold:disabled,
:root body .btn-primary:disabled{ opacity:.6; cursor:not-allowed; }

:root body .btn,
:root body .collection-nav-btn,
:root body .nav-safari,
:root body .nav-home,
:root body .home-nav-btn,
:root body .navlinks .city-stays-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:600;
  letter-spacing:.01em;
  text-transform:none;
  padding:13px 26px;
  line-height:1.2;
  transition:background .25s ease,border-color .25s ease,color .25s ease;
}
:root body .btn-sm{ padding:10px 20px; font-size:13.5px; }
:root body .nav-cta .btn,
:root body .navlinks .collection-nav-btn,
:root body .navlinks .city-stays-btn{ padding:10px 20px; font-size:14px; }
:root body .nav-home,
:root body .home-nav-btn{ padding:10px 18px; font-size:14px; font-weight:600; }

/* outline / ghost buttons keep their look, with the same shape */
:root body .btn-outline,
:root body .btn-ghost{ border-radius:999px; }
:root body .btn-outline:hover{ border-color:var(--mz-olive); color:var(--mz-olive-deep); background:var(--mz-olive-tint); }
:root body .hero .btn-outline:hover,
:root body .pkg-hero .btn-outline:hover{ color:#fff; }

/* selected pills / method buttons use olive instead of brown */
:root body .check-pill input:checked + span,
:root body .method-btn.active{ background:var(--mz-olive-tint); border-color:var(--mz-olive); }
:root body .check-pill span{ border-radius:999px; }

:focus-visible{ outline:2px solid var(--mz-olive); outline-offset:3px; }

/* ---------- Page tags (eyebrows): soft chips ---------- */
:root body .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:9px;
  width:fit-content;
  max-width:100%;
  font-family:'Source Sans 3','Segoe UI',sans-serif;
  font-size:13.5px;
  font-weight:600;
  letter-spacing:.01em;
  text-transform:none;
  line-height:1.15;
  color:var(--mz-olive-deep);
  background:var(--mz-olive-tint);
  border:1px solid var(--mz-olive-line);
  border-radius:999px;
  padding:8px 15px 8px 12px;
  text-shadow:none;
  backdrop-filter:none;
}
:root body .eyebrow::before{
  content:"";
  flex:none;
  width:7px; height:7px;
  border-radius:50%;
  background:var(--mz-olive);
  box-shadow:none;
  display:inline-block;
}
/* tags that sit on photographs: frosted glass */
:root body .pkg-hero .eyebrow,
:root body .pane .eyebrow,
:root body .hero .eyebrow,
:root body .hero-inner .eyebrow,
:root body .cta-final .eyebrow{
  color:#fff;
  background:rgba(255,255,255,.17);
  border:1px solid rgba(255,255,255,.42);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  text-shadow:0 1px 6px rgba(0,0,0,.35);
}
:root body .pkg-hero .eyebrow::before,
:root body .pane .eyebrow::before,
:root body .hero .eyebrow::before,
:root body .hero-inner .eyebrow::before,
:root body .cta-final .eyebrow::before{ background:#dbe3bd; }
:root body .pkg-cta .eyebrow,
:root body .cta-final .eyebrow{ margin-left:auto; margin-right:auto; }

/* smaller supporting tags */
:root body .fact small,
:root body .stop-days,
:root body .rel-card .rel-tag,
:root body .path .num,
:root body .division-card .num{
  text-transform:none;
  letter-spacing:.01em;
  font-size:13.5px;
  font-weight:600;
}
:root body .stop-tags span{ text-transform:none; letter-spacing:.01em; font-size:12.5px; border-radius:999px; padding:5px 12px; }
:root body .crumbs{ text-transform:none; letter-spacing:.01em; font-size:13.5px; }

/* ---------- Navigation ---------- */
:root body .nav-links a,
:root body .navlinks a:not(.btn):not(.nav-home):not(.collection-nav-btn):not(.city-stays-btn){
  text-transform:none;
  letter-spacing:.005em;
  font-size:14.5px;
  font-weight:500;
}
:root body .brand{ display:flex; align-items:center; gap:14px; }
:root body .brand img{ height:46px; width:auto; }
:root body .brand-sub{
  font-family:'Cormorant Garamond',Georgia,serif;
  font-style:italic;
  font-size:19px;
  color:#7a5230;
  padding-left:14px;
  border-left:1px solid rgba(76,58,38,.28);
  line-height:1.1;
  white-space:nowrap;
}
@media (max-width:520px){
  :root body .brand img{ height:36px; }
  :root body .brand-sub{ font-size:16px; padding-left:10px; }
}
header.nav.scrolled{ -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }

/* ---------- Corners ---------- */
:root body .division-card,
:root body .sig-card,
:root body .package-card,
:root body .product-card,
:root body .itinerary-card,
:root body .path,
:root body .highlights,
:root body .inc-box,
:root body .rate,
:root body .plus,
:root body .rel-card,
:root body .corporate-form,
:root body .cookie-banner,
:root body .prop-gallery figure,
:root body .duo figure,
:root body .stop-img img,
:root body .stay-list{ border-radius:var(--mz-r-card); overflow:hidden; }
:root body .cookie-banner{ border-radius:18px; }
:root body input[type=text],
:root body input[type=email],
:root body input[type=tel],
:root body input[type=date],
:root body input[type=number],
:root body select,
:root body textarea{ border-radius:10px; }

/* ---------- Footer: one design for every page ---------- */
.mz-footer{
  background:#f7f2e8;
  border-top:1px solid rgba(76,58,38,.17);
  padding:72px 0 36px;
  position:relative;
  z-index:1;
  color:#6a5b49;
  font-family:'Source Sans 3','Segoe UI',sans-serif;
  font-size:16px;
  line-height:1.6;
}
.mz-footer .wrap{ max-width:1240px; margin:0 auto; padding:0 40px; display:block; }
@media (max-width:720px){ .mz-footer .wrap{ padding:0 22px; } .mz-footer{ padding:56px 0 30px; } }
.mz-footer ul{ list-style:none; margin:0; padding:0; }
.mz-footer .footer-top{
  display:grid;
  grid-template-columns:1.3fr .8fr .8fr 1fr .8fr .8fr;
  gap:40px;
  padding-bottom:56px;
  border-bottom:1px solid rgba(76,58,38,.17);
}
@media (max-width:1000px){ .mz-footer .footer-top{ grid-template-columns:1fr 1fr 1fr; } }
@media (max-width:640px){ .mz-footer .footer-top{ grid-template-columns:1fr 1fr; gap:34px 24px; } .mz-footer .footer-brand{ grid-column:1 / -1; } }
@media (max-width:400px){ .mz-footer .footer-top{ grid-template-columns:1fr; } }
.mz-footer .footer-brand img{ height:46px; width:auto; margin:0 0 20px; display:block; }
.mz-footer .footer-brand p{ font-size:13.5px; line-height:1.65; color:#6a5b49; max-width:290px; font-weight:300; margin:0; }
.mz-footer .footer-col h5{
  font-family:'Source Sans 3','Segoe UI',sans-serif;
  font-size:11.5px; letter-spacing:.12em; text-transform:uppercase;
  color:#54473a; margin:0 0 18px; font-weight:700;
}
.mz-footer .footer-col li{ margin:0 0 12px; }
.mz-footer .footer-col a,
.mz-footer .footer-col button{
  font:inherit; font-size:14px; color:#6a5b49; background:none; border:0; padding:0;
  cursor:pointer; text-align:left; transition:color .3s ease; overflow-wrap:anywhere;
}
.mz-footer .footer-col a:hover,
.mz-footer .footer-col button:hover{ color:#2c231a; }
.mz-footer .footer-bottom{
  display:flex; justify-content:space-between; align-items:flex-start;
  padding-top:28px; flex-wrap:wrap; gap:14px 28px;
}
.mz-footer .footer-bottom p{ font-size:12px; color:#6a5b49; margin:0; max-width:760px; line-height:1.6; }

/* ---------- Footer LinkedIn button ---------- */
.mz-footer .footer-linkedin{
  display:inline-flex; align-items:center; gap:10px;
  padding:11px 20px; border:1px solid rgba(76,58,38,.32); border-radius:999px;
  background:transparent; color:#54473a; text-decoration:none;
  font-size:11.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; line-height:1;
  transition:background .3s ease,border-color .3s ease,color .3s ease;
}
.mz-footer .footer-linkedin svg{ width:16px; height:16px; fill:currentColor; flex:none; }
.mz-footer .footer-linkedin:hover,
.mz-footer .footer-linkedin:focus-visible{ background:rgba(148,98,58,.12); border-color:#94623a; color:#2c231a; }
.mz-footer .footer-linkedin:focus-visible{ outline:2px solid #94623a; outline-offset:3px; }
@media (min-width:641px){ .mz-footer .footer-bottom .footer-linkedin{ margin-left:auto; } }
@media (max-width:640px){ .mz-footer .footer-bottom .footer-linkedin{ order:-1; } }

/* ---------- Landing page (/) ---------- */
:root body .top{ padding:14px 24px; }
:root body .top a{ display:inline-flex; align-items:center; justify-content:center; }
:root body .top img{ height:54px; width:auto; }
:root body .split{ gap:14px; padding:0 14px 14px; background:transparent; }
:root body .pane{ border-radius:22px; }
:root body .pane h2{ font-weight:500; }
:root body .browse{ padding:8px 24px 34px; }
@media (max-width:820px){
  :root body .split{ gap:12px; padding:0 12px 12px; }
  :root body .pane{ border-radius:18px; }
  :root body .top{ justify-content:center; }
}

@media (prefers-reduced-motion: reduce){
  :root body .btn{ transition:none; }
}

/* Collection / City Collection: logo + quiet sub-label */
.brand-lockup{ display:flex; align-items:center; gap:14px; min-width:0; }
.brand-lockup .brand{ flex:none; }
:root body .nav-cta .btn{ gap:.3em; }

/* Traveller page: division cards as separate soft cards, audience tags as pills */
:root body .division-grid{ gap:18px; background:transparent; border:0; }
:root body .division-card{ border:1px solid rgba(76,58,38,.2); background:#f3ecdd; }
:root body .division-card .audience,
:root body .audience-chip{
  text-transform:none; letter-spacing:.01em; font-size:13px; font-weight:600;
  border-radius:999px; padding:6px 13px;
  border:1px solid var(--mz-olive-line); background:var(--mz-olive-tint); color:var(--mz-olive-deep);
}
:root body .division-card .go{ text-transform:none; letter-spacing:.01em; font-size:14.5px; }
:root body .section-head.eyebrow-match .eyebrow{ text-transform:none; letter-spacing:.01em; font-size:13.5px; font-weight:600; }

/* filters, card tags, badges */
:root body .city-filter,
:root body .country-filter{ text-transform:none; letter-spacing:.01em; font-size:13.5px; font-weight:600; padding:8px 16px; border-radius:999px; }
:root body .city-filter:hover, :root body .city-filter.active,
:root body .country-filter:hover, :root body .country-filter.active{ background:var(--mz-olive); border-color:var(--mz-olive); color:var(--mz-cream); }
:root body .card .photo .tag{ text-transform:none; letter-spacing:.01em; font-size:12.5px; font-weight:600; padding:5px 12px; background:rgba(255,255,255,.16); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
:root body .hotels-badge{ text-transform:none; letter-spacing:.01em; font-size:13px; border-radius:999px; }

/* Footer contact: keep email and phone on one line on every screen size */
.footer-connect a{ white-space:nowrap; overflow-wrap:normal; word-break:normal; }
@media (max-width:640px){ .footer-connect{ grid-column:1 / -1; } .footer-connect a{ font-size:13.5px; } }
@media (max-width:340px){ .footer-connect a{ font-size:12.5px; } }

/* Hero quality on phones: never magnify a hero photo past its native size.
   The photo keeps its true size at the top and fades into the dark base, instead of being zoomed to fill a tall hero. */
@media (max-width:800px){
  html .hero-bg,html .pkg-hero.cap>img{ bottom:auto; height:100%; max-height:var(--hero-cap,600px); -webkit-mask-image:linear-gradient(180deg,#000 66%,transparent 100%); mask-image:linear-gradient(180deg,#000 66%,transparent 100%); }
  html .pkg-hero.cap{ background:#2a2118; }
}

/* Pop-up forms must scroll when taller than the screen (the rounded-corner rule above used to clip them) */
:root body .modal-box{ border-radius:var(--mz-r-card); overflow-x:hidden; overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); }
:root body .modal-overlay{ overscroll-behavior:contain; }
/* Anchor jumps always land below the fixed bar */
html:root{ scroll-padding-top:104px; }
