/* ==========================================================================
   Korporacija Matininkai — homepage (desktop pass)
   Palette: white + brand green #0b7e40 (taken from the current site)
   ========================================================================== */

:root {
  /* colour */
  --paper: #ffffff;
  --surface: #f2f6f3;
  --green: #0b7e40;
  --green-soft: #e3efe7;
  --forest: #083d23;
  --forest-line: #1d5a3b;
  --mint: #9fd3b4;
  --ink: #15211b;
  --muted: #4f5e56;
  --line: #d5e0d9;

  /* type */
  --font-display: "Spectral", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-label: "Figtree", system-ui, sans-serif;

  /* layout */
  --container: 1240px;
  --gutter: 40px;
  --section-space: 128px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.meta {
  font-family: var(--font-label);
  font-size: .82em;
  font-weight: 500;
  letter-spacing: .04em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--forest);
  color: var(--paper);
}
.skip-link:focus { top: 12px; }

/* ---------- shared type ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--green);
  font: 500 13px/1 var(--font-label);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--light { color: var(--mint); }
.eyebrow { text-wrap: balance; }

.section-title {
  font: 500 48px/1.08 var(--font-display);
  letter-spacing: -.015em;
}
.section-title--light { color: var(--paper); }

.section-lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.section-head { margin-bottom: 64px; }
.section-head .section-lead { margin-top: 24px; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 64px;
}
.section-head--split .section-lead { margin-top: 0; }

/* ---------- buttons & links ---------- */
.button {
  display: inline-flex;
  border: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding-inline: 22px;
  border-radius: 6px;
  background: var(--green);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.button svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button:hover { background: var(--forest); }
.button:active { transform: translateY(1px); }

/* white on dark */
.button--light { background: var(--paper); color: var(--forest); }
.button--light:hover { background: var(--mint); }
/* outline on dark */
.button--ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(159, 211, 180, .45); }
.button--ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--paper); }
/* outline on light */
.button--outline { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1px var(--line); }
.button--outline:hover { background: transparent; color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }

.button--arrow::after { content: "→"; transition: transform .25s var(--ease); }
.button--arrow:hover::after { transform: translateX(3px); }
.button--external::after { content: "↗"; transition: transform .25s var(--ease); }
.button--external:hover::after { transform: translate(2px, -2px); }
.button--sm { height: 44px; padding-inline: 16px; font-size: 14px; }
.office-hq .button svg,
.office-card .button svg { width: 16px; height: 16px; margin: 0; stroke: currentColor; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { border-color: var(--green); gap: 14px; }

/* ---------- top bar ---------- */
.topbar {
  position: relative;
  z-index: 60;
  background: linear-gradient(90deg, #052c18, var(--forest) 55%, #052c18);
  color: #b9d2c3;
  font-size: 13px;
}
.topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 211, 180, .35), transparent);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px;
}
.topbar__group { display: flex; align-items: center; }
.topbar__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 20px;
  border-left: 1px solid rgba(159, 211, 180, .16);
}
.topbar__group > .topbar__item:first-child { padding-left: 0; border-left: 0; }
.topbar__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(159, 211, 180, .12);
}
.topbar__icon svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.topbar__badge {
  padding: 2px 8px;
  border: 1px solid rgba(159, 211, 180, .35);
  border-radius: 999px;
  color: var(--paper);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .06em;
}
.topbar__address,
.topbar__mail { color: #dcebe2; transition: color .2s var(--ease); }
.topbar__address:hover,
.topbar__mail:hover { color: var(--paper); }
.topbar__address:hover .topbar__icon,
.topbar__mail:hover .topbar__icon { background: var(--mint); }
.topbar__address:hover .topbar__icon svg,
.topbar__mail:hover .topbar__icon svg { stroke: var(--forest); }
.topbar__group /* language dropdown */
.lang-menu { position: relative; margin-left: 20px; }
.lang-menu__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px 0 4px;
  border: 1px solid rgba(159, 211, 180, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--paper);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  list-style: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.lang-menu__toggle::-webkit-details-marker { display: none; }
.lang-menu__toggle:hover,
.lang-menu[open] .lang-menu__toggle { background: rgba(159, 211, 180, .14); border-color: var(--mint); }
.lang-menu__chevron {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
.lang-menu[open] .lang-menu__chevron { transform: rotate(180deg); }

.flag {
  flex: none;
  display: block;
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .85), 0 2px 6px rgba(0, 0, 0, .25);
}
.flag svg { width: 100%; height: 100%; }
.flag--lg { width: 30px; height: 30px; box-shadow: 0 0 0 1px var(--line), 0 3px 8px -2px rgba(8, 61, 35, .3); }

.lang-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: -6px;
  z-index: 60;
  width: 236px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 28px 56px -24px rgba(8, 61, 35, .5), 0 2px 6px rgba(8, 61, 35, .06);
  animation: menu-in .22s var(--ease);
}
.lang-menu__panel::before {
  /* pointer toward the toggle */
  content: "";
  position: absolute;
  top: -6px;
  right: 30px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  transform: rotate(45deg);
}
.lang-menu__list { display: grid; gap: 2px; }
.lang-menu__list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 6px;
  color: var(--ink);
  transition: background-color .2s var(--ease);
}
.lang-menu__list a:hover,
.lang-menu__list a:focus-visible { background: var(--surface); }
.lang-menu__list a[aria-current] { background: var(--green-soft); }
.lang-menu__text { display: grid; line-height: 1.25; }
.lang-menu__text strong { color: var(--forest); font-size: 15px; font-weight: 600; }
.lang-menu__text small { color: var(--muted); font-size: 12px; }
.lang-menu__check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green);
}
.lang-menu__check svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: var(--paper);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header::after {
  /* thin brand rule along the top edge */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--forest) 70%);
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -18px rgba(8, 61, 35, .35); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100px;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 78px; }

.brand { flex: none; }
.brand img {
  width: 240px;
  height: auto;
  transform-origin: left center;
  transition: transform .3s var(--ease);
}

/* nav */
.main-nav { margin-left: auto; align-self: stretch; }
.main-nav__list { display: flex; height: 100%; gap: 2px; }
.main-nav__item { display: flex; align-items: center; }
.main-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.main-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav__item:hover > .main-nav__link,
.main-nav__item:focus-within > .main-nav__link { color: var(--green); }
.main-nav__item:hover > .main-nav__link::after,
.main-nav__item:focus-within > .main-nav__link::after { transform: scaleX(1); }
.main-nav__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: transform .3s var(--ease);
}
.main-nav__item--menu:hover .main-nav__chevron,
.main-nav__item--menu:focus-within .main-nav__chevron { transform: rotate(180deg); }

/* services dropdown */
.main-nav__item--menu { position: relative; }
.mega {
  position: absolute;
  top: 100%;
  left: -24px;
  display: grid;
  grid-template-columns: 1fr 250px;
  width: 700px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  box-shadow: 0 30px 60px -28px rgba(8, 61, 35, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.main-nav__item--menu:hover .mega,
.main-nav__item--menu:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega__services { padding: 14px; }
.mega__services a {
  display: grid;
  gap: 2px;
  padding: 14px 16px 14px 20px;
  border-left: 2px solid transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.mega__services a:hover,
.mega__services a:focus-visible { background: var(--surface); border-color: var(--green); }
.mega__services strong { color: var(--forest); font: 500 19px/1.25 var(--font-display); }
.mega__services span { color: var(--muted); font-size: 14px; }
.mega__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 26px;
  background: var(--surface);
  border-left: 1px solid var(--line);
}
.mega__label { color: var(--green); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.mega__text { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.mega__phone { margin: 14px 0 auto; color: var(--forest); font: 500 22px/1.2 var(--font-display); }
.mega__phone:hover { color: var(--green); }
.mega__aside .link-arrow { margin-top: 24px; font-size: 15px; }

/* call block + CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.header-call { display: flex; align-items: center; gap: 12px; }
.header-call__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.header-call__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linejoin: round;
  transition: stroke .25s var(--ease);
}
.header-call__text { display: grid; line-height: 1.25; }
.header-call__label { white-space: nowrap; color: var(--muted); font: 400 11px/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.header-call__number { color: var(--forest); font-weight: 600; font-size: 17px; white-space: nowrap; }
.header-call:hover .header-call__icon { background: var(--green); border-color: var(--green); }
.header-call:hover .header-call__icon svg { stroke: var(--paper); }


/* ==========================================================================
   Hero — cadastral plan on deep forest
   ========================================================================== */
.hero {
  --hero-bg: #05301b;
  position: relative;
  padding-block: 80px 0;
  overflow-x: clip;
  color: #c3d9cc;
  background:
    radial-gradient(1000px 680px at 74% 42%, rgba(11, 126, 64, .42), transparent 66%),
    radial-gradient(700px 420px at 0% 100%, rgba(11, 126, 64, .16), transparent 70%),
    linear-gradient(180deg, #063a21 0%, var(--hero-bg) 100%);
}
.hero::before {
  /* fine paper grain */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .07;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  align-items: center;
  gap: 80px;
}
.hero__copy { max-width: 540px; }

.hero__title {
  color: var(--paper);
  font: 500 70px/1.04 var(--font-display);
  letter-spacing: -.022em;
}
.nowrap { white-space: nowrap; }

.hero__lead {
  max-width: 520px;
  margin-top: 40px;
  font-size: 19px;
  line-height: 1.65;
}
.hero__actions { display: flex; gap: 14px; margin-top: 44px; }

/* service tiles */
.hero-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.hs-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .7), 0 0 0 1px rgba(159, 211, 180, .16);
  animation: tile-in .9s var(--ease) both;
}
.hs-tile:nth-child(even) { top: 56px; }
.hs-tile:nth-child(2) { animation-delay: .12s; }
.hs-tile:nth-child(3) { animation-delay: .24s; }
.hs-tile:nth-child(4) { animation-delay: .36s; }
.hs-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.hs-tile::before {
  /* tones every photo into the brand green */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--forest);
  mix-blend-mode: color;
  opacity: .45;
  transition: opacity .5s var(--ease);
}
.hs-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 36, 20, .45) 0%, rgba(5, 48, 27, 0) 26%, rgba(5, 48, 27, 0) 40%, rgba(5, 48, 27, .6) 64%, rgba(4, 36, 20, .97) 100%);
}
.hs-tile__body {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 8px;
}
.hs-tile__kicker { color: var(--mint); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; }
.hs-tile__name { color: var(--paper); font: 500 26px/1.1 var(--font-display); letter-spacing: -.01em; }
.hs-tile__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  background: rgba(4, 36, 20, .45);
  color: var(--paper);
  backdrop-filter: blur(6px);
  transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.hs-tile:hover img { transform: scale(1.06); }
.hs-tile:hover::before { opacity: .12; }
.hs-tile:hover .hs-tile__arrow { background: var(--paper); color: var(--forest); transform: rotate(-45deg); }

@keyframes tile-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* credentials panel overlapping the next section */
.credentials {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 120px;
  margin-bottom: -60px;
  background: var(--paper);
  border-top: 3px solid var(--green);
  box-shadow: 0 24px 40px -28px rgba(3, 30, 16, .45), 0 1px 0 var(--line);
}
.credentials__item {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 18px;
  align-content: start;
  padding: 34px 32px 34px;
  border-left: 1px solid var(--line);
  transition: background-color .3s var(--ease);
}
.credentials__item:first-child { border-left: 0; }
.credentials__item::before {
  /* hover accent along the top edge */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -3px;
  height: 3px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.credentials__item:hover { background: linear-gradient(var(--surface), var(--paper)); }
.credentials__item:hover::before { transform: scaleX(1); }

.credentials__icon {
  grid-row: 1 / span 2;
  align-self: center;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: var(--green-soft);
  fill: none;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: background-color .3s var(--ease), stroke .3s var(--ease);
}
.credentials__item:hover .credentials__icon { background: var(--green); stroke: var(--paper); }

.credentials__item dt {
  align-self: end;
  color: var(--green);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.credentials__value {
  margin-top: 6px;
  color: var(--forest);
  font: 500 28px/1.1 var(--font-display);
  letter-spacing: -.01em;
}
.credentials abbr { text-decoration: none; cursor: help; }

.hero + .banks { padding-top: 60px; }


/* ==========================================================================
   Banks
   ========================================================================== */
.banks {
  position: relative; /* paint above the hero so the credentials panel overlaps it */
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.banks__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: 104px;
}
.banks__title {
  flex: none;
  color: var(--green);
  font: 500 12px/1.4 var(--font-label);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.banks__marquee {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.banks__track {
  display: flex;
  flex: none;
  align-items: center;
  gap: 64px;
  padding-right: 64px;
  animation: marquee 48s linear infinite;
}
.banks__marquee:hover .banks__track { animation-play-state: paused; }
.banks__track img {
  mix-blend-mode: multiply; /* hides white JPG backgrounds */
  transition: transform .3s var(--ease);
}
.banks__track img:hover { transform: scale(1.06); }

@keyframes marquee { to { transform: translateX(-100%); } }

/* ==========================================================================
   Services — bento
   ========================================================================== */
.services { padding-block: var(--section-space); }
.services .section-title { color: var(--forest); }

.svc-bento {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1fr;
  grid-template-areas:
    "featured movable business"
    "featured shares shares";
  gap: 20px;
}
.svc-card--featured { grid-area: featured; }
.svc-card--movable { grid-area: movable; }
.svc-card--business { grid-area: business; }
.svc-card--shares { grid-area: shares; }

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 32px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--paper), var(--paper) 60%, #f7faf8);
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -48px rgba(8, 61, 35, .5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.svc-card::before {
  /* top accent that draws on hover */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: #c3d6ca;
  box-shadow: 0 1px 0 var(--line), 0 40px 70px -40px rgba(8, 61, 35, .45);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.svc-card__link:focus-visible { outline-offset: -3px; }

.svc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.svc-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-soft);
  transition: background-color .35s var(--ease);
}
.svc-card__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .35s var(--ease);
}
.svc-card:hover .svc-card__icon { background: var(--green); }
.svc-card:hover .svc-card__icon svg { stroke: var(--paper); }

.svc-card__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--forest);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.svc-card__arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-card:hover .svc-card__arrow { background: var(--green); border-color: var(--green); color: var(--paper); transform: rotate(-45deg); }

.svc-card__title {
  color: var(--forest);
  font: 500 28px/1.12 var(--font-display);
  letter-spacing: -.01em;
}
.svc-card__desc { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.svc-card__objects {
  margin-top: 16px;
  color: var(--forest);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
}
.svc-card__objects span {
  margin-right: 4px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.svc-card__checks {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.svc-card__content { margin-bottom: 28px; }
.svc-card--featured .svc-plan { margin-bottom: 28px; }
.svc-card__checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.45;
}
.svc-card__checks svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  padding: 3px;
  border-radius: 50%;
  background: var(--green-soft);
  fill: none;
  stroke: var(--green);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* featured: real estate on deep forest */
.svc-card--featured {
  padding: 40px 40px 36px;
  border-color: transparent;
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(11, 126, 64, .45), transparent 65%),
    linear-gradient(180deg, #063a21, #05301b);
  color: #c3d9cc;
}
.svc-card--featured::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.svc-card--featured::before { background: var(--mint); }
.svc-card--featured:hover { border-color: transparent; box-shadow: 0 50px 80px -40px rgba(3, 30, 16, .7); }
.svc-card--featured .svc-card__title { color: var(--paper); font-size: 40px; line-height: 1.05; }
.svc-card--featured .svc-card__desc { color: #c3d9cc; font-size: 16.5px; max-width: 440px; }
.svc-card--featured .svc-card__objects { color: #e3efe7; }
.svc-card--featured .svc-card__objects span { color: var(--mint); }
.svc-card--featured .svc-card__arrow { border-color: rgba(159, 211, 180, .35); color: var(--paper); }
.svc-card--featured:hover .svc-card__arrow { background: var(--paper); border-color: var(--paper); color: var(--forest); }
.svc-card--featured .svc-card__checks { border-top-color: rgba(159, 211, 180, .2); }
.svc-card--featured .svc-card__checks li { color: #e3efe7; }
.svc-card--featured .svc-card__checks svg { background: rgba(159, 211, 180, .16); stroke: var(--mint); }

.svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  border: 1px solid rgba(159, 211, 180, .35);
  border-radius: 999px;
  background: rgba(159, 211, 180, .08);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.svc-badge svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* technical elevation drawing */
.svc-plan { width: 100%; height: auto; margin-block: 28px 8px; }
.svc-plan__house path,
.svc-plan__house rect,
.svc-plan__house circle { fill: none; stroke: var(--mint); stroke-width: 1.3; stroke-linejoin: round; }
.svc-plan__house > path:first-child { fill: rgba(159, 211, 180, .06); }
.svc-plan__dims path { fill: none; stroke: rgba(159, 211, 180, .5); stroke-width: 1; }
.svc-plan__ground { stroke: rgba(159, 211, 180, .35); stroke-width: 1; stroke-dasharray: 3 5; }

/* shares: wide card with formula */
.svc-card--shares .svc-card__content {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 32px;
  align-items: start;
}
.svc-card--shares .svc-card__checks { grid-template-columns: repeat(3, 1fr); column-gap: 20px; }

.svc-formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px 12px;
  padding: 22px;
  border: 1px dashed #b9d7c5;
  border-radius: 8px;
  background:
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(11, 126, 64, .05) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(11, 126, 64, .05) 23px 24px),
    var(--surface);
}
.svc-formula__term {
  padding: 12px 14px;
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--line), 0 8px 16px -12px rgba(8, 61, 35, .4);
  color: var(--forest);
  font: 500 17px/1.1 var(--font-display);
  text-align: center;
}
.svc-formula__op { color: var(--green); font-size: 22px; font-weight: 600; text-align: center; }
.svc-formula__op--eq { grid-column: 1 / -1; line-height: .6; }
.svc-formula__term--result {
  grid-column: 1 / -1;
  background: var(--forest);
  box-shadow: 0 14px 24px -14px rgba(8, 61, 35, .8);
  color: var(--paper);
  font-size: 19px;
}

/* ==========================================================================
   Report — what the client receives
   ========================================================================== */
.report {
  position: relative;
  padding-block: var(--section-space) 112px;
  overflow: hidden;
  color: #c3d9cc;
  background:
    radial-gradient(900px 600px at 82% 30%, rgba(11, 126, 64, .42), transparent 65%),
    linear-gradient(180deg, #063a21, #05301b);
}
.report::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.report .container { position: relative; }
.report__grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 96px;
  align-items: center;
}
.report__lead { max-width: 500px; margin-top: 24px; font-size: 18px; line-height: 1.6; }

.report-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(159, 211, 180, .18);
}
.report-feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border: 1px solid rgba(159, 211, 180, .3);
  border-radius: 50%;
  background: rgba(159, 211, 180, .08);
}
.report-feature__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.report-feature__title { color: var(--paper); font: 500 21px/1.2 var(--font-display); }
.report-feature__text { margin-top: 6px; font-size: 14.5px; line-height: 1.55; }

/* document mockup */
.report-doc { position: relative; padding: 24px 12px 32px; }
.report-doc__sheet {
  position: relative;
  padding: 36px 40px 32px;
  border-radius: 4px;
  background: var(--paper);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .7), 0 2px 0 rgba(0, 0, 0, .05);
  transform: rotate(-1.8deg);
}
.report-doc__sheet::before {
  /* inner certificate rule */
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--green-soft);
  pointer-events: none;
}
.report-doc__sheet--back {
  position: absolute;
  inset: 24px 12px 32px;
  padding: 0;
  background: #e9f1ec;
  transform: rotate(3.2deg) translate(14px, 6px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.report-doc__sheet--back::before { display: none; }
.report-doc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--green);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
}
.report-doc__kicker {
  margin-top: 26px;
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.report-doc__title { margin-top: 6px; color: var(--forest); font: 500 30px/1.1 var(--font-display); }
.report-doc__rows { margin-top: 26px; }
.report-doc__rows > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
  border-bottom: 1px dashed var(--line);
}
.report-doc__rows dt { color: var(--muted); font-size: 12.5px; }
.report-doc__rows i {
  display: block;
  width: var(--w);
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #dfe8e2, #edf2ef);
}
.report-doc__rows .report-doc__value {
  margin-top: 10px;
  padding: 14px 14px;
  border: 0;
  border-radius: 4px;
  background: var(--green-soft);
}
.report-doc__value dt { color: var(--forest); font-weight: 600; }
.report-doc__value i { height: 12px; background: linear-gradient(90deg, var(--green), #3fa36b); }
.report-doc__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 30px;
}
.report-doc__sign { display: grid; gap: 4px; }
.report-doc__sign svg {
  width: 150px;
  height: 38px;
  fill: none;
  stroke: var(--forest);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.report-doc__sign span {
  padding-top: 6px;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.report-doc__seal { width: 96px; height: 96px; transform: rotate(-12deg); opacity: .92; }
.seal-outer { fill: var(--paper); stroke: var(--green); stroke-width: 1.5; }
.seal-inner { fill: none; stroke: var(--green); stroke-width: 1; stroke-dasharray: 2 3; }
.seal-text { fill: var(--green); font: 600 8.6px var(--font-label); letter-spacing: .12em; }
.seal-year { fill: var(--forest); font: 500 20px var(--font-display); text-anchor: middle; }

/* process */
.report-process {
  margin-top: 104px;
  padding-top: 48px;
  border-top: 1px solid rgba(159, 211, 180, .18);
}
.report-process__label {
  margin-bottom: 32px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.report-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.report-steps::before {
  /* connecting line through the step numbers */
  content: "";
  position: absolute;
  left: 24px;
  right: calc(25% - 48px); /* centre of step 1 to centre of step 4 */
  top: 23px;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(159, 211, 180, .5) 0 6px, transparent 6px 12px);
}
.report-step { position: relative; }
.report-step__num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  background: #05301b;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.report-step:hover .report-step__num { background: var(--mint); color: var(--forest); }
.report-step__title { color: var(--paper); font: 500 22px/1.2 var(--font-display); }
.report-step__text { margin-top: 8px; max-width: 250px; font-size: 14.5px; line-height: 1.55; }

/* ==========================================================================
   About — heritage bento
   ========================================================================== */
.about { padding-block: var(--section-space) 0; }

.about-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* dark heritage panel */
.heritage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 56px 56px 44px;
  overflow: hidden;
  border-radius: 10px;
  color: #c3d9cc;
  background:
    radial-gradient(640px 420px at 100% 0%, rgba(11, 126, 64, .5), transparent 65%),
    linear-gradient(180deg, #063a21, #05301b);
  box-shadow: 0 40px 60px -36px rgba(3, 30, 16, .55);
}
.heritage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.heritage > * { position: relative; }
.heritage__year {
  position: absolute;
  right: -24px;
  bottom: 70px;
  color: transparent;
  font: 500 230px/1 var(--font-display);
  letter-spacing: -.04em;
  -webkit-text-stroke: 1px rgba(159, 211, 180, .18);
  pointer-events: none;
  user-select: none;
}
.heritage__lead {
  max-width: 500px;
  margin-top: 24px;
  color: #d6e8dd;
  font: 400 22px/1.5 var(--font-display);
}

.heritage__figures {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin-top: 48px;
}
.heritage__figures > div { padding-inline: 36px; border-left: 1px solid rgba(159, 211, 180, .22); }
.heritage__figures > div:first-child { padding-left: 0; border-left: 0; }
.heritage__figures dt {
  color: var(--mint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.heritage__figures dd { margin-top: 8px; color: var(--paper); font: 500 48px/1 var(--font-display); letter-spacing: -.02em; }

.heritage__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 44px;
}
.heritage__members { display: flex; flex-wrap: wrap; gap: 8px; }
.heritage__members abbr {
  display: block;
  padding: 7px 14px;
  border: 1px solid rgba(159, 211, 180, .3);
  border-radius: 999px;
  background: rgba(159, 211, 180, .06);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
  cursor: help;
}
/* firsts */
.firsts { display: flex; flex-direction: column; }
.firsts__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.firsts__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.firsts__list { display: grid; flex: 1; gap: 14px; }
.first-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: center;
  padding: 30px 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, var(--paper), #f8fbf9);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.first-card:hover {
  transform: translateY(-3px);
  border-color: #c3d6ca;
  box-shadow: 0 30px 50px -36px rgba(8, 61, 35, .5);
}
.first-card__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-soft);
  transition: background-color .3s var(--ease);
}
.first-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s var(--ease);
}
.first-card:hover .first-card__icon { background: var(--green); }
.first-card:hover .first-card__icon svg { stroke: var(--paper); }
.first-card__title { margin: 0; color: var(--forest); font: 500 24px/1.2 var(--font-display); }
.first-card__text { margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ==========================================================================
   Offices — HQ + map, regional row
   ========================================================================== */
.offices { padding-block: var(--section-space); }
.offices .section-title { color: var(--forest); }
.offices .section-lead { margin-top: 20px; }

.offices__top {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 56px;
  align-items: center;
}

/* shared icon style */
.office-hq svg,
.office-card svg {
  flex: none;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* head office card — featured */
.office-hq {
  position: relative;
  margin-top: 40px;
  padding: 34px 34px 30px;
  overflow: hidden;
  border-radius: 12px;
  color: #c3d9cc;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(11, 126, 64, .5), transparent 65%),
    linear-gradient(180deg, #063a21, #05301b);
  box-shadow: 0 40px 70px -40px rgba(3, 30, 16, .65);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.office-hq::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .06;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.office-hq > * { position: relative; }
.office-hq.is-active { transform: translateY(-3px); box-shadow: 0 50px 80px -40px rgba(3, 30, 16, .75); }

.office-hq__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.office-hq__label {
  color: var(--mint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.office-hq__city { margin-top: 6px; color: var(--paper); font: 500 40px/1.05 var(--font-display); }
.office-hq .office-hq__mini { flex: none; width: 104px; height: auto; stroke: none; }
.office-hq__mini .mini__land { fill: rgba(159, 211, 180, .16); }
.office-hq__mini .mini__region { fill: var(--mint); opacity: 1; }

.office-hq svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--mint);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.office-hq__address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: #d6e8dd;
  font-size: 15px;
}

.office-hq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed rgba(159, 211, 180, .25);
}
.office-hq__sub {
  margin-bottom: 14px;
  color: var(--paper);
  font: 500 18px/1.2 var(--font-display);
}
.office-hq__col dl { display: grid; gap: 10px; }
.office-hq__col dt {
  color: var(--mint);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .85;
}
.office-hq__col a {
  color: var(--paper);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.office-hq__col a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }

.office-hq__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 28px;
}
/* map */
.office-map { position: relative; margin: 0; }
.office-map svg { width: 100%; height: auto; overflow: visible; }
.office-map .munis { filter: drop-shadow(0 24px 30px rgba(8, 61, 35, .12)); }
.office-map .muni {
  fill: #eef4f0;
  stroke: #c5d7cc;
  stroke-width: .9;
  stroke-linejoin: round;
  transition: fill .3s var(--ease);
}
.office-map .muni[data-office] { fill: #b7dcc5; stroke: var(--paper); cursor: pointer; }
.office-map .station { cursor: pointer; }
.office-map .muni.is-active { fill: #6fbd8f; }
.office-map .station__ring {
  fill: var(--paper);
  stroke: var(--green);
  stroke-width: 2;
  stroke-linejoin: round;
  filter: drop-shadow(0 4px 5px rgba(8, 61, 35, .3));
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transition: fill .25s var(--ease), transform .25s var(--ease);
}
.office-map .station__mark {
  fill: var(--green);
  transform-box: view-box;
  transition: fill .25s var(--ease);
}
.office-map .station--hq .station__ring { fill: var(--green); stroke: var(--paper); }
.office-map .station--hq .station__mark { fill: var(--paper); }
.office-map .station.is-active .station__ring { fill: var(--forest); stroke: var(--paper); transform: scale(1.18); }
.office-map .station.is-active .station__mark { fill: var(--paper); }
.office-map .station__name {
  fill: var(--forest);
  font: 600 25px var(--font-display);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, .85);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.office-map__caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.office-map__caption::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #b7dcc5;
  box-shadow: inset 0 0 0 1px rgba(11, 126, 64, .35);
}

/* regional offices */
.office-card__label {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.office-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 64px;
}
.office-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--paper) 55%, #f7faf8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.office-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  border-radius: 12px 12px 0 0;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.office-card:hover,
.office-card.is-active {
  transform: translateY(-4px);
  border-color: #c3d6ca;
  box-shadow: 0 34px 56px -36px rgba(8, 61, 35, .55);
}
.office-card:hover::before,
.office-card.is-active::before { transform: scaleX(1); }

.office-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.office-card__city { margin-top: 6px; color: var(--forest); font: 500 28px/1.1 var(--font-display); }
.office-card .office-card__mini {
  flex: none;
  width: 88px;
  height: auto;
  margin-top: 0;
  stroke: none;
}
.mini__land { fill: #e3ece6; }
.mini__region { fill: var(--green); opacity: .55; transition: opacity .3s var(--ease); }
.office-card:hover .mini__region,
.office-card.is-active .mini__region { opacity: 1; }

.office-card__address {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.office-card__address svg { margin-top: 2px; }

.office-card__contacts {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.office-card__contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--forest);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.office-card__contacts a svg {
  flex: none;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 7px;
  border-radius: 50%;
  background: var(--green-soft);
  stroke: var(--green);
  transition: background-color .25s var(--ease), stroke .25s var(--ease);
}
.office-card__contacts a:hover { color: var(--green); }
.office-card__contacts a:hover svg { background: var(--green); stroke: var(--paper); }

.office-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--forest);
  color: #b9d2c3;
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 4fr 3fr 2fr 3fr;
  gap: 48px;
  padding-block: 88px 64px;
}
.footer__logo { display: inline-block; margin-bottom: 20px; }
.footer__logo img { width: 220px; height: auto; }
.footer__brand p { max-width: 280px; }
.footer__heading {
  margin-bottom: 20px;
  color: var(--mint);
  font: 500 12px/1 var(--font-label);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__col li + li { margin-top: 10px; }
.footer__col a:hover { color: var(--paper); }
.footer__address { line-height: 1.9; }
.footer__address .meta { color: #8fb5a0; }
.footer__credit { font-size: 14px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 26px 34px;
  border-top: 1px solid var(--forest-line);
  font-size: 15px;
  color: #b9d2c3;
}
.footer__bottom .meta { font-size: 15px; font-weight: 500; letter-spacing: .02em; color: #d6e8dd; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .banks__track[aria-hidden] { display: none; }
  .banks__inner { height: auto; padding-block: 32px; }
  .banks__marquee { mask-image: none; }
  .banks__track { flex: 1; flex-wrap: wrap; justify-content: space-between; row-gap: 28px; padding-right: 0; }
}
