/* mirenmedic-custom — site chrome: header, footer, floating rail, mobile bottom
   nav, cookie consent, promotion popup.
   Metrics are the live ones (Elementor header ID 20 / footer ID 23 +
   wpcode 3743/3650); colors come from tokens.css. Only values that have no
   token get declared here. */

:root {
  --mn-header-h: 90px;
  --mn-nav-max: 1250px;
  --mn-sw-w: 300px;      /* services rail, expanded */

  --mn-bg: var(--mm-green-deep);        /* #123C39 header + footer */
  --mn-gold: var(--mm-gold-light);      /* #FFECCB pill + footer accents */
  --mn-gold-hover: var(--mm-gold);      /* #C59D5F link hover in dropdowns */
  --mn-text-body: #5a6c6a;              /* dropdown link grey-green */
  --mn-brand-dark: #17403c;
  --mn-brand-orange: #fd8440;           /* the booking CTA orange */
  --mn-ink: #012323;                    /* text/box inside the gold pill */
  --mn-deep: #0e2a28;                   /* darker green: hovers, icon boxes */
  --mn-text-main: #333;
  --mn-text-link: #555;

  --mn-z-rail: 24999;
  --mn-z-mobnav: 25000;
  --mn-z-cookie: 30000;
  --mn-z-promo: 31000;
}

body { padding-top: var(--mn-header-h); }
body.mn-header-overlay { padding-top: 0; }   /* opt-in: hero runs under the bar */
#sadrzaj { scroll-margin-top: calc(var(--mn-header-h) + 12px); }
body.mn-no-scroll,
html.mn-promo-lock, body.mn-promo-lock { overflow: hidden; }

::selection { background: var(--mn-brand-dark); color: #00fff4; }

.mn-skip {
  position: fixed; left: 12px; top: -100px; z-index: 10002;
  background: var(--mm-white); color: var(--mn-bg);
  font: 600 14px/1 var(--mm-font-body);
  padding: 14px 20px; border-radius: var(--mm-radius-pill);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); text-decoration: none;
  transition: top .2s ease;
}
.mn-skip:focus { top: 12px; color: var(--mn-bg); }

/* ============================================================ header */

.mn-header-container {
  position: fixed; inset: 0 0 auto; z-index: 9999;
  height: var(--mn-header-h);
  background: var(--mn-bg);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-family: var(--mm-font-body);
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, backdrop-filter .4s ease, box-shadow .4s ease;
}
.mn-header-container.is-scrolled {
  background: rgba(18,60,57,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,.1);
}

.mn-navbar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; width: 100%; max-width: var(--mn-nav-max);
  margin: 0 auto; padding: 0 20px;
}

.mn-logo { display: block; flex-shrink: 0; }
.mn-logo-img {
  height: 48px; width: auto; aspect-ratio: 795 / 229;
  display: block; transition: opacity .3s ease;
}
.mn-logo:hover .mn-logo-img { opacity: .85; }

/* ---------------------------------------------------------- menu */

.mn-menu-wrapper { display: flex; align-items: center; height: 100%; }
.mn-menu {
  display: flex; align-items: center; gap: 32px;
  height: 100%; margin: 0; padding: 0; list-style: none;
}
.mn-menu-item { position: relative; display: flex; align-items: center; height: 100%; }
.mn-menu-item.has-mega { position: static; }

.mn-menu-link {
  display: flex; align-items: center; gap: 6px; height: 100%;
  font-family: var(--mm-font-body); font-size: 15px; font-weight: 500;
  letter-spacing: .3px; color: var(--mm-white); text-decoration: none;
  background: none; border: 0; padding: 0; cursor: pointer;
  white-space: nowrap; transition: color .3s ease;
}
.mn-arrow-icon { width: 10px; height: auto; opacity: .8; transition: transform .3s ease, opacity .3s ease; }

@media (min-width: 1201px) {
  .mn-menu-link:hover, .mn-menu-link:focus-visible { color: var(--mn-gold); }
  .mn-menu-item:hover .mn-arrow-icon,
  .mn-menu-item.is-open .mn-arrow-icon { transform: rotate(180deg); opacity: 1; }
}

.mn-dropdown-base {
  position: absolute; top: var(--mn-header-h);
  background: var(--mm-white);
  opacity: 0; visibility: hidden; transform: translateY(15px);
  transition: opacity .3s cubic-bezier(.25,.8,.25,1), transform .3s cubic-bezier(.25,.8,.25,1), visibility .3s;
  z-index: 998;
  box-shadow: 0 20px 40px -5px rgba(18,60,57,.1);
  border-radius: 0 0 12px 12px;
}
@media (min-width: 1201px) {
  .mn-menu-item:hover > .mn-dropdown-base,
  .mn-menu-item.is-open > .mn-dropdown-base {
    opacity: 1; visibility: visible; transform: translateY(0);
  }
}

/* mega menu */
.mn-mega-dropdown {
  width: 100vw; left: 50%; margin-left: -50vw;
  display: flex; justify-content: center;
  padding: 50px 0 60px;
  border-top: 1px solid rgba(0,0,0,.03);
  /* the panel is taller than a short laptop viewport — keep the tail reachable */
  max-height: calc(100vh - var(--mn-header-h));
  overflow-y: auto; overscroll-behavior: contain;
}
.mn-mega-grid {
  display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 60px;
  width: 100%; max-width: 1300px; padding: 0 4vw;
}
.mn-mega-head {
  display: inline-block; margin: 0 0 25px; padding-bottom: 10px;
  font-family: var(--mm-font-body); font-size: 14px; font-weight: 700;
  color: var(--mn-bg); opacity: .9;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.mn-mega-head a { color: inherit; text-decoration: none; }
.mn-mega-head a:hover { color: var(--mn-gold-hover); }
.mn-sub-group h4, .mn-promo-item h4 {
  margin: 0 0 12px;
  font-family: var(--mm-font-body); font-size: 14px; font-weight: 700; color: var(--mn-bg);
}
.mn-mega-list { list-style: none; margin: 0; padding: 0; }
.mn-mega-list li { margin-bottom: 10px; }
.mn-mega-list a {
  display: inline-block; font-size: 14px; font-weight: 400;
  color: var(--mn-text-body); text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.mn-mega-list a:hover, .mn-mega-list a:focus-visible {
  color: var(--mn-gold-hover); transform: translateX(3px);
}
.mn-health-wrapper, .mn-aes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.mn-promo-group { display: flex; flex-direction: column; gap: 30px; }
.mn-promo-item { text-decoration: none; display: block; }
.mn-promo-img {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: 8px; margin-bottom: 12px;
  filter: brightness(.95); transition: filter .3s ease;
}
.mn-promo-item:hover .mn-promo-img { filter: brightness(1.05); }
.mn-promo-desc { margin: 0; font-size: 13px; line-height: 1.6; color: #888; }
.mn-bio-title {
  display: inline-block; font-size: 14px; font-weight: 700;
  color: var(--mn-bg); text-decoration: none;
}
.mn-bio-title:hover { color: var(--mn-gold-hover); }

/* simple dropdowns */
.mn-simple-dropdown {
  left: -20px; min-width: 240px; padding: 20px 0;
  display: flex; flex-direction: column; list-style: none; margin: 0;
}
.mn-simple-dropdown a {
  display: block; padding: 10px 30px;
  font-size: 14px; font-weight: 500; color: var(--mn-text-body); text-decoration: none;
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}
.mn-simple-dropdown a:hover, .mn-simple-dropdown a:focus-visible {
  background: #fcfcfc; color: var(--mn-gold-hover); padding-left: 35px;
}

/* ---------------------------------------------------------- actions */

.mn-actions { display: flex; align-items: center; gap: 12px; }

.mn-social-btn, .mn-search-btn {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--mm-white); text-decoration: none;
  transition: background-color .3s ease, transform .3s ease, opacity .3s ease;
}
.mn-social-btn { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); }
.mn-social-btn:hover { background: rgba(255,255,255,.2); color: var(--mm-white); transform: translateY(-2px); }
.mn-social-btn svg { width: 14px; height: 14px; }

.mn-search-btn { width: 34px; height: 34px; opacity: .9; }
.mn-search-btn:hover { opacity: 1; color: var(--mm-white); }
.mn-search-btn svg { width: 18px; height: 18px; }

.mn-custom-btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  min-width: 198px; height: 48px; flex-shrink: 0;
  background: var(--mn-gold); border-radius: 15px;
  box-shadow: 0 4px 15px rgba(1,35,35,.1);
  transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s cubic-bezier(.25,.8,.25,1);
}
.mn-custom-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(1,35,35,.2); }
.mn-btn-text {
  display: flex; align-items: center; height: 100%; padding: 0 14px 0 24px;
  font-size: 14px; font-weight: 700; letter-spacing: -.3px; line-height: 1;
  color: var(--mn-ink); text-decoration: none; white-space: nowrap;
}
.mn-btn-text:hover { color: var(--mn-ink); text-decoration: underline; }
.mn-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 12px;
  background: var(--mn-ink); color: var(--mn-gold);
  transition: background-color .3s ease;
}
.mn-icon-box:hover { background: var(--mn-deep); color: var(--mn-gold); }
.mn-icon-svg { width: 20px; height: 20px; }
.mn-custom-btn:hover .mn-icon-svg { animation: mn-wiggle .5s ease-in-out forwards; }
@keyframes mn-wiggle {
  0%,100% { transform: rotate(0); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
}

.mn-book-btn {
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 48px; padding: 0 18px; flex-shrink: 0;
  background: var(--mn-brand-orange); color: var(--mm-white);
  border-radius: 15px; text-decoration: none;
  font-size: 14px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap;
  box-shadow: 0 4px 15px rgba(253,132,64,.28);
  transition: transform .3s cubic-bezier(.25,.8,.25,1), box-shadow .3s ease, background-color .3s ease;
}
.mn-book-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mn-book-btn:hover {
  color: var(--mm-white); transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(253,132,64,.42);
}

.mn-hamburger {
  display: none; flex-direction: column; align-items: flex-end; justify-content: center;
  gap: 7px; width: 40px; height: 40px; padding: 0;
  background: none; border: 0; cursor: pointer; z-index: 10001;
}
.mn-hamburger span {
  display: block; height: 2px; background: var(--mm-white); border-radius: 4px;
  transition: transform .3s ease-in-out, width .3s ease-in-out;
}
.mn-hamburger span:nth-child(1) { width: 28px; }
.mn-hamburger span:nth-child(2) { width: 36px; }
.mn-hamburger[aria-expanded="true"] { align-items: center; justify-content: center; gap: 0; }
.mn-hamburger[aria-expanded="true"] span:nth-child(1) { width: 34px; transform: translateY(2px) rotate(45deg); }
.mn-hamburger[aria-expanded="true"] span:nth-child(2) { width: 34px; transform: translateY(-1px) rotate(-45deg); }

.mn-menu-scrim, .mn-menu-foot { display: none; }

/* narrow desktop: shed the least critical bits before the bar overflows */
@media (max-width: 1330px) {
  .mn-menu { gap: 26px; }
  .mn-search-btn { display: none; }
  .mn-custom-btn { min-width: 0; }
  .mn-btn-text { padding: 0 12px 0 18px; font-size: 13px; }
}
@media (max-width: 1260px) {
  .mn-social-btn { display: none; }
}

/* ---------------------------------------------------------- mobile nav panel */

@media (max-width: 1200px) {
  .mn-navbar { padding: 0 15px; }
  .mn-logo-img { height: 44px; }

  .mn-search-btn, .mn-btn-text, .mn-book-btn span { display: none; }
  .mn-social-btn { display: flex; }

  .mn-custom-btn {
    min-width: 0; height: auto; background: transparent; box-shadow: none;
  }
  .mn-custom-btn:hover { transform: none; box-shadow: none; }
  .mn-icon-box { width: 38px; height: 38px; border-radius: 50%; background: var(--mn-gold); color: var(--mn-ink); }
  .mn-icon-svg { width: 17px; height: 17px; }

  .mn-book-btn { min-height: 0; width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: none; }
  .mn-book-btn svg { width: 17px; height: 17px; }

  .mn-hamburger { display: flex; }

  .mn-menu-scrim {
    display: block; position: fixed; inset: var(--mn-header-h) 0 0;
    background: rgba(18,60,57,.45); backdrop-filter: blur(2px);
    opacity: 0; transition: opacity .3s ease; z-index: -1;
  }
  .mn-menu-scrim:not([hidden]) { opacity: 1; }

  .mn-menu-wrapper {
    position: absolute; top: var(--mn-header-h); left: 0;
    width: 100%; height: auto;
    max-height: calc(100dvh - var(--mn-header-h));
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex-direction: column; align-items: stretch; padding: 0;
    background: var(--mm-white);
    border-top: 1px solid rgba(0,0,0,.05);
    box-shadow: 0 10px 20px rgba(0,0,0,.1);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .mn-menu-wrapper.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .mn-menu { flex-direction: column; gap: 0; width: 100%; }
  .mn-menu-item { width: 100%; height: auto; flex-direction: column; align-items: stretch; }
  .mn-menu-item.has-mega { position: relative; }

  .mn-menu-link {
    width: 100%; height: auto; padding: 18px 22px;
    justify-content: space-between;
    font-size: 16px; color: var(--mn-bg);
    border-bottom: 1px solid rgba(0,0,0,.05);
    min-height: 58px;                          /* thumb target */
  }
  .mn-menu-link:hover, .mn-menu-link:focus-visible { color: var(--mn-gold-hover); }
  .mn-arrow-icon { width: 12px; opacity: 1; }
  .mn-menu-trigger[aria-expanded="true"] .mn-arrow-icon { transform: rotate(180deg); }

  .mn-dropdown-base {
    position: relative; top: 0; left: 0; width: 100%;
    margin: 0; padding: 0; background: #f4f6f6;
    border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none;
    display: none; transition: none;
  }
  .mn-menu-item.is-open > .mn-dropdown-base { display: block; animation: mn-fade-in .3s ease; }
  @keyframes mn-fade-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }

  .mn-mega-dropdown { width: 100%; left: 0; margin-left: 0; padding: 22px; border-top: 0; }
  .mn-mega-grid { grid-template-columns: 1fr; gap: 34px; padding: 0; }
  .mn-health-wrapper, .mn-aes-grid { grid-template-columns: 1fr; gap: 18px; }
  .mn-mega-list li { margin-bottom: 2px; }
  .mn-mega-list a { display: block; padding: 9px 0; }   /* thumb target */
  .mn-promo-group { gap: 22px; }
  .mn-promo-img { height: 120px; }

  .mn-simple-dropdown { min-width: 0; padding: 0; }
  .mn-simple-dropdown a {
    padding: 14px 22px 14px 38px;
    border-bottom: 1px solid rgba(0,0,0,.03);
  }
  .mn-simple-dropdown a:hover { padding-left: 42px; }

  .mn-menu-foot {
    display: grid; gap: 10px;
    /* clears the fixed bottom services bar + iPhone home indicator so the last
       button is always reachable (owner-reported bug, iPhone 15 Pro) */
    padding: 20px 22px calc(96px + env(safe-area-inset-bottom));
    background: var(--mm-cream);
    border-top: 1px solid rgba(0,0,0,.06);
  }
  .mn-menu-tel {
    display: flex; align-items: center; gap: 10px; min-height: 46px;
    font-size: 15px; font-weight: 600; color: var(--mn-bg); text-decoration: none;
  }
  .mn-menu-tel svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--mn-gold-hover); }
  .mn-menu-book, .mn-menu-contact {
    display: flex; align-items: center; justify-content: center;
    min-height: 52px; border-radius: var(--mm-radius-pill);
    font-size: 14px; font-weight: 700; letter-spacing: .04em;
    text-decoration: none; text-align: center;
  }
  .mn-menu-book { background: var(--mn-brand-orange); color: var(--mm-white); }
  .mn-menu-contact { background: var(--mn-bg); color: var(--mn-gold); }
}

@media (max-width: 560px) {
  .mn-actions { gap: 8px; }
  .mn-social-btn { display: none; }
}

/* ============================================================ footer */

.mn-footer {
  background: var(--mn-bg); color: var(--mm-white);
  font-family: var(--mm-font-body);
  padding: 64px 0 72px;
}
.mn-footer-inner {
  max-width: var(--mm-container); margin: 0 auto;
  padding: 0 var(--mm-pad-x);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  align-items: start;
}
.mn-foot-head {
  margin: 0 0 16px;
  font-family: var(--mm-font-body); font-size: 15px; font-weight: 500;
  letter-spacing: .16em; color: var(--mm-gold-soft);
}
.mn-foot-list { list-style: none; margin: 0; padding: 0; }
.mn-foot-list a,
.mn-foot-reach a {
  display: inline-block; color: var(--mm-white); text-decoration: none;
  transition: color .2s ease;
}
.mn-foot-list a { font-size: 16px; padding: 4px 0; }
.mn-foot-list a:hover,
.mn-foot-reach a:hover,
.mn-foot-address:hover { color: var(--mm-gold-soft); }

.mn-foot-reach { list-style: none; margin: 0; padding: 0; }
.mn-foot-reach a { font-size: 21px; font-weight: 600; letter-spacing: .01em; padding: 3px 0; }
.mn-foot-rule { width: 250px; max-width: 100%; height: 1px; margin: 20px 0; background: rgba(255,255,255,.22); border: 0; }

.mn-foot-address {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--mm-white); text-decoration: none;
  font-size: 14px; font-weight: 600; line-height: 1.5;
  transition: color .2s ease;
}
.mn-foot-pin { width: 15px; height: 20px; flex-shrink: 0; color: var(--mm-gold); margin-top: 1px; }

.mn-foot-social { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 24px 0 0; padding: 0; }
.mn-foot-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); color: var(--mm-white);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.mn-foot-social a:hover { background: var(--mm-gold-soft); border-color: var(--mm-gold-soft); color: var(--mn-bg); }
.mn-foot-social svg { width: 15px; height: 15px; }

.mn-foot-brand { text-align: right; }
.mn-foot-logo { display: inline-block; }
.mn-foot-logo-img { width: 250px; max-width: 100%; height: auto; aspect-ratio: 795 / 229; margin-left: auto; }
.mn-foot-about { margin: 18px 0 0; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.92); }
.mn-foot-copy { margin: 18px 0 0; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.55); }
.mn-foot-head--hours { margin: 26px 0 12px; }
.mn-foot-hours { margin: 0; font-size: 16px; line-height: 1.75; }
.mn-foot-hours strong { font-weight: 700; }

@media (max-width: 1080px) {
  .mn-footer-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .mn-foot-brand { text-align: left; }
  .mn-foot-logo-img { margin-left: 0; }
}
@media (max-width: 720px) {
  .mn-footer { padding: 48px 0 56px; }
  .mn-footer-inner { grid-template-columns: 1fr; gap: 34px; text-align: center; }
  .mn-foot-brand { text-align: center; }
  .mn-foot-logo-img { margin: 0 auto; width: 230px; }
  .mn-foot-reach a { font-size: 20px; }
  .mn-foot-rule { margin: 20px auto; }
  .mn-foot-address { justify-content: center; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .mn-foot-social { justify-content: center; }
  .mn-foot-list a { padding: 6px 0; }
}
@media (max-width: 900px) {
  /* clear the fixed bottom nav */
  .mn-footer { padding-bottom: calc(56px + 72px + env(safe-area-inset-bottom)); }
}

/* ============================================================ services rail */

.mn-services-card-wrapper {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  z-index: var(--mn-z-rail); font-family: var(--mm-font-body);
}
.mn-sw-card {
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  width: 64px; padding: 20px 0; overflow: hidden;
  background: var(--mm-white); border: 1px solid rgba(0,0,0,.05); border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  transition: width .4s cubic-bezier(.25,1,.5,1);
}
.mn-sw-card:hover, .mn-sw-card:focus-within { width: var(--mn-sw-w); }

.mn-sw-item, .mn-sw-inline-group {
  display: flex; flex-direction: row-reverse; align-items: center;
  width: var(--mn-sw-w); padding: 8px 0; flex-shrink: 0;
  color: var(--mn-text-main); text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.mn-sw-item:hover { background: #fafafa; color: var(--mn-brand-dark); }
.mn-sw-item-icon-wrap { display: flex; align-items: center; justify-content: center; width: 64px; flex-shrink: 0; }
.mn-sw-icon { width: 18px; height: 18px; fill: #444; flex-shrink: 0; transition: fill .2s ease; }
.mn-sw-item:hover .mn-sw-icon { fill: var(--mn-brand-dark); }
.mn-sw-text {
  flex-grow: 1; padding: 0 15px 0 20px; text-align: right;
  font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity .2s ease;
}
.mn-sw-inline-left {
  display: flex; flex-direction: column; align-items: flex-end; flex-grow: 1;
  gap: 6px; padding: 0 15px 0 20px; white-space: nowrap;
  opacity: 0; transition: opacity .2s ease;
}
.mn-sw-inline-row { display: flex; gap: 10px; justify-content: flex-end; }
.mn-sw-inline-row a { font-size: 11.5px; font-weight: 500; color: var(--mn-text-link); text-decoration: none; transition: color .2s ease; }
.mn-sw-inline-row a:hover { color: var(--mn-brand-dark); text-decoration: underline; }
.mn-sw-divider { width: calc(var(--mn-sw-w) - 40px); height: 1px; margin: 10px 20px; background: #f0f0f0; border: 0; flex-shrink: 0; }

.mn-sw-cta {
  display: flex; flex-direction: row-reverse; align-items: center;
  width: 44px; height: 44px; margin: 10px; overflow: hidden; flex-shrink: 0;
  background: var(--mn-brand-orange); color: var(--mm-white);
  border-radius: 8px; text-decoration: none;
  transition: width .4s cubic-bezier(.25,1,.5,1), margin .4s cubic-bezier(.25,1,.5,1), opacity .3s ease, box-shadow .3s ease;
}
.mn-sw-card:hover .mn-sw-cta, .mn-sw-card:focus-within .mn-sw-cta { width: calc(var(--mn-sw-w) - 40px); margin: 10px 20px 0; }
.mn-sw-cta:hover { color: var(--mm-white); opacity: .9; box-shadow: 0 4px 12px rgba(253,132,64,.3); }
.mn-sw-cta-icon-wrap { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; }
.mn-sw-cta-icon { width: 18px; height: 18px; flex-shrink: 0; }
.mn-sw-text-cta {
  flex-grow: 1; padding-right: 15px; text-align: right;
  font-size: 14px; font-weight: 700; white-space: nowrap;
  opacity: 0; transition: opacity .2s ease;
}
.mn-sw-card:hover .mn-sw-text,
.mn-sw-card:hover .mn-sw-inline-left,
.mn-sw-card:hover .mn-sw-text-cta,
.mn-sw-card:focus-within .mn-sw-text,
.mn-sw-card:focus-within .mn-sw-inline-left,
.mn-sw-card:focus-within .mn-sw-text-cta { opacity: 1; transition-delay: .15s; }

@media (min-width: 901px) and (max-width: 1440px) {
  .mn-services-card-wrapper { transform: translateY(-50%) scale(.8); transform-origin: right center; }
}

/* ============================================================ mobile bottom nav */

.mn-mobile-bottom-nav { display: none; }

@media (max-width: 900px) {
  .mn-services-card-wrapper { display: none; }

  .mn-mobile-bottom-nav {
    display: flex; position: fixed; bottom: 0; left: 0;
    width: 100%; height: 72px; z-index: var(--mn-z-mobnav);
    justify-content: space-around; align-items: center;
    padding: 0 10px calc(8px + env(safe-area-inset-bottom));
    background: var(--mm-white);
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0,0,0,.06);
    font-family: var(--mm-font-body);
    transform: translateY(0);
    transition: transform .4s cubic-bezier(.25,1,.5,1);
  }
  .mn-mobile-bottom-nav.mn-nav-hidden { transform: translateY(150px); }
  /* the bar is redundant while the full menu overlay is open and it covered
     the menu's bottom buttons — slide it away (body gets mn-no-scroll then) */
  body.mn-no-scroll .mn-mobile-bottom-nav { transform: translateY(150px); }
}

.mn-mob-nav-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex: 1; margin-top: 8px; text-decoration: none;
  color: #9baaa8; font-size: 9px; font-weight: 600; letter-spacing: .3px;
  -webkit-tap-highlight-color: transparent;
  transition: color .2s ease, transform .2s ease;
}
.mn-mob-icon-box { display: flex; align-items: center; justify-content: center; height: 28px; margin-bottom: 2px; }
.mn-mob-nav-item svg { width: 22px; height: 22px; }
.mn-mob-nav-item:hover, .mn-mob-nav-item:active, .mn-mob-nav-item[aria-current="page"] {
  color: var(--mn-brand-dark); transform: translateY(-2px);
}
.mn-mob-center-wrapper { display: flex; flex-direction: column; align-items: center; flex: 1.1; position: relative; margin-top: 8px; }
.mn-mob-nav-cta { position: absolute; top: -26px; display: flex; justify-content: center; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.mn-mob-cta-bg {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--mn-brand-orange); color: var(--mm-white);
  border: 4px solid var(--mm-white);
  box-shadow: 0 8px 20px rgba(253,132,64,.4);
  transition: transform .2s cubic-bezier(.175,.885,.32,1.275);
}
.mn-mob-nav-cta:active .mn-mob-cta-bg { transform: scale(.92); }
.mn-mob-cta-bg svg { width: 22px; height: 22px; }
.mn-mob-cta-text { padding-top: 36px; color: var(--mn-brand-orange); font-size: 10px; font-weight: 700; letter-spacing: .2px; }

/* ============================================================ cookie consent */

.mn-cookie-consent {
  position: fixed; inset: 0; z-index: var(--mn-z-cookie);
  display: none; align-items: center; justify-content: center;
  font-family: var(--mm-font-body);
}
.mn-cookie-consent.is-open { display: flex; }
.mn-cookie-backdrop { position: absolute; inset: 0; background: rgba(18,60,57,.6); backdrop-filter: blur(5px); }
.mn-cookie-modal {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  width: 95%; max-width: 500px; max-height: 90vh; overflow: hidden;
  background: var(--mm-white); border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.3);
}
.mn-cookie-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 25px; border-bottom: 1px solid #f0f0f0;
}
.mn-cookie-title { margin: 0; font-family: var(--mm-font-body); font-size: 18px; font-weight: 700; color: var(--mn-bg); }
.mn-cookie-close {
  border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer;
  color: var(--mn-text-body); padding: 4px 8px; transition: color .2s ease;
}
.mn-cookie-close:hover { color: var(--mn-bg); }

.mn-cookie-body { padding: 20px 25px; overflow-y: auto; }
.mn-cookie-intro { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: var(--mn-text-body); }
.mn-cookie-group {
  display: flex; align-items: center; justify-content: space-between; gap: 15px;
  padding: 12px 15px; margin-bottom: 10px;
  background: #f9f9f9; border: 1px solid #eee; border-radius: 8px;
}
.mn-cookie-group-required { background: #f0f5f4; border-color: #e0ebe9; }
.mn-cookie-group-text { max-width: 75%; }
.mn-cookie-group-title { margin-bottom: 4px; font-size: 13px; font-weight: 700; color: var(--mn-bg); }
.mn-cookie-group-desc { font-size: 11px; line-height: 1.4; color: var(--mn-text-body); }
.mn-cookie-note { margin-top: 15px; font-size: 11px; text-align: center; color: #888; }
.mn-cookie-link { color: var(--mn-bg); font-weight: 600; text-decoration: underline; }

.mn-cookie-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 60px; padding: 6px 10px; cursor: pointer;
  font-family: var(--mm-font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase;
  background: var(--mm-white); color: #888;
  border: 1px solid #ccc; border-radius: 50px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.mn-cookie-toggle:hover { border-color: #999; color: #555; }
.mn-cookie-toggle-on, .mn-cookie-toggle-on:hover {
  background: var(--mn-bg); color: var(--mm-white); border-color: var(--mn-bg);
}
.mn-cookie-toggle-locked { opacity: .7; cursor: default; }

.mn-cookie-footer {
  display: flex; flex-direction: column; gap: 10px;
  padding: 15px 25px 20px; border-top: 1px solid #f0f0f0;
}
.mn-cookie-btn {
  width: 100%; padding: 12px 20px; cursor: pointer; text-align: center;
  font-family: var(--mm-font-body); font-size: 13px; font-weight: 600; letter-spacing: .3px;
  border: 1px solid transparent; border-radius: 50px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.mn-cookie-btn-primary { background: var(--mn-bg); color: var(--mm-white); }
.mn-cookie-btn-primary:hover { background: var(--mn-deep); box-shadow: 0 4px 12px rgba(18,60,57,.2); }
.mn-cookie-btn-outline { background: transparent; border-color: var(--mn-bg); color: var(--mn-bg); }
.mn-cookie-btn-outline:hover { background: #f4f8f7; }
.mn-cookie-btn-ghost { background: transparent; color: var(--mn-text-body); font-size: 12px; padding: 8px; }
.mn-cookie-btn-ghost:hover { color: var(--mn-bg); text-decoration: underline; }

@media (min-width: 768px) {
  .mn-cookie-footer { flex-direction: row; justify-content: flex-end; }
  .mn-cookie-btn { width: auto; }
  .mn-cookie-btn-ghost { order: 1; margin-right: auto; padding: 12px 0; }
  .mn-cookie-btn-outline { order: 2; }
  .mn-cookie-btn-primary { order: 3; }
}

.mn-cookie-settings-trigger {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--mn-z-rail);
  display: inline-flex; align-items: center;
  padding: 5px 5px 5px 20px; cursor: pointer;
  background: var(--mn-gold); border: 0; border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
  transition: transform .3s cubic-bezier(.175,.885,.32,1.275), bottom .4s cubic-bezier(.25,1,.5,1);
}
.mn-cookie-settings-trigger:hover, .mn-cookie-settings-trigger:focus-visible { transform: scale(1.05); }
.mn-cookie-settings-text { margin-right: 12px; font-family: var(--mm-font-body); font-size: 13px; font-weight: 700; color: var(--mn-bg); }
.mn-cookie-settings-icon-box {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 12px;
  background: var(--mn-deep); color: var(--mn-gold);
}

@media (max-width: 900px) {
  .mn-cookie-modal { max-height: 85vh; }
  .mn-cookie-settings-trigger { right: 15px; bottom: calc(95px + env(safe-area-inset-bottom)); }
  .mn-cookie-settings-trigger.mn-cookie-dropped { bottom: calc(25px + env(safe-area-inset-bottom)); }
}
@media (max-width: 420px) {
  .mn-cookie-settings-text { display: none; }
  .mn-cookie-settings-trigger { padding: 5px; }
}

/* ============================================================ promotion popup */

.mn-promotion-popup {
  position: fixed; inset: 0; z-index: var(--mn-z-promo);
  display: none; align-items: center; justify-content: center;
  padding: 20px; font-family: var(--mm-font-body);
}
.mn-promotion-popup.is-open { display: flex; }
.mn-promotion-backdrop { position: absolute; inset: 0; background: rgba(18,60,57,.6); backdrop-filter: blur(5px); }
.mn-promotion-stage {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  width: 100%; max-width: 640px;
}
.mn-promotion-modal {
  position: relative; flex: 1 1 auto;
  width: 100%; max-width: 560px; max-height: 90vh; margin: 0 auto; overflow: hidden;
  background: var(--mm-white); border-radius: 20px;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  animation: mnPromoIn .32s cubic-bezier(.22,1,.36,1);
}
@keyframes mnPromoIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }

.mn-promotion-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 36px; height: 36px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; line-height: 1; color: var(--mn-bg);
  background: rgba(255,255,255,.9); border: 0; border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.mn-promotion-close:hover { background: var(--mm-white); }

.mn-promotion-track { max-height: 90vh; overflow-y: auto; }
.mn-promotion-slide { display: none; flex-direction: column; }
.mn-promotion-slide.is-active { display: flex; }
.mn-promotion-media img { width: 100%; height: auto; max-height: 320px; object-fit: cover; }
.mn-promotion-content { padding: 26px 30px 30px; text-align: center; }
.mn-promotion-title { margin: 0 0 12px; font-family: var(--mm-font-body); font-size: 28px; font-weight: 800; line-height: 1.2; color: var(--mn-bg); }
.mn-promotion-text { font-size: 14px; line-height: 1.7; color: var(--mn-text-body); text-align: left; }
.mn-promotion-text p { margin: 0 0 10px; }
.mn-promotion-text ul { list-style: none; margin: 10px 0; padding: 0; }
.mn-promotion-text li { position: relative; padding-left: 22px; }
.mn-promotion-text li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--mn-bg);
}
.mn-promotion-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; margin-top: 18px; padding: 14px 28px;
  background: var(--mn-bg); color: var(--mm-white); text-decoration: none;
  border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .25s ease;
}
.mn-promotion-cta:hover { background: var(--mn-deep); color: var(--mm-white); }

.mn-promotion-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0; cursor: pointer;
  background: rgba(255,255,255,.9); color: var(--mn-bg);
  border: 0; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,.2);
  transition: background-color .2s ease, transform .2s ease;
}
.mn-promotion-arrow:hover { background: var(--mm-white); transform: scale(1.06); }
.mn-promotion-arrow svg { width: 20px; height: 20px; }

.mn-promotion-dots { display: flex; justify-content: center; gap: 7px; padding: 0 0 18px; }
.mn-promotion-dot {
  width: 9px; height: 9px; padding: 0; cursor: pointer;
  background: rgba(18,60,57,.22); border: 0; border-radius: 999px;
  transition: width .25s ease, background-color .25s ease;
}
.mn-promotion-dot.is-active { width: 28px; background: var(--mn-bg); }

/* poster promos: the artwork is the whole message, never crop it (spec 5.7) */
.mn-promotion-poster .mn-promotion-modal {
  width: auto; max-width: 94vw; max-height: 96vh;
  background: transparent; border-radius: 0; box-shadow: none; overflow: visible;
}
.mn-promotion-poster .mn-promotion-media img {
  width: auto; height: auto; max-height: 90vh; max-width: 94vw; object-fit: contain; cursor: pointer;
}
.mn-promotion-poster .mn-promotion-content { display: none; }
.mn-promotion-poster .mn-promotion-close { top: 8px; right: 8px; }

@media (max-width: 767px) {
  .mn-promotion-arrow { display: none; }
  .mn-promotion-media img { max-height: 230px; }
  .mn-promotion-title { font-size: 22px; }
  .mn-promotion-text { font-size: 15.5px; }
  .mn-promotion-content { padding: 22px 22px 26px; }
  .mn-promotion-cta { width: 100%; }
}

/* ============================================================ a11y + motion */

.mn-menu-link:focus-visible,
.mn-hamburger:focus-visible,
.mn-cookie-toggle:focus-visible,
.mn-cookie-btn:focus-visible,
.mn-promotion-arrow:focus-visible,
.mn-promotion-dot:focus-visible,
.mn-sw-item:focus-visible,
.mn-sw-cta:focus-visible,
.mn-mob-nav-item:focus-visible,
.mn-foot-list a:focus-visible,
.mn-foot-reach a:focus-visible,
.mn-foot-social a:focus-visible,
.mn-social-btn:focus-visible,
.mn-btn-text:focus-visible,
.mn-icon-box:focus-visible,
.mn-book-btn:focus-visible {
  outline: 2px solid var(--mm-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .mn-sw-card, .mn-sw-cta, .mn-mobile-bottom-nav, .mn-menu-wrapper,
  .mn-dropdown-base, .mn-promotion-modal, .mn-cookie-settings-trigger {
    transition: none; animation: none;
  }
}

@media print {
  .mn-header-container, .mn-services-card-wrapper, .mn-mobile-bottom-nav,
  .mn-cookie-consent, .mn-cookie-settings-trigger, .mn-promotion-popup, .mn-skip { display: none !important; }
  body { padding-top: 0; }
  .mn-footer { background: none; color: #000; }
}
