/* ==========================================================================
   main.css: all of the site's own styles (Yarish brand version).
   Layout, spacing and motion come from the phase 1 template copy (frozen in
   ../website, tag v1-template-copy). Colours follow the Yarish
   brand guide 2026; fonts and type scale are the template's (owner, 2026-11-22).
   Naming: prefix "mn-", BEM (mn-block__element--modifier). States: is-*, has-*.
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  /* Colours (Yarish brand guide 2026) */
  --mn-dark: #1d304c;          /* brand navy: headings, dark sections, footer */
  --mn-dark-deep: #15243a;     /* deeper navy: hero background */
  --mn-brand: #fa234e;         /* brand red: big text, icons, shapes, focus ring */
  /* The brand red only reaches 3.9:1 on white, below the 4.5:1 AA needs for
     small text. Small red text and red buttons with white labels use this
     deeper red instead (5.2:1 on white, 4.5:1 on the light background). */
  --mn-accent: #db0530;        /* links, labels, buttons */
  --mn-accent-dark: #c2042a;   /* accent on hover */
  --mn-blue: #386dfa;          /* brand blue (gradient end) */
  --mn-pink: #ffa9be;          /* brand pink: small accent text on dark navy (7.4:1; red is only 3.4:1 there) */
  --mn-text: #4f5f78;          /* body text: navy-grey, 5.7:1 on the light background */
  --mn-light: #ecf0f9;         /* brand light: light section background */
  --mn-white: #ffffff;
  --mn-orange: #ffa500;        /* rating stars */
  --mn-line: #dde3f0;          /* thin borders and dividers */
  --mn-field-line: #d3dbeb;    /* form field borders */
  --mn-white-50: rgba(255, 255, 255, 0.5);
  --mn-wa: #25d366;             /* WhatsApp green: icon backgrounds only (white icon, no text) */
  --mn-wa-dark: #107f47;        /* darker WhatsApp green for buttons with white text (5.1:1, AA) */
  --mn-gradient: linear-gradient(90deg, #fa234e, #386dfa);       /* brand gradient 1 */
  --mn-gradient-sky: linear-gradient(90deg, #386dfa, #5fbbff);   /* brand gradient 2 */

  /* Fonts: the template's Barlow pair and type scale, kept on owner request
     (2026-11-22) instead of the brand guide's Parkinsans */
  --mn-font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --mn-font-body: "Barlow Semi Condensed", "Arial Narrow", sans-serif;

  /* Type scale (desktop) */
  --mn-fs-body: 17px;
  --mn-lh-body: 1.75;
  --mn-fs-hero: 90px;
  --mn-fs-h2: 60px;
  --mn-fs-h4: 24px;
  --mn-fs-h5: 27px;
  --mn-fs-label: 14px;

  /* Layout */
  --mn-container: 1220px;      /* 1196px content + 12px side padding each side */
  --mn-section-space: 120px;
  --mn-radius-sm: 15px;
  --mn-radius: 30px;
  --mn-radius-pill: 100px;
  --mn-header-h: 100px;

  /* Motion */
  --mn-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
  --mn-speed: 0.4s;
}

@media (max-width: 991.98px) {
  :root {
    --mn-fs-hero: 60px;
    --mn-fs-h2: 45px;
    --mn-section-space: 90px;
    --mn-header-h: 90px;
  }
}

@media (max-width: 575.98px) {
  :root {
    --mn-fs-hero: 56px;
    --mn-fs-h2: 36px;
    --mn-section-space: 70px;
  }
}

/* 2. Fonts (self-hosted, SIL OFL; files in assets/fonts)
   ========================================================================== */
@font-face { font-family: "Barlow Condensed"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Semi Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); }

/* 3. Base
   ========================================================================== */
body {
  font-family: var(--mn-font-body);
  font-size: var(--mn-fs-body);
  line-height: var(--mn-lh-body);
  color: var(--mn-text);
  background: var(--mn-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--mn-font-head);
  font-weight: 500;
  color: var(--mn-dark);
  line-height: 1.2;
  margin: 0;
}

p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--mn-speed) var(--mn-ease); }
a:hover { color: var(--mn-accent); }
ul { list-style: none; margin: 0; padding: 0; }

/* Visible keyboard focus everywhere */
:focus-visible { outline: 2px solid var(--mn-brand); outline-offset: 3px; }

/* Text only for screen readers */
.mn-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Thin scrollbar in the accent colour (shared by the page and inner scroll areas) */
html { scrollbar-width: thin; scrollbar-color: var(--mn-brand) var(--mn-light); }
::-webkit-scrollbar { width: 7px; height: 7px; }
::-webkit-scrollbar-track { background: var(--mn-light); }
::-webkit-scrollbar-thumb { background: var(--mn-brand); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--mn-accent-dark); }

/* 4. Layout helpers
   ========================================================================== */
/* Bootstrap's .container keeps its normal steps (540/720/960px); from 1200px up it is
   fixed at the reference width instead of Bootstrap's 1140/1320px. */
@media (min-width: 1200px) {
  .container { max-width: var(--mn-container); }
}

.mn-section { padding-block: var(--mn-section-space); }
.mn-section--light { background: var(--mn-light); }
.mn-section--dark { background: var(--mn-dark); color: var(--mn-white-50); }

/* Icons: inline SVGs sized by font-size, drawn with currentColor */
.mn-icon { width: 1em; height: 1em; flex-shrink: 0; vertical-align: -0.125em; }
.mn-icon--thin { stroke-width: 1; }   /* no effect on the solid Phosphor icons; kept so the markup needs no change if line icons return */
.mn-icon--fill { fill: currentColor; stroke: none; }

/* 5. Buttons
   Pill with a label and a round white "arrow" bubble on the right.
   ========================================================================== */
.mn-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 5px 5px 5px 25px;
  border-radius: var(--mn-radius-pill);
  background: var(--mn-accent);
  color: var(--mn-white);
  font-size: var(--mn-fs-body);
  line-height: 1;
  border: 0;
  transition: background var(--mn-speed) var(--mn-ease), color var(--mn-speed) var(--mn-ease);
}
.mn-btn__arrow {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--mn-white);
  color: var(--mn-dark);
  font-size: 16px;
  transition: transform var(--mn-speed) var(--mn-ease);
}
.mn-btn:hover { background: var(--mn-dark); color: var(--mn-white); }
.mn-btn:hover .mn-btn__arrow { transform: rotate(45deg); }

/* Light version (on dark backgrounds) */
.mn-btn--light { background: var(--mn-white); color: var(--mn-dark); }
.mn-btn--light .mn-btn__arrow { background: var(--mn-accent); color: var(--mn-white); }
.mn-btn--light:hover { background: var(--mn-accent); color: var(--mn-white); }

/* 6. Section heading (small spaced label + large title)
   ========================================================================== */
.mn-label {
  display: block;
  font-family: var(--mn-font-head);
  font-size: var(--mn-fs-label);
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mn-accent);
  margin-bottom: 15px;
}
.mn-title {
  font-size: var(--mn-fs-h2);
  line-height: 1;
  letter-spacing: -2px;
}
.mn-title--light { color: var(--mn-white); }
/* Accent words in titles are large text, so the full brand red passes AA (3:1) */
.mn-accent { color: var(--mn-brand); }

.mn-heading { margin-bottom: 25px; }
.mn-heading--center { text-align: center; margin-bottom: 40px; }

/* Titles tilt up into place when they scroll into view (the reference's "rotate text") */
.js [data-rotate-in] {
  opacity: 0;
  transform: perspective(1000px) translate3d(0, 50px, -50px) rotateX(-45deg);
  transform-origin: 50% 0;
  transition: transform 0.8s var(--mn-ease), opacity 0.8s var(--mn-ease);
}
.js [data-rotate-in].is-in { opacity: 1; transform: none; }

/* Huge faded word behind a section (the parent needs position: relative + overflow: hidden) */
.mn-watermark {
  position: absolute;
  font-family: var(--mn-font-head);
  font-size: 275px; font-weight: 600; line-height: 1;
  text-transform: uppercase;
  color: var(--mn-text); opacity: 0.06;
  white-space: nowrap;
  pointer-events: none; user-select: none;
}

/* Round arrow link (blog cards etc.) */
.mn-round-link {
  display: grid; place-items: center;
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--mn-accent); color: var(--mn-white);
  font-size: 16px;
  transition: background var(--mn-speed) var(--mn-ease), color var(--mn-speed) var(--mn-ease);
}
.mn-round-link:hover { background: var(--mn-dark); color: var(--mn-white); }

/* Solid (filled) line icons */
.mn-icon--solid { fill: currentColor; }

/* Photo shaped as four rounded tiles (own SVG mask) */
.mn-shape-quad {
  -webkit-mask: url("../img/shapes/quad-mask.svg") center / 100% 100% no-repeat;
  mask: url("../img/shapes/quad-mask.svg") center / 100% 100% no-repeat;
}

/* 7. Scroll reveal (replaces the reference's WOW.js; uses Animate.css effects)
   Elements with data-reveal stay hidden until they scroll into view.
   ========================================================================== */
.js [data-reveal] { visibility: hidden; }
.js [data-reveal].is-revealed { visibility: visible; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { visibility: visible; }
  .animate__animated { animation: none !important; }
}

/* 8. Skip link (visible only when focused with the keyboard)
   ========================================================================== */
.mn-skip {
  position: fixed; top: 10px; left: 10px; z-index: 2000;
  padding: 10px 20px; border-radius: var(--mn-radius-pill);
  background: var(--mn-dark); color: var(--mn-white);
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.mn-skip:focus { transform: none; color: var(--mn-white); }

/* 9. Loading screen (white curtain, logo, arrow flying along a route, percentage;
   animated by main.js section 2)
   ========================================================================== */
.mn-preloader {
  position: fixed; inset: 0; z-index: 1500;
  display: grid; place-items: center;
}
/* Once it starts lifting, clicks go through to the page underneath */
.mn-preloader.is-leaving { pointer-events: none; }
.mn-preloader__curtain { position: absolute; inset: 0; width: 100%; height: 100%; }
.mn-preloader__curtain path { fill: var(--mn-white); }
.mn-preloader__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  width: min(260px, 70vw);
}
.mn-preloader__logo { width: 170px; height: auto; }
.mn-preloader__route { display: block; width: 100%; height: auto; overflow: visible; }
.mn-preloader__track {
  fill: none; stroke: var(--mn-line); stroke-width: 2;
  stroke-dasharray: 6 8; stroke-linecap: round;
}
.mn-preloader__trail {
  fill: none; stroke: url(#mn-preloader-gradient); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;   /* hidden until main.js draws it */
}
.mn-preloader__plane {
  fill: var(--mn-brand); stroke: var(--mn-brand);
  stroke-width: 14; stroke-linejoin: round;        /* rounded corners, like the logo's arrow */
}
.mn-preloader__count {
  margin: 0;
  font-family: var(--mn-font-head); font-weight: 500;
  font-size: 18px; letter-spacing: 0.06em; color: var(--mn-dark);
  font-variant-numeric: tabular-nums;              /* digits keep one width, so the number doesn't wobble */
}
/* No JS or reduced motion: never block the page */
html:not(.js) .mn-preloader { display: none; }
@media (prefers-reduced-motion: reduce) { .mn-preloader { display: none; } }

/* 10. Header and main menu
   ========================================================================== */
.mn-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--mn-white);
  transition: box-shadow var(--mn-speed) var(--mn-ease);
}
.mn-header.is-scrolled { box-shadow: 0 10px 30px rgba(29, 48, 76, 0.06); }
.mn-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--mn-header-h);
  transition: height var(--mn-speed) var(--mn-ease);
}
.mn-header.is-scrolled .mn-header__inner { height: 85px; }
/* Yarish logo is stacked (name over "travel & tourism"), so it is sized by height */
.mn-header__logo img { width: 104px; height: auto; }

/* Page content starts below the fixed header */
.mn-main { display: block; padding-top: var(--mn-header-h); }
.mn-main:focus { outline: none; }

.mn-header__toggle {
  display: none;
  width: 44px; height: 44px; margin-right: -10px;
  place-items: center;
  border: 0; background: none; color: var(--mn-accent);
  font-size: 26px;
}

.mn-nav__list { display: flex; align-items: center; gap: 26px; margin-right: 13px; }
.mn-nav__item { position: relative; }
.mn-nav__link {
  display: block;
  font-family: var(--mn-font-head);
  font-size: 21px; font-weight: 500; line-height: 30px;
  letter-spacing: -0.5px; text-transform: uppercase;
  color: var(--mn-dark);
}
.mn-nav__link.is-active,
.mn-nav__item:hover > .mn-nav__link,
.mn-nav__item.is-open > .mn-nav__link { color: var(--mn-accent); }

/* The submenu toggle is for touch screens; on desktop it only appears for keyboard users */
.mn-nav__sub-toggle {
  position: absolute; top: 0; right: -14px;
  width: 14px; height: 30px; padding: 0;
  border: 0; background: none; color: var(--mn-dark);
  font-size: 12px; opacity: 0;
}
.mn-nav__sub-toggle:focus-visible { opacity: 1; }

/* Desktop dropdown card */
.mn-nav__sub {
  position: absolute; top: calc(100% + 8px); left: -13px;
  width: 230px; padding: 25px;
  background: var(--mn-white);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity var(--mn-speed) var(--mn-ease), transform var(--mn-speed) var(--mn-ease), visibility var(--mn-speed);
}
/* Invisible bridge so the mouse can travel from the link to the card */
.mn-nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -30px; height: 30px; }
.mn-nav__item--has-sub:hover > .mn-nav__sub,
.mn-nav__item.is-open > .mn-nav__sub { opacity: 1; visibility: visible; transform: none; }
.mn-nav__sub-link {
  display: block; padding: 4px 0;
  font-size: 17px; line-height: 29.75px; color: var(--mn-dark);
}
.mn-nav__sub-link:hover { color: var(--mn-accent); }

/* Mobile and tablet: hamburger + panel under the header */
@media (max-width: 991.98px) {
  .mn-header__inner { padding-inline: 24px; }   /* the reference header sits 12px inside the content edge here */
  .mn-header__logo img { width: 87px; }   /* 50px tall on small screens */
  .mn-header.is-scrolled .mn-header__inner { height: 70px; }
  .mn-header__toggle { display: grid; }
  .mn-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--mn-header-h));
    overflow-y: auto;
    background: var(--mn-light);
    display: none;
  }
  .mn-header.is-menu-open .mn-nav { display: block; }
  .mn-nav__list {
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px 0 25px;
    max-width: 720px; margin: 0 auto;
  }
  .mn-nav__link { padding: 8px 20px; line-height: 30px; }
  .mn-nav__sub-toggle {
    opacity: 1; top: 0; right: 10px;
    width: 46px; height: 46px; font-size: 16px;
    display: grid; place-items: center;
  }
  .mn-nav__sub-toggle[aria-expanded="true"] .mn-icon { transform: rotate(180deg); }
  .mn-nav__sub {
    position: static; width: auto; padding: 0 20px 10px 35px;
    background: none; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none;
    display: none;
  }
  .mn-nav__sub::before { display: none; }
  .mn-nav__item.is-open > .mn-nav__sub { display: block; }
  /* Hover must not open submenus on touch screens */
  .mn-nav__item--has-sub:hover > .mn-nav__sub { display: none; }
  .mn-nav__item--has-sub.is-open:hover > .mn-nav__sub { display: block; }
}

/* 11. Footer
   ========================================================================== */
.mn-footer {
  position: relative;
  padding-top: 100px;
  background: var(--mn-dark);
  color: var(--mn-white-50);
  overflow: hidden;
}
.mn-footer a { color: var(--mn-white); }
.mn-footer a:hover { color: var(--mn-pink); }
.mn-footer .mn-label { color: var(--mn-pink); }   /* small label on navy */

/* Underlined text link (thin line under the words) */
.mn-link-line { border-bottom: 1px solid currentColor; }

/* Trip enquiry call-out at the top of the footer (in the template's newsletter spot) */
.mn-footer-cta { max-width: 688px; margin-inline: auto; text-align: center; }
.mn-footer-cta .mn-title { margin-bottom: 20px; }
.mn-footer-cta__dot { color: var(--mn-accent); }
.mn-footer-cta__note { margin-bottom: 30px; }
.mn-footer-cta .mn-contact-btns { justify-content: center; }

.mn-insta {
  position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr);
  margin: 60px 12px 0;
  border-radius: var(--mn-radius);
  overflow: hidden;
}
.mn-insta__img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mn-insta__badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 20px; border-radius: 24px;
  background: var(--mn-white);
  line-height: 30px; white-space: nowrap;
}
.mn-footer .mn-insta__badge { color: var(--mn-dark); }
.mn-footer .mn-insta__badge:hover { color: var(--mn-accent); }

.mn-footer__bottom { position: relative; padding-block: 55px; }
.mn-footer__watermark {
  position: absolute; right: 0; top: 0;
  font-family: var(--mn-font-head);
  font-size: 275px; font-weight: 600; line-height: 1;
  text-transform: uppercase;
  color: var(--mn-text); opacity: 0.08;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.mn-footer__bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-inline: 22px;   /* the reference bar sits 10px inside the content edge */
}
.mn-footer__links { display: flex; flex-wrap: wrap; gap: 6px 23px; }
.mn-footer__social { display: flex; gap: 14px; font-size: 17px; }
.mn-footer__social a { display: grid; place-items: center; min-width: 24px; min-height: 24px; }

@media (max-width: 991.98px) {
  .mn-footer { padding-top: 80px; }
  .mn-insta { grid-template-columns: repeat(3, 1fr); }
  .mn-footer__bar { flex-direction: column; text-align: center; }
  .mn-footer__links { justify-content: center; }
  .mn-footer__watermark { font-size: 150px; right: 50%; transform: translateX(50%); }
}
@media (max-width: 575.98px) {
  .mn-footer__social { gap: 6px; }
  .mn-footer__social a { min-width: 44px; min-height: 44px; }   /* tap target */
  .mn-footer__links a { display: inline-block; padding-block: 8px; }
  .mn-footer__watermark { font-size: 110px; }
  .mn-footer__bottom { padding-bottom: 90px; }   /* room for the floating WhatsApp and back-to-top buttons */
}

/* 12. Back-to-top button with scroll progress ring
   ========================================================================== */
.mn-to-top {
  position: fixed; right: 16px; bottom: 30px; z-index: 900;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: none; color: var(--mn-accent);
  font-size: 16px;
  box-shadow: inset 0 0 0 2px rgba(250, 35, 78, 0.25);
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity var(--mn-speed), transform var(--mn-speed), visibility var(--mn-speed);
}
.mn-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.mn-to-top__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.mn-to-top__ring circle {
  fill: none; stroke: var(--mn-accent); stroke-width: 2;
  stroke-dasharray: 151;   /* circumference of r=24 */
  stroke-dashoffset: 151;
}
@media (max-width: 575.98px) { .mn-to-top { right: 16px; bottom: 16px; } }

/* Floating WhatsApp button, bottom-left on every page (back to top is bottom-right) */
.mn-wa-float {
  position: fixed; left: 16px; bottom: 30px; z-index: 900;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--mn-wa); color: var(--mn-white);
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(29, 48, 76, 0.25);
  transition: transform var(--mn-speed) var(--mn-ease);
}
.mn-wa-float:hover { color: var(--mn-white); transform: scale(1.08); }
@media (max-width: 575.98px) { .mn-wa-float { bottom: 16px; width: 52px; height: 52px; font-size: 26px; } }

/* WhatsApp + email buttons (contact_buttons() in components.php): wherever a price or
   "Book now" would be, since Yarish shows no prices and takes enquiries by chat or email */
.mn-contact-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mn-contact-btns a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px;
  font-weight: 500; white-space: nowrap;
  transition: background var(--mn-speed) var(--mn-ease), color var(--mn-speed) var(--mn-ease);
}
.mn-contact-btns .mn-icon { font-size: 18px; }
.mn-contact-btns__wa { background: var(--mn-wa-dark); color: var(--mn-white); }
.mn-contact-btns__wa:hover { background: var(--mn-dark); color: var(--mn-white); }
.mn-contact-btns__mail { background: var(--mn-light); color: var(--mn-dark); }
.mn-contact-btns__mail:hover { background: var(--mn-accent); color: var(--mn-white); }
/* On dark backgrounds (footer) */
.mn-contact-btns--light .mn-contact-btns__mail { background: var(--mn-white); }
/* .mn-footer a sets white text for footer links, so the white email button needs its dark text back */
.mn-footer .mn-contact-btns__mail { color: var(--mn-dark); }
.mn-footer .mn-contact-btns__wa:hover { background: var(--mn-white); color: var(--mn-dark); }
.mn-footer .mn-contact-btns__mail:hover { background: var(--mn-accent); color: var(--mn-white); }
/* Small version for cards: stacked, smaller text, still 44px tall for touch */
.mn-contact-btns--compact { flex-direction: column; align-items: stretch; gap: 6px; }
.mn-contact-btns--compact a { min-height: 44px; padding: 0 16px; font-size: 15px; justify-content: center; }
.mn-contact-btns--compact .mn-icon { font-size: 16px; }
/* Phones: the card's buttons sit side by side across the full card width */
@media (max-width: 767.98px) {
  .mn-contact-btns--compact { flex-direction: row; width: 100%; }
  .mn-contact-btns--compact a { flex: 1; }
}
/* Package details card: full-width buttons, one above the other */
.mn-facts .mn-contact-btns { flex-direction: column; }
.mn-facts .mn-contact-btns a { justify-content: center; }

/* ==========================================================================
   HOME PAGE SECTIONS (also reused by inner pages where they appear)
   ========================================================================== */

/* 13. Hero: navy, world map, text left, drifting photo columns right
   ========================================================================== */
.mn-hero {
  position: relative;
  height: 800px;
  background: var(--mn-dark);
  overflow: hidden;
}
.mn-hero__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mn-hero__inner { position: relative; height: 100%; display: flex; align-items: center; }
.mn-hero__text { position: relative; z-index: 2; max-width: 560px; }
.mn-hero__label {
  display: block; margin-bottom: 20px;
  font-family: var(--mn-font-head); font-size: 15px; font-weight: 500;
  letter-spacing: 6px; text-transform: uppercase; color: var(--mn-pink);
}
.mn-hero__title {
  font-size: var(--mn-fs-hero); line-height: 1; letter-spacing: -2px;
  text-transform: uppercase; color: var(--mn-white);
}
.mn-hero__accent {
  font-size: 0.5em; letter-spacing: 0; text-transform: none; color: var(--mn-accent);
  white-space: nowrap;   /* keeps "with our team." on one line, as in the reference */
}
.mn-hero__lead { max-width: 470px; margin: 20px 0 35px; color: var(--mn-white-50); }

/* Photo columns: narrow / wide / narrow, 20px apart, filling the right of the content area */
.mn-hero__gallery {
  position: absolute; top: 0; bottom: 0; right: 12px;
  display: flex; gap: 20px;
}
.mn-hero__col { width: 164px; overflow: hidden; }
.mn-hero__col--wide { width: 218px; }
.mn-hero__track {
  display: flex; flex-direction: column; gap: 15px;
  animation: mn-drift-up 40s linear infinite;
}
.mn-hero__col--down .mn-hero__track { animation-name: mn-drift-down; }
.mn-hero__track img { width: 100%; height: 300px; object-fit: cover; border-radius: 82px; }
.mn-hero__col--wide .mn-hero__track img { height: 400px; border-radius: 109px; }
/* The track holds each list twice, so moving it by half loops without a jump */
@keyframes mn-drift-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 7.5px)); } }
@keyframes mn-drift-down { from { transform: translateY(calc(-50% - 7.5px)); } to { transform: translateY(0); } }

.mn-hero__star { position: absolute; left: 10.5%; top: 16%; width: 34px; height: auto; }   /* brand navigation arrow */
.mn-hero__compass { position: absolute; left: 45%; top: 40%; width: 46px; }   /* brand pin point */
.mn-hero__planes { position: absolute; inset: 0; pointer-events: none; }
.mn-hero__plane { position: absolute; height: auto; }
.mn-hero__plane--down { left: 40%; bottom: -20px; width: 170px; }
.mn-hero__plane--up { right: 0; top: 45%; width: 240px; }

@media (max-width: 991.98px) {
  .mn-hero { height: auto; min-height: 800px; }
  .mn-hero__inner { min-height: 800px; padding-block: 80px; }
  .mn-hero__gallery, .mn-hero__compass, .mn-hero__planes { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mn-hero__track { animation: none; } }

/* 14. About intro: two offset photos + text, features, counter
   ========================================================================== */
.mn-about { position: relative; overflow: hidden; }
.mn-about .container { position: relative; z-index: 1; }
.mn-about__images { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.mn-about__img img { width: 100%; height: 450px; object-fit: cover; border-radius: 40px; }
.mn-about__img--low { margin-top: 70px; }
.mn-about__lead { margin-bottom: 20px; }

.mn-features { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 20px; }
.mn-features__item { display: flex; align-items: center; gap: 15px; font-weight: 500; color: var(--mn-dark); }
.mn-features__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--mn-light); color: var(--mn-accent); font-size: 20px;
}
.mn-about__footer { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; margin-top: 35px; }
/* WhatsApp chat line (where the template had its review counter) */
.mn-chat-line { display: flex; align-items: center; gap: 12px; color: var(--mn-dark); }
.mn-chat-line__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--mn-wa); color: var(--mn-white); font-size: 24px;
  transition: transform var(--mn-speed) var(--mn-ease);
}
.mn-chat-line:hover .mn-chat-line__icon { transform: scale(1.08); }
.mn-chat-line__label { display: block; font-size: 14px; line-height: 1.5; color: var(--mn-text); }
.mn-chat-line__value { display: block; font-family: var(--mn-font-head); font-size: 24px; font-weight: 500; line-height: 1.1; }
.mn-chat-line:hover .mn-chat-line__value { color: var(--mn-accent); }
.mn-about__watermark { right: -40px; bottom: 90px; }

@media (max-width: 991.98px) {
  .mn-about__images { margin-bottom: 50px; }
  .mn-about__watermark { display: none; }
}
@media (max-width: 575.98px) {
  .mn-about__images { grid-template-columns: 1fr; }
  .mn-about__img--low { margin-top: 0; }
  .mn-features { grid-template-columns: 1fr; }
}

/* 15. Tours: pinned heading + stacking tour cards
   ========================================================================== */
.mn-tours__lead { margin-bottom: 30px; max-width: 380px; }
.mn-tour-card { border-radius: 24px; overflow: hidden; background: var(--mn-white); }
.mn-tour-card--stack { margin-bottom: 60px; }
.mn-tour-card--stack:last-child { margin-bottom: 0; }
.mn-tour-card__media { display: block; overflow: hidden; }
.mn-tour-card__media img { width: 100%; height: 500px; object-fit: cover; transition: transform 0.8s var(--mn-ease); }
.mn-tour-card:hover .mn-tour-card__media img { transform: scale(1.05); }
.mn-tour-card__body { display: flex; align-items: center; gap: 20px; padding: 25px; }
.mn-tour-card__main { flex: 1; min-width: 0; }
.mn-tour-card__place { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.75; }
.mn-tour-card__place .mn-icon { color: var(--mn-accent); }
.mn-tour-card__title { font-size: var(--mn-fs-h4); line-height: 1.2; }
.mn-tour-card__info {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 15px; border-radius: 15px; background: var(--mn-light);
  font-weight: 500; line-height: 1.3; color: var(--mn-dark);
}
.mn-tour-card__info small { display: block; font-size: 13px; font-weight: 400; color: var(--mn-text); }
.mn-tour-card__icon {
  display: grid; place-items: center;
  width: 45px; height: 45px; border-radius: 50%;
  background: var(--mn-white); color: var(--mn-accent); font-size: 16px;
}
.mn-tour-card__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }

@media (max-width: 991.98px) {
  .mn-tours__intro { margin-bottom: 50px; }
}
@media (max-width: 767.98px) {
  .mn-tour-card__media img { height: 300px; }
  .mn-tour-card__body { flex-wrap: wrap; }
  .mn-tour-card__main, .mn-tour-card__info { flex-basis: 100%; }
  .mn-tour-card__meta { flex-direction: row; justify-content: space-between; align-items: center; flex-basis: 100%; }
}

/* 16. Services banner + scrolling service names
   ========================================================================== */
.mn-services { position: relative; background: var(--mn-light); overflow: hidden; }
/* Only the content is padded; the photo window starts at the very top of the section */
.mn-services__banner { position: relative; padding-top: 120px; }
.mn-services__window {
  position: absolute; top: 0; left: 12px; right: 12px;
  height: 700px;
  border-radius: 150px 150px 60px 60px;
  overflow: hidden;
}
.mn-services__bg { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; }
.mn-services__inner { position: relative; text-align: center; }
.mn-services__title { max-width: 620px; margin: 0 auto 15px; }

.mn-spin-badge {
  position: relative;
  display: grid; place-items: center;
  width: 160px; height: 160px; margin: 15px auto 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  color: var(--mn-white); font-size: 36px;
}
.mn-spin-badge:hover { color: var(--mn-white); background: rgba(255, 255, 255, 0.25); }
.mn-spin-badge__text {
  position: absolute; inset: 0;
  font-family: var(--mn-font-body); font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  fill: currentColor;
  animation: mn-spin 15s linear infinite;
}
@keyframes mn-spin { to { transform: rotate(360deg); } }

.mn-service-card {
  margin-bottom: 25px;
  padding: 40px;
  border-radius: 24px;
  background: var(--mn-white);
  box-shadow: 0 10px 30px rgba(29, 48, 76, 0.04);
  text-align: center; color: var(--mn-accent); font-size: 50px;
}
/* Icon as its own block, so the text line height adds no space around it */
.mn-service-card > .mn-icon { display: block; margin-inline: auto; }
.mn-service-card__title { margin-top: 15px; font-size: var(--mn-fs-h4); }
/* Banner cards that open a service page: whole card clickable, lifts a little on hover/focus */
.mn-service-card--link { position: relative; transition: transform var(--mn-speed) var(--mn-ease), box-shadow var(--mn-speed) var(--mn-ease); }
.mn-service-card--link:hover, .mn-service-card--link:focus-within { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(29, 48, 76, 0.12); }
.mn-service-card--link .mn-service-card__title a { color: var(--mn-dark); }
.mn-service-card--link:hover .mn-service-card__title a { color: var(--mn-accent); }

.mn-marquee { position: relative; padding: 90px 0; overflow: hidden; }
.mn-marquee__track { display: flex; width: max-content; animation: mn-marquee 60s linear infinite; }
.mn-marquee__item {
  display: inline-flex; align-items: center; gap: 30px; padding-right: 30px;
  font-size: 120px; font-weight: 500; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
  color: var(--mn-text); opacity: 0.12;
}
.mn-marquee__item .mn-icon { font-size: 70px; }
@keyframes mn-marquee { to { transform: translateX(-50%); } }

@media (max-width: 991.98px) {
  .mn-services__window { border-radius: 80px 80px 40px 40px; }
  .mn-marquee__item { font-size: 70px; }
  .mn-marquee__item .mn-icon { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .mn-marquee__track, .mn-spin-badge__text { animation: none; } }

/* 18. FAQ: shaped photos + accordion
   ========================================================================== */
.mn-faq { position: relative; overflow: hidden; background: var(--mn-white); }
.mn-faq .container { position: relative; z-index: 1; }
.mn-faq__images { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.mn-faq__shape { height: 386px; }
.mn-faq__shape img { width: 100%; height: 100%; object-fit: cover; }
.mn-faq__img-low { margin-top: 120px; }
.mn-faq__watermark { left: 40px; bottom: 30px; }

.mn-accordion__heading { font-family: var(--mn-font-body); font-size: 19px; }
.mn-accordion__btn {
  width: 100%; padding: 20px 30px 10px 45px;
  border: 0; background: none; text-align: left;
  font: inherit; font-weight: 500; line-height: var(--mn-lh-body); color: var(--mn-dark);   /* body line height: 63px rows, as measured */
}
.mn-accordion__btn:hover { color: var(--mn-accent); }
.mn-accordion__item { position: relative; border-radius: 10px; overflow: hidden; transition: background var(--mn-speed); }
.mn-accordion__item.is-open { background: linear-gradient(180deg, var(--mn-light), var(--mn-white)); }
.mn-accordion__panel { position: relative; padding: 5px 80px 20px 45px; }
.mn-accordion__deco { position: absolute; right: 0; bottom: 20px; font-size: 64px; color: var(--mn-text); opacity: 0.15; }

@media (max-width: 991.98px) {
  .mn-faq__images { margin-bottom: 50px; }
  .mn-faq__watermark { display: none; }
}
@media (max-width: 575.98px) {
  .mn-faq__shape { height: 300px; }
  .mn-faq__img-low { margin-top: 60px; }
  .mn-accordion__btn { padding-left: 20px; }
  .mn-accordion__panel { padding: 5px 40px 20px 20px; }
}

/* 20. Inner page banner: centred label + h1, then a wide photo in a rounded window.
   The photo is taller than its window and slides inside it while scrolling (parallax).
   The reference uses data-speed 0.5, which leaves gaps at the window edge on screens taller
   than ~1000px; data-speed="auto" keeps the photo covering the window at every height.
   ========================================================================== */
.mn-page-banner {
  padding-top: 120px; /* stays 120px on phones too, unlike other sections */
  background: var(--mn-light);
}
.mn-page-banner__heading { text-align: center; margin-bottom: 60px; }
.mn-page-banner__heading .mn-label { margin-bottom: 0; }
.mn-page-banner__title { margin-bottom: 15px; }
.mn-page-banner__window {
  position: relative;
  height: 700px;
  margin-inline: 12px;
  border-radius: var(--mn-radius-pill);
  overflow: hidden;
}
.mn-page-banner__img {
  position: absolute; left: 0; top: 0;
  width: 100%; height: 1000px; /* 300px taller than the window = how far it can slide */
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .mn-page-banner__title { font-size: 48px; }
}

/* 21. 404 page: one full screen, tinted photo, outlined number, search box
   ========================================================================== */
.mn-notfound {
  position: relative;
  display: flex; align-items: center;
  min-height: calc(100vh - var(--mn-header-h));
  min-height: calc(100svh - var(--mn-header-h));
  padding-block: var(--mn-section-space);
  overflow: hidden;
  text-align: center;
  color: var(--mn-white);
}
/* Photo + navy tint behind the content */
.mn-notfound__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mn-notfound::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(3, 12, 33, 0.5);
}
.mn-notfound__inner { position: relative; z-index: 1; max-width: 610px; }

/* Outlined number: transparent fill with a thin white stroke */
.mn-notfound__code {
  font-family: var(--mn-font-body);
  font-size: 200px; font-weight: 600; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--mn-white);
}
.mn-notfound__title { margin-bottom: 15px; font-size: 36px; color: var(--mn-white); }
.mn-notfound__text { margin-bottom: 30px; color: rgba(255, 255, 255, 0.8); }
.mn-notfound__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mn-notfound .mn-contact-btns__mail { background: var(--mn-white); }
/* Message sits under the form without taking space, so the block stays centred like the reference */
.mn-notfound__status { position: absolute; left: 12px; right: 12px; top: 100%; margin-top: 15px; }

/* Search pill (outlined, transparent) with a round teal button inside */
.mn-search { position: relative; }
.mn-search__input {
  width: 100%; height: 58px;
  padding: 0 65px 0 20px;
  border: 1px solid var(--mn-white-50); border-radius: 60px;
  background: transparent; color: var(--mn-white);
  font-size: var(--mn-fs-body);
}
.mn-search__input::placeholder { color: var(--mn-white); opacity: 1; }
.mn-search__input[aria-invalid="true"] { border-color: var(--mn-white); }
.mn-search__submit {
  position: absolute; top: 5px; right: 5px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--mn-accent); color: var(--mn-white);
  font-size: 18px;
  transition: background var(--mn-speed) var(--mn-ease);
}
.mn-search__submit:hover { background: var(--mn-dark); }

/* 22. Light inner pages: the reference gives inner pages a light grey background
   (set with $page['light']). Sections with their own background keep it.
   ========================================================================== */
.mn-body--light { background: var(--mn-light); }

/* Faded watermark variant: the word fades from a navy tint at the top into the page colour */
.mn-watermark--fade {
  opacity: 1;
  color: transparent;
  background: linear-gradient(rgba(29, 48, 76, 0.1), var(--mn-light));
  -webkit-background-clip: text;
  background-clip: text;
}

/* 24. Services page: full service cards (icon, title, text, hover tab) and closing line
   ========================================================================== */
/* A link whose click area covers its whole card (the card needs position: relative) */
.mn-stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.mn-service-list { padding-bottom: var(--mn-section-space); }
.mn-service-card--full { position: relative; overflow: hidden; }
.mn-service-card--full .mn-service-card__title { margin: 11px 0 10px; }
.mn-service-card--full .mn-service-card__title a:hover { color: var(--mn-dark); }
.mn-service-card__text { font-size: var(--mn-fs-body); color: var(--mn-dark); }

/* Teal corner tab with an arrow, fades in on hover or keyboard focus */
.mn-service-card__tab {
  position: absolute; top: 0; right: 0;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 0 0 0 60px;
  padding: 0 0 8px 8px;
  background: var(--mn-accent); color: var(--mn-white);
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.5s var(--mn-ease);
}
.mn-service-card--full:hover .mn-service-card__tab,
.mn-service-card--full:focus-within .mn-service-card__tab { opacity: 1; }

.mn-tagline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 15px;
  margin-top: 30px;
  text-align: center;
}
.mn-tagline__badge {
  display: grid; place-items: center;
  width: 55px; height: 55px; border-radius: 50%;
  background: var(--mn-accent); color: var(--mn-white);
  font-size: 22px;
}
.mn-tagline__brand { font-weight: 500; color: var(--mn-dark); border-bottom: 1px solid currentColor; }

/* 25. Detail pages (service details, later tour details): text column, checklist, quote card
   ========================================================================== */
.mn-detail__heading { margin-bottom: 15px; font-size: var(--mn-fs-h5); }
.mn-detail__text { margin-bottom: 30px; }
.mn-detail { padding-bottom: 0; }  /* the photo fan follows straight on, as in the reference */
.mn-detail--faq { padding-top: 30px; padding-bottom: var(--mn-section-space); }

.mn-checklist li { display: flex; align-items: flex-start; gap: 15px; }
.mn-checklist li + li { margin-top: 10px; }
.mn-checklist .mn-icon { margin-top: 0.4em; color: var(--mn-accent); font-size: 15px; stroke-width: 1.5; }
.mn-checklist + .mn-detail__heading { margin-top: 30px; }   /* same gap as after a paragraph */
/* Light grey pages: the email button turns white so it stands out from the page background */
.mn-detail .mn-contact-btns__mail { background: var(--mn-white); }
.mn-detail .mn-contact-btns { margin-bottom: 50px; }   /* keeps the quote card (stacked below on phones) clear of the buttons */

/* Red quote card that floats gently up and down */
.mn-quote-card {
  position: relative; overflow: hidden;
  margin: 0;
  padding: 35px;
  border-radius: 24px;
  background: var(--mn-accent); color: var(--mn-white);
  animation: mn-float 1s ease-in-out infinite alternate;
}
.mn-quote-card p { position: relative; font-size: 18px; line-height: 1.5; font-weight: 500; }
.mn-quote-card cite {
  position: relative;
  display: block; margin-top: 15px; padding-left: 40px;
  font-style: italic; line-height: 1;
}
.mn-quote-card cite::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 30px; height: 1px; background: var(--mn-white-50);
}
.mn-quote-card__deco { position: absolute; right: 45px; top: 45px; font-size: 95px; opacity: 0.15; }
@keyframes mn-float { to { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .mn-quote-card { animation: none; } }

@media (max-width: 991.98px) {
  .mn-quote-card { margin-top: 15px; }
}

/* 26. Photo fan: five square photos stacked in the middle; main.js spreads them out
   sideways and tilts them as the section scrolls into view (±180px and ±8° steps).
   ========================================================================== */
.mn-fan { padding-top: 30px; overflow: hidden; }
.mn-fan__stage { display: grid; justify-content: center; padding-top: 90px; height: 500px; }
.mn-fan__card {
  grid-area: 1 / 1;
  width: 320px; height: 320px;
  border-radius: 20px; overflow: hidden;
}
.mn-fan__card img { width: 100%; height: 100%; object-fit: cover; }
/* The first photo sits on top */
.mn-fan__card:nth-child(1) { z-index: 5; }
.mn-fan__card:nth-child(2) { z-index: 4; }
.mn-fan__card:nth-child(3) { z-index: 3; }
.mn-fan__card:nth-child(4) { z-index: 2; }
.mn-fan__card:nth-child(5) { z-index: 1; }

/* 28. Destinations page: scrolling names, then destination cards (3 per row on desktop)
   ========================================================================== */
.mn-dest-list { padding: 10px 0 110px; }   /* + the cards' own 70px bottom margin = 180px, as in the reference */

.mn-dest-card {
  position: relative;
  margin-bottom: 70px;
  border-radius: 24px; overflow: hidden;
  transition: transform 0.4s var(--mn-ease);
}
.mn-dest-card__link { display: block; color: var(--mn-dark); }
.mn-dest-card__link:hover { color: var(--mn-dark); }
.mn-dest-card__img {
  width: 100%; height: 459px; object-fit: cover;
  transition: transform 0.8s var(--mn-ease);
}
/* White strip along the bottom: name left, tour count right */
.mn-dest-card__strip {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  min-height: 60px; padding: 10px 20px;
  border-radius: 15px;
  background: var(--mn-white);
  transition: background var(--mn-speed) var(--mn-ease);
}
.mn-dest-card__name { flex: 1; font-size: var(--mn-fs-h4); }
.mn-dest-card__count { font-size: 15px; transition: opacity var(--mn-speed) var(--mn-ease); }
/* Arrow sits where the count is; it shows on hover instead of the count */
.mn-dest-card__arrow {
  position: absolute; right: 20px; top: 50%;
  font-size: 22px; color: var(--mn-white);
  opacity: 0; transform: translate(-10px, -50%);
  transition: opacity var(--mn-speed) var(--mn-ease), transform var(--mn-speed) var(--mn-ease);
}
.mn-dest-card:hover, .mn-dest-card:focus-within { transform: translateY(-5px); }
.mn-dest-card:hover .mn-dest-card__img, .mn-dest-card:focus-within .mn-dest-card__img { transform: scale(1.1); }
.mn-dest-card:hover .mn-dest-card__strip, .mn-dest-card:focus-within .mn-dest-card__strip { background: var(--mn-accent); }
.mn-dest-card:hover .mn-dest-card__name, .mn-dest-card:focus-within .mn-dest-card__name { color: var(--mn-white); }
.mn-dest-card:hover .mn-dest-card__count, .mn-dest-card:focus-within .mn-dest-card__count { opacity: 0; }
.mn-dest-card:hover .mn-dest-card__arrow, .mn-dest-card:focus-within .mn-dest-card__arrow { opacity: 1; transform: translate(0, -50%); }
@media (prefers-reduced-motion: reduce) {
  .mn-dest-card, .mn-dest-card__img { transition: none; }
}

/* 29. Tour details: text column + "Tour details" card, photo carousel, previous/next bar
   ========================================================================== */
.mn-tour-detail__grid {
  display: grid; grid-template-columns: 586fr 383fr; column-gap: 126px;
  max-width: 1095px; margin-inline: auto;
  align-items: start;
}
.mn-tour-detail__heading { font-size: var(--mn-fs-h4); }

/* List with round teal ticks */
.mn-ticklist { margin-bottom: 30px; }
.mn-ticklist li { display: flex; align-items: center; gap: 10px; }
.mn-ticklist li + li { margin-top: 10px; }
.mn-ticklist__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--mn-accent); color: var(--mn-white); font-size: 12px;
}

/* White facts card: icon + label on the left, value on the right, thin lines between rows */
.mn-facts { padding: 40px; border-radius: 24px; background: var(--mn-white); }
.mn-facts__title { margin-bottom: 15px; font-size: var(--mn-fs-h4); }
.mn-facts__list { margin: 0; }
.mn-facts__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0; }
.mn-facts__row + .mn-facts__row { border-top: 1px solid var(--mn-line); }
.mn-facts__row dt { display: flex; align-items: center; gap: 12px; font-weight: 400; color: var(--mn-dark); }
.mn-facts__row dt .mn-icon { color: var(--mn-accent); font-size: 20px; }
.mn-facts__row dd { margin: 0; text-align: right; }
.mn-facts__ask { margin: 20px 0 15px; padding-top: 20px; border-top: 1px solid var(--mn-line); }

@media (max-width: 991.98px) {
  .mn-tour-detail__grid { grid-template-columns: 1fr; row-gap: 30px; max-width: none; }
}

/* Photo carousel: starts 144px from the left edge and runs off the right edge
   (the slider is as wide as the screen, so the 4th photo is cut off, as in the reference) */
.mn-gallery-strip { --mn-strip-offset: 144px; padding-bottom: var(--mn-section-space); margin-left: var(--mn-strip-offset); overflow: hidden; }
.mn-gallery-strip__slider { width: calc(100% + var(--mn-strip-offset)); }
.mn-gallery-strip__item { display: block; border-radius: 24px; overflow: hidden; }
.mn-gallery-strip__item img { width: 100%; height: 500px; object-fit: cover; transition: transform 0.8s var(--mn-ease); }
.mn-gallery-strip__item:hover img { transform: scale(1.05); }
@media (max-width: 767.98px) {
  .mn-gallery-strip { --mn-strip-offset: 12px; }
  .mn-gallery-strip__item img { height: 280px; }
}

/* Previous / all / next bar (tours, blog posts): white; a side shows its tour photo under a navy tint on hover */
.mn-item-nav { background: var(--mn-white); }
.mn-item-nav__cell {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 149px; padding: 60px 40px;
  color: var(--mn-dark);
}
.mn-item-nav .col-md-5:last-child .mn-item-nav__cell { justify-content: flex-start; padding-left: 64px; }
.mn-item-nav__bg, .mn-item-nav__cell::after {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity var(--mn-speed) var(--mn-ease);
}
.mn-item-nav__bg { width: 100%; height: 100%; object-fit: cover; }
.mn-item-nav__cell::after { content: ""; background: rgba(29, 48, 76, 0.6); }
.mn-item-nav__name { position: relative; z-index: 1; font-family: var(--mn-font-head); font-size: var(--mn-fs-h4); font-weight: 500; line-height: 1.2; transition: color var(--mn-speed) var(--mn-ease); }
.mn-item-nav__cell:hover .mn-item-nav__bg, .mn-item-nav__cell:hover::after,
.mn-item-nav__cell:focus-visible .mn-item-nav__bg, .mn-item-nav__cell:focus-visible::after { opacity: 1; }
.mn-item-nav__cell:hover .mn-item-nav__name, .mn-item-nav__cell:focus-visible .mn-item-nav__name { color: var(--mn-white); }
.mn-item-nav__all {
  display: grid; place-items: center;
  height: 100%; min-height: 87px;
  border-inline: 1px solid var(--mn-line);
  color: var(--mn-accent); font-size: 30px;
}
@media (max-width: 767.98px) {
  .mn-item-nav__all { border-inline: 0; border-block: 1px solid var(--mn-line); }
  .mn-item-nav .col-md-5:last-child .mn-item-nav__cell { padding-left: 40px; }
}

/* Full-size gallery popup (Magnific Popup): navy backdrop at 80%, as in the reference */
.mfp-bg { background: var(--mn-dark); opacity: 0.8; }
.mfp-fade.mfp-bg { opacity: 0; transition: opacity 0.3s ease-out; }
.mfp-fade.mfp-bg.mfp-ready { opacity: 0.8; }
.mfp-fade.mfp-bg.mfp-removing { opacity: 0; }
.mfp-fade.mfp-wrap .mfp-content { opacity: 0; transition: opacity 0.3s ease-out; }
.mfp-fade.mfp-wrap.mfp-ready .mfp-content { opacity: 1; }
.mfp-fade.mfp-wrap.mfp-removing .mfp-content { opacity: 0; }

/* 35. Form fields: rounded box with a teal icon (Blog post reply, Contact). Status line under the form.
   ========================================================================== */
.mn-form-title { margin-bottom: 30px; font-size: 21px; line-height: 1.2; }
.mn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.mn-field { position: relative; margin-bottom: 15px; }
.mn-field__icon { position: absolute; left: 24px; top: 21px; color: var(--mn-accent); font-size: 18px; pointer-events: none; }
.mn-field__input {
  display: block; width: 100%; height: 60px;
  padding: 16px 16px 16px 55px;
  border: 1px solid var(--mn-field-line); border-radius: 40px;
  background: transparent; color: var(--mn-text);
  line-height: 1.5;
}
.mn-field__input::placeholder { color: var(--mn-text); opacity: 1; }
.mn-field__input:focus { border-color: var(--mn-accent); outline: 0; box-shadow: 0 0 0 3px rgba(250, 35, 78, 0.2); }
.mn-field__input[aria-invalid="true"] { border-color: #c0392b; }
.mn-field--area .mn-field__input { height: 110px; resize: vertical; }
.mn-form__status:empty { display: none; }
.mn-form__status { margin: 15px 0 0; color: var(--mn-dark); }
@media (max-width: 575.98px) {
  .mn-form__row { grid-template-columns: 1fr; }
}

/* 37. Contact: details line in the banner, turning shaped photo beside the form
   ========================================================================== */
.mn-contact-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px; margin: 65px 0 0; }
.mn-contact-line li { display: inline-flex; align-items: center; gap: 8px; }
.mn-contact-line .mn-icon { color: var(--mn-accent); font-size: 18px; }
.mn-contact-line a { color: var(--mn-text); }
.mn-contact-line a:hover { color: var(--mn-accent); }

.mn-contact__media { display: grid; place-items: center; min-height: 459px; }
.mn-contact__shape { width: min(298px, 78%); aspect-ratio: 1; }
.mn-contact__shape img { width: 100%; height: 100%; object-fit: cover; }
.mn-contact__title { margin-bottom: 30px; font-size: 48px; line-height: 1.2; letter-spacing: -2px; }
@media (max-width: 991.98px) {
  .mn-contact__media { min-height: 421px; }
}

/* Destinations region filter: a row of pill buttons above the cards (main.js section 18) */
.mn-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.mn-filter__btn {
  min-height: 44px; padding: 0 24px;
  border: 0; border-radius: 999px;
  background: var(--mn-white); color: var(--mn-dark);
  font-weight: 500;
  transition: background var(--mn-speed) var(--mn-ease), color var(--mn-speed) var(--mn-ease);
}
.mn-filter__btn:hover { color: var(--mn-accent); }
.mn-filter__btn.is-active { background: var(--mn-accent); color: var(--mn-white); }

/* Privacy policy (and any later legal page): plain text column with the usual section spacing */
.mn-legal { padding-bottom: var(--mn-section-space); }
.mn-legal .mn-ticklist { margin-bottom: 30px; }
.mn-legal__updated { margin-top: 20px; font-size: 14px; }
/* Short note under the contact form linking to the privacy policy */
.mn-form__privacy { margin-top: 15px; font-size: 14px; }
.mn-form__privacy a { color: var(--mn-dark); border-bottom: 1px solid currentColor; }

/* 500 error page (500.html): centred message on the light background, no header or footer */
.mn-error-page { background: var(--mn-light); }
.mn-error { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 40px 16px; text-align: center; }
.mn-error__logo { width: 104px; height: auto; margin-bottom: 20px; }
.mn-error__title { font-size: var(--mn-fs-h2); }
.mn-error__text { max-width: 480px; margin-bottom: 20px; }
