/* ==========================================================================
   Teb-Sail — modern static stylesheet
   Hand-built, no external fonts or frameworks (works fully offline).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --navy-900: #081428;
  --navy-800: #0d1f3c;
  --navy-700: #152b52;
  --navy-600: #1d3a6b;
  --brand-700: #3d2268;
  --brand-600: #4a2a7a;
  --brand-500: #5c3a92;
  --brand-300: #b9a4dc;

  --teal-600: #0f6f7a;
  --teal-400: #2a9aa6;

  --ink: #16202e;
  --ink-soft: #3c4a5e;
  --ink-muted: #5d6b80;
  --line: #e2e8f1;
  --line-strong: #cfd8e6;

  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-alt: #f0f4fa;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(13, 31, 60, .06), 0 1px 1px rgba(13, 31, 60, .04);
  --shadow: 0 10px 30px -18px rgba(13, 31, 60, .35), 0 2px 6px rgba(13, 31, 60, .05);
  --shadow-lg: 0 28px 60px -32px rgba(8, 20, 40, .55);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    "Noto Sans", Arial, "Liberation Sans", sans-serif;
  --font-display: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue",
    Arial, sans-serif;

  --wrap: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3rem, 6vw, 5rem);

  --ok: #1c7c4a;
  --warn: #9a5b00;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9eef7;
    --ink-soft: #c2ccdd;
    --ink-muted: #93a1b8;
    --line: #22304a;
    --line-strong: #33445f;
    --bg: #0b1220;
    --surface: #111b2c;
    --surface-alt: #16233a;
    --brand-600: #6b48a8;
    --brand-500: #7d5cbb;
    --teal-600: #2a9aa6;
    --shadow: 0 16px 40px -24px rgba(0, 0, 0, .8);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 650; }
h4 { font-size: 1.02rem; font-weight: 650; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
a { color: var(--brand-600); text-decoration-thickness: .06em; text-underline-offset: .16em; }
a:hover { color: var(--brand-500); }
strong, b { font-weight: 650; }
small { font-size: .85rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }
:focus-visible {
  outline: 3px solid var(--teal-400);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection { background: var(--brand-300); color: #10172a; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: min(var(--wrap), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--alt { background: var(--surface-alt); border-block: 1px solid var(--line); }
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.lead {
  font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 62ch;
}
.section-head { max-width: 66ch; margin-bottom: 2rem; }
.section-head .eyebrow { margin-bottom: .7rem; }
.section-head p:last-child { margin-bottom: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--surface);
  color: var(--ink);
  padding: .8rem 1.1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(12px);
}
@supports not (backdrop-filter: blur(1px)) {
  .site-header { background: var(--surface); }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 74px;
  padding-block: .55rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand img { width: 46px; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.brand__tag {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: .2rem;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .55rem .7rem;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  align-items: center;
  gap: .5rem;
}
.nav-toggle svg { width: 20px; height: 20px; }
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: .5rem .62rem;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--surface-alt); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--brand-600); background: color-mix(in srgb, var(--brand-300) 24%, transparent); }
.header-cta { display: flex; align-items: center; gap: .7rem; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 2px;
  background: var(--surface);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.lang-switch a, .lang-switch span {
  padding: .28rem .6rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-muted);
}
.lang-switch [aria-current="true"], .lang-switch .is-active {
  background: var(--navy-700);
  color: #fff;
}
/* compact language label on small screens */
.lang-switch a[data-short] { font-size: 0; }
.lang-switch a[data-short]::after { content: attr(data-short); font-size: .78rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .78rem 1.35rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 650;
  font-size: .98rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand-600); color: #fff; }
.btn--primary:hover { background: var(--brand-500); color: #fff; }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn--small { padding: .55rem 1rem; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(92, 58, 146, .55), transparent 62%),
    radial-gradient(760px 420px at 4% 108%, rgba(42, 154, 166, .28), transparent 65%),
    linear-gradient(158deg, var(--navy-900) 0%, var(--navy-800) 52%, var(--navy-700) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(80% 65% at 50% 40%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-block: clamp(2.6rem, 6vw, 5.2rem);
}
.hero .eyebrow { color: var(--brand-300); }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero .lead { color: rgba(255, 255, 255, .82); max-width: 56ch; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .55rem;
  list-style: none;
  padding: 0;
  margin: 1.9rem 0 0;
}
.hero__facts li {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .42rem .8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .92);
}
.hero__art { justify-self: center; width: 100%; max-width: 430px; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .35)); }

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background:
    radial-gradient(800px 300px at 88% -30%, rgba(92, 58, 146, .22), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding-block: clamp(2.1rem, 4.5vw, 3.5rem) clamp(2.4rem, 5vw, 4rem);
}
.page-head .eyebrow { color: var(--brand-300); }
.page-head h1 { color: #fff; max-width: 22ch; }
.page-head .lead { color: rgba(255, 255, 255, .8); margin-bottom: 0; }
.page-head--compact { padding-block: clamp(1.8rem, 4vw, 2.6rem); }

/* ---------- Breadcrumbs ---------- */
.crumbs { padding-block: .9rem 0; }
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .82rem;
  color: var(--ink-muted);
}
.crumbs li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-600); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink-soft); font-weight: 600; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; color: var(--ink-soft); font-size: .97rem; }
.card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  color: var(--brand-600);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
}
.card__link::after { content: "→"; transition: transform .15s ease; }
.card__link:hover::after { transform: translateX(3px); }
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; }

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.feature__num {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand-300) 30%, transparent);
  color: var(--brand-700);
  font-weight: 700;
  font-size: .95rem;
}
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { margin-bottom: 0; color: var(--ink-soft); font-size: .96rem; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-block: 1.6rem;
  border-block: 1px solid var(--line);
  margin-block: 2.4rem;
}
.stat { text-align: center; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  color: var(--brand-600);
  letter-spacing: -.02em;
}
.stat span { font-size: .82rem; color: var(--ink-muted); font-weight: 600; letter-spacing: .03em; }

/* ---------- Class cards ---------- */
.class-card {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.class-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.class-card h3 { margin: 0; font-size: 1.12rem; }
.class-card .tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal-600);
  white-space: nowrap;
}
.class-card p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.class-card ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; color: var(--ink-soft); }
.class-card ul li { margin-bottom: .2rem; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose > h2 { margin-top: 2.2rem; }
.prose > h3 { margin-top: 1.7rem; }
.prose ul, .prose ol { color: var(--ink-soft); }
.prose img { border-radius: var(--radius); margin: 1.6rem 0; }
.prose table { font-size: .95rem; }

.layout-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.aside-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 96px;
}
.aside-card h2, .aside-card h3 { font-size: 1.02rem; margin-bottom: .6rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.aside-card li { margin-bottom: .5rem; }
.aside-card p:last-child { margin-bottom: 0; }

.callout {
  border-left: 4px solid var(--brand-500);
  background: color-mix(in srgb, var(--brand-300) 16%, var(--surface));
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.3rem;
  margin: 1.8rem 0;
  font-size: .96rem;
}
.callout > :last-child { margin-bottom: 0; }
.callout--note { border-left-color: var(--teal-600); background: color-mix(in srgb, var(--teal-400) 12%, var(--surface)); }
.callout__title { font-weight: 700; margin-bottom: .3rem; display: block; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 520px;
}
caption {
  text-align: left;
  padding: 1.1rem 1.25rem .4rem;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
th, td { padding: .8rem 1.15rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th {
  background: var(--surface-alt);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  white-space: nowrap;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: color-mix(in srgb, var(--brand-300) 10%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.group-row td {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .01em;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .7rem; max-width: 78ch; }
details.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
}
details.faq summary {
  cursor: pointer;
  padding: 1.05rem 1.25rem;
  font-weight: 650;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--brand-600);
  flex: 0 0 auto;
  transition: transform .2s ease;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq summary:hover { background: var(--surface-alt); }
details.faq .faq__body { padding: 0 1.25rem 1.15rem; color: var(--ink-soft); font-size: .97rem; }
details.faq .faq__body > :last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(92, 58, 146, .7), transparent 70%),
    linear-gradient(150deg, var(--navy-900), var(--navy-700));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255, 255, 255, .78); margin-bottom: 0; max-width: 54ch; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.05rem; }
.field label { font-size: .88rem; font-weight: 650; }
.field .hint { font-size: .8rem; color: var(--ink-muted); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: .7rem .85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-300) 45%, transparent);
}
textarea { min-height: 8.5rem; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.form-status { font-size: .9rem; margin: .8rem 0 0; color: var(--ok); font-weight: 600; }
.form-status[hidden] { display: none; }

/* ---------- Contact blocks ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.contact-list li { margin: 0; }
.contact-list .label {
  display: block;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 700;
  margin-bottom: .15rem;
}

/* ---------- Link list ---------- */
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child { border-bottom: 0; }
.link-list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .75rem;
  padding: .85rem .1rem;
  text-decoration: none;
  font-weight: 650;
  color: var(--ink);
}
.link-list a:hover { color: var(--brand-600); }
.link-list a span { font-weight: 400; font-size: .88rem; color: var(--ink-muted); }

/* ---------- Sitemap page ---------- */
.map-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.map-grid h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.map-grid ul { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.map-grid li { margin-bottom: .45rem; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: var(--section);
  background: var(--navy-900);
  color: rgba(255, 255, 255, .74);
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
}
.site-footer h2 {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .9rem;
}
.site-footer .brand { color: #fff; margin-bottom: .9rem; }
.site-footer .brand__tag { color: rgba(255, 255, 255, .55); }
.site-footer p { margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .18em; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.1rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: rgba(255, 255, 255, .55);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .72); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.nowrap { white-space: nowrap; }
.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;
}
.note { font-size: .88rem; color: var(--ink-muted); }
.anchor-target { scroll-margin-top: 96px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 320px; }
  .layout-split { grid-template-columns: 1fr; }
  .aside-card { position: static; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { gap: .55rem; min-height: 66px; }
  .header-cta { gap: .3rem; }
  .header-cta .btn { display: none; }
  .brand img { width: 40px; height: 40px; }
  .brand__tag { display: none; }
  .brand__name { font-size: 1.1rem; }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .6rem var(--gutter) 1rem;
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: .8rem .6rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li:last-child a { border-bottom: 0; }
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
  .crumbs { display: none; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .hero__facts li { font-size: .78rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero__art { max-width: 260px; }
  .nav-toggle span { display: none; }
  .nav-toggle { padding: .5rem .6rem; }
}

@media (min-width: 861px) {
  .lang-switch a[data-short] { font-size: .8rem; }
  .lang-switch a[data-short]::after { content: none; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .btn, .nav-toggle, .breadcrumbs { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero, .page-head { background: none !important; color: #000 !important; padding-block: 1rem; }
  .hero h1, .page-head h1, .hero .lead { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
}
