/* ==========================================================================
   MOSAN ENERGY LIMITED — Design Tokens & Base
   ========================================================================== */

:root{
  /* --- Color: light blue + light orange brief, energy-flow palette --- */
  --sky:        #eaf5fc;   /* light blue field */
  --sky-deep:   #d7ecfa;   /* light blue, slightly deeper, for alt sections */
  --blue:       #0f6fae;   /* brand blue — headings, primary UI */
  --blue-deep:  #0a3f63;   /* navy ink — body text, footer */
  --orange:     #f2801f;   /* brand orange — CTA, accents */
  --orange-lt:  #fff1e0;   /* light orange field */
  --amber:      #f5a623;   /* secondary accent, gradient partner to orange */
  --leaf:       #2fa84f;   /* pulled from logo ribbon, sparing use */
  --white:      #ffffff;
  --ink:        #16232c;
  --ink-soft:   #4a5c68;
  --line:       #d7e4ea;

  /* --- Type --- */
  --f-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --f-body:    'Manrope', 'Segoe UI', sans-serif;
  --f-mono:    'IBM Plex Mono', 'Consolas', monospace;

  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(10,63,99,0.07);
  --shadow-md: 0 12px 32px rgba(10,63,99,0.12);
  --shadow-lg: 0 24px 60px rgba(10,63,99,0.16);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; background: var(--blue-deep); }
body{
  margin:0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; cursor:pointer; }

.container{
  width:100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

h1,h2,h3,h4{
  font-family: var(--f-display);
  color: var(--blue-deep);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 700; }
h2{ font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 700; }
h3{ font-size: clamp(1.2rem, 1.6vw, 1.5rem); font-weight: 600; }
p{ line-height: 1.7; color: var(--ink-soft); margin: 0 0 1em; }

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5em;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px; height: 2px;
  background: var(--orange);
  display:inline-block;
}

/* --- Buttons --- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: .96rem;
  border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(242,128,31,0.32);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242,128,31,0.4); }
.btn-outline{
  background: transparent;
  border-color: var(--blue);
  color: var(--blue);
}
.btn-outline:hover{ background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-light{
  background: var(--white);
  color: var(--blue-deep);
}
.btn-light:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm{ padding: 10px 20px; font-size: .85rem; }

/* ==========================================================================
   Logo mark — brand ribbon icon
   ========================================================================== */
.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-shrink:0;
}
.logo-mark{ height: 34px; width: auto; flex-shrink:0; display:block; }
.logo-word{
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--blue-deep);
  line-height: 1.05;
  white-space: nowrap;
}
.logo-word span{
  display:block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 2px;
}

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.topbar{
  background: var(--blue-deep);
  color: #cfe6f3;
  font-family: var(--f-mono);
  font-size: .78rem;
}
.topbar .container{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px 20px;
}
.topbar a{ color: #cfe6f3; }
.topbar a:hover{ color: var(--orange); }
.topbar-item{ display:inline-flex; align-items:center; gap:7px; }

.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container{
  display:grid;
  grid-template-columns: auto 1fr auto;
  align-items:center;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-links{
  display:flex;
  align-items:center;
  justify-content: center;
  gap: clamp(14px, 1.7vw, 28px);
  flex-wrap: nowrap;
}
.nav-links a{
  font-weight: 600;
  font-size: .92rem;
  color: var(--blue-deep);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px; height:2px;
  background: var(--orange);
  transition: right .22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ right:0; }
.nav-links a.active{ color: var(--orange); }
.nav-cta{ display:flex; align-items:center; gap: 16px; }
.nav-toggle{
  display:none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items:center; justify-content:center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span{ width: 20px; height: 2px; background: var(--blue-deep); border-radius: 2px; }

/* ==========================================================================
   Wave divider — signature element echoing the logo ribbon
   ========================================================================== */
.wave-divider{
  width:100%; line-height:0; overflow:hidden;
}
.wave-divider svg{ width:100%; height: auto; display:block; }

.ribbon-rule{
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--leaf) 0%, var(--blue) 32%, var(--amber) 66%, var(--orange) 100%);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  background:
    radial-gradient(circle at 85% 12%, rgba(242,128,31,.16), transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(15,111,174,.18), transparent 40%),
    linear-gradient(180deg, var(--sky) 0%, #f6fbfe 100%);
  padding: 76px 0 100px;
  overflow: hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items:center;
}
.hero-center .container{
  text-align: center;
  max-width: 780px;
}
.hero-center .hero-lead{ margin-left:auto; margin-right:auto; }
.hero-center .hero-actions{ justify-content:center; }
.hero-center .hero-stats{ justify-content:center; }
.hero h1{ margin-bottom: 22px; }
.hero h1 em{
  font-style: normal;
  background: linear-gradient(90deg, var(--orange), var(--amber));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.hero-lead{ font-size: 1.12rem; max-width: 520px; margin-bottom: 34px; }
.hero-actions{ display:flex; gap: 16px; flex-wrap:wrap; margin-bottom: 40px; }
.hero-stats{ display:flex; gap: 34px; flex-wrap: wrap; }
.hero-stats .stat-num{
  font-family: var(--f-mono);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue);
}
.hero-stats .stat-label{
  font-size: .8rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.hero-visual{
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin-left: auto;
}
.flow-rings{
  position:absolute; inset:0;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--leaf), var(--blue), var(--amber), var(--orange), var(--leaf));
  filter: blur(0px);
  opacity: .14;
  animation: spin 22s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
.hero-card{
  position: relative;
  z-index:2;
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 30px;
  margin: 40px;
  text-align:center;
}
.hero-card h3{ margin-bottom: 4px; }
.hero-card p.tag{ color: var(--orange); font-family: var(--f-mono); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom: 18px;}
.hero-card .mini-stats{ display:flex; justify-content:space-around; border-top:1px solid var(--line); padding-top:16px; }
.hero-card .mini-stats div{ font-family: var(--f-mono); }
.hero-card .mini-stats b{ display:block; color: var(--blue); font-size:1.15rem; }
.hero-card .mini-stats span{ font-size:.68rem; color:var(--ink-soft); text-transform:uppercase; }

/* ==========================================================================
   Section shells
   ========================================================================== */
section{ padding: 92px 0; }
.section-alt{ background: var(--sky); }
.section-orange{ background: var(--orange-lt); }
.section-deep{ background: var(--blue-deep); color: #dcebf3; }
.section-deep h2, .section-deep h3{ color: var(--white); }
.section-deep p{ color: #b9d1de; }
.section-head{ max-width: 640px; margin-bottom: 52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Page hero (interior pages) */
.page-hero{
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--sky) 0%, #ffffff 100%);
  position:relative;
}
.page-hero::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(circle at 90% 0%, rgba(242,128,31,.14), transparent 40%);
  pointer-events:none;
}
.breadcrumb{
  font-family: var(--f-mono);
  font-size: .8rem;
  color: var(--blue);
  margin-bottom: 14px;
  display:flex; gap:8px; align-items:center;
}
.breadcrumb span{ color: var(--ink-soft); }

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

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.reason-emoji{
  width: 54px; height:54px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--sky-deep), var(--orange-lt));
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.icon{
  width: 54px; height:54px;
  border-radius: 14px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--sky-deep), var(--orange-lt));
  color: var(--blue);
  margin-bottom: 20px;
}
.icon svg{ width:26px; height:26px; }

.service-card{
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-media{
  height: 8px;
  background: linear-gradient(90deg, var(--leaf), var(--blue), var(--amber), var(--orange));
  background-size: 400% 100%;
}
.service-body{ padding: 32px; }
.service-num{
  font-family: var(--f-mono);
  color: var(--orange);
  font-size: .8rem;
  letter-spacing:.1em;
}
.service-list{ margin-top: 18px; }
.service-list li{
  display:flex; gap:10px; align-items:flex-start;
  font-size: .92rem; color: var(--ink-soft);
  padding: 7px 0;
  border-top: 1px dashed var(--line);
}
.service-list li:first-child{ border-top:none; }
.service-list svg{ width:16px; height:16px; color: var(--blue); flex-shrink:0; margin-top:3px; }

/* Values */
.value-row{
  display:flex; gap: 22px; align-items:flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.value-row:last-child{ border-bottom:none; }
.value-num{
  font-family: var(--f-mono);
  font-size: 1.6rem;
  color: var(--sky-deep);
  -webkit-text-stroke: 1.4px var(--blue);
  color: transparent;
  min-width: 60px;
}

/* Team */
.team-card{
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-align:center;
}
.team-photo{
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--sky-deep), var(--orange-lt));
  display:flex; align-items:center; justify-content:center;
  position: relative;
  overflow:hidden;
}
.team-photo .initials{
  font-family: var(--f-display);
  font-size: 4.2rem;
  font-weight:700;
  color: var(--blue);
  opacity:.35;
}
.team-photo img{
  width:100%; height:100%;
  object-fit: cover;
  object-position: top center;
  display:block;
  position: relative; z-index:0;
}
.team-photo::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0; height:34%;
  background: linear-gradient(180deg, transparent, rgba(10,63,99,.35));
}
.team-info{ padding: 26px 24px 30px; }
.team-info h3{ margin-bottom: 2px; }
.team-role{
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
  display:block;
}

/* Stats band */
.stats-band{
  display:grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  text-align:center;
}
.stats-band .stat-num{ font-family: var(--f-mono); font-size: 2.4rem; font-weight:700; color: var(--orange); }
.stats-band .stat-label{ font-size:.85rem; letter-spacing:.04em; text-transform:uppercase; color:#b9d1de; }

/* Timeline (about) */
.timeline{ position:relative; padding-left: 34px; }
.timeline::before{
  content:""; position:absolute; left:6px; top:6px; bottom:6px; width:2px;
  background: linear-gradient(180deg, var(--leaf), var(--blue), var(--amber), var(--orange));
}
.timeline-item{ position:relative; padding-bottom: 40px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item::before{
  content:""; position:absolute; left:-34px; top:4px; width:14px; height:14px; border-radius:50%;
  background: var(--white); border: 3px solid var(--orange);
}
.timeline-item .yr{ font-family: var(--f-mono); color: var(--blue); font-weight:700; margin-bottom:6px; display:block; }

/* Gallery */
.gallery-item{
  border-radius: 16px;
  overflow:hidden;
  aspect-ratio: 4/3;
  position:relative;
  background: linear-gradient(150deg, var(--sky-deep), var(--orange-lt));
  display:flex; align-items:center; justify-content:center;
  border: 1px solid var(--line);
}
.gallery-item svg{ width:44px; height:44px; color: var(--blue); opacity:.5; }
.gallery-item img{
  width:100%; height:100%;
  object-fit: cover;
  display:block;
  transition: transform .4s ease;
}
.gallery-item:hover img{ transform: scale(1.06); }
.gallery-item .cap{
  position:absolute; left:0; right:0; bottom:0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(10,63,99,.85), transparent);
  color:#fff; font-size:.85rem; font-weight:600;
}

/* Testimonials */
.testi-card{
  background: var(--white);
  border-radius: 18px;
  padding: 30px;
  border: 1px solid var(--line);
  position:relative;
}
.testi-quote{ font-size:2.4rem; color: var(--orange-lt); position:absolute; top:14px; right:22px; font-family: var(--f-display); }
.testi-stars{ color: var(--amber); letter-spacing:2px; margin-bottom:14px; font-size:.9rem; }
.testi-who{ display:flex; align-items:center; gap:12px; margin-top:20px; }
.testi-avatar{
  width:44px; height:44px; border-radius:50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  display:flex; align-items:center; justify-content:center;
  color:#fff; font-weight:700; font-family: var(--f-display);
}
.testi-name{ font-weight:700; color: var(--blue-deep); font-size:.92rem; }
.testi-org{ font-size:.78rem; color: var(--ink-soft); }

/* Client logos strip */
.clients-strip{ display:flex; flex-wrap:wrap; gap: 40px; align-items:center; justify-content:center; opacity:.75; }
.client-chip{
  font-family: var(--f-mono); font-weight:600; letter-spacing:.05em;
  color: var(--blue-deep); border:1px dashed var(--line); padding:10px 20px; border-radius: 10px;
  font-size:.82rem;
}

/* CTA band */
.cta-band{
  background: linear-gradient(120deg, var(--blue), #0d5e91 60%, var(--blue-deep));
  border-radius: 26px;
  padding: 56px;
  color: #fff;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
  position: relative;
  overflow:hidden;
}
.cta-band::before{
  content:"";
  position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%;
  background: radial-gradient(circle, rgba(242,128,31,.35), transparent 70%);
}
.cta-band h2{ color:#fff; margin-bottom:8px; }
.cta-band p{ color: #cfe6f3; margin:0; }

/* Contact */
.contact-grid{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 44px; }
.contact-info-card{
  background: var(--blue-deep);
  color: #fff;
  border-radius: 22px;
  padding: 40px 34px;
}
.contact-info-card h3{ color:#fff; }
.contact-row{ display:flex; gap:14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); align-items:flex-start; }
.contact-row:first-of-type{ border-top:none; }
.contact-row .ic{
  width:38px; height:38px; border-radius:10px; background: rgba(242,128,31,.18);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; color: var(--orange);
}
.contact-row .ic svg{ width:18px; height:18px; }
.contact-row b{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:#8bb8cf; margin-bottom:3px; font-family:var(--f-mono); }
.contact-row span, .contact-row a{ font-size:.96rem; }

.form-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ margin-bottom: 20px; }
.field label{ display:block; font-size:.82rem; font-weight:700; color: var(--blue-deep); margin-bottom:7px; }
.field input, .field select, .field textarea{
  width:100%;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  font-family: var(--f-body);
  font-size: .95rem;
  background: #fafcfe;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15,111,174,.12); background:#fff;
}
.field textarea{ resize: vertical; min-height:120px; }
.form-note{ font-size:.82rem; color: var(--ink-soft); margin-top: -6px; }

.map-wrap{
  border-radius: 22px; overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm);
}
.map-wrap iframe{ width:100%; height: 340px; border:0; display:block; }

/* ==========================================================================
   Markets map — interactive East & Central Africa coverage
   ========================================================================== */
.market-grid{
  display:grid;
  grid-template-columns: 1fr .85fr;
  gap: 32px;
  align-items:center;
}
.market-list{ order: 1; }
.market-map{
  order: 2;
  max-width: 380px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--sky) 0%, #ffffff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.market-map svg{ width:100%; height:auto; display:block; overflow: visible; }

/* Base: every landmass — including multi-path/coastal countries whose shape
   is built from several nested <path> children each carrying their own id,
   which would otherwise match this rule directly and ignore the parent's
   highlight color. The wildcard descendant rules below keep every child in
   sync with its country group. */
.map-countries [id]{
  fill: hsl(212 18% 88%);
  stroke: #fff;
  stroke-width: 1.2;
  transition: fill .2s ease;
}
.map-countries [id="ke"], .map-countries [id="ke"] *,
.map-countries [id="ug"], .map-countries [id="ug"] *,
.map-countries [id="tz"], .map-countries [id="tz"] *,
.map-countries [id="cd"], .map-countries [id="cd"] *,
.map-countries [id="ss"], .map-countries [id="ss"] *{
  fill: rgba(15,111,174,.45);
  cursor: pointer;
}
.map-countries [id="ke"]:hover, .map-countries [id="ke"]:hover *,
.map-countries [id="ug"]:hover, .map-countries [id="ug"]:hover *,
.map-countries [id="tz"]:hover, .map-countries [id="tz"]:hover *,
.map-countries [id="cd"]:hover, .map-countries [id="cd"]:hover *,
.map-countries [id="ss"]:hover, .map-countries [id="ss"]:hover *,
.map-countries [id].is-hovered, .map-countries [id].is-hovered *{
  fill: rgba(242,128,31,.7);
}
.map-countries [id="ke"].is-selected, .map-countries [id="ke"].is-selected *,
.map-countries [id="ug"].is-selected, .map-countries [id="ug"].is-selected *,
.map-countries [id="tz"].is-selected, .map-countries [id="tz"].is-selected *,
.map-countries [id="cd"].is-selected, .map-countries [id="cd"].is-selected *,
.map-countries [id="ss"].is-selected, .map-countries [id="ss"].is-selected *{
  fill: var(--orange);
}
.map-marker circle{
  fill: var(--blue);
  stroke:#fff;
  stroke-width: 2;
  transition: r .2s ease, fill .2s ease;
}
.map-marker.is-selected circle,
.map-marker:hover circle{
  fill: var(--orange);
  r: 6;
}
.map-marker text{
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 12px;
  fill: var(--blue-deep);
  paint-order: stroke;
  stroke:#fff;
  stroke-width: 3.5px;
  stroke-linejoin: round;
  pointer-events:none;
}
.market-list{ display:grid; gap: 10px; }
.market-item{
  display:flex;
  align-items:flex-start;
  gap: 14px;
  width: 100%;
  text-align:left;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  cursor: pointer;
  font-family: var(--f-body);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.market-item:hover{ border-color: var(--orange); transform: translateX(3px); }
.market-item.is-active{ border-color: var(--orange); background: var(--orange-lt); }
.market-dot{
  flex-shrink:0;
  width: 12px; height:12px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--blue);
  transition: background .2s ease;
}
.market-item.is-active .market-dot{ background: var(--orange); }
.market-item-text{ display:flex; flex-direction:column; gap:4px; }
.market-item-text strong{ font-family: var(--f-display); font-size: 1rem; color: var(--blue-deep); }
.market-item-text span{ font-size: .88rem; color: var(--ink-soft); }

@media (max-width: 980px){
  .market-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{ background: var(--blue-deep); color: #b9d1de; padding-top: 70px; }
.footer-grid{ display:grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-grid p{ color: #93b5c8; font-size: .92rem; }
.footer-grid h4{ color:#fff; font-size:.9rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px; font-family: var(--f-mono);}
.footer-links li{ margin-bottom: 12px; }
.footer-links a{ color:#b9d1de; font-size:.92rem; }
.footer-links a:hover{ color: var(--orange); }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{
  width:38px; height:38px; border-radius:10px; background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
}
.footer-social a:hover{ background: var(--orange); }
.footer-social svg{ width:17px; height:17px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  font-size: .82rem;
  color: #7fa2b8;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr !important; }
  .hero-visual{ margin: 0 auto; max-width: 380px; }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .stats-band{ grid-template-columns: repeat(2,1fr); gap: 30px; }
}
@media (max-width: 1080px){
  .site-header .container{ display:flex; justify-content:space-between; }
  .nav-links{
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 84vw);
    background: var(--white); flex-direction: column; align-items:flex-start;
    padding: 100px 30px 30px; gap: 24px; box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s ease; z-index: 99;
  }
  .nav-links a{ font-size: 1.02rem; }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-outline{ display:none; }
}
@media (max-width: 720px){
  .topbar .container{ justify-content:center; text-align:center; }
  .grid-3, .grid-4{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .cta-band{ padding: 36px 26px; flex-direction:column; text-align:center; }
  .site-footer{ padding-top: 48px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
  .footer-grid > div:first-child{ grid-column: 1 / -1; }
  .footer-grid h4{ margin-bottom: 14px; }
  .footer-links li{ margin-bottom: 9px; }
  .stats-band{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px){
  .logo-word{ font-size: 1rem; }
  .logo-mark{ height: 30px; width: auto; }
  .hero-actions{ flex-direction: column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }
  .hero-stats{ gap: 18px; }
  .hero-stats .stat-num{ font-size: 1.4rem; }
  .cta-band .btn{ width:100%; }
  .team-photo .initials{ font-size: 3.2rem; }
  .topbar{ font-size: .72rem; }
  .topbar .container{ padding-top:7px; padding-bottom:7px; }
  .topbar-item{ flex-direction: column; gap:2px; text-align:center; }
  .topbar-item span{ display:none; }
}
