/* Maya Australian Community Care — public website
   Mobile-first. Bootstrap 5 provides the grid/utilities; everything visual lives here. */

:root {
  --mc-primary: #e8591f;        /* lotus orange from the logo */
  --mc-primary-dark: #c4471a;
  --mc-primary-soft: #fdeee6;
  --mc-accent: #f7a823;         /* lotus yellow */
  --mc-green: #1f5a3c;          /* deep green: trust, headings */
  --mc-green-soft: #e7f1ea;
  --mc-cream: #fbf6f0;
  --mc-sand: #f3e9dd;
  --mc-ink: #1e2a2b;
  --mc-muted: #5b6668;
  --mc-line: #e8dfd4;
  --mc-white: #ffffff;
  --mc-radius: 18px;
  --mc-radius-sm: 12px;
  --mc-shadow: 0 10px 30px rgba(30, 42, 43, .08);
  --mc-shadow-lg: 0 24px 60px rgba(30, 42, 43, .14);
  --mc-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mc-heading-font: "Fraunces", Georgia, "Times New Roman", serif;
  --mc-heading: #0b1e47;        /* deep navy for Fraunces display headings */
  --mc-header-h: 64px;
  --mc-mobile-bar-h: 64px;
}

/* ── base ───────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mc-header-h) + 12px); }
body {
  font-family: var(--mc-font);
  color: var(--mc-ink);
  background: var(--mc-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mc-mobile-bar-h); /* room for the fixed mobile action bar */
}
h1, h2, h3, h4, h5, .h1, .h2, .h3 { font-weight: 800; letter-spacing: -.02em; color: var(--mc-green); line-height: 1.15; }
/* Main headings: Fraunces 600 (semi bold), tight leading 1.02, tracking -0.015em (= -0.9px at 60px), navy.
   Matches the reference styling; everything else stays in Plus Jakarta Sans. */
h1, h2, .h1, .h2 {
  font-family: var(--mc-heading-font); font-weight: 600; font-style: normal;
  line-height: 1.02; letter-spacing: -.015em; color: var(--mc-heading);
  font-variant: normal; font-feature-settings: normal; font-variation-settings: normal;
}
h1, .h1 { font-size: clamp(2.5rem, 7vw, 3.75rem); }   /* 60px on desktop */
h2, .h2 { font-size: clamp(1.9rem, 5vw, 2.75rem); }
h1 em, .hero h1 em { font-style: normal; font-weight: 600; }
.section--green h2, .cta-band h2 { color: #fff; }
h3, .h3 { font-size: clamp(1.2rem, 3.2vw, 1.5rem); }
p { margin-bottom: 1rem; }
a { color: var(--mc-primary-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--mc-primary); }
img { max-width: 100%; height: auto; }
.lead { font-size: 1.1rem; color: var(--mc-muted); }
.container { padding-left: 20px; padding-right: 20px; }
@media (min-width: 992px) { .container { padding-left: 16px; padding-right: 16px; } }

.visually-hidden-focusable:focus { position: fixed; top: 8px; left: 8px; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--mc-accent); outline-offset: 2px; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mc-primary); margin-bottom: .6rem;
}
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }
.section--alt { background: var(--mc-white); }
.section--green { background: var(--mc-green); color: #fff; }
.section--green h2, .section--green h3 { color: #fff; }
.section--green .eyebrow { color: var(--mc-accent); }
.section--green a:not(.btn-mc):not(.btn-mc-outline):not(.btn-mc-light) { color: #fff; }
.section--green .btn-mc-light, .cta-band .btn-mc-light { color: var(--mc-green); }
.section--green .btn-mc-light:hover, .cta-band .btn-mc-light:hover { color: var(--mc-green); background: var(--mc-sand); }
@media (min-width: 992px) { .section { padding: 88px 0; } .section--tight { padding: 56px 0; } }

/* ── buttons ────────────────────────────────────────────────────────── */
.btn-mc, .btn-mc-outline, .btn-mc-light {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
}
.btn-mc { background: var(--mc-primary); color: #fff; box-shadow: 0 8px 20px rgba(232, 89, 31, .28); }
.btn-mc:hover, .btn-mc:focus { background: var(--mc-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-mc:disabled { opacity: .7; transform: none; cursor: progress; }
.btn-mc-outline { border-color: var(--mc-green); color: var(--mc-green); background: transparent; }
.btn-mc-outline:hover { background: var(--mc-green); color: #fff; }
.btn-mc-light { background: #fff; color: var(--mc-green); }
.btn-mc-light:hover { background: var(--mc-sand); color: var(--mc-green); }
.btn-mc svg, .btn-mc-outline svg, .btn-mc-light svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }
@media (min-width: 576px) { .btn-block { width: auto; } }

/* ── header ─────────────────────────────────────────────────────────── */
.topbar { background: var(--mc-green); color: #fff; font-size: .85rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--mc-accent); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 1rem; }
.topbar__inner ul { display: flex; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.topbar svg { width: 14px; height: 14px; margin-right: .35rem; vertical-align: -2px; }

.site-header {
  position: sticky; top: 0; z-index: 1030; background: rgba(251, 246, 240, .92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--mc-line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--mc-header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand span { font-weight: 800; color: var(--mc-green); font-size: .95rem; line-height: 1.1; display: none; }
@media (min-width: 400px) { .brand span { display: block; max-width: 150px; } }
@media (min-width: 992px) { .brand img { height: 52px; } .brand span { font-size: 1rem; max-width: none; } }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border: 1px solid var(--mc-line); border-radius: 12px; background: #fff; color: var(--mc-green);
}
.nav-toggle svg { width: 24px; height: 24px; }

.nav-main { display: none; }
@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .nav-main { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
  .nav-main > li { position: relative; }
  .nav-main a, .nav-main button {
    display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .85rem; border-radius: 10px;
    font-weight: 600; color: var(--mc-ink); text-decoration: none; background: none; border: 0; font-size: .95rem;
  }
  .nav-main a:hover, .nav-main button:hover, .nav-main a.active { background: var(--mc-primary-soft); color: var(--mc-primary-dark); }
  .nav-main .dropdown-menu { border: 1px solid var(--mc-line); border-radius: 14px; box-shadow: var(--mc-shadow-lg); padding: .5rem; min-width: 340px; max-width: 380px; max-height: calc(100vh - 140px); overflow-y: auto; }
  /* dropdown items are plain blocks (override the inline-flex used for top-level nav links) */
  .nav-main .dropdown-item { display: block; border-radius: 10px; padding: .6rem .8rem; font-weight: 700; font-size: .95rem; line-height: 1.3; white-space: normal; color: var(--mc-green); }
  .nav-main .dropdown-item small { display: block; margin-top: .15rem; font-size: .8rem; font-weight: 400; line-height: 1.4; color: var(--mc-muted); }
  .nav-main .dropdown-item:hover, .nav-main .dropdown-item:focus { background: var(--mc-green-soft); color: var(--mc-green); }
  .nav-main .dropdown-item + .dropdown-item, .nav-main .dropdown-menu li + li .dropdown-item { margin-top: .15rem; }
}
.header-cta { display: none; }
@media (min-width: 992px) { .header-cta { display: inline-flex; min-height: 44px; padding: .5rem 1.1rem; } }

/* off-canvas mobile menu */
.offcanvas.mc-menu { width: min(88vw, 360px); background: var(--mc-cream); }
.mc-menu .offcanvas-header { border-bottom: 1px solid var(--mc-line); }
.mc-menu__list { list-style: none; margin: 0; padding: 0; }
.mc-menu__list > li { border-bottom: 1px solid var(--mc-line); }
.mc-menu__list a, .mc-menu__list summary {
  display: flex; align-items: center; justify-content: space-between; padding: .95rem .25rem;
  font-weight: 700; font-size: 1.05rem; color: var(--mc-green); text-decoration: none; cursor: pointer; list-style: none;
}
.mc-menu__list summary::-webkit-details-marker { display: none; }
.mc-menu__list summary svg { width: 18px; height: 18px; transition: transform .2s; }
.mc-menu__list details[open] summary svg { transform: rotate(180deg); }
.mc-menu__sub { list-style: none; margin: 0 0 .5rem; padding: 0 0 0 .75rem; }
.mc-menu__sub a { font-weight: 500; font-size: .98rem; color: var(--mc-ink); padding: .6rem .25rem; }
.mc-menu__contact { margin-top: 1.25rem; padding: 1rem; background: #fff; border-radius: var(--mc-radius-sm); border: 1px solid var(--mc-line); font-size: .95rem; }
.mc-menu__contact a { display: flex; gap: .5rem; align-items: center; color: var(--mc-ink); text-decoration: none; padding: .35rem 0; }
.mc-menu__contact svg { width: 18px; height: 18px; color: var(--mc-primary); }

/* fixed bottom action bar (phones/tablets) */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; height: var(--mc-mobile-bar-h);
  display: grid; grid-template-columns: 1fr 1fr 1fr; background: #fff; border-top: 1px solid var(--mc-line);
  box-shadow: 0 -8px 24px rgba(30, 42, 43, .08); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: .72rem; font-weight: 700; color: var(--mc-green); text-decoration: none;
}
.mobile-bar a svg { width: 22px; height: 22px; }
.mobile-bar a.is-primary { background: var(--mc-primary); color: #fff; }
@media (min-width: 992px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ── hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 40px 0 48px; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 70vw; max-width: 620px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(247, 168, 35, .35), rgba(232, 89, 31, .12) 55%, transparent 70%); pointer-events: none;
}
.hero__kicker { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--mc-line); border-radius: 999px; padding: .35rem .9rem .35rem .4rem; font-size: .85rem; font-weight: 600; color: var(--mc-green); }
.hero__kicker b { background: var(--mc-green); color: #fff; border-radius: 999px; padding: .15rem .6rem; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.hero h1 { margin: 1rem 0 .75rem; }
.hero h1 em { font-style: normal; color: var(--mc-primary); }
.hero__actions { display: flex; flex-direction: column; gap: .75rem; margin-top: 1.5rem; }
.hero__media { margin-top: 2rem; position: relative; }
.hero__media img { width: 100%; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.hero__badge {
  position: absolute; left: 16px; bottom: -18px; background: #fff; border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--mc-shadow);
  display: flex; align-items: center; gap: .6rem; font-size: .85rem; font-weight: 700; color: var(--mc-green);
}
.hero__badge svg { width: 26px; height: 26px; color: var(--mc-primary); }
@media (min-width: 576px) { .hero__actions { flex-direction: row; } }
@media (min-width: 992px) {
  .hero { padding: 72px 0 96px; }
  .hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
  .hero__media { margin-top: 0; }
}

.trust-strip { background: var(--mc-white); border-top: 1px solid var(--mc-line); border-bottom: 1px solid var(--mc-line); }
.trust-strip ul { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; list-style: none; }
.trust-strip li { display: flex; gap: .75rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--mc-line); font-weight: 600; font-size: .95rem; }
.trust-strip li:last-child { border-bottom: 0; }
.trust-strip svg { width: 22px; height: 22px; color: var(--mc-primary); flex: none; }
@media (min-width: 768px) {
  .trust-strip ul { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .trust-strip li { border-bottom: 0; padding: 1.1rem 0; }
}

/* ── cards ──────────────────────────────────────────────────────────── */
.card-service {
  display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--mc-radius); overflow: hidden;
  border: 1px solid var(--mc-line); box-shadow: var(--mc-shadow); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease;
}
.card-service:hover { transform: translateY(-4px); box-shadow: var(--mc-shadow-lg); color: inherit; }
.card-service img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-service__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.card-service h3 { font-size: 1.15rem; margin: 0; }
.card-service p { margin: 0; color: var(--mc-muted); font-size: .95rem; }
.card-service__more { margin-top: auto; padding-top: .6rem; font-weight: 700; color: var(--mc-primary-dark); display: inline-flex; align-items: center; gap: .35rem; }
.card-service__more svg { width: 16px; height: 16px; transition: transform .2s; }
.card-service:hover .card-service__more svg { transform: translateX(4px); }

.link-tiles { display: grid; grid-template-columns: 1fr; gap: .75rem; }
.link-tile {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.1rem; background: #fff;
  border: 1px solid var(--mc-line); border-radius: var(--mc-radius-sm); text-decoration: none; color: var(--mc-green); font-weight: 700;
}
.link-tile:hover { border-color: var(--mc-primary); color: var(--mc-primary-dark); }
.link-tile svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 768px) { .link-tiles { grid-template-columns: 1fr 1fr; } }

.value-card { background: #fff; border-radius: var(--mc-radius); padding: 1.5rem; border: 1px solid var(--mc-line); height: 100%; }
.value-card__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--mc-primary-soft); color: var(--mc-primary); display: grid; place-items: center; margin-bottom: 1rem; }
.value-card__icon svg { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { margin: 0; color: var(--mc-muted); }

.media-split img { width: 100%; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.media-split .media-split__stack { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.media-split .media-split__stack img:last-child { margin-top: 2rem; }

.partner-band { background: #fff; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); padding: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.partner-band img { height: 120px; width: auto; max-width: 100%; object-fit: contain; flex: none; }
@media (min-width: 768px) { .partner-band { flex-direction: row; align-items: center; gap: 2.5rem; padding: 2rem; } .partner-band img { height: 150px; } }

/* ── CTA band ───────────────────────────────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--mc-primary) 0%, #f0742f 55%, var(--mc-accent) 100%); color: #fff; border-radius: var(--mc-radius); padding: 2rem 1.5rem; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .92); margin-bottom: 1.25rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: .75rem; }
.cta-band .btn-mc-outline { border-color: #fff; color: #fff; }
.cta-band .btn-mc-outline:hover { background: #fff; color: var(--mc-primary-dark); }
@media (min-width: 576px) { .cta-band__actions { flex-direction: row; } }
@media (min-width: 992px) { .cta-band { padding: 3rem; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; } .cta-band__actions { justify-content: flex-end; } }

/* ── inner pages ────────────────────────────────────────────────────── */
.page-head { padding: 36px 0 28px; background: var(--mc-white); border-bottom: 1px solid var(--mc-line); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 .75rem; font-size: .85rem; color: var(--mc-muted); }
.crumbs a { color: var(--mc-muted); text-decoration: none; }
.crumbs a:hover { color: var(--mc-primary); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--mc-line); }
.page-head h1 { margin: 0; }
.page-head .lead { margin: .75rem 0 0; max-width: 60ch; }
@media (min-width: 992px) { .page-head { padding: 56px 0 44px; } }

.page-media > img { width: 100%; border-radius: var(--mc-radius); box-shadow: var(--mc-shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.partner-logo { height: 120px; width: auto; max-width: 100%; object-fit: contain; flex: none; }
.site-footer .partner-logo { height: 88px; }
.page-media .ratio { border-radius: var(--mc-radius); overflow: hidden; box-shadow: var(--mc-shadow); }
@media (min-width: 992px) { .page-media { position: sticky; top: calc(var(--mc-header-h) + 24px); } }

.prose { max-width: 68ch; }
.prose h2, .prose h3 { margin-top: 2rem; margin-bottom: .75rem; }
.prose h3 { font-size: 1.2rem; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.25rem; }
.prose ul li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--mc-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a3c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.prose dl { margin: 0 0 1.25rem; }
.prose dt { font-weight: 700; color: var(--mc-green); margin-top: .6rem; }
.prose dd { margin: 0 0 .25rem; color: var(--mc-ink); }
.prose blockquote { border-left: 4px solid var(--mc-accent); background: #fff; padding: 1rem 1.25rem; border-radius: 0 var(--mc-radius-sm) var(--mc-radius-sm) 0; font-style: italic; color: var(--mc-muted); }
.prose .callout { background: var(--mc-green-soft); border-radius: var(--mc-radius-sm); padding: 1rem 1.25rem; margin: 1.5rem 0; }

.aside-card { background: #fff; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); padding: 1.25rem; }
.aside-card h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mc-muted); margin-bottom: .75rem; }
.aside-card ul { list-style: none; margin: 0; padding: 0; }
.aside-card li a { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem 0; border-top: 1px solid var(--mc-line); text-decoration: none; color: var(--mc-green); font-weight: 600; font-size: .95rem; }
.aside-card li:first-child a { border-top: 0; }
.aside-card li a:hover { color: var(--mc-primary); }
.aside-card li a svg { width: 16px; height: 16px; flex: none; margin-top: .3rem; }

/* ── forms ──────────────────────────────────────────────────────────── */
.form-card { background: #fff; border: 1px solid var(--mc-line); border-radius: var(--mc-radius); padding: 1.25rem; box-shadow: var(--mc-shadow); }
.form-card h2 { font-family: var(--mc-font); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; color: var(--mc-green); margin: 1.5rem 0 .75rem; padding-top: 1.25rem; border-top: 1px solid var(--mc-line); }
.prose h2 { font-size: 1.5rem; }
.modal-title.h5 { font-family: var(--mc-font); }
.form-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.form-label { font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mc-muted); margin-bottom: .3rem; }
.form-control, .form-select { min-height: 48px; border-radius: 12px; border: 1px solid #d8d0c5; padding: .6rem .9rem; font-size: 1rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--mc-primary); box-shadow: 0 0 0 .25rem rgba(232, 89, 31, .18); }
textarea.form-control { min-height: 140px; }
.form-check-input { width: 1.35rem; height: 1.35rem; margin-top: .15rem; border-color: #c9bfb2; }
.form-check-input:checked { background-color: var(--mc-primary); border-color: var(--mc-primary); }
.form-check-label { padding-left: .25rem; }
.form-check { padding: .35rem 0 .35rem 1.9rem; }
.required::after { content: " *"; color: var(--mc-primary); }
.form-status { display: none; margin-top: 1rem; }
.form-status.is-visible { display: block; }
.contact-panel { background: var(--mc-green); color: #fff; border-radius: var(--mc-radius); padding: 1.5rem; }
.contact-panel h3 { color: #fff; font-size: 1.1rem; }
.contact-panel a { color: #fff; text-decoration: none; font-weight: 700; display: inline-flex; gap: .5rem; align-items: center; }
.contact-panel svg { width: 18px; height: 18px; color: var(--mc-accent); }
.contact-panel img { border-radius: var(--mc-radius-sm); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: 1rem; }
@media (min-width: 992px) { .form-card { padding: 2rem; } }

/* ── gallery ────────────────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.gallery-tile { position: relative; border: 0; padding: 0; border-radius: var(--mc-radius-sm); overflow: hidden; background: var(--mc-sand); cursor: pointer; text-align: left; display: block; width: 100%; }
.gallery-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .3s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .75rem .6rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); color: #fff; font-weight: 700; font-size: .9rem; }
.gallery-tile__title small { font-weight: 400; opacity: .85; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-modal .modal-content { background: #111; color: #fff; border: 0; }
.photo-modal .carousel-item img { max-height: calc(100vh - 140px); width: auto; max-width: 100%; margin: 0 auto; display: block; object-fit: contain; }
.photo-modal .carousel-caption { position: static; padding: .75rem 0 0; }

/* ── footer ─────────────────────────────────────────────────────────── */
.site-footer { background: var(--mc-green); color: rgba(255, 255, 255, .85); padding: 48px 0 24px; margin-top: 24px; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--mc-accent); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .3rem 0; }
.site-footer__brand img { height: 56px; width: auto; background: #fff; border-radius: 12px; padding: 6px; }
.site-footer__contact li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__contact svg { width: 18px; height: 18px; color: var(--mc-accent); flex: none; margin-top: .25rem; }
.site-footer__ack { font-size: .85rem; color: rgba(255, 255, 255, .75); border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.25rem; margin-top: 2rem; }
.site-footer__bottom { display: flex; flex-direction: column; gap: .5rem; justify-content: space-between; font-size: .85rem; margin-top: 1rem; }
@media (min-width: 768px) { .site-footer__bottom { flex-direction: row; } }

.back-top {
  position: fixed; right: 16px; bottom: calc(var(--mc-mobile-bar-h) + 16px); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--mc-green); color: #fff; display: grid; place-items: center; box-shadow: var(--mc-shadow); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 1020;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top svg { width: 20px; height: 20px; }
@media (min-width: 992px) { .back-top { bottom: 24px; right: 24px; } }

/* ── accommodation vacancies ────────────────────────────────────────── */
.vacancy-card__media { position: relative; }
.status-pill { position: absolute; left: 12px; top: 12px; border-radius: 999px; padding: .3rem .75rem; font-size: .75rem; font-weight: 700; letter-spacing: .03em; background: #fff; color: var(--mc-ink); box-shadow: var(--mc-shadow); }
.status-pill--inline { position: static; display: inline-block; box-shadow: none; border: 1px solid var(--mc-line); font-size: .85rem; }
.status-pill.is-open { background: var(--mc-green); color: #fff; }
.status-pill.is-soon { background: var(--mc-accent); color: var(--mc-ink); }
.status-pill.is-full { background: var(--mc-sand); color: var(--mc-muted); }
.vacancy-card__loc { display: flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--mc-muted) !important; }
.vacancy-card__loc svg { width: 16px; height: 16px; color: var(--mc-primary); }
.vacancy-card__facts { display: flex; flex-wrap: wrap; gap: .4rem 1rem; list-style: none; margin: .25rem 0 0; padding: 0; font-size: .9rem; color: var(--mc-muted); }
.vacancy-card__facts strong { color: var(--mc-green); }
.vacancy-card__features { font-size: .85rem; color: var(--mc-muted) !important; }
.home-carousel { border-radius: var(--mc-radius); overflow: hidden; box-shadow: var(--mc-shadow-lg); background: var(--mc-sand); }
.home-carousel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fact-grid { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1rem; margin: 0; font-size: .95rem; }
.fact-grid dt { color: var(--mc-muted); font-weight: 500; }
.fact-grid dd { margin: 0; font-weight: 700; color: var(--mc-green); }

/* ── FAQ accordion ──────────────────────────────────────────────────── */
.faq-accordion .accordion-item { border: 1px solid var(--mc-line); border-radius: var(--mc-radius-sm) !important; overflow: hidden; margin-bottom: .6rem; background: #fff; }
.faq-accordion .accordion-button { font-weight: 700; color: var(--mc-green); padding: 1rem 1.1rem; font-size: 1rem; background: #fff; box-shadow: none; }
.faq-accordion .accordion-button:not(.collapsed) { background: var(--mc-green-soft); color: var(--mc-green); }
.faq-accordion .accordion-button:focus { box-shadow: 0 0 0 .25rem rgba(31, 90, 60, .15); }
.faq-accordion .accordion-button::after { filter: hue-rotate(290deg) saturate(.6); }
.faq-accordion .accordion-body { padding: .75rem 1.1rem 1.1rem; }
.faq-accordion .accordion-body p:last-child { margin-bottom: 0; }

/* ── service area / map ─────────────────────────────────────────────── */
.area-chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.area-chips li { background: #fff; border: 1px solid var(--mc-line); border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; font-weight: 600; color: var(--mc-green); }
.map-frame { border-radius: var(--mc-radius); overflow: hidden; box-shadow: var(--mc-shadow-lg); border: 1px solid var(--mc-line); background: var(--mc-sand); aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (min-width: 992px) { .map-frame { aspect-ratio: 16 / 10; } }

/* ── feedback form ──────────────────────────────────────────────────── */
.kind-switch { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-bottom: .5rem; }
.kind-switch__opt { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 2px solid var(--mc-line); border-radius: 12px; font-weight: 700; color: var(--mc-green); cursor: pointer; background: #fff; transition: all .15s; }
.btn-check:checked + .kind-switch__opt { background: var(--mc-green); border-color: var(--mc-green); color: #fff; }
.btn-check:focus-visible + .kind-switch__opt { outline: 3px solid var(--mc-accent); outline-offset: 2px; }
.nav-main .dropdown-menu--compact { min-width: 220px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
