/* hubs.css — /miren/, /kontakt/, /galerija/, /rezultati/, /edukacije/,
   /ponuda/ and the 404 page, plus the contact form partial.
   Gradients and card colours arrive as inline custom properties from
   content/pages/*.json (extracted from the live Elementor stylesheet). */

.page-hub {
  --hb-beige: #fae3ba;
  --hb-cream: #f0ede4;
  --hb-deep: #17403c;
  --hb-tint: #f1f8f4;
}

/* ============================================================= hub hero */
.hb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 42vh, 400px);
  padding: clamp(48px, 8vw, 88px) 0;
  background: var(--hb-grad, linear-gradient(209deg, #0f3c3a 0%, #000 100%));
  color: var(--mm-cream);
}
/* Three stacked layers, bottom to top: photo, wordmark watermark, colour wash.
   Opacities are the live values, carried in as custom properties. */
.hb-hero__photo {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--hb-photo);
  background-size: cover;
  background-position: center;
}
.hb-hero__mark {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hb-mark);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.03;
}
.hb-hero__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hb-wash);
  opacity: var(--hb-wash-op, 0.5);
}
.hb-hero__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-position: center;
}
.hb-hero__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hb-hero--video { background: #062221; }
.hb-hero--video .hb-hero__wash { opacity: var(--hb-wash-op, 0.57); }
.hb-hero__inner { position: relative; text-align: center; }
.hb-hero__title {
  color: var(--mm-cream);
  margin: 0 auto 16px;
  font-size: clamp(34px, 5.4vw, 66px);
  line-height: 1.06;
  max-width: 18ch;
}
.hb-hero__title em { font-style: italic; color: var(--mm-gold-light); }
.hb-hero__lead {
  max-width: 62ch;
  margin: 0 auto;
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  line-height: 1.75;
  color: rgba(246, 249, 247, 0.85);
}

/* =============================================================== /miren/ */
.mr-about { padding: clamp(40px, 6vw, 80px) 0; }
.mr-about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mr-about__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 22px;
  background: var(--mr-card-bg, var(--hb-cream));
}
/* Card 2 and 3 carry the wordmark behind an almost-opaque wash of their own
   colour, which is why the mark reads as a whisper rather than a graphic. */
.mr-about__card--mark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--mr-mark);
  background-size: 78% auto;
  background-position: center;
  background-repeat: no-repeat;
}
.mr-about__card--mark::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--mr-wash, var(--mr-card-bg));
  opacity: var(--mr-wash-op, 0.9);
}
.mr-about__card h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 0 0 4px; }
.mr-about__card p { margin: 0; font-size: 14.5px; line-height: 1.72; }
/* The third card is deep green, so its type inverts. */
.mr-about__card:nth-child(3) { color: var(--mm-cream); }
.mr-about__card:nth-child(3) h2 { color: var(--mm-cream); }
@media (max-width: 900px) { .mr-about__grid { grid-template-columns: 1fr; } }

.mr-team { padding: 0 0 clamp(48px, 7vw, 96px); background: var(--hb-tint); padding-top: clamp(48px, 7vw, 96px); }
.mr-team__title { text-align: center; font-size: clamp(34px, 4.6vw, 58px); margin: 0 0 18px; }
.mr-team__lead {
  max-width: 82ch;
  margin: 0 auto;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--mm-mute);
}

/* Horizontal rail: a scroll-snap list, so it drags on touch and tabs with a
   keyboard without any JS. The arrows are progressive enhancement. */
.mr-team__rail { position: relative; margin-top: clamp(28px, 4vw, 48px); }
.mr-team__track {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 4px var(--mm-pad-x) 20px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.mr-team__track::-webkit-scrollbar { display: none; }
.mr-doc { flex: 0 0 clamp(230px, 24vw, 268px); scroll-snap-align: start; }
.mr-doc a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  min-height: 340px;
  padding: 30px 22px 26px;
  border-radius: 18px;
  background: var(--hb-cream);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mr-doc a:hover { color: inherit; transform: translateY(-5px); box-shadow: 0 18px 34px -20px rgba(15, 62, 53, 0.45); }
.mr-doc__photo {
  width: 148px;
  height: 148px;
  margin-bottom: 14px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mm-green);
}
.mr-doc__photo img { width: 100%; height: 100%; object-fit: cover; }
.mr-doc__name { font-family: var(--mm-font-serif); font-size: 19px; color: var(--mm-charcoal); }
.mr-doc__role {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mm-gold);
  line-height: 1.5;
  margin-bottom: 14px;
}
/* auto margin, not a fixed one: roles run from one to four lines and the
   buttons have to sit on the same baseline across the rail regardless */
.mr-doc__action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--mm-radius-pill);
  background: var(--mm-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-green);
}
.mr-doc__action svg { width: 14px; height: 14px; fill: currentColor; }

.mr-rail__nav {
  position: absolute;
  top: 45%;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mm-line);
  border-radius: 50%;
  background: var(--mm-white);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mr-rail__nav:hover { background: var(--mm-green); }
.mr-rail__nav:hover svg { stroke: var(--mm-cream); }
.mr-rail__nav svg { width: 18px; height: 18px; fill: none; stroke: var(--mm-green); stroke-width: 2; }
.mr-rail__nav--prev { left: 8px; }
.mr-rail__nav--next { right: 8px; }
.mr-rail__nav[disabled] { opacity: 0.35; cursor: default; }
.mr-team__foot { margin-top: 26px; text-align: center; }

/* ============================================================= /kontakt/ */
.kt-photo { margin-top: clamp(-80px, -6vw, -40px); position: relative; z-index: 2; }
.kt-photo__frame {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(15, 62, 53, 0.55);
}
.kt-photo__img { width: 100%; height: clamp(240px, 42vw, 560px); object-fit: cover; }

.kt-parking { padding: clamp(24px, 3vw, 40px) 0 0; }
.kt-parking p {
  margin: 0;
  padding: 22px 30px;
  border-radius: 18px;
  background: var(--mm-green);
  color: var(--mm-cream);
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
}

.kt-details { padding: clamp(24px, 3vw, 36px) 0 0; }
.kt-details__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.kt-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  min-height: 170px;
  justify-content: center;
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--hb-cream);
  text-align: center;
}
.kt-box__icon svg { width: 34px; height: 34px; fill: var(--mm-green); }
.kt-box__lines { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.kt-box__lines a { color: var(--mm-green); text-decoration: none; }
.kt-box__lines a:hover { color: var(--mm-gold); text-decoration: underline; }
@media (max-width: 780px) { .kt-details__grid { grid-template-columns: 1fr; } }

.kt-reach { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.kt-reach__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.kt-reach__title { font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 20px; }
.kt-map__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: var(--hb-cream);
}
.kt-map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.kt-map__hours { margin: 18px 0 0; font-size: 14px; line-height: 1.7; color: var(--mm-mute); }
.kt-map__hours strong { color: var(--mm-green); }
@media (max-width: 880px) { .kt-reach__grid { grid-template-columns: 1fr; } }

/* ========================================================= contact form */
.cf-notices { margin-bottom: 18px; }
.cf-notice { margin: 0 0 12px; padding: 14px 18px; border-radius: 8px; font-size: 14.5px; font-weight: 600; }
.cf-notice--ok { background: #e6f4f1; color: #123c39; }
.cf-notice--err { background: #fff5f5; color: #c53030; }

.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-row { display: flex; gap: 16px; }
.cf-col { flex: 1 1 0; min-width: 0; }
.cf-row, .cf-field, .cf-date-wrap { margin-bottom: 16px; }

.cf-input {
  width: 100%;
  padding: 18px 22px;
  border: 1px solid #e0e5e5;
  border-radius: 8px;
  background: #f9fbfb;
  font-family: var(--mm-font-body);
  font-size: 15px;
  font-weight: 500;
  color: #123c39;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.cf-input::placeholder { color: #8c9b9a; font-weight: 400; }
.cf-input:focus {
  outline: none;
  background: #fff;
  border-color: #123c39;
  box-shadow: 0 4px 20px rgba(18, 60, 57, 0.08);
}
.cf-textarea { min-height: 150px; resize: vertical; }

.cf-date { display: none; }
.cf-date-wrap { position: relative; }
/* When JS runs it hides the native control and shows the Miren picker. */
.cf-date-wrap.is-enhanced .cf-date-native { display: none; }
.cf-date-wrap.is-enhanced .cf-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 18px 22px;
  border: 1px solid #e0e5e5;
  border-radius: 8px;
  background: #f9fbfb;
  font-family: var(--mm-font-body);
  font-size: 15px;
  font-weight: 500;
  color: #8c9b9a;
  text-align: left;
  cursor: pointer;
}
.cf-date.mn-has-value { background: #fff; border-color: #123c39; color: #123c39; font-weight: 600; }
.cf-cal { width: 20px; height: 20px; flex: 0 0 auto; fill: #8c9b9a; }

.cf-actions { margin-top: 24px; text-align: center; }
.cf-submit {
  padding: 18px 45px;
  border: 0;
  border-radius: 50px;
  background: var(--mm-gold-light);
  color: #123c39;
  font-family: var(--mm-font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(197, 157, 95, 0.2);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}
.cf-submit:hover { background: var(--mm-gold); color: #fff; transform: translateY(-2px); }
.cf-submit[disabled] { opacity: 0.7; cursor: progress; transform: none; }

@media (max-width: 600px) { .cf-row { flex-direction: column; gap: 16px; } }

/* --------------------------------------------------------- date picker */
.cf-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(18, 60, 57, 0.4);
  backdrop-filter: blur(8px);
}
.cf-modal[hidden] { display: none; }
.cf-picker {
  width: 100%;
  max-width: 380px;
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  animation: cfFadeIn 0.3s ease;
}
@keyframes cfFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cf-picker__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cf-picker__head strong { font-family: var(--mm-font-serif); font-size: 18px; font-weight: 400; color: #123c39; }
.cf-nav {
  width: 34px;
  height: 34px;
  border: 1px solid var(--mm-line);
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
  line-height: 1;
  color: #123c39;
  cursor: pointer;
}
.cf-nav:hover { background: #123c39; color: #ffeccb; }
.cf-picker__dows,
.cf-picker__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cf-picker__dows {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #8c9b9a;
  text-align: center;
  text-transform: uppercase;
}
.cf-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--mm-font-body);
  font-size: 14px;
  color: #123c39;
  cursor: pointer;
}
.cf-day:hover:not(.disabled) { background: #f0ede4; }
.cf-day.disabled { color: #c9cfce; cursor: default; }
.cf-day.selected { background: #123c39; color: #ffeccb; font-weight: 600; }
.cf-day.is-empty { visibility: hidden; }
.cf-picker__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.cf-ghost,
.cf-confirm {
  padding: 11px 22px;
  border-radius: 50px;
  border: 1px solid var(--mm-line);
  background: #fff;
  font-family: var(--mm-font-body);
  font-size: 13px;
  font-weight: 600;
  color: #123c39;
  cursor: pointer;
}
.cf-confirm { background: #123c39; border-color: #123c39; color: #ffeccb; }
.cf-confirm:hover { background: var(--mm-gold); border-color: var(--mm-gold); color: #fff; }

/* ============================================================ /galerija/ */
.gl { padding: clamp(40px, 6vw, 80px) 0; }
.gl__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gl__link {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--hb-cream);
  aspect-ratio: 3 / 4;
}
.gl__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gl__link:hover .gl__img { transform: scale(1.05); }
.gl__link:focus-visible { outline: 3px solid var(--mm-gold); outline-offset: 3px; }
@media (max-width: 860px) { .gl__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 520px) { .gl__grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- lightbox */
.lb {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(6, 34, 33, 0.94);
}
.lb[hidden] { display: none; }
.lb__img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 8px; }
.lb__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  padding: 0 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(246, 249, 247, 0.75);
}
.lb__btn {
  position: absolute;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246, 249, 247, 0.28);
  border-radius: 50%;
  background: rgba(6, 34, 33, 0.6);
  color: var(--mm-cream);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.lb__btn:hover { background: var(--mm-gold); border-color: var(--mm-gold); color: #fff; }
.lb__close { top: 18px; right: 18px; }
.lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lb__prev { left: 10px; }
  .lb__next { right: 10px; }
  .lb__btn { width: 38px; height: 38px; }
}

/* =========================================================== /rezultati/ */
.rz { padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 7vw, 96px); }
.rz__filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0 0 clamp(28px, 4vw, 44px);
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
}
.rz__filters::-webkit-scrollbar { display: none; }
.rz__filter {
  flex: 0 0 auto;
  padding: 11px 24px;
  border: 1px solid var(--mm-line);
  border-radius: 50px;
  background: var(--mm-white);
  font-family: var(--mm-font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--mm-green);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.rz__filter:hover { border-color: var(--mm-gold); }
.rz__filter.is-active { background: #123c39; border-color: #123c39; color: var(--mm-gold-light); }

.rz__grid { display: flex; flex-direction: column; align-items: center; gap: clamp(24px, 3vw, 40px); }
.rz__item { margin: 0; width: min(900px, 100%); }
.rz__compare {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--hb-cream);
  aspect-ratio: 4 / 3;
}
.rz__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The "before" image is revealed up to --rz-pos. clip-path rather than a width
   override, so the image keeps the container's own dimensions and the two
   halves stay in register at every position. */
.rz__clip {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--rz-pos, 50%)) 0 0);
}
.rz__label {
  position: absolute;
  top: 16px;
  padding: 7px 16px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #123c39;
}
.rz__label--l { left: 16px; }
.rz__label--r { right: 16px; }
.rz__handle {
  position: absolute;
  top: 50%;
  left: var(--rz-pos, 50%);
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--mm-gold-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  pointer-events: none;
}
.rz__handle svg { width: 20px; height: 20px; fill: #123c39; }
.rz__compare::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--rz-pos, 50%);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  pointer-events: none;
}
/* A real range input laid over the image: keyboard, touch and mouse for free. */
.rz__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.rz__range:focus-visible ~ .rz__handle { outline: 3px solid var(--mm-gold); outline-offset: 3px; }
.rz__item[hidden] { display: none; }
.rz__empty { margin-top: 24px; text-align: center; color: var(--mm-mute); }

/* =========================================================== /edukacije/ */
.ed { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.ed__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.ed__card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--mm-white);
  border: 1px solid var(--mm-line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ed__card:hover { color: inherit; transform: translateY(-8px); box-shadow: 0 15px 30px rgba(15, 62, 53, 0.15); }
/* 16:10, matching the live blog cards (doctor cards are 3:4 — do not unify). */
.ed__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--hb-cream); }
.ed__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ed__card:hover .ed__img { transform: scale(1.08); }
.ed__body { display: flex; flex-direction: column; gap: 10px; padding: 22px; }
.ed__cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--mm-gold);
}
.ed__title { font-family: var(--mm-font-serif); font-size: 1.3rem; line-height: 1.2; color: var(--mm-green); }
.ed__excerpt { font-size: 0.85rem; line-height: 1.65; color: var(--mm-mute); }
.ed__more {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mm-green);
}
.ed__more svg { width: 16px; height: 16px; fill: currentColor; transition: transform 0.25s ease; }
.ed__card:hover .ed__more svg { transform: translateX(5px); }
@media (max-width: 768px) { .ed__grid { grid-template-columns: 1fr; } }

/* ============================================================== /ponuda/ */
.pn { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.pn__grid {
  list-style: none;
  margin: 0 0 clamp(28px, 4vw, 44px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.pn__link { display: block; border-radius: 16px; overflow: hidden; background: var(--hb-cream); }
.pn__img { width: 100%; height: auto; }
.pn__link:focus-visible { outline: 3px solid var(--mm-gold); outline-offset: 3px; }
.pn__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ================================================================== 404 */
.nf-hero { text-align: center; min-height: clamp(320px, 52vh, 460px); }
.nf-code {
  margin: 0 0 10px;
  font-family: var(--mm-font-serif);
  font-size: clamp(64px, 12vw, 132px);
  line-height: 1;
  color: var(--mm-gold-light);
  opacity: 0.35;
}
.nf-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px 0 0; }
.nf-btn-ghost { border-color: rgba(246, 249, 247, 0.35); color: var(--mm-cream); }
.nf-btn-ghost:hover { background: var(--mm-cream); color: var(--mm-green); }

.nf-links { padding: clamp(40px, 6vw, 80px) 0; }
.nf-links__title { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 24px; text-align: center; }
.nf-links__grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--mm-container-narrow);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.nf-links__grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--mm-line);
  border-radius: 12px;
  background: var(--mm-white);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mm-green);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.nf-links__grid a:hover { border-color: var(--mm-gold); transform: translateY(-2px); }
.nf-links__grid svg { width: 16px; height: 16px; fill: var(--mm-gold); }
.nf-help { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--mm-mute); }

/* Cloudflare Turnstile in the contact form (replaced hCaptcha 2026-07-27). */
.cf-turnstile-wrap { margin: 18px 0 6px; min-height: 66px; display: flex; justify-content: center; }
