/* =============================================================
   Brothers Energy Inc. — Clean Energy & EV Infrastructure
   Global stylesheet
   ============================================================= */

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

:root {
  --bg: #eef2f6;
  --bg-soft: #f7fafc;
  --surface: #ffffff;
  --ink: #0f1f2b;
  --muted: #5a6c7a;
  --line: #dbe4ea;
  --brand: #0e3d5c;
  --brand-2: #17657f;
  --brand-dark: #082638;
  --accent: #4a9e34;
  --accent-2: #63b83f;
  --accent-dark: #3a7f28;
  --accent-soft: #edf7e6;
  --shadow-sm: 0 6px 18px rgba(12, 38, 56, 0.06);
  --shadow: 0 20px 45px rgba(12, 38, 56, 0.09);
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 104px; }

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #e9eff4 0%, #f8fbfc 100%);
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }

.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* -------------------------------------------------------------
   Top bar & navigation
   ------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 228, 234, 0.95);
  transition: box-shadow 0.2s ease;
}
.topbar.is-stuck { box-shadow: 0 10px 30px rgba(12, 38, 56, 0.08); }

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 12px; }
.brand-text strong { display: block; font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; }
.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.topbar-actions { display: flex; align-items: center; gap: 14px; min-width: 0; }

.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--brand); }
.nav a:not(.btn)[aria-current="page"] { position: relative; }
.nav a:not(.btn)[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  flex: 0 0 auto;
}
.lang-switch button {
  min-width: 40px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.lang-switch button:hover { color: var(--brand); }
.lang-switch button.is-active { background: var(--brand); color: #fff; }
.i18n-booting .lang-switch button { transition: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -------------------------------------------------------------
   Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px rgba(14, 61, 92, 0.2); }
.btn.primary:hover { background: var(--brand-dark); }
.btn.accent { background: var(--accent); color: #fff; box-shadow: 0 12px 26px rgba(74, 158, 52, 0.24); }
.btn.accent:hover { background: var(--accent-dark); }
.btn.secondary { border-color: var(--line); background: #fff; color: var(--ink); }
.btn.secondary:hover { border-color: #a9c0d1; }
.btn.light { background: #fff; color: var(--brand); }
.btn.ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn.small { min-height: 38px; padding: 0 15px; font-size: 13px; }

/* -------------------------------------------------------------
   Sections & headings
   ------------------------------------------------------------- */
.section { padding: 78px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: linear-gradient(135deg, #0b2f47 0%, #0e3d5c 55%, #17657f 100%); color: #fff; }
.section-tight { padding: 52px 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 38px; }
.section-head > div { max-width: 780px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.section-dark .eyebrow { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.section-dark .eyebrow::before { background: var(--accent-2); }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(34px, 4.4vw, 54px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); margin-top: 18px; }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 16px; }

.lead { margin-top: 16px; color: var(--muted); font-size: 17px; max-width: 72ch; }
.section-dark .lead { color: #c8dbe7; }
.muted { color: var(--muted); }
.text-accent { color: var(--accent-dark); }

/* -------------------------------------------------------------
   Hero
   ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 34px; }
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(74, 158, 52, 0.16), rgba(74, 158, 52, 0) 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 { margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-visual { position: relative; margin: 0; }
.hero-visual img {
  width: 100%;
  height: 470px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.hero-visual-label {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(8, 38, 56, 0.82);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}
.hero-visual-label strong { color: var(--accent-2); }
.hero-visual-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 13px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 62px 0 30px;
  background:
    radial-gradient(900px 320px at 12% -10%, rgba(74, 158, 52, 0.14), rgba(74, 158, 52, 0) 70%),
    linear-gradient(180deg, #e7eef3 0%, #f6f9fb 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { max-width: 1180px; }
.page-hero h1 { margin-top: 20px; }
.page-hero .lead { font-size: 18px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a { color: var(--brand); font-weight: 600; }
.breadcrumb span::before { content: "/"; margin-right: 8px; color: #b3c2cc; }

/* -------------------------------------------------------------
   Grids
   ------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.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)); }

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c5d6e0; }
.card-media { height: 200px; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
a.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--muted); font-size: 14.5px; }
.card-tag {
  align-self: flex-start;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Feature tile */
.tile {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 14.5px; }
.tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 800;
}
.section-dark .tile { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.section-dark .tile h3 { color: #fff; }
.section-dark .tile p { color: #c3d6e2; }
.section-dark .tile-icon { background: rgba(99, 184, 63, 0.18); color: var(--accent-2); }

/* Trust / stat rows */
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hero-benefits { margin-top: 34px; }
.trust { padding: 16px 18px; border-left: 3px solid var(--accent); background: rgba(255, 255, 255, 0.7); border-radius: 0 10px 10px 0; }
.trust strong { display: block; font-size: 19px; color: var(--brand); }
.trust span { color: var(--muted); font-size: 13px; }

.stat-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.stat strong { display: block; font-size: clamp(28px, 3.4vw, 40px); line-height: 1; color: #fff; }
.stat span { display: block; margin-top: 8px; color: #c3d6e2; font-size: 14px; }

/* Panels & callouts */
.panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.panel h3 { margin-bottom: 12px; }
.panel p + p { margin-top: 12px; }
.panel-soft { background: var(--bg-soft); }
.callout {
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
  color: #2c4a1f;
  font-size: 14.5px;
}
.callout strong { color: var(--accent-dark); }

/* Feature list */
.list-check { display: grid; gap: 12px; }
.list-check li { position: relative; padding-left: 32px; color: var(--muted); font-size: 15px; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid #cbe6ba;
}
.list-check li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 13px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(-45deg);
}
.list-check.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-dark .list-check li { color: #c8dbe7; }
.section-dark .list-check li::before { background: rgba(99, 184, 63, 0.18); border-color: rgba(99, 184, 63, 0.4); }
.section-dark .list-check li::after { border-color: var(--accent-2); }

/* -------------------------------------------------------------
   Media split
   ------------------------------------------------------------- */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.media-split.reverse .media-figure { order: 2; }
.media-figure { margin: 0; position: relative; }
.media-figure img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.media-split h2 { margin-top: 18px; }
.media-split .lead { font-size: 16.5px; }
.media-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.media-grid img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-sm); }

/* -------------------------------------------------------------
   Steps / process
   ------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step {
  position: relative;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.step strong { display: block; font-size: 16px; margin-bottom: 8px; }
.step span { color: var(--muted); font-size: 14px; }

/* -------------------------------------------------------------
   Tables
   ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
thead th {
  text-align: left;
  padding: 14px 18px;
  background: #eef4f8;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
tbody td { padding: 15px 18px; border-bottom: 1px solid #eaf0f4; font-size: 14.5px; vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody td:first-child { font-weight: 700; color: var(--brand); width: 34%; }

/* -------------------------------------------------------------
   Accreditation / certificate
   ------------------------------------------------------------- */
.accred {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: center;
}
.accred-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.accred-badge .dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}
.accred-badge strong { display: block; color: #fff; font-size: 14px; }
.accred-badge span { color: #bcd1de; font-size: 12px; }
.accred-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.accred-facts > div { padding: 16px 18px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.accred-facts span { display: block; color: #b6cbd8; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.accred-facts strong { display: block; margin-top: 4px; color: #fff; font-size: 17px; }

.certificate-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.certificate-card img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e6edf2;
  background: #fff;
}
.certificate-card figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.zoomable { cursor: zoom-in; }
.certificate-card.cert-portrait img { max-height: 560px; object-fit: contain; }

/* Badge / pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
}
.pill.accent { background: var(--accent-soft); border-color: #cbe6ba; color: var(--accent-dark); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* -------------------------------------------------------------
   CTA band
   ------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 44px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 184, 63, 0.3), rgba(99, 184, 63, 0) 68%);
}
.cta-band > div { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 12px; color: #cfe0ec; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------------------------------------
   Forms
   ------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 42px; align-items: start; }
.form { display: grid; gap: 16px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; color: #33485b; font-size: 13px; font-weight: 700; }
.form .req { color: var(--accent-dark); }
.form input, .form select, .form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfe;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid rgba(23, 101, 127, 0.35);
  outline-offset: 1px;
  border-color: #8fb4cd;
}
.form textarea { min-height: 140px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { color: var(--muted); font-size: 13px; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 18px;
}
.contact-item strong { display: block; font-size: 13px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.contact-item a, .contact-item span { font-size: 15.5px; font-weight: 600; }
.contact-item a:hover { color: var(--accent-dark); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--brand); font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 12px; color: var(--muted); font-size: 14.5px; }

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
.footer { padding: 60px 0 34px; background: #0a2333; color: #a2b7c5; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 34px; }
.footer h4 { margin: 0 0 15px; color: #fff; font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; }
.footer ul { display: grid; gap: 9px; }
.footer .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer .footer-brand .brand-mark { width: 44px; height: 44px; border-radius: 12px; }
.footer .footer-brand strong { display: block; color: #fff; font-size: 15px; line-height: 1.25; }
.footer .footer-brand span { display: block; color: #7f9aab; font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer .footer-about { margin-top: 4px; max-width: 40ch; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: #c5d7e2; }

/* -------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(6, 22, 32, 0.9);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1000px, 96vw);
  max-height: 92vh;
  width: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

/* -------------------------------------------------------------
   Reveal animation
   ------------------------------------------------------------- */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* -------------------------------------------------------------
   Utilities
   ------------------------------------------------------------- */
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 20px; }
.stack-lg > * + * { margin-top: 30px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.center { text-align: center; }

/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 24px 44px rgba(9, 32, 52, 0.18);
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 2px; font-size: 15.5px; border-bottom: 1px solid #eef3f7; }
  .nav a:not(.btn)[aria-current="page"]::after { display: none; }
  .nav .btn { margin-top: 16px; width: 100%; }
}

@media (max-width: 980px) {
  .hero-grid, .media-split, .accred, .contact-grid { grid-template-columns: 1fr; }
  .media-split.reverse .media-figure { order: 0; }
  .grid-4, .stat-band, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3, .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding: 62px 0; }
  .hero-visual img { height: 400px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 24px); }
  .topbar-inner { min-height: 68px; gap: 10px; }
  .brand-text span { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .topbar-actions { gap: 10px; }
  .lang-switch button { min-width: 34px; padding: 6px 8px; font-size: 11px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav { left: 10px; right: 10px; }
  .section { padding: 48px 0; }
  .hero { padding: 36px 0 20px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .hero-benefits, .trust-row, .grid-2, .grid-3, .grid-4, .stat-band, .steps, .media-grid, .field-grid, .footer-grid, .accred-facts, .list-check.cols-2 {
    grid-template-columns: 1fr;
  }
  .hero-visual img, .media-figure img { height: 300px; }
  .card-media { height: 190px; }
  .media-grid img { height: 200px; }
  .cta-band { padding: 28px; }
  .panel { padding: 22px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  thead th, tbody td { padding: 12px 14px; }
  .certificate-card.cert-portrait img { max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, a.card:hover { transform: none; }
}
