:root {
  --green: #2e8b57;
  --green-600: #237a49;
  --green-800: #154d2e;
  --green-50: #eaf6ef;
  --yellow: #f2d43d;
  --yellow-50: #fdf8dc;
  --red: #d8391c;
  --red-50: #fcebe7;
  --ink: #17231d;
  --muted: #5b6b63;
  --bg: #f5f7f6;
  --surface: #ffffff;
  --border: #e2e8e4;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 28, .06), 0 1px 3px rgba(16, 40, 28, .08);
  --shadow: 0 10px 30px -12px rgba(16, 40, 28, .25);
  --shadow-lg: 0 30px 60px -20px rgba(16, 40, 28, .35);
  --container: 1200px;
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-800); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Topbar & header ---------- */
.topbar {
  background: var(--green-800);
  color: #d8eee1;
  font-size: .85rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .45rem; flex-wrap: wrap; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--yellow); }
.topbar-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink); }
.brand img { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > a,
.nav .dropdown > button {
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  background: none;
  border: 0;
  padding: .55rem .85rem;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: background .2s, color .2s;
}
.nav > a:hover,
.nav .dropdown > button:hover { background: var(--green-50); color: var(--green-800); }
.nav > a.active,
.nav .dropdown.active > button { color: var(--green-600); background: var(--green-50); }

.dropdown { position: relative; }
.dropdown > button .icon { width: 1em; height: 1em; transition: transform .2s; }
.dropdown.open > button .icon { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu a {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .75rem;
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.dropdown-menu a:hover,
.dropdown-menu a.active { background: var(--bg); }
.dropdown-menu a span { display: flex; flex-direction: column; font-weight: 600; font-size: .95rem; }
.dropdown-menu a small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.dropdown-menu .icon-badge { width: 38px; height: 38px; }

.header-cta { display: flex; align-items: center; gap: .5rem; }
.menu-toggle {
  display: none;
  background: var(--green-50);
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--green-800);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle .icon { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -8px rgba(46, 139, 87, .7); }
.btn-primary:hover { background: var(--green-600); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #e9c929; color: var(--ink); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--green); color: var(--green-600); }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(12, 42, 26, .95) 0%, rgba(21, 77, 46, .85) 45%, rgba(21, 77, 46, .35) 100%);
}
.hero .container { padding-block: clamp(4rem, 10vw, 7.5rem); }
.hero-content { max-width: 680px; }
.hero p.lead { font-size: 1.15rem; color: #d7eadf; max-width: 560px; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-stripes { position: absolute; right: 0; bottom: 0; left: 0; height: 6px; display: flex; }
.hero-stripes span { flex: 1; }
.hero-stripes span:nth-child(1) { background: var(--green); }
.hero-stripes span:nth-child(2) { background: var(--yellow); }
.hero-stripes span:nth-child(3) { background: var(--red); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: currentColor; }
.hero .eyebrow { color: var(--yellow); }

/* Page hero (inner pages) */
.page-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 212, 61, .25), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(216, 57, 28, .15), transparent 35%),
    linear-gradient(135deg, var(--green-800), var(--green));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero .container { padding-block: clamp(3rem, 7vw, 5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .4em; }
.page-hero p { color: #d7eadf; font-size: 1.1rem; max-width: 600px; margin: 0; }
.page-hero .eyebrow { color: var(--yellow); }
.page-hero-visual { justify-self: end; }
.page-hero-visual img { max-height: 200px; width: auto; border-radius: var(--radius); background: #fff; padding: 1rem; box-shadow: var(--shadow-lg); }
.page-hero-visual.bare img { background: transparent; padding: 0; box-shadow: none; }
.breadcrumb { display: flex; gap: .5rem; font-size: .88rem; color: #bfe0cc; margin-bottom: 1rem; }
.breadcrumb a { color: #fff; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute;
  inset: auto -14px -14px auto;
  width: 45%;
  height: 45%;
  border-radius: var(--radius);
  background: var(--yellow);
  z-index: -1;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 0; }
a.card { color: inherit; display: flex; flex-direction: column; }
a.card .card-link { margin-top: auto; padding-top: 1.1rem; color: var(--green-600); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
a.card:hover .card-link .icon { transform: translateX(4px); }
.card-link .icon { transition: transform .2s; width: 1.1em; height: 1.1em; }

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-600);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge.yellow { background: var(--yellow-50); color: #a88a00; }
.icon-badge.red { background: var(--red-50); color: var(--red); }
.dropdown-menu .icon-badge { margin-bottom: 0; border-radius: 10px; }
.dropdown-menu .icon-badge .icon { width: 20px; height: 20px; }

.quick-links { margin-top: -3.5rem; position: relative; z-index: 2; }
.quick-links .card { padding: 1.5rem; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: .15rem;
  border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e8b57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1rem 0; }
.pill-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-weight: 500;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.pill-list li .icon { color: var(--green); width: 1.05em; height: 1.05em; }

.callout {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--yellow-50);
  border: 1px solid #f1e49c;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}
.callout .icon { color: #a88a00; margin-top: .15rem; }
.callout p { margin: 0; color: #5d5214; }

.legal-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.legal-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.legal-list li .icon { color: var(--green); width: 22px; height: 22px; }
.legal-list li a { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; }
.legal-list .tag { margin-left: auto; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-600);
  white-space: nowrap;
}
.tag.red { background: var(--red-50); color: var(--red); }
.tag.yellow { background: var(--yellow-50); color: #8a7100; }

/* ---------- Tables ---------- */
.table-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.table-card-head { padding: 1.4rem 1.6rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; }
.table-card-head h3 { margin: 0; }
.table-card-head p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.table-card-head .num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}
.table-card-body { padding: 1.4rem 1.6rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th {
  background: var(--bg);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 700;
  vertical-align: bottom;
}
th, td { padding: .85rem .9rem; }
td:first-child { min-width: 150px; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #fafcfb; }
td:first-child { font-weight: 600; color: var(--ink); }
td.price { font-variant-numeric: tabular-nums; white-space: nowrap; }
td.price strong { font-weight: 700; }
.zone-badge {
  display: inline-grid;
  place-items: center;
  min-width: 70px;
  padding: .3rem .7rem;
  border-radius: 8px;
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 700;
  font-size: .85rem;
}

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: .25rem; background: var(--surface); border: 1px solid var(--border); padding: .35rem; border-radius: 999px; margin-bottom: 1.5rem; }
.tabs button {
  font: inherit;
  font-weight: 600;
  border: 0;
  background: none;
  padding: .6rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.tabs button[aria-selected="true"] { background: var(--green); color: #fff; }
.tab-panel[hidden] { display: none; }

/* ---------- Side nav (tarifs) ---------- */
.with-aside { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: start; }
.aside-nav { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; }
.aside-nav strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .4rem .6rem .7rem; }
.aside-nav a { display: flex; gap: .6rem; align-items: center; padding: .55rem .6rem; border-radius: 10px; color: var(--ink); font-size: .93rem; font-weight: 500; }
.aside-nav a span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; background: var(--bg); font-size: .78rem; font-weight: 700; color: var(--muted); }
.aside-nav a:hover,
.aside-nav a.active { background: var(--green-50); color: var(--green-800); }
.aside-nav a.active span { background: var(--green); color: #fff; }
.stack { display: grid; gap: 1.5rem; }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.gallery a {
  position: relative;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.gallery.stamps a { aspect-ratio: 3 / 2; padding: 1rem; background: repeating-linear-gradient(45deg, #fff, #fff 8px, #f7f9f8 8px, #f7f9f8 16px); }
.gallery.stamps { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.stamp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.stamp-grid figure {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem .75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .7rem;
}
.stamp-grid img { width: 64px; height: 64px; object-fit: contain; border: 3px dotted #cfd8d3; padding: 3px; background: #fff; }
.stamp-grid figcaption { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.gallery.contain { grid-template-columns: repeat(auto-fill, minmax(200px, 260px)); }
.gallery.contain a { aspect-ratio: 3 / 4; padding: 1rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery.contain img { object-fit: contain; }
.gallery.stamps img { object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }
.gallery a:hover img { transform: scale(1.05); }
.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(21, 77, 46, .45), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
}
.gallery a:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 20, 14, .92);
  display: grid;
  place-items: center;
  padding: 4rem 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 82vh; border-radius: 12px; box-shadow: var(--shadow-lg); object-fit: contain; }
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s;
}
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); color: #cfe3d7; font-size: .9rem; }

/* ---------- Documents ---------- */
.doc-card { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; }
.doc-card .doc-icon {
  width: 48px;
  height: 56px;
  border-radius: 8px;
  background: var(--red-50);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
}
.doc-card .doc-icon.ar { background: var(--yellow-50); color: #8a7100; }
.doc-card .doc-icon.circ { background: var(--green-50); color: var(--green-600); }
.doc-card h3 { font-size: 1rem; margin: 0; }
.doc-card p { font-size: .87rem; }
.doc-card .icon-dl { margin-left: auto; color: var(--muted); transition: color .2s, transform .2s; }
a.doc-card:hover .icon-dl { color: var(--green); transform: translateY(2px); }

/* ---------- Tracking ---------- */
.track-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: .5rem;
  display: flex;
  gap: .5rem;
  box-shadow: var(--shadow-lg);
  max-width: 620px;
}
.track-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  font: inherit;
  font-size: 1.05rem;
  padding: .8rem 1rem;
  outline: none;
  color: var(--ink);
  background: transparent;
}
.track-box .icon { color: var(--muted); align-self: center; margin-left: .75rem; }
.hero .track-box { margin-top: 1.75rem; }
.form-hint { font-size: .85rem; color: #bfe0cc; margin-top: .75rem; }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 90% 10%, rgba(242, 212, 61, .35), transparent 40%),
    linear-gradient(135deg, var(--green-800), var(--green));
  color: #fff;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.5fr auto;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { color: #d7eadf; margin: 0; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .icon-badge { margin: 0; }
.contact-item h3 { font-size: 1rem; margin-bottom: .15rem; }
.contact-item p, .contact-item a { color: var(--muted); margin: 0; }
.contact-item a:hover { color: var(--green-600); }

/* ---------- Footer ---------- */
.site-footer { background: #0f2419; color: #a9c2b4; margin-top: 0; font-size: .93rem; }
.site-footer .container { padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand img { height: 56px; width: auto; background: #fff; padding: .4rem .7rem; border-radius: 10px; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: #a9c2b4; }
.site-footer a:hover { color: var(--yellow); }
.site-footer li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer li .icon { margin-top: .2rem; color: var(--yellow); width: 1.1em; height: 1.1em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; }
.footer-stripes { display: flex; height: 4px; }
.footer-stripes span { flex: 1; }
.footer-stripes span:nth-child(1) { background: var(--green); }
.footer-stripes span:nth-child(2) { background: var(--yellow); }
.footer-stripes span:nth-child(3) { background: var(--red); }

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s;
  z-index: 40;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.text-muted { color: var(--muted); }
.center { text-align: center; }
.media-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.media-frame img { width: 100%; }
.media-frame figcaption { padding: .9rem 1.2rem; font-size: .9rem; color: var(--muted); border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-aside { grid-template-columns: 1fr; }
  .aside-nav { position: static; display: flex; flex-wrap: wrap; gap: .25rem; }
  .aside-nav strong { width: 100%; }
}

@media (max-width: 960px) {
  .site-header { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: .25rem;
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > a, .nav .dropdown > button { width: 100%; justify-content: space-between; padding: .9rem 1rem; border-radius: 12px; font-size: 1.05rem; }
  .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 .5rem;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .dropdown.open .dropdown-menu { display: grid; transform: none; }
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero-visual { justify-self: start; }
  .cta-band { grid-template-columns: 1fr; }
  .split-media::after { display: none; }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .track-box { flex-direction: column; }
  .track-box .icon { display: none; }
  .quick-links { margin-top: -2rem; }
  th, td { padding: .75rem .8rem; }
  .table-card-head, .table-card-body { padding: 1.1rem; }
}
