/* ==========================================================================
   Ararat Inkassatsia — corporate site stylesheet (v2, 2026)
   Design language: modern institutional. Green brand (the logo "A") with a
   restrained Armenian-tricolor accent motif, generous whitespace, soft layered
   shadows, rounded surfaces, and hand-crafted motion. Patterned after the
   information architecture of large Armenian bank sites, in our own identity.

   All motion is CSS/JS only (no libraries). Note the deploy CSP:
     - no inline styles / <style>  (style-src has no 'unsafe-inline')
     - images must be self-hosted files (img-src 'self'; no data: URIs)
     - all JS lives in main.js (script-src 'self')
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens  — the whole site re-themes from this block.
   -------------------------------------------------------------------------- */
:root {
  /* Brand green — anchored on the logo "A" (#1E7043) */
  --green-950: #062a17;
  --green-900: #0b3d22;
  --green-800: #12522f;
  --green-700: #1e7043;   /* primary brand */
  --green-600: #17864a;   /* interactive */
  --green-500: #23a15c;
  --green-050: #eef5f0;

  /* Armenian tricolor — the swoosh motif; used sparingly as accents */
  --red:    #da1f28;
  --blue:   #2e2f86;
  --orange: #f39200;
  --orange-deep: #b96c06;

  /* Green-tinted neutrals */
  --ink:      #14211b;
  --ink-2:    #2f3f37;
  --muted:    #5b6a62;
  --muted-2:  #7c897f;
  --line:     #e4ebe6;
  --line-2:   #d3ddd6;
  --surface:  #ffffff;
  --surface-2:#f4f8f5;
  --surface-3:#eaf1ec;

  /* On-dark */
  --on-dark:      #eaf3ec;
  --on-dark-muted:#a9c4b2;

  /* Effects */
  --shadow-xs: 0 1px 2px rgba(6, 42, 23, 0.06);
  --shadow-sm: 0 2px 8px rgba(6, 42, 23, 0.07);
  --shadow-md: 0 14px 34px -14px rgba(6, 42, 23, 0.20);
  --shadow-lg: 0 30px 64px -22px rgba(6, 42, 23, 0.30);
  --ring: 0 0 0 3px rgba(23, 134, 74, 0.28);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Type */
  --font-head: "Inter", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Noto Sans Armenian", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif Armenian", "Noto Serif", Georgia, "Times New Roman", serif;

  /* Motion */
  --ease: cubic-bezier(0.33, 0.9, 0.33, 1);
  --ease-emph: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.5s;

  /* Layout */
  --content: 1200px;
  --content-wide: 1320px;
  --gutter: clamp(1.1rem, 4vw, 2.2rem);
  --header-h: 84px;
  --util-h: 44px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.06rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 750;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--green-700); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--green-600); }

strong { color: var(--ink); font-weight: 650; }

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-wide { max-width: var(--content-wide); }
.container-narrow { max-width: 760px; }

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  position: relative;
}
.section--alt { background: var(--surface-2); }
.section--tint { background: var(--green-050); }
.section--dark {
  background:
    radial-gradient(120% 140% at 85% -20%, rgba(35, 161, 92, 0.22), transparent 55%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
  color: var(--on-dark);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--green-700);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   4. Section headers / eyebrows
   -------------------------------------------------------------------------- */
.section-head {
  max-width: 62ch;
  margin: 0 0 clamp(2rem, 4vw, 3.2rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--green-600);
}
.eyebrow--light { color: #bfe6cd; }
.eyebrow--light::before { background: var(--green-500); }

.section-title { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); }
.section-lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.2rem);
  color: var(--muted);
  max-width: 60ch;
  margin-top: 0.4rem;
}
.section--dark .section-lead { color: var(--on-dark-muted); }

.section-foot { margin-top: clamp(1.8rem, 3vw, 2.6rem); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn-primary { --btn-bg: var(--green-700); }
.btn-primary:hover { background: var(--green-600); }

.btn-accent { --btn-bg: var(--orange); --btn-fg: #3a2400; }
.btn-accent:hover { background: #ffa41f; }

.btn-dark { --btn-bg: var(--ink); --btn-fg: #fff; }

.btn-outline {
  --btn-bg: transparent; --btn-fg: var(--green-700);
  border-color: var(--line-2);
  box-shadow: none;
}
.btn-outline:hover { border-color: var(--green-600); background: var(--green-050); color: var(--green-700); }

.btn-outline-light {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; color: #fff; }

.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1rem; font-size: 0.9rem; }
.btn-block { display: flex; width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 650;
  color: var(--green-700);
}
.text-link .arrow { transition: transform 0.25s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link--light { color: #cdeed8; }
.text-link--light:hover { color: #fff; }

/* --------------------------------------------------------------------------
   6. Utility top bar
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--green-950);
  color: var(--on-dark-muted);
  font-size: 0.98rem;
  height: var(--util-h);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.topbar-contacts { display: flex; align-items: center; gap: 1.4rem; }
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--on-dark-muted);
}
.topbar-item .icon { width: 15px; height: 15px; color: var(--green-500); }
.topbar-item:hover { color: #fff; }
.topbar-item a { color: inherit; }
.topbar-item a:hover { color: #fff; }
.topbar-right { display: flex; align-items: center; gap: 1.1rem; }
.topbar-note { display: inline-flex; align-items: center; gap: 0.5em; color: var(--on-dark-muted); }
.topbar-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(35,161,92,0.6); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(35,161,92,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(35,161,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(35,161,92,0); }
}
@media (max-width: 860px) {
  .topbar { display: none; }
}

/* --------------------------------------------------------------------------
   7. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.97); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-logo { width: auto; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--green-800);
}
.brand-name .brand-accent { color: var(--ink); }
.brand-sub {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.site-nav { flex: 1; display: flex; align-items: center; gap: 0.7rem; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-list > li > a {
  display: inline-block;
  padding: 0.55rem 0.72rem;
  border-radius: 9px;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-list > li > a:hover { color: var(--green-700); background: var(--green-050); }
.nav-list > li > a[aria-current="page"] {
  background: var(--green-700);
  color: #fff;
}

.nav-tools { display: flex; align-items: center; gap: 0.55rem; margin-left: auto; }
.nav-cta { font-size: 0.98rem; padding: 0.62rem 0.95rem; }

/* Language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem;
  gap: 0.1rem;
  background: var(--surface-3);
  border-radius: var(--r-pill);
}
.lang-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.05rem;
  padding: 0.32rem 0.5rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.lang-item:hover { color: var(--green-700); }
.lang-current { background: var(--surface); color: var(--green-800); box-shadow: var(--shadow-xs); }

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-box { position: relative; width: 22px; height: 14px; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav-toggle-bar { top: 6px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); background: var(--ink); }
.nav-open .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); background: var(--ink); }

@media (max-width: 1200px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 380px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 1.2rem) 1.4rem 2rem;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-emph);
    overflow-y: auto;
    z-index: 90;
  }
  .nav-open .site-nav { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0.5rem; }
  .nav-list > li > a { padding: 0.85rem 1rem; font-size: 1.1rem; }
  .nav-tools { margin: 1.2rem 0 0; flex-direction: column; align-items: stretch; gap: 1rem; }
  .lang-switcher { align-self: flex-start; }
  .nav-scrim {
    position: fixed; inset: 0;
    background: rgba(10, 30, 20, 0.45);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
    z-index: 80;
  }
  .nav-open .nav-scrim { opacity: 1; visibility: visible; }
}

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 22, 13, 0.48) 0%, rgba(4, 22, 13, 0.20) 30%, rgba(3, 18, 11, 0.72) 72%, rgba(2, 13, 8, 0.93) 100%),
    linear-gradient(90deg, rgba(3, 18, 11, 0.86) 0%, rgba(4, 22, 13, 0.46) 46%, rgba(4, 22, 13, 0.08) 78%, transparent 100%);
}
.hero-inner {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  padding-top: clamp(4rem, 12vw, 8rem);
  max-width: 44rem;
}
/* A soft dark scrim hugging the copy for guaranteed contrast on any photo. */
.hero-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: calc(-1 * var(--gutter)); right: -6%;
  top: -0.5rem; bottom: -0.5rem;
  background: radial-gradient(115% 95% at 18% 58%, rgba(2, 13, 8, 0.60), rgba(2, 13, 8, 0.18) 55%, transparent 74%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  color: #fff;
  margin-bottom: 1.4rem;
}
.hero-eyebrow .swoosh { width: 24px; height: 8px; }
.hero-eyebrow .icon { width: 18px; height: 18px; }
.hero-title {
  color: #fff;
  font-size: clamp(1.7rem, 1rem + 2.8vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}
.hero-title .hl { color: #ffd27a; }
.hero-lead {
  font-size: clamp(1.08rem, 1rem + 0.6vw, 1.32rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 40ch;
  margin-bottom: 2rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero-badges {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r);
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.hero-badge {
  padding: 1.1rem 1.2rem;
  background: rgba(8, 40, 24, 0.42);
  text-align: left;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-badge span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.82); line-height: 1.35; display: block; margin-top: 0.15rem; }
@media (max-width: 720px) {
  .hero-badges { grid-template-columns: repeat(2, 1fr); }
}

.hero-cue {
  position: absolute;
  left: 50%; bottom: 1.1rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero-cue::before {
  content: "";
  width: 4px; height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(10px); } 100% { opacity: 0; } }
@media (max-width: 720px) { .hero-cue { display: none; } }

/* --------------------------------------------------------------------------
   9. Marquee — the running motto sign
   -------------------------------------------------------------------------- */
.marquee {
  background:
    linear-gradient(90deg, var(--green-800), var(--green-700) 50%, var(--green-800));
  color: #fff;
  overflow: hidden;
  position: relative;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}
.marquee-viewport { display: flex; overflow: hidden; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  padding: 0.95rem 1.25rem 0.95rem 0;
  white-space: nowrap;
  animation: marquee 68s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1rem, 0.9rem + 0.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.marquee-sep { width: 6px; height: 6px; flex-shrink: 0; background: rgba(255, 255, 255, 0.5); border-radius: 50%; }

/* --------------------------------------------------------------------------
   9b. Brand band — full logo lockup below the hero
   -------------------------------------------------------------------------- */
.brand-band {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}
.brand-band .container { padding-block: clamp(2.6rem, 5.5vw, 4.6rem); }
.brand-logo-full {
  height: clamp(120px, 17vw, 200px);
  width: auto;
  margin: 0 0 clamp(1rem, 2vw, 1.5rem);
}
.brand-logo-seal { height: clamp(132px, 16vw, 188px); }
.brand-band-text {
  color: var(--muted);
  font-size: clamp(1.05rem, 1rem + 0.5vw, 1.28rem);
  max-width: 54ch;
}
.brand-band-text strong { color: var(--green-800); }

/* Closing sign-off band (dark) — logo plaque + motto, no CTA */
.signoff { position: relative; isolation: isolate; overflow: hidden; }
.signoff-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.2rem, 2.6vw, 1.9rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.signoff-logo {
  display: inline-flex;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 1.1rem 1.7rem;
  box-shadow: var(--shadow-lg);
}
.signoff-logo img { height: clamp(72px, 9vw, 104px); width: auto; display: block; }
.signoff-motto {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 1rem + 1.5vw, 2rem);
  line-height: 1.32;
  color: #fff;
  max-width: 22ch;
  margin: 0;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   10. Quick service tiles
   -------------------------------------------------------------------------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: clamp(0.7rem, 1.4vw, 1rem);
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.tile::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; color: var(--ink); }
.tile:hover::after { transform: scaleX(1); }
.tile-icon {
  width: 46px; height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-050);
  color: var(--green-700);
}
.tile-icon .icon { width: 24px; height: 24px; }
.tile:hover .tile-icon { background: var(--green-700); color: #fff; }
.tile-title { font-family: var(--font-head); font-weight: 650; font-size: 1rem; line-height: 1.25; }

/* --------------------------------------------------------------------------
   11. Card grid (services / features)
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(23, 134, 74, 0.07), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
a.card:hover, .card.is-hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink-2); }
a.card:hover::before { opacity: 1; }
.icon-chip {
  width: 58px; height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--green-050), #dcefe3);
  color: var(--green-700);
  margin-bottom: 1.2rem;
  position: relative;
  transition: transform 0.35s var(--ease-emph);
}
.icon-chip .icon { width: 28px; height: 28px; }
a.card:hover .icon-chip { transform: scale(1.06) rotate(-3deg); }
.card-num {
  position: absolute;
  top: 1.3rem; right: 1.5rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--surface-3);
  line-height: 1;
  z-index: 0;
}
.card-title { position: relative; font-family: var(--font-head); font-size: 1.22rem; font-weight: 700; color: var(--ink); margin-bottom: 0.55rem; }
.card p { position: relative; color: var(--muted); margin-bottom: 1.1rem; }
.card-more {
  position: relative;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 650;
  font-size: 0.94rem;
  color: var(--green-700);
}
.card-more .arrow { transition: transform 0.25s var(--ease); }
a.card:hover .card-more .arrow { transform: translateX(4px); }

/* Deep service list (services page) */
.service-block {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.3rem;
  padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.service-block:first-child { border-top: 0; }
.service-block .icon-chip { margin-bottom: 0; }
.service-block h3 { font-size: 1.35rem; }
@media (max-width: 620px) { .service-block { grid-template-columns: 1fr; gap: 0.9rem; } }

/* --------------------------------------------------------------------------
   12. Stats band (count-up)
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.2rem, 3vw, 2rem);
}
.stat { text-align: left; position: relative; padding: 0.5rem; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.06em;
}
.stat-num .suffix { color: var(--green-500); }
.stat-label { margin-top: 0.6rem; color: var(--on-dark-muted); font-size: 0.98rem; }
@media (max-width: 560px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd)::before { display: none; }
}

/* --------------------------------------------------------------------------
   13. Feature rows / why-choose / split
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split.reverse .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; }
.split-media .badge-float {
  position: absolute;
  left: -18px; bottom: -18px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  max-width: 240px;
}
.badge-float .icon-chip { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.badge-float .icon-chip .icon { width: 22px; height: 22px; }
.badge-float b { display: block; color: var(--ink); font-size: 1.05rem; }
.badge-float span { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 900px) { .split-media .badge-float { left: 12px; bottom: 12px; } }

.feature-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.feature {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.95rem;
  align-items: start;
}
.feature-icon {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--green-050);
  color: var(--green-700);
  flex-shrink: 0;
}
.feature-icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.2rem; }
.feature p { color: var(--muted); font-size: 0.98rem; margin: 0; }

/* chip list */
.chip-list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: clamp(1.4rem, 3vw, 2rem); }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.65rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.chip .icon { width: 18px; height: 18px; color: var(--green-600); }
.section--dark .chip { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.16); color: var(--on-dark); }
.section--dark .chip .icon { color: var(--green-500); }

/* --------------------------------------------------------------------------
   14. Security grid
   -------------------------------------------------------------------------- */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .security-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .security-grid { grid-template-columns: 1fr; } }
.sec-item {
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  background: rgba(9, 44, 26, 0.5);
  transition: background-color 0.3s var(--ease);
}
.sec-item:hover { background: rgba(12, 60, 35, 0.75); }
.sec-item .icon-chip {
  background: rgba(255, 255, 255, 0.08);
  color: var(--green-500);
  margin-bottom: 1rem;
}
.sec-item h3 { color: #fff; font-size: 1.12rem; }
.sec-item p { color: var(--on-dark-muted); font-size: 0.96rem; margin: 0; }

/* --------------------------------------------------------------------------
   15. Coverage / branches
   -------------------------------------------------------------------------- */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
}
/* Yerevan HQ leads as a full-width feature; the four regional offices sit in
   an even row beneath it (2×2 on tablet, stacked on mobile). */
.branch-grid .branch-hq { grid-column: 1 / -1; }
.branch-hq .branch-head { margin-bottom: 0.6rem; }
@media (min-width: 721px) {
  .branch-hq {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.6rem 2rem;
  }
  .branch-hq .branch-head { margin-bottom: 0; }
  .branch-hq address { grid-column: 1 / -1; }
}
@media (max-width: 720px) { .branch-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .branch-grid { grid-template-columns: 1fr; } }
.branch-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  position: relative;
}
.branch-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.branch-head { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.9rem; }
.branch-city { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); display: inline-flex; align-items: center; gap: 0.5rem; }
.branch-city .icon { width: 20px; height: 20px; color: var(--green-600); }
.branch-since { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em; color: var(--green-700); background: var(--green-050); padding: 0.3rem 0.6rem; border-radius: var(--r-pill); }
.branch-hq { background: linear-gradient(160deg, var(--green-800), var(--green-950)); color: var(--on-dark); border-color: transparent; }
.branch-hq .branch-city, .branch-hq address { color: #fff; }
.branch-hq .branch-city .icon { color: var(--green-500); }
.branch-hq .branch-since { background: rgba(255,255,255,0.14); color: #fff; }
.branch-card address { font-style: normal; color: var(--muted); font-size: 0.96rem; line-height: 1.6; }
.branch-card address a { color: inherit; }
.branch-hq address a:hover, .branch-hq address { color: #fff; }

/* --------------------------------------------------------------------------
   16. Partners strip
   -------------------------------------------------------------------------- */
.partner-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.partner-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.7rem 1.15rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}
.partner-chip .icon { width: 18px; height: 18px; color: var(--green-600); }
.partner-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); color: var(--green-700); }

.banks-feature { max-width: 720px; }
.banks-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-head);
  margin-bottom: 0.4rem;
}
.banks-highlight b { font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 800; color: var(--green-700); letter-spacing: -0.03em; line-height: 1; }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(90% 130% at 100% 0%, rgba(35, 161, 92, 0.28), transparent 55%),
    linear-gradient(150deg, var(--green-800), var(--green-950));
  color: #fff;
}
.cta-inner {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); margin-bottom: 0.5rem; }
.cta-inner p { color: var(--on-dark-muted); max-width: 48ch; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
@media (max-width: 780px) { .cta-inner { grid-template-columns: 1fr; } }

/* Decorative Ararat contour */
.ararat-art {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: auto;
  color: rgba(255, 255, 255, 0.08);
  z-index: -1;
  pointer-events: none;
}
.hero .ararat-art { color: rgba(255, 255, 255, 0.10); }

/* --------------------------------------------------------------------------
   18. Contact
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.contact-form label .req { color: var(--red); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 0.85rem 1rem;
  background: var(--surface-2);
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--green-600);
  box-shadow: var(--ring);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.85rem; color: var(--muted-2); margin-top: 0.4rem; }
.was-validated input:invalid,
.was-validated textarea:invalid { border-color: var(--red); }

.form-banner {
  border-radius: var(--r-sm);
  padding: 0.95rem 1.1rem;
  margin-bottom: 1.2rem;
  font-size: 0.96rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
/* A class-level display rule outranks the UA [hidden] rule, so state it
   explicitly or the banners (and their icon) show unconditionally. */
.form-banner[hidden] { display: none; }
.form-banner .icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.form-success { background: #e7f6ec; color: #12603a; border: 1px solid #b8e2c8; }
.form-error { background: #fdeceb; color: #9c261d; border: 1px solid #f4c7c3; }

.contact-aside { display: grid; gap: 1rem; }
.info-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-xs);
}
.info-row .icon-chip { margin: 0; width: 46px; height: 46px; border-radius: 12px; }
.info-row .icon-chip .icon { width: 22px; height: 22px; }
.info-row h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 0.3rem; font-weight: 700; }
.info-row a, .info-row p { color: var(--ink); font-weight: 550; margin: 0; }
.info-row a { display: block; }
.info-row a:hover { color: var(--green-700); }

/* Legal / requisites table */
.requisites {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.requisites th, .requisites td { text-align: left; padding: 0.7rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.requisites th { color: var(--muted); font-weight: 600; width: 42%; }
.requisites td { color: var(--ink); font-weight: 550; }

/* prose (markdown body) */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { display: grid; gap: 0.5rem; margin: 1rem 0; }
.prose ul li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--green-600); }

/* --------------------------------------------------------------------------
   19. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(90% 160% at 90% -30%, rgba(35, 161, 92, 0.22), transparent 55%),
    linear-gradient(160deg, var(--green-900), var(--green-950));
  color: #fff;
  padding-block: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); margin-bottom: 0.6rem; }
.page-hero .lead { color: var(--on-dark-muted); font-size: clamp(1.05rem, 1rem + 0.5vw, 1.25rem); max-width: 60ch; }
.breadcrumbs { display: flex; gap: 0.5rem; align-items: center; font-size: 0.88rem; color: var(--on-dark-muted); margin-bottom: 1.2rem; }
.breadcrumbs a { color: var(--on-dark-muted); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs .sep { opacity: 0.5; }

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, var(--green-950), #041e12);
  color: var(--on-dark-muted);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(1.6rem, 3vw, 2.5rem);
  padding-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .footer-logo { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand .footer-logo img { height: 40px; width: auto; background: #fff; border-radius: 10px; padding: 5px 7px; }
.footer-name { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: #fff; }
.footer-tagline { color: var(--on-dark-muted); max-width: 34ch; margin-bottom: 1rem; }
.footer-legal { font-size: 0.9rem; color: var(--on-dark-muted); }
.footer-legal strong { color: var(--on-dark); }

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: grid; gap: 0.7rem; }
.footer-col a, .footer-col li { color: var(--on-dark-muted); }
.footer-col a:hover { color: #fff; }
.footer-contact-item { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.8rem; }
.footer-contact-item .icon { width: 18px; height: 18px; color: var(--green-500); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.4rem;
  margin-top: 1rem;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; align-items: center; justify-content: space-between; }
.footer-bottom p { margin: 0; font-size: 0.88rem; }
.lang-note { font-size: 0.82rem; color: var(--muted-2); max-width: 60ch; }

/* --------------------------------------------------------------------------
   20b. Coverage map (OpenStreetMap via self-hosted Leaflet)
   -------------------------------------------------------------------------- */
.map-wrap { margin-top: clamp(1.5rem, 3vw, 2.4rem); }
.coverage-map {
  position: relative;      /* contains Leaflet's internal z-index below the header */
  z-index: 0;
  height: clamp(340px, 46vw, 500px);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--surface-3);
}
.leaflet-container { font: inherit; background: var(--surface-3); }
.leaflet-container a { color: var(--green-700); }
.coverage-map .leaflet-control-zoom { border: none; box-shadow: var(--shadow-md); border-radius: var(--r-sm); overflow: hidden; }
.coverage-map .leaflet-control-zoom a {
  color: var(--ink); background: var(--surface);
  width: 34px; height: 34px; line-height: 34px; font-size: 1.15rem;
}
.coverage-map .leaflet-control-zoom a:hover { background: var(--green-050); color: var(--green-700); }
.coverage-map .leaflet-control-attribution { background: rgba(255, 255, 255, 0.82); font-size: 0.72rem; }
.coverage-map .leaflet-popup-content-wrapper { border-radius: var(--r); box-shadow: var(--shadow-lg); }
.map-popup { display: grid; gap: 0.15rem; padding: 0.1rem 0.1rem; }
.map-popup strong { font-family: var(--font-head); color: var(--ink); font-size: 1rem; }
.map-popup span { color: var(--muted); font-size: 0.9rem; }

/* Custom brand pins (Leaflet divIcon — no external marker images). */
.map-pin { background: none; border: 0; }
.map-pin .map-pin-dot {
  display: block; width: 100%; height: 100%;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--green-600);
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(6, 42, 23, 0.45);
}
.map-pin--hq .map-pin-dot { background: var(--orange); }

/* Loading skeleton */
.map-skeleton {
  position: absolute; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(100deg, var(--surface-3) 30%, var(--surface-2) 50%, var(--surface-3) 70%);
  background-size: 200% 100%;
  animation: mapShimmer 1.4s ease-in-out infinite;
  transition: opacity 0.4s var(--ease);
}
.map-spinner {
  width: 34px; height: 34px;
  border: 3px solid var(--line-2);
  border-top-color: var(--green-600);
  border-radius: 50%;
  animation: mapSpin 0.8s linear infinite;
}
@keyframes mapShimmer { to { background-position: -200% 0; } }
@keyframes mapSpin { to { transform: rotate(360deg); } }

/* Text fallback if Leaflet can't load */
.map-fallback { height: auto; padding: 1.4rem 1.6rem; }
.map-fallback .map-points { display: grid; gap: 0.6rem; }
.map-fallback .map-points li { color: var(--ink-2); padding-left: 1.5rem; position: relative; }
.map-fallback .map-points li::before {
  content: ""; position: absolute; left: 0; top: 0.5em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--green-600);
}
.map-note { margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted-2); }

/* --------------------------------------------------------------------------
   20c. Documents / licences
   -------------------------------------------------------------------------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(1.1rem, 2vw, 1.6rem);
}
.doc-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.3rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.doc-thumb {
  position: relative;
  width: 88px; height: 108px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-3);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.doc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.doc-thumb .icon-chip { margin: 0; width: 46px; height: 46px; }
.doc-badge {
  position: absolute; top: 6px; left: 6px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.16rem 0.4rem; border-radius: 5px;
  background: var(--ink); color: #fff;
}
.doc-body h3 { font-size: 1.12rem; margin-bottom: 0.3rem; }
.doc-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.doc-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.doc-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 650; font-size: 0.9rem;
  color: var(--green-700);
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--line-2); border-radius: var(--r-pill);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.doc-link:hover { border-color: var(--green-600); background: var(--green-050); color: var(--green-700); }
.doc-link .icon { width: 16px; height: 16px; }
@media (max-width: 420px) {
  .doc-card { grid-template-columns: 1fr; }
  .doc-thumb { width: 70px; height: 86px; }
}

/* --------------------------------------------------------------------------
   21. Motion utilities
   -------------------------------------------------------------------------- */
/* Reveal is gated on `.js` so content is never hidden if scripting is off. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.js [data-reveal="left"] { transform: translateX(-30px); }
.js [data-reveal="right"] { transform: translateX(30px); }
.js [data-reveal="scale"] { transform: scale(0.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Lock scroll behind the mobile drawer */
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   22. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .map-skeleton { animation: none; }
  .map-spinner { animation-duration: 0.8s !important; animation-iteration-count: infinite !important; }
}
