/* ===========================================================
   CLI Supply Chain Enabler — Shared Stylesheet
   =========================================================== */

:root {
  /* Brand (sampled from the real CLI logo) */
  --brand-blue: #0B8CC6;
  --brand-blue-dark: #075A80;
  --brand-blue-darker: #063F5C;
  --brand-ink: #0F2A38;
  --brand-amber: #F2994A;
  --brand-amber-dark: #D97F2E;

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-soft: #F5F9FB;
  --bg-tint: #EAF4F9;
  --border: #DCE6EB;
  --text: #17262E;
  --text-muted: #526975;
  --white: #FFFFFF;

  /* Type */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Inter', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 56, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 42, 56, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 42, 56, 0.16);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--brand-ink); letter-spacing: .01em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand-amber); outline-offset: 2px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--dark { background: var(--brand-ink); color: #CBDCE4; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: #6FC4E8; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--text-muted); font-size: 17px; }
.section--dark .section-head p { color: #A9C3CD; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--brand-amber); color: var(--brand-ink); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--brand-amber-dark); }
.btn--outline { border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--brand-ink); }
.btn--outline-dark { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn--outline-dark:hover { background: var(--brand-blue); color: var(--white); }
.btn--sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .06em; color: var(--brand-blue-dark); text-transform: uppercase; line-height: 1.2; }
.brand-logo-full { height: 40px; width: auto; }
.brand-logo-full--footer { height: 34px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav-list { display: flex; gap: 26px; }
.nav-list a {
  font-weight: 600; font-size: 15px; color: var(--brand-ink);
  padding: 8px 2px; position: relative;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--brand-blue); transform: scaleX(0); transition: transform .2s ease;
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--brand-blue); }

.lang-switch { display: flex; align-items: center; gap: 4px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 4px; }
.lang-switch button { background: transparent; border: none; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--text-muted); touch-action: manipulation; }
.lang-switch button.active { background: var(--brand-blue); color: var(--white); }

.nav-toggle {
  display: none;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-md);
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.6);
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}
.nav-toggle:hover { background: rgba(255,255,255,.75); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.6); }
.nav-toggle:active { transform: scale(.94); }
.nav-toggle[aria-expanded="true"] { background: rgba(255,255,255,.85); }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brand-ink);
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(rgba(0, 31, 63, 0.75), rgba(0, 31, 63, 0.85)), url('../landscape/alam1.JPG') center/cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0 2px, transparent 2px 64px);
  pointer-events: none;
}
.hero .container { position: relative; padding-top: 88px; padding-bottom: 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(38px, 5.4vw, 64px); margin-bottom: 20px; }
.hero .lede { font-size: 19px; color: #C7DEE7; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-services { font-size: 14px; color: #9FC2D0; letter-spacing: .04em; }
.hero-services strong { color: var(--white); }

.hero-badge {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.hero-badge h3 { color: var(--white); font-size: 17px; margin-bottom: 16px; }
.hero-stat-list { display: grid; gap: 14px; }
.hero-stat { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px dashed rgba(255,255,255,.18); }
.hero-stat:last-child { border: none; padding-bottom: 0; }
.hero-stat .num { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--white); }
.hero-stat .label { font-size: 13px; color: #A9C3CD; text-align: right; max-width: 150px; }

.page-hero {
  background: linear-gradient(135deg, var(--brand-ink) 0%, var(--brand-blue-darker) 60%, var(--brand-blue-dark) 100%);
  color: var(--white);
  padding: 64px 0 56px;
}
.page-hero h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 48px); }
.page-hero p { color: #C7DEE7; font-size: 17px; max-width: 640px; }
.breadcrumb { font-size: 13px; color: #9FC2D0; margin-bottom: 14px; letter-spacing: .03em; }
.breadcrumb span { color: var(--white); font-weight: 700; }

/* ---------- Stat band ---------- */
.stat-band { position: relative; overflow: hidden; background: var(--brand-blue-dark); color: var(--white); }
.stat-band::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 320px;
  height: 320px;
  background: url("../logo/CLI LOGOs.svg") no-repeat center / contain;
  opacity: .12;
  pointer-events: none;
}
.stat-band .container { position: relative; z-index: 1; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-grid .num { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--white); }
.stat-grid .label { font-size: 13px; color: #BEDCE8; letter-spacing: .02em; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--bg-tint); color: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.icon-use { width: 100%; height: 100%; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 15px; margin-bottom: 0; }
.card ul { margin-top: 12px; display: grid; gap: 7px; }
.card ul li { font-size: 14px; color: var(--text-muted); padding-left: 20px; position: relative; }
.card ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brand-amber); }

.card--flat { box-shadow: none; }
.card--accent { border-top: 4px solid var(--brand-blue); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 3px solid var(--bg-tint); display: grid; gap: 36px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -41px; top: 4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-blue); border: 3px solid var(--white); box-shadow: 0 0 0 3px var(--brand-blue);
}
.timeline-item .year { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--brand-blue); }
.timeline-item p { color: var(--text-muted); margin-top: 4px; }

/* ---------- Management ---------- */
.person-card { text-align: left; }
.person-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand-blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  margin-bottom: 16px;
}
.person-card h3 { margin-bottom: 2px; }
.person-role { color: var(--brand-amber-dark); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; display: block; }

/* ---------- Sub nav (services page) ---------- */
.subnav-wrap { position: sticky; top: var(--header-h); z-index: 150; background: var(--white); border-bottom: 1px solid var(--border); }
.subnav { display: flex; gap: 4px; overflow-x: auto; padding: 12px 0; scrollbar-width: thin; }
.subnav a {
  white-space: nowrap; font-size: 14px; font-weight: 700; padding: 9px 16px;
  border-radius: 999px; color: var(--text-muted);
}
.subnav a:hover { background: var(--bg-soft); color: var(--brand-blue); }
.subnav a.active { background: var(--brand-blue); color: var(--white); }

.service-block { padding: 64px 0; border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 66px); }
.service-block:last-child { border-bottom: none; }
.service-block-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.service-block-head h2 { margin: 0; font-size: 28px; }
.service-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-blue); background: var(--bg-tint); padding: 5px 12px; border-radius: 999px; }

.flow-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.flow-step { background: var(--bg-tint); color: var(--brand-blue-dark); font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: var(--radius-sm); }
.flow-arrow { color: var(--brand-amber); font-weight: 700; }

/* Photo placeholder */
.photo-placeholder {
  background: repeating-linear-gradient(45deg, var(--bg-tint), var(--bg-tint) 10px, var(--bg-soft) 10px, var(--bg-soft) 20px);
  border: 1.5px dashed #A9C9D6;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--brand-blue-dark); font-weight: 600; font-size: 14px;
  padding: 24px; min-height: 180px;
}
.photo-placeholder small { display: block; font-weight: 400; color: var(--text-muted); margin-top: 4px; }

/* Service section photo banner: shows assets/services/{slug}.jpg when present, falls back to a placeholder pattern otherwise (see main.js) */
.service-photo {
  position: relative;
  height: 300px;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.service-photo--placeholder {
  background-image: repeating-linear-gradient(45deg, var(--bg-tint), var(--bg-tint) 10px, var(--bg-soft) 10px, var(--bg-soft) 20px);
  border: 1.5px dashed #A9C9D6;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--brand-blue-dark); font-weight: 600; font-size: 14px;
  padding: 24px;
}
.service-photo--placeholder small { display: block; font-weight: 400; color: var(--text-muted); margin-top: 4px; }
.service-photo:not(.service-photo--placeholder) span { display: none; }

/* ---------- Network page ---------- */
.badge-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-cloud .city {
  font-size: 13.5px; font-weight: 600; color: var(--brand-blue-dark);
  background: var(--bg-tint); padding: 8px 14px; border-radius: 999px;
  border: 1px solid transparent;
}
.region-card h3 { display: flex; align-items: center; gap: 10px; }
.region-count { margin-left: auto; font-size: 12px; background: var(--brand-blue); color: var(--white); padding: 3px 10px; border-radius: 999px; font-weight: 700; }

/* ---------- Clients page ---------- */
.client-group { margin-bottom: 44px; }
.client-group h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-blue-dark); margin-bottom: 18px; }
.client-tiles { display: flex; flex-wrap: wrap; gap: 12px; }
.client-tile {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 14px 20px; font-weight: 700; font-size: 14.5px; color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}
.client-logo { height: 28px; width: auto; max-width: 110px; object-fit: contain; display: block; }

/* ---------- Contact ---------- */
.office-card h3 { font-size: 18px; }
.office-card .office-tag { color: var(--brand-amber-dark); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 10px; }
.office-line { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-muted); margin-top: 6px; }
.office-line svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--brand-blue); }
.office-line a { color: var(--brand-blue-dark); font-weight: 600; }

.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--brand-ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; color: var(--text); background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-blue); }
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-ink); color: #9FB6BF; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-text { color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col p { font-size: 14px; color: #9FB6BF; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #7C97A1; }

/* ---------- News ---------- */
.news-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-align: left; background: var(--white); cursor: pointer; }
.news-card-photo { position: relative; height: 190px; background-size: cover; background-position: center; background-color: var(--bg-tint); flex-shrink: 0; }
.news-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-tag {
  display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--brand-blue); background: var(--bg-tint); padding: 5px 12px;
  border-radius: 999px; margin-bottom: 12px;
}
.news-date { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.news-card h3 { font-size: 19px; margin-bottom: 10px; }
.news-card p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-readmore { margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--brand-blue); }
.news-empty { color: var(--text-muted); font-size: 15px; }

/* News detail modal */
.news-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.news-modal.open { opacity: 1; pointer-events: auto; }
.news-modal-backdrop { position: fixed; inset: 0; background: rgba(15, 42, 56, 0.6); backdrop-filter: blur(2px); }
.news-modal-dialog {
  position: relative; background: var(--white); border-radius: var(--radius-lg); max-width: 720px; width: 100%;
  box-shadow: var(--shadow-lg); transform: translateY(16px); transition: transform .2s ease; overflow: hidden;
}
.news-modal.open .news-modal-dialog { transform: translateY(0); }
.news-modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); color: var(--brand-ink); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); z-index: 1;
}
.news-modal-photo { height: 260px; background-size: cover; background-position: center; background-color: var(--bg-tint); }
.news-modal-body { padding: 32px; }
.news-modal-body h3 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 14px; }
.news-modal-body p { color: var(--text-muted); font-size: 15.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  /* backdrop-filter creates a containing block for position:fixed children,
     which would collapse the nav drawer to zero height — drop it on mobile. */
  .site-header {
    height: 64px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--white);
  }
  .site-header .container { padding: 0 16px; gap: 12px; }
  .brand img { height: 32px; }
  .brand-text { display: none; }

  /* Hamburger button */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .nav-toggle span {
    position: static;
    left: auto;
    top: auto;
    width: 24px;
    height: 2.5px;
    margin: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Slide-in drawer */
  .nav {
    display: flex;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 16px;
    gap: 0;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    z-index: 199;
    box-shadow: -2px 0 12px rgba(15, 42, 56, 0.15);
  }
  .nav.open { transform: translateX(0); }

  .nav-list { display: flex; flex-direction: column; gap: 0; order: 1; flex: 1; }
  .nav-list a {
    display: block;
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    font-weight: 500;
  }
  .nav-list a::after { display: none; }
  .nav-list a:hover { background: var(--bg-soft); color: var(--brand-blue); }
  .nav-list a[aria-current="page"] {
    color: var(--brand-blue);
    background: var(--bg-tint);
    font-weight: 600;
  }

  .lang-switch { align-self: flex-start; margin-top: 16px; order: 2; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }

  .hero-grid { gap: 32px; }
  .hero h1 { font-size: clamp(28px, 5vw, 38px); }
  .hero .lede { font-size: 16px; }

  .stat-band { padding: 40px 0; }
  .stat-band::before { width: 180px; height: 180px; right: -30px; }

  .news-modal { padding: 0; }
  .news-modal-dialog { border-radius: 0; min-height: 100%; }
  .news-modal-photo { height: 180px; }
  .news-modal-body { padding: 24px; }
}

.hidden { display: none !important; }
[data-i18n-html] img, [data-i18n-html] a { pointer-events: auto; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(2) { transition-delay: .08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: .16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: .24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: .32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Header scroll state ---------- */
.site-header { transition: box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.98); }

/* ---------- Card polish ---------- */
.card .icon { transition: transform .25s ease, background .25s ease, color .25s ease; }
.card:hover .icon { background: var(--brand-blue); color: var(--white); transform: scale(1.08) rotate(-4deg); }
.card h3 { transition: color .2s ease; }
.card:hover h3 { color: var(--brand-blue-dark); }

/* ---------- Button shine ---------- */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
}
.btn--primary:hover::after { animation: btn-shine .9s ease; }
@keyframes btn-shine { from { left: -60%; } to { left: 130%; } }

/* ---------- Hero decorative accents ---------- */
.hero { isolation: isolate; }
.hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  top: -120px; right: -80px; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,153,74,.28), transparent 70%);
  animation: float-orb 9s ease-in-out infinite;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::after { animation: none; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--brand-blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); border: none;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--brand-blue-dark); }
.back-to-top svg { width: 20px; height: 20px; }
@media (max-width: 720px) {
  .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
