/* ==========================================================================
   Wellcash Debt Collectors – website styles
   Brand: Wellcash red + black on white, League Spartan headings (as in the
   company profile), Source Sans 3 for reading text.
   ========================================================================== */

/* ---------- Fonts (self-hosted, SIL Open Font Licence) ---------- */
@font-face {
  font-family: "League Spartan";
  font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/league-spartan-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/league-spartan-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "League Spartan";
  font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/league-spartan-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/league-spartan-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal; font-display: swap; font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --red: #E3121B;            /* Wellcash red – buttons, highlights */
  --red-strong: #B30C14;     /* hover, red text on white */
  --red-tint: #FDEDED;       /* icon tiles, soft highlights */
  --red-on-night: #FF8A8E;   /* red accents on dark backgrounds */
  --ink: #17181C;            /* headings, strong text */
  --text: #3A3E48;           /* body text */
  --muted: #5B5F6B;          /* secondary text */
  --line: #E3E5EA;
  --line-strong: #C9CDD5;
  --mist: #F5F6F8;           /* alternate section background */
  --white: #FFFFFF;
  --night: #1E1517;          /* deep oxblood for dark bands */
  --on-night-muted: #CFC6C8;

  --font-display: "League Spartan", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.1875rem;
  --step-2: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.7vw, 2.5rem);
  --step-4: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --corner: clamp(48px, 8vw, 112px);   /* signature curved corner, echoing the company profile */
  --shadow: 0 18px 40px -22px rgba(30, 21, 23, 0.35);
  --shadow-lg: 0 24px 56px -24px rgba(30, 21, 23, 0.45);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(56px, 7.5vw, 104px);
  --header-h: 88px;

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: inherit; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px + env(safe-area-inset-top, 0px)); background: var(--white); }
body {
  margin: 0; min-height: 100%;
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { /* keeps phone status-bar area white above the sticky header */
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 0.5em; text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; }
address { font-style: normal; }
a { color: var(--red-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -120px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 12px 18px; border-radius: var(--radius-sm); font-weight: 600;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: var(--white); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 13px 22px 11px;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.1;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn .icon { width: 20px; height: 20px; margin-top: -2px; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-strong); color: var(--white); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: transparent; color: var(--red-strong); padding-inline: 14px; }
.btn--ghost:hover { background: var(--red-tint); color: var(--red-strong); }
.btn--light { background: var(--white); color: var(--red-strong); }
.btn--light:hover { background: var(--night); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.btn--outline-light:hover { background: var(--white); color: var(--red-strong); border-color: var(--white); }
.btn--lg { min-height: 56px; padding: 17px 28px 15px; font-size: 1.125rem; }
.btn--sm { min-height: 44px; padding: 11px 18px 9px; font-size: 1rem; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: var(--on-night-muted); font-size: 0.875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar__address { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__links { display: flex; gap: 28px; list-style: none; padding: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; }
.topbar a:hover { color: var(--red-on-night); }
.topbar .icon { width: 16px; height: 16px; color: var(--red-on-night); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 10px 24px -18px rgba(23, 24, 28, 0.45); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 70px; width: auto; }

.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 14px 10px; border: 0; border-radius: var(--radius-sm); background: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.1;
  color: var(--ink); text-decoration: none; cursor: pointer;
}
.nav__link:hover { color: var(--red-strong); background: var(--mist); }
.nav__link[aria-current="page"], .nav__link[data-section-current] { color: var(--red-strong); }
.nav__link[aria-current="page"]::after, .nav__link[data-section-current]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--red);
}
.nav__caret { width: 14px; height: 14px; margin-top: -2px; transition: transform 0.2s; }
.nav__trigger[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__item--cta { margin-left: 14px; }
.nav__cta[aria-current="page"] { background: var(--red-strong); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; z-index: 10;
  width: max-content; min-width: 340px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  visibility: hidden; opacity: 0; transform: translate(-50%, 6px);
  transition: opacity 0.16s, transform 0.16s, visibility 0s linear 0.16s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.nav__item.is-open .dropdown { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity 0.16s, transform 0.16s; }
.dropdown__list { display: grid; gap: 2px; list-style: none; padding: 0; }
.dropdown__list--branches { grid-template-columns: 1fr 1fr; }
.dropdown__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.dropdown__link:hover { background: var(--mist); color: var(--ink); }
.dropdown__link[aria-current="page"] { background: var(--red-tint); }
.dropdown__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--red-tint); color: var(--red); }
.dropdown__icon .icon { width: 24px; height: 24px; }
.dropdown__text { display: flex; flex-direction: column; line-height: 1.3; }
.dropdown__name { font-weight: 700; }
.dropdown__note { font-size: 0.875rem; color: var(--muted); }
.dropdown__all { display: block; margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-weight: 700; font-size: 0.9375rem; color: var(--red-strong); text-decoration: none; }
.dropdown__all:hover { text-decoration: underline; }

.menu-toggle, .nav__mobile-contact { display: none; }

/* ---------- Flags ---------- */
.flag { flex: none; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(23, 24, 28, 0.14); }
.flag--xs { width: 20px; height: 15px; border-radius: 2px; }
.flag--sm { width: 28px; height: 21px; }
.flag--md { width: 40px; height: 30px; border-radius: 4px; }
.flag--xl { width: 96px; height: 72px; border-radius: 8px; }

/* ---------- Icon tiles ---------- */
.icon-tile { display: inline-grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--red-tint); color: var(--red); }
.icon-tile .icon { width: 28px; height: 28px; }
.icon-tile--sm { width: 44px; height: 44px; border-radius: 12px; }
.icon-tile--sm .icon { width: 24px; height: 24px; }
.icon-tile--lg { width: 64px; height: 64px; border-radius: 16px; }
.icon-tile--lg .icon { width: 34px; height: 34px; }

.badge { display: inline-flex; align-items: center; padding: 3px 10px 2px; border-radius: 999px; background: var(--red-tint); color: var(--red-strong); font-size: 0.8125rem; font-weight: 700; line-height: 1.4; }

/* ---------- Sections & headings ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--tight-top { padding-top: clamp(32px, 4vw, 56px); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.section-head--split > div { max-width: 46rem; }
.section-head--split .section-title:last-child { margin-bottom: 0; }
.section-title { font-size: var(--step-3); letter-spacing: -0.015em; margin-bottom: 0.45em; }
.section-title--sm { font-size: var(--step-2); }
.section-title--quote { position: relative; padding-top: 28px; }
.section-title--quote::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 5px; border-radius: 3px; background: var(--red); }
.section-lead { font-size: var(--step-1); color: var(--muted); margin: 0; }
.lead { font-size: var(--step-1); color: var(--ink); line-height: 1.55; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 84px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.375rem, 1.4rem + 3.8vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 24px; }
.hero__lead { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem); max-width: 34rem; color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__media { position: relative; justify-self: end; width: min(100%, 440px); }
.hero__arc { /* the swooping red curve from the company profile cover */
  position: absolute; z-index: 0; width: 132%; aspect-ratio: 1; border-radius: 50%;
  background: var(--red); top: -16%; left: 20%;
}
.hero__arch {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 22px 22px; background: var(--mist); border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 22%; }
.hero__badge {
  position: absolute; z-index: 2; left: -40px; bottom: 44px; margin: 0;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 14px;
  background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg);
  font-size: 0.9375rem; line-height: 1.35; color: var(--muted);
}
.hero__badge .icon { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink); }

.flagbar { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 32px; margin-top: clamp(40px, 5vw, 72px); padding-block: 22px; border-top: 1px solid var(--line); }
.flagbar__label { margin: 0; font-weight: 600; color: var(--muted); }
.flagbar__list { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; padding: 0; }
.flagbar a { display: inline-flex; align-items: center; gap: 10px; padding-block: 6px; font-weight: 600; color: var(--ink); text-decoration: none; }
.flagbar a:hover { color: var(--red-strong); text-decoration: underline; }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding-block: clamp(32px, 5vw, 64px); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero--plain .page-hero__grid { grid-template-columns: minmax(0, 1fr); }
.page-hero--plain .page-hero__text { max-width: 50rem; }
.page-hero__title { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.022em; margin-bottom: 16px; }
.page-hero__sub { font-family: var(--font-display); font-weight: 600; font-size: var(--step-2); line-height: 1.25; color: var(--red-strong); margin-bottom: 16px; }
.page-hero .lead { max-width: 40rem; }
.page-hero__media { aspect-ratio: 4 / 3; }
.page-hero--map .page-hero__map { justify-self: center; width: min(100%, 460px); }
.hours-note { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.hours-note .icon { width: 24px; height: 24px; color: var(--red); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; font-size: 0.9375rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red-strong); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- Media frames (signature curved corner) ---------- */
.frame { overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); }
.frame--left, .page-hero__media.frame { border-top-left-radius: var(--corner); }
.frame--right { border-top-right-radius: var(--corner); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--narrow-media { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.split--narrow-media.split--media-end { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.split__media { aspect-ratio: 5 / 4; }
.split--narrow-media .split__media { aspect-ratio: 4 / 5; }
.split__text > .btn { margin-top: 12px; }

.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.intro__statement { font-family: var(--font-display); font-weight: 500; font-size: var(--step-2); line-height: 1.32; color: var(--ink); margin: 0; }
.intro__body { font-size: 1.125rem; padding-top: 6px; }
.intro__body .btn-row { margin-top: 24px; }

/* ---------- Service cards (home) ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.service-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.service-card:focus-within { outline: 3px solid var(--red); outline-offset: 3px; }
.service-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 0 28px 28px; }
.service-card__icon { margin-top: -30px; margin-bottom: 18px; width: 60px; height: 60px; background: var(--red); color: var(--white); border: 4px solid var(--white); border-radius: 16px; }
.service-card__title { font-size: 1.5rem; margin-bottom: 10px; }
.service-card__title a { color: var(--ink); text-decoration: none; }
.service-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.service-card__title a:focus-visible { outline: none; }
.service-card__more { margin-top: auto; padding-top: 22px; font-family: var(--font-display); font-weight: 600; color: var(--red-strong); text-decoration: underline; text-underline-offset: 0.2em; }
.service-card:hover .service-card__more { color: var(--red); }

.ticks { display: grid; gap: 10px; list-style: none; padding: 0; margin-top: 16px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; color: var(--ink); }
.ticks .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--red); }

/* ---------- Service rows (services overview) ---------- */
.service-rows { display: grid; gap: clamp(56px, 8vw, 104px); list-style: none; padding: 0; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.service-row--flip .service-row__media { order: 2; }
.service-row__media { aspect-ratio: 4 / 3; }
.service-row__title { font-size: var(--step-3); margin: 22px 0 12px; }
.service-row__body > p { font-size: 1.125rem; }

/* ---------- Statistics band ---------- */
.stats { position: relative; overflow: hidden; background: var(--night); color: var(--white); padding-block: clamp(52px, 6.5vw, 88px); }
.stats::after { content: ""; position: absolute; width: 440px; aspect-ratio: 1; border-radius: 50%; border: 44px solid var(--red); right: -230px; top: -210px; }
.stats__inner { position: relative; z-index: 1; display: grid; gap: clamp(28px, 4vw, 44px); }
.stats__title { color: var(--white); font-size: var(--step-3); margin: 0; }
.stats__list { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 0.7fr); list-style: none; padding: 0; }
.stat { display: flex; flex-direction: column; gap: 14px; padding: 4px 32px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__icon .icon { width: 34px; height: 34px; color: var(--red-on-night); }
.stat__figure { display: flex; align-items: flex-start; gap: 0.25em; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem); line-height: 1; color: var(--white); white-space: nowrap; }
.stat__prefix { font-size: 0.38em; letter-spacing: 0.04em; color: var(--red-on-night); margin-top: 0.3em; }
.stat__label { color: var(--on-night-muted); font-size: 1.0625rem; }

/* Countdown-style figures: each digit sits in a split "flip clock" tile and rolls down to its value */
.odo { display: inline-flex; align-items: center; gap: 0.08em; font-variant-numeric: tabular-nums; }
.odo__tile {
  position: relative; display: block; width: 0.8em; height: 1.24em; overflow: hidden; border-radius: 0.14em;
  background: linear-gradient(180deg, #382930 0%, #2D2125 49.5%, #241A1D 50.5%, #2B1F22 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), 0 0.08em 0.22em rgba(0, 0, 0, 0.4);
}
.odo__tile::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% - 0.5px); height: 1px; background: rgba(0, 0, 0, 0.6); }
.odo__d, .odo__reel > span { display: flex; align-items: center; justify-content: center; height: 1.24em; padding-top: 0.06em; }
.odo__reel { display: flex; flex-direction: column; }
.odo--ready .odo__reel { transform: translateY(calc(var(--steps) * -1.24em)); }
.odo--run .odo__reel { transform: translateY(0); transition: transform var(--duration, 2.4s) cubic-bezier(0.14, 0.72, 0.16, 1) var(--delay, 0ms); }
.odo__tile.is-landed { animation: odo-land 0.5s ease-out; }
.odo__sep { align-self: flex-end; width: 0.24em; font-size: 0.8em; text-align: center; color: var(--on-night-muted); }
@keyframes odo-land {
  0% { transform: scale(1); }
  35% { transform: scale(1.08); box-shadow: inset 0 0 0 1.5px var(--red-on-night), 0 0 0 0.1em rgba(227, 18, 27, 0.45); }
  100% { transform: scale(1); }
}

/* ---------- Regional presence & map ---------- */
.presence { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.presence__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.presence__link { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color 0.15s, background-color 0.15s; }
.presence__link:hover { border-color: var(--red); background: var(--red-tint); color: var(--ink); }
.presence__name { display: flex; flex-direction: column; flex: 1; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.2; }
.presence__city { font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--muted); margin-top: 2px; }
.presence__caret { width: 16px; height: 16px; color: var(--muted); }
.presence__link:hover .presence__caret { color: var(--red); }
.presence__map { justify-self: center; width: min(100%, 470px); }

.office-map { margin: 0; }
.office-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.office-map__land { fill: #E2E4E9; stroke: var(--white); stroke-width: 1; stroke-linejoin: round; }
.office-map__country path { fill: var(--red); stroke: var(--white); stroke-width: 1.2; stroke-linejoin: round; transition: fill 0.15s; }
.office-map__country:hover path { fill: var(--red-strong); }
.office-map__country:focus { outline: none; }
.office-map__country:focus-visible path { fill: var(--red-strong); stroke: var(--ink); stroke-width: 3; }
.office-map__pin { pointer-events: none; }
.office-map__pin circle { fill: var(--white); stroke: var(--ink); stroke-width: 2.5; }
.office-map__pin--hq circle { fill: var(--ink); stroke: var(--white); }
.office-map__pin text { font: 700 17px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: var(--white); stroke-width: 4px; stroke-linejoin: round; }

/* ---------- Client logos ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; list-style: none; padding: 0; }
.logo-grid__item { display: grid; place-items: center; height: 108px; padding: 18px 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.logo-grid__item img { width: auto; height: auto; max-width: 100%; max-height: 62px; object-fit: contain; }
.registrations { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.registrations__title { margin: 0; font-size: 1.125rem; color: var(--muted); }
.registrations__list { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; }
.registrations__list li { display: grid; place-items: center; height: 76px; padding: 10px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.registrations__list img { width: auto; max-height: 54px; }

/* ---------- Features ---------- */
.feature-grid { display: grid; gap: 20px; list-style: none; padding: 0; }
.feature-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature-grid--2 .feature { flex-direction: row; gap: 20px; }
.feature__title { font-size: 1.25rem; margin-bottom: 8px; }
.feature p { margin: 0; }
.feature-list { display: grid; list-style: none; padding: 0; margin-top: 12px; }
.feature-list .feature { flex-direction: row; gap: 18px; padding: 20px 0; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.feature-list .feature:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-list .feature__title { font-size: 1.1875rem; margin-bottom: 4px; }

.specialisms { display: grid; gap: 12px; list-style: none; padding: 0; margin-top: 18px; }
.specialisms li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.3; color: var(--ink); }
.specialisms .icon { width: 32px; height: 32px; color: var(--red); }

.points { display: grid; gap: 14px; list-style: none; padding: 0; margin-top: 24px; }
.points li { display: flex; align-items: center; gap: 16px; font-size: 1.125rem; line-height: 1.4; color: var(--ink); }
.points .icon-tile { width: 46px; height: 46px; border-radius: 12px; }
.points .icon-tile .icon { width: 25px; height: 25px; }

/* ---------- About: principles, mission & vision ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); list-style: none; padding: 0; }
.principle { padding-top: 28px; border-top: 3px solid var(--red); }
.principle .icon-tile { margin-bottom: 20px; }
.principle__title { font-size: 1.375rem; }
.mv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mv__panel { padding: clamp(28px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.mv__panel:first-child { border-top-left-radius: var(--corner); }
.mv__panel:last-child { border-top-right-radius: var(--corner); }
.mv__title { font-size: var(--step-2); margin: 20px 0 12px; }
.mv__panel p { font-size: 1.125rem; }

/* ---------- Closing call to action ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: var(--white); padding-block: clamp(48px, 6vw, 76px); }
.cta-band::before { content: ""; position: absolute; width: 560px; aspect-ratio: 1; border-radius: 50%; background: var(--red-strong); right: -200px; top: -300px; opacity: 0.6; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 40px; }
.cta-band__text { max-width: 44rem; }
.cta-band h2 { color: var(--white); font-size: var(--step-3); margin-bottom: 0.35em; }
.cta-band p { color: var(--white); font-size: var(--step-1); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Branches ---------- */
.branch-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.branch-card { display: flex; flex-direction: column; gap: 20px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.branch-card__head { display: flex; align-items: center; gap: 16px; }
.branch-card__title { font-size: 1.5rem; margin: 0; }
.branch-card__city { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 2px 0 0; color: var(--muted); }
.branch-card__cta { margin-top: auto; }

.contact-list { display: grid; gap: 12px; list-style: none; padding: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.contact-list .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--red); }
.contact-list a { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--red-strong); text-decoration: underline; }
.contact-list--compact { gap: 8px; font-size: 0.96875rem; }

.branch-hero__head { display: flex; align-items: center; gap: 24px; }
.branch-hero .page-hero__title { margin-bottom: 8px; }
.branch-hero__sub { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: var(--step-1); color: var(--muted); }
.branch-detail { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.details { list-style: none; padding: 0; }
.details__row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.details__row:first-child { padding-top: 4px; }
.details__row:last-child { border-bottom: 0; }
.details__label { font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; color: var(--muted); margin: 0 0 4px; letter-spacing: 0; }
.details__value { font-size: 1.125rem; color: var(--ink); margin: 0; }
.details__links { list-style: none; padding: 0; display: grid; gap: 4px; }
.details__links a { color: var(--ink); overflow-wrap: anywhere; }
.details__links a:hover { color: var(--red-strong); }
.details__note { font-size: 0.9375rem; color: var(--muted); margin: 4px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-top: 6px; }
.chips a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--red-tint); color: var(--red-strong); font-weight: 600; text-decoration: none; }

.map-embed { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); border-top-right-radius: var(--corner); background: var(--mist); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed--static { display: grid; place-content: center; justify-items: center; gap: 14px; padding: 32px; text-align: center; color: var(--ink); }
.map-embed__note { color: var(--muted); font-size: 0.9375rem; }
.map-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 0; }
.map-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.map-links .icon { width: 20px; height: 20px; }

.branch-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; }
.branch-links a { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.2; }
.branch-links small { display: block; margin-top: 2px; font-family: var(--font-body); font-weight: 400; font-size: 0.875rem; color: var(--muted); }
.branch-links a:hover { border-color: var(--red); background: var(--red-tint); color: var(--ink); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.form-layout__intro .contact-list { margin-top: 24px; font-size: 1.0625rem; }
.form-card { padding: clamp(22px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form__hint { color: var(--muted); font-size: 0.9375rem; margin-bottom: 20px; }
.form__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); }
.field__req { color: var(--red-strong); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9EA3AE; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227, 18, 27, 0.28); }
.field [aria-invalid="true"] { border-color: var(--red-strong) !important; background: #FFF8F8 !important; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select__caret { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field__help { margin: 0; font-size: 0.875rem; color: var(--muted); }
.field__error { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--red-strong); }
.field--check { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; align-items: start; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.field--check label { font-weight: 400; color: var(--text); cursor: pointer; }
.field--check .field__error { grid-column: 2; }
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 28px; }
.form__privacy { display: flex; gap: 10px; margin: 0; font-size: 0.9375rem; color: var(--muted); }
.form__privacy .icon { width: 18px; height: 18px; margin-top: 3px; }
.form__status { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 24px; padding: 16px 18px; border-radius: var(--radius); font-size: 1rem; line-height: 1.5; }
.form__status:focus { outline: none; }
.form__status .icon { width: 24px; height: 24px; margin-top: 1px; }
.form__status a { color: inherit; font-weight: 700; }
.form__status--success { background: #EAF6EE; color: #14532D; border: 1px solid #B7DFC4; }
.form__status--error { background: #FDECEC; color: #7F1D1D; border: 1px solid #F3B6B9; }
.form__status--info { background: #EEF2F7; color: #1F3550; border: 1px solid #C8D4E3; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-aside { display: grid; gap: 20px; }
.contact-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact-card__title { display: flex; align-items: center; gap: 12px; font-size: 1.375rem; margin-bottom: 18px; }
.contact-card--hq { background: var(--night); border-color: var(--night); color: var(--on-night-muted); border-top-right-radius: var(--corner); }
.contact-card--hq .contact-card__title, .contact-card--hq a { color: var(--white); }
.contact-card--hq .contact-list .icon { color: var(--red-on-night); }
.contact-card--hq .contact-list a:hover { color: var(--red-on-night); }
.contact-card--hq .btn { margin-top: 22px; }
.contact-card--hq .btn--light { color: var(--red-strong); }
.contact-card--hq .btn--light:hover { background: var(--red); color: var(--white); }
.branch-mini { list-style: none; padding: 0; }
.branch-mini > li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.branch-mini > li:first-child { padding-top: 0; }
.branch-mini > li:last-child { border-bottom: 0; padding-bottom: 0; }
.branch-mini__name { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
.branch-mini__name:hover { color: var(--red-strong); }
.branch-mini__city { font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--muted); }

.notfound__inner { max-width: 46rem; }
.notfound .icon-tile { margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--mist); border-top: 4px solid var(--red); padding-top: clamp(48px, 6vw, 72px); font-size: 0.96875rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.3fr); gap: 32px; }
.footer__logo { display: inline-block; margin-bottom: 20px; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.footer__logo img { height: 84px; width: auto; }
.footer__brand p { max-width: 22rem; color: var(--muted); }
.footer__title { font-size: 1.0625rem; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; list-style: none; padding: 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--red-strong); text-decoration: underline; }
.footer__branches a, .footer__contact a, .footer__social { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact .icon, .footer__social .icon { width: 18px; height: 18px; color: var(--red); }
.footer__social { margin-top: 4px; font-weight: 600; }
.footer__contact address { margin-bottom: 14px; color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat; font-size: 0.875rem; color: var(--muted); }
.footer__bottom p { margin: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .branch-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .brand img { height: 50px; }
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 14px;
    background: var(--white); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
    font: 600 1rem/1 var(--font-display); color: var(--ink); cursor: pointer;
  }
  .menu-toggle .icon { width: 22px; height: 22px; }
  .menu-toggle__icon--close { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon--open { display: none; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon--close { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 49;
    display: none; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--line);
  }
  .nav.is-open { display: block; }
  body.nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 58px; padding: 16px 4px 14px; font-size: 1.1875rem; border-radius: 0; }
  .nav__link:hover { background: none; }
  .nav__link[aria-current="page"]::after, .nav__link[data-section-current]::after { left: 0; right: auto; width: 4px; top: 16px; bottom: 16px; height: auto; }
  .nav__link[aria-current="page"], .nav__link[data-section-current] { padding-left: 16px; }
  .nav__caret { width: 18px; height: 18px; }
  .dropdown, .nav__item.is-open .dropdown {
    position: static; display: none; width: auto; min-width: 0; padding: 0 0 12px;
    border: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; transition: none;
  }
  .nav__item.is-open .dropdown { display: block; }
  .dropdown::before { display: none; }
  .dropdown__link { padding: 10px 8px; min-height: 52px; }
  .dropdown__all { padding: 12px 8px 4px; }
  .nav__item--cta { margin: 24px 0 0; border: 0; }
  .nav__cta { width: 100%; min-height: 54px; }
  .nav__mobile-contact { display: grid; gap: 14px; margin-top: 24px; }

  /* Offices row: equal columns so every flag lines up (desktop keeps the single row) */
  .flagbar { display: grid; gap: 12px; padding-block: 20px 4px; }
  .flagbar__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .flagbar a {
    display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  }
  .flagbar a:hover { border-color: var(--red); background: var(--red-tint); text-decoration: none; }
  .nav__mobile-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
  .nav__mobile-contact .icon { width: 20px; height: 20px; color: var(--red); }

  .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats__list { grid-template-columns: minmax(0, 1fr); }
  .stat, .stat:first-child { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
  .stat:last-child { padding-bottom: 0; }
  .stat__figure { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
}

@media (max-width: 899px) {
  .hero__grid, .page-hero__grid, .split, .split--narrow-media, .split--narrow-media.split--media-end, .intro, .service-row,
  .presence, .branch-detail, .form-layout, .contact-layout, .mv { grid-template-columns: minmax(0, 1fr); }
  .hero__media { justify-self: center; width: min(76%, 360px); margin-top: 8px; }
  .hero__badge { left: -12%; bottom: 28px; }
  .page-hero__media { aspect-ratio: 16 / 10; }
  .split__media, .split--narrow-media .split__media { aspect-ratio: 16 / 11; }
  .service-row--flip .service-row__media { order: 0; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .presence__map { width: min(100%, 420px); }
  .mv__panel:last-child { border-top-right-radius: var(--radius-lg); border-top-left-radius: var(--corner); }
}

@media (max-width: 699px) {
  .flagbar__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-cards, .feature-grid--3, .feature-grid--2, .branch-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-grid--2 .feature { flex-direction: column; }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .branch-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__contact { grid-column: 1 / -1; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo-grid__item { height: 92px; padding: 14px 16px; }
  .logo-grid__item img { max-height: 52px; }
  .branch-hero__head { gap: 16px; }
  .flag--xl { width: 64px; height: 48px; border-radius: 6px; }
  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 459px) {
  .flagbar a { gap: 8px; padding-inline: 10px; font-size: 1rem; }
  .stat__figure { font-size: min(2rem, 8.4vw); }
  .presence__list { grid-template-columns: minmax(0, 1fr); }
  .dropdown__list--branches { grid-template-columns: minmax(0, 1fr); }
  .menu-toggle__label { display: none; }
  .hero__badge { left: -8%; padding: 10px 12px; font-size: 0.875rem; }
  .hero__badge .icon { width: 36px; height: 36px; padding: 6px; }
}

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

@media print {
  .topbar, .menu-toggle, .nav, .cta-band, .map-embed, form { display: none !important; }
  .site-header { position: static; }
}

@media (max-width: 359px) {
  .flagbar a { gap: 7px; padding-inline: 8px; font-size: 0.9375rem; }
  .flagbar .flag--sm { width: 24px; height: 18px; }
}
