/* ============================================================
   Ambassa PACS — Homepage styles
   Modular tokens + components. Breakpoints live in responsive.css
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-deep: #14532d;
  --green: #2e7d32;
  --green-soft: #3d8b40;
  --gold: #d4a72c;
  --gold-deep: #b8891c;
  --bg: #fafaf7;
  --bg-soft: #f1f7f2;
  --bg-cream: #f6f3ea;
  --text: #17201a;
  --text-muted: #5f6b61;
  --white: #ffffff;
  --line: rgba(20, 83, 45, 0.12);
  --line-strong: rgba(20, 83, 45, 0.22);
  --shadow: 0 18px 40px rgba(23, 32, 26, 0.07);
  --shadow-soft: 0 8px 24px rgba(23, 32, 26, 0.05);
  --radius: 22px;
  --radius-sm: 16px;
  --radius-xs: 12px;
  --header-h: 84px;
  --max: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --focus: 0 0 0 3px rgba(212, 167, 44, 0.45);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

body {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: rgba(212, 167, 44, 0.28);
  color: var(--text);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--green-deep);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 10px;
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.is-locked {
  overflow: hidden;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: var(--gold);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.section-heading {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.section-lead {
  margin: 0;
  max-width: 62ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section {
  padding: clamp(4.25rem, 9vw, 8.25rem) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--cream {
  background: var(--bg-cream);
}

.section--dark {
  background: var(--green-deep);
  color: var(--white);
}

.placeholder-data {
  display: inline;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(212, 167, 44, 0.14);
  border: 1px dashed rgba(184, 137, 28, 0.45);
  border-radius: 6px;
  padding: 0 0.35em;
}

.section--dark .placeholder-data {
  color: #fff8dc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 167, 44, 0.5);
}

/* Buttons
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn--primary {
  background: var(--green-deep);
  color: var(--white);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 83, 45, 0.22);
  background: #0f3d22;
}

.btn--ghost {
  background: transparent;
  color: var(--green-deep);
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--green-deep);
  background: rgba(20, 83, 45, 0.04);
}

.btn--light {
  background: var(--white);
  color: var(--green-deep);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn--line {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--line:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* Header
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open,
.site-header--solid {
  background: rgba(250, 250, 247, 0.94);
  box-shadow: 0 8px 24px rgba(23, 32, 26, 0.06);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(100% - 32px, 1360px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo img {
  width: 46px;
  height: 46px;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__name {
  font-weight: 720;
  letter-spacing: -0.03em;
  font-size: 1.05rem;
}

.logo__sub {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 0;
  min-width: 0;
}

.nav__link {
  position: relative;
  padding: 10px 8px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 550;
  white-space: nowrap;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.88rem;
}

.nav__mobile-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.menu-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.menu-toggle__bars span,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), top 0.25s var(--ease);
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
}

.menu-toggle__bars span {
  top: 5px;
}

.menu-toggle__bars::before {
  top: 0;
}

.menu-toggle__bars::after {
  top: 10px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
  top: 5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
  top: 5px;
  transform: rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

/* Hero
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: min(92vh, 920px);
  padding: 28px 0 56px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  min-height: calc(92vh - 140px);
}

.hero__copy {
  max-width: 640px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 680;
}

.hero h1 span {
  display: block;
}

.hero h1 .hero-subhead {
  margin-top: 14px;
  font-size: clamp(1.15rem, 2.6vw, 1.85rem);
  letter-spacing: -0.03em;
  font-weight: 560;
  line-height: 1.28;
  color: var(--text-muted);
}

.hero__motto {
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.faq {
  margin-top: 48px;
}

.faq h2 {
  margin-bottom: 20px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  letter-spacing: -0.02em;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details p {
  margin: 10px 0 4px;
  color: var(--text-muted);
}

.seo-intro {
  margin: 0 0 18px;
  max-width: 68ch;
}

.hero__text {
  margin: 0 0 32px;
  max-width: 48ch;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 720px;
  box-shadow: var(--shadow);
}

.hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(20, 83, 45, 0.28) 100%);
  pointer-events: none;
}

.hero__float {
  position: absolute;
  left: -28px;
  bottom: 36px;
  background: var(--white);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 240px;
}

.hero__float-label {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

.hero__float p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero__meta {
  position: absolute;
  right: 18px;
  top: 18px;
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Trust strip
   ------------------------------------------------------------ */

.trust {
  padding: 28px 0 8px;
}

.trust__panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 28px 40px;
  align-items: center;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.trust__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.trust__icon {
  width: 36px;
  height: 36px;
  color: var(--green-deep);
}

.trust__item strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

/* About
   ------------------------------------------------------------ */

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.about__media {
  position: relative;
}

.about__media img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 28px;
}

.about__chip {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(250, 250, 247, 0.94);
  border-radius: 16px;
  padding: 14px 16px;
  max-width: 230px;
  border: 1px solid var(--line);
}

.about__chip span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 4px;
}

.about__chip p {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.about__copy p {
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 52ch;
}

/* Services
   ------------------------------------------------------------ */

.services__head {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 40px;
}

.services__note {
  margin: 0;
  max-width: 36ch;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 24px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(20, 83, 45, 0.24);
}

.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--green-deep);
}

.service-card__num {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0 0 22px;
  color: var(--text-muted);
  flex: 1;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 650;
  color: var(--green-deep);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Journey
   ------------------------------------------------------------ */

.journey__head {
  max-width: 720px;
  margin-bottom: 56px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 27px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.timeline__item {
  position: relative;
  padding-top: 8px;
}

.timeline__marker {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-deep);
  position: relative;
  z-index: 1;
}

.timeline__item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.timeline__item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Digital
   ------------------------------------------------------------ */

.digital__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.digital__copy p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 18px;
  max-width: 50ch;
}

.digital .eyebrow {
  color: #f0d789;
}

.digital .eyebrow::before {
  background: var(--gold);
}

.dash {
  background: #10261a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 22px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.dash__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.dash__dots {
  display: flex;
  gap: 6px;
}

.dash__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dash__dots span:first-child {
  background: #d4a72c;
}

.dash__title {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.dash__list {
  display: grid;
  gap: 10px;
}

.dash__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.dash__row strong {
  font-weight: 600;
}

.dash__tag {
  font-size: 0.75rem;
  color: #f0d789;
  letter-spacing: 0.04em;
}

/* Schemes
   ------------------------------------------------------------ */

.schemes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.scheme-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.scheme-card__badge {
  align-self: flex-start;
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.scheme-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  font-size: 1.25rem;
}

.scheme-card p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.scheme-meta {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.scheme-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.scheme-meta span {
  color: var(--text-muted);
}

.scheme-card .btn {
  margin-top: auto;
}

/* Notices
   ------------------------------------------------------------ */

.notices__layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-top: 40px;
}

.notice-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.notice-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.notice-card--featured {
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(20, 83, 45, 0.04), transparent 40%),
    var(--white);
}

.notice-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.notice-card__cat {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.notice-card h3 {
  margin: 0 0 10px;
  letter-spacing: -0.03em;
  font-size: 1.4rem;
}

.notice-card p {
  margin: 0 0 20px;
  color: var(--text-muted);
}

.notice-list {
  display: grid;
  gap: 18px;
}

.notice-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 28px;
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: 28px;
}

.notice-empty h3 {
  margin: 10px 0;
  letter-spacing: -0.03em;
}

.notice-empty p {
  margin: 0 auto;
  max-width: 46ch;
  color: var(--text-muted);
}

/* CTA band
   ------------------------------------------------------------ */

.cta-band {
  position: relative;
  overflow: hidden;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  margin: 0 0 28px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-band__aside {
  justify-self: end;
  width: min(100%, 340px);
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-band__aside p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

/* Gallery
   ------------------------------------------------------------ */

.gallery__head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.chip.is-active {
  background: var(--green-deep);
  color: var(--white);
  border-color: var(--green-deep);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 150px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #d7e3d8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.gallery-item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 3;
}

.gallery-item:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-item:nth-child(3) {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-item:nth-child(4) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item:nth-child(5) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item:nth-child(6) {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery__note {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* Contact
   ------------------------------------------------------------ */

.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.visit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.visit-card h3 {
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

.visit-card p {
  margin: 0 0 14px;
  color: var(--text-muted);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.about__copy .facts-grid {
  grid-template-columns: 1fr 1fr;
}

.fact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}

.fact-card span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
}

.fact-card strong {
  display: block;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-list p {
  margin: 0;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 650;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--bg);
  color: var(--text);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #9b3a2f;
}

.form__status {
  display: none;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--green-deep);
  font-size: 0.95rem;
}

.form__status.is-visible {
  display: block;
}

.form__hint {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

/* Map
   ------------------------------------------------------------ */

.map-block {
  padding-bottom: clamp(4.25rem, 9vw, 8.25rem);
}

.map-placeholder {
  min-height: 360px;
  border-radius: 28px;
  border: 1px dashed var(--line-strong);
  background:
    linear-gradient(180deg, rgba(20, 83, 45, 0.04), transparent),
    var(--bg-soft);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
}

.map-placeholder h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}

.map-placeholder p {
  margin: 0;
  color: var(--text-muted);
  max-width: 46ch;
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 28px;
}

.map-frame.is-ready {
  display: block;
}

.map-placeholder.is-hidden {
  display: none;
}

/* Footer
   ------------------------------------------------------------ */

.site-footer {
  background: #102418;
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .logo__name,
.site-footer .logo__sub {
  color: var(--white);
}

.site-footer .logo__sub {
  opacity: 0.7;
}

.footer__brand p {
  max-width: 36ch;
  margin: 18px 0 0;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: #f0d789;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 0.88rem;
}

.footer-credit {
  margin: 0;
  text-align: right;
}

.footer-credit a {
  color: #f0d789;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credit a:hover {
  color: var(--white);
}

/* Page shell for inner pages
   ------------------------------------------------------------ */

.page-hero {
  padding: 48px 0 28px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -0.04em;
}

.page-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  margin-bottom: 80px;
}

.page-panel p {
  color: var(--text-muted);
  max-width: 68ch;
}

.page-panel a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-panel h2 {
  margin: 32px 0 12px;
  letter-spacing: -0.03em;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.page-panel h2:first-child {
  margin-top: 0;
}

.page-panel ul {
  color: var(--text-muted);
  padding-left: 1.2em;
}

.page-stack {
  display: grid;
  gap: 18px;
  margin-bottom: 80px;
}

/* Motion
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-up 0.7s var(--ease) forwards;
  animation-play-state: paused;
}

.reveal.is-inview {
  animation-play-state: running;
}

.hero__copy .eyebrow,
.hero__copy h1,
.hero__copy .hero__text,
.hero__copy .hero__actions {
  opacity: 0;
  animation: fade-up 0.8s var(--ease) forwards;
}

.hero__copy .eyebrow { animation-delay: 0.05s; }
.hero__copy h1 { animation-delay: 0.16s; }
.hero__copy .hero__text { animation-delay: 0.28s; }
.hero__copy .hero__actions { animation-delay: 0.4s; }

.hero__image-wrap {
  opacity: 0;
  animation: image-reveal 1.1s var(--ease) 0.2s forwards;
}

.hero__float {
  animation: float-card 6.5s ease-in-out 1.2s infinite;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(1.03);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero__copy .eyebrow,
  .hero__copy h1,
  .hero__copy .hero__text,
  .hero__copy .hero__actions,
  .hero__image-wrap {
    opacity: 1;
    transform: none;
  }
}
