/* =========================================================
   Open Door Africa — Shared Design System
   Colors, typography, and components per the branding strategy.
   ========================================================= */

:root {
  /* Brand palette */
  --navy: #1B2A4A;
  --navy-deep: #12203B;
  --navy-soft: #2A3D64;
  --gold: #D4A843;
  --gold-warm: #E6BC5A;
  --gold-deep: #B4892A;
  --teal: #1A8A7D;
  --steel: #2E5D8A;
  --fog: #F4F6F9;
  --fog-warm: #FAF7EF;
  --white: #FFFFFF;
  --ink: #14213D;
  --ink-soft: #4A5578;
  --ink-muted: #6B7489;

  /* Type */
  --font-display: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-warm); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 42, 74, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 67, 0.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav__logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1.5px solid rgba(212, 168, 67, 0.35);
  flex-shrink: 0;
}
.nav__logo img { width: 100%; height: auto; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}
.nav__descriptor {
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-top: 2px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s var(--ease);
  position: relative;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--gold-warm); }
.nav__menu a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--gold);
  color: var(--navy-deep) !important;
  font-weight: 600 !important;
  border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav__cta:hover {
  background: var(--gold-warm);
  transform: translateY(-1px);
}
.nav__cta::after { display: none !important; }
.nav__burger {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  padding: 8px;
}
@media (max-width: 900px) {
  .nav__menu { display: none; }
  .nav__burger { display: block; }
  .nav__menu.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(18, 32, 59, 0.98);
    padding: 24px var(--gutter);
    gap: 18px;
    align-items: flex-start;
    border-bottom: 1px solid rgba(212, 168, 67, 0.18);
  }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--primary:hover {
  background: var(--gold-warm);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(212, 168, 67, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  border-color: var(--gold-warm);
  color: var(--gold-warm);
}
.btn--dark {
  background: var(--navy);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(27, 42, 74, 0.25);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* =========================================================
   HERO (homepage variant)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 45%, #3A4A78 100%);
  color: var(--white);
  padding: 110px 0 130px;
}
.hero__rays {
  position: absolute;
  right: -220px;
  bottom: -320px;
  width: 900px;
  height: 900px;
  opacity: 0.85;
  pointer-events: none;
}
.hero__rays svg { width: 100%; height: 100%; }
@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero__rays .rays-group {
  transform-origin: center;
  animation: slowSpin 140s linear infinite;
}
.hero__glow {
  position: absolute;
  right: 5%;
  bottom: -10%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(230, 188, 90, 0.45) 0%, rgba(212, 168, 67, 0.12) 45%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 24px;
}
.hero__headline span.accent {
  display: block;
  color: var(--gold-warm);
  position: relative;
}
.hero__headline span.accent::after {
  content: '';
  display: block;
  width: 92px;
  height: 5px;
  background: var(--gold);
  border-radius: 4px;
  margin-top: 20px;
}
.hero__lede {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 38px;
}
.hero__lede strong { color: var(--white); font-weight: 600; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}
.hero__pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero__pill {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212, 168, 67, 0.3);
  color: rgba(255,255,255,0.88);
}
.hero__visual {
  position: relative;
  height: 520px;
}
.hero__card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.hero__card--photo {
  top: 0;
  right: 0;
  width: 320px;
  height: 400px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(212, 168, 67, 0.4);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.5);
}
.hero__card--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__card--stat {
  bottom: 20px;
  left: 0;
  width: 280px;
  background: rgba(212, 168, 67, 0.96);
  color: var(--navy-deep);
  border: 0;
  box-shadow: 0 20px 50px -15px rgba(212, 168, 67, 0.5);
}
.hero__card--stat .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--navy-deep);
}
.hero__card--stat .stat-label {
  font-size: 13.5px;
  font-weight: 500;
  margin-top: 6px;
  color: var(--navy);
}
.hero__card--badge {
  top: 40px;
  left: -10px;
  width: 210px;
  background: var(--white);
  color: var(--navy);
  border: 0;
  padding: 16px 18px;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.35);
}
.hero__card--badge .badge-label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 6px;
}
.hero__card--badge .badge-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--navy);
}
@media (max-width: 980px) {
  .hero { padding: 70px 0 90px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 440px; max-width: 420px; margin: 0 auto; }
  .hero__rays { width: 700px; height: 700px; right: -300px; bottom: -400px; }
}
@media (max-width: 560px) {
  .hero__visual { height: 380px; }
  .hero__card--photo { width: 260px; height: 320px; }
  .hero__card--stat { width: 220px; }
  .hero__card--stat .stat-num { font-size: 36px; }
  .hero__card--badge { width: 180px; }
}

/* =========================================================
   PAGE HERO (interior pages — leaner variant)
   ========================================================= */
.phero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-deep) 0%, var(--navy) 55%, #3A4A78 100%);
  color: var(--white);
  padding: 90px 0 80px;
  text-align: center;
}
.phero__rays {
  position: absolute;
  left: 50%;
  top: -450px;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  opacity: 0.35;
  pointer-events: none;
}
.phero__rays svg { width: 100%; height: 100%; }
.phero .container {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.phero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 20px;
}
.phero__title span { color: var(--gold-warm); }
.phero__lede {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 auto 32px;
}
.phero__rule {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 3px;
  margin: 0 auto 22px;
}
.phero__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 22px;
}
.phero__crumbs a { color: rgba(255,255,255,0.6); }
.phero__crumbs a:hover { color: var(--gold-warm); }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trustbar {
  background: var(--fog);
  padding: 32px 0;
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
}
.trustbar__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.trustbar__item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trustbar__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  color: var(--navy);
  line-height: 1;
}
.trustbar__label {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.3;
  max-width: 140px;
}
.trustbar__sep {
  width: 1px;
  height: 36px;
  background: rgba(27, 42, 74, 0.12);
}
@media (max-width: 780px) {
  .trustbar__sep { display: none; }
  .trustbar__row { justify-content: flex-start; }
  .trustbar__item { flex: 1 1 45%; }
}

/* =========================================================
   SECTION CHROME
   ========================================================= */
section { padding: 100px 0; }
.section__head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section__head--left {
  text-align: left;
  margin-left: 0;
}
.section__title {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 18px;
}
.section__lede {
  font-size: 17.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* =========================================================
   PROMISE / ABOUT SNIPPET
   ========================================================= */
.promise {
  background: var(--fog-warm);
  position: relative;
  overflow: hidden;
}
.promise::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.promise__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}
.promise__quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0;
}
.promise__quote span { color: var(--gold-deep); }
.promise__rule {
  width: 62px;
  height: 4px;
  background: var(--gold);
  border-radius: 3px;
  margin: 24px 0 28px;
}
.promise__attr {
  font-size: 13.5px;
  color: var(--ink-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}
.promise__body p {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin: 0 0 18px;
}
@media (max-width: 900px) {
  .promise__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.service {
  position: relative;
  padding: 34px 28px 32px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(27, 42, 74, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  overflow: hidden;
}
.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--svc-color, var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px -22px rgba(27, 42, 74, 0.18);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--svc-bg, rgba(212, 168, 67, 0.14));
  color: var(--svc-color, var(--gold-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 20px; margin-bottom: 12px; }
.service p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 22px;
}
.service__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--svc-color, var(--gold-deep));
  letter-spacing: 0.02em;
  transition: gap 0.2s var(--ease);
}
.service__link:hover { gap: 10px; }

.service--solar { --svc-color: #B4892A; --svc-bg: rgba(212, 168, 67, 0.15); }
.service--fitout { --svc-color: #1A8A7D; --svc-bg: rgba(26, 138, 125, 0.12); }
.service--ict { --svc-color: #2E5D8A; --svc-bg: rgba(46, 93, 138, 0.12); }
.service--supply { --svc-color: #1B2A4A; --svc-bg: rgba(27, 42, 74, 0.10); }

@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   FEATURED / CASE STUDY CARD
   ========================================================= */
.featured {
  background: linear-gradient(180deg, var(--fog) 0%, var(--white) 100%);
}
.featured__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(27, 42, 74, 0.35);
}
.featured__media {
  position: relative;
  min-height: 460px;
  background: var(--navy-deep);
  overflow: hidden;
}
.featured__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 42, 74, 0.35) 0%, rgba(27, 42, 74, 0) 50%);
}
.featured__tag {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 7px 14px;
  background: var(--gold);
  color: var(--navy-deep);
  border-radius: 999px;
}
.featured__content {
  padding: 54px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-warm);
  font-weight: 700;
  margin-bottom: 16px;
}
.featured__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: var(--white);
  margin: 0 0 20px;
}
.featured__desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
}
.featured__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(212, 168, 67, 0.22);
  border-bottom: 1px solid rgba(212, 168, 67, 0.22);
  margin-bottom: 28px;
}
.featured__fact-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  color: var(--gold-warm);
  line-height: 1;
}
.featured__fact-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.68);
  margin-top: 6px;
  letter-spacing: 0.06em;
}
@media (max-width: 900px) {
  .featured__card { grid-template-columns: 1fr; }
  .featured__media { min-height: 340px; }
  .featured__content { padding: 40px 30px; }
}

/* =========================================================
   WHY US
   ========================================================= */
.why { background: var(--white); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 40px;
}
.why__item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why__check {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-warm), var(--gold));
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why__item h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--navy);
}
.why__item p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: 1fr; } }

/* =========================================================
   FOOTPRINT
   ========================================================= */
.footprint {
  background: var(--fog);
  position: relative;
}
.footprint__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: center;
}
.footprint__countries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.country {
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(27, 42, 74, 0.06);
}
.country__flag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.country--hq .country__flag { color: var(--teal); }
.country__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 4px;
}
.country__desc {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.map-art {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(27, 42, 74, 0.06);
}
@media (max-width: 900px) {
  .footprint__inner { grid-template-columns: 1fr; gap: 40px; }
  .map-art { order: -1; }
}

/* =========================================================
   CLIENTS
   ========================================================= */
.clients {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid rgba(27, 42, 74, 0.06);
}
.clients__title {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 32px;
}
.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.client {
  padding: 22px 18px;
  background: var(--fog);
  border-radius: var(--radius-sm);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.3;
  transition: background 0.2s var(--ease);
}
.client:hover { background: rgba(212, 168, 67, 0.12); }
@media (max-width: 760px) { .clients__grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
  padding: 110px 0;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.25) 0%, transparent 55%);
  pointer-events: none;
}
.cta-final__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.cta-final h2 {
  font-size: clamp(32px, 4.4vw, 56px);
  color: var(--white);
  margin-bottom: 24px;
}
.cta-final h2 span { color: var(--gold-warm); }
.cta-final p {
  font-size: 18px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 36px;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: #0E1A30;
  color: rgba(255,255,255,0.72);
  padding: 70px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer__brand .nav__wordmark { color: var(--white); }
.footer__tagline {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.68);
  max-width: 280px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-warm);
  margin-bottom: 20px;
}
.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__col li { margin-bottom: 12px; }
.footer__col a {
  font-size: 14.5px;
  color: rgba(255,255,255,0.72);
  transition: color 0.2s var(--ease);
}
.footer__col a:hover { color: var(--gold-warm); }
.footer__contact-item {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin-bottom: 14px;
}
.footer__contact-item strong {
  display: block;
  color: var(--white);
  font-weight: 500;
  margin-bottom: 2px;
}
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.48);
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   SERVICE DETAIL (services.html)
   ========================================================= */
.svc-detail {
  padding: 100px 0;
  position: relative;
}
.svc-detail:nth-child(even) { background: var(--fog); }
.svc-detail__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: center;
}
.svc-detail:nth-child(even) .svc-detail__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.svc-detail:nth-child(even) .svc-detail__visual { order: -1; }
.svc-detail__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.svc-detail__title {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 18px;
}
.svc-detail__lede {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 0 28px;
}
.svc-detail__list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 14px;
}
.svc-detail__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.svc-detail__list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--svc-color, var(--gold));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}
.svc-detail__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 440px;
  background: var(--navy-deep);
  box-shadow: 0 30px 70px -25px rgba(27, 42, 74, 0.3);
}
.svc-detail__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.svc-detail__visual--art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: linear-gradient(135deg, var(--svc-color-light, #FAF7EF), var(--fog));
}
.svc-detail__badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  padding: 10px 16px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}

.svc-detail--solar .svc-detail__eyebrow { background: rgba(212, 168, 67, 0.18); color: #B4892A; }
.svc-detail--solar .svc-detail__list li::before { background-color: #D4A843; }
.svc-detail--fitout .svc-detail__eyebrow { background: rgba(26, 138, 125, 0.15); color: #1A8A7D; }
.svc-detail--fitout .svc-detail__list li::before { background-color: #1A8A7D; }
.svc-detail--ict .svc-detail__eyebrow { background: rgba(46, 93, 138, 0.15); color: #2E5D8A; }
.svc-detail--ict .svc-detail__list li::before { background-color: #2E5D8A; }
.svc-detail--supply .svc-detail__eyebrow { background: rgba(27, 42, 74, 0.1); color: #1B2A4A; }
.svc-detail--supply .svc-detail__list li::before { background-color: #1B2A4A; }

@media (max-width: 900px) {
  .svc-detail__inner,
  .svc-detail:nth-child(even) .svc-detail__inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail:nth-child(even) .svc-detail__visual { order: 0; }
  .svc-detail__visual { min-height: 320px; }
}

/* =========================================================
   PROJECT CARDS (projects.html)
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(27, 42, 74, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(27, 42, 74, 0.22);
}
.project-card__media {
  position: relative;
  height: 280px;
  background: var(--navy-deep);
  overflow: hidden;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: rgba(212, 168, 67, 0.55);
}
.project-card__tags {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  z-index: 2;
}
.project-card__tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 11px;
  background: rgba(255,255,255,0.94);
  color: var(--navy);
  border-radius: 999px;
}
.project-card__tag--gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.project-card__body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.project-card__loc {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 10px;
}
.project-card h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.project-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}
.project-card__meta {
  display: flex;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(27, 42, 74, 0.08);
  font-size: 13px;
  color: var(--ink-muted);
}
.project-card__meta strong {
  display: block;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 760px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card__media { height: 220px; }
}

/* Filter tabs */
.proj-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 50px;
}
.proj-filter {
  padding: 10px 22px;
  background: transparent;
  border: 1.5px solid rgba(27, 42, 74, 0.15);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.proj-filter:hover { border-color: var(--navy); color: var(--navy); }
.proj-filter.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* =========================================================
   ABOUT PAGE SPECIFICS
   ========================================================= */
.story {
  padding: 100px 0;
  background: var(--white);
}
.story__inner {
  max-width: 760px;
  margin: 0 auto;
}
.story__lede {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 36px;
  letter-spacing: -0.01em;
}
.story__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.story__body p { margin: 0 0 22px; }
.story__pull {
  padding: 32px 36px;
  background: var(--fog-warm);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 32px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.35;
  color: var(--navy);
}

.mvc {
  background: var(--fog);
  padding: 100px 0;
}
.mvc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.mvc__card {
  padding: 40px 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
}
.mvc__card--vision { border-top-color: var(--teal); }
.mvc__card h3 {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.mvc__card--vision h3 { color: var(--teal); }
.mvc__card p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 760px) { .mvc__grid { grid-template-columns: 1fr; } }

.values {
  background: var(--white);
  padding: 100px 0;
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  padding: 28px 26px;
  background: var(--fog);
  border-radius: var(--radius);
  text-align: left;
  transition: background 0.3s var(--ease);
}
.value:hover { background: var(--fog-warm); }
.value__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--gold-deep);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.value h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.value p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 820px) { .values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values__grid { grid-template-columns: 1fr; } }

.certs {
  background: var(--fog);
  padding: 100px 0;
}
.certs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cert {
  padding: 32px 28px;
  background: var(--white);
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(27, 42, 74, 0.06);
}
.cert__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-warm);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.cert h4 {
  font-size: 17px;
  margin-bottom: 6px;
}
.cert p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 760px) { .certs__grid { grid-template-columns: 1fr; } }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 60px;
  padding: 100px 0;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 42px;
  border: 1px solid rgba(27, 42, 74, 0.08);
  box-shadow: 0 30px 60px -30px rgba(27, 42, 74, 0.18);
}
.form-intro {
  margin-bottom: 32px;
}
.form-intro h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.form-intro p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0;
}
.form-step {
  margin-bottom: 28px;
}
.form-step__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}
.chip {
  padding: 14px 16px;
  background: var(--fog);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  display: flex;
  align-items: center;
  gap: 10px;
}
.chip:hover { background: var(--fog-warm); }
.chip.is-selected {
  background: rgba(212, 168, 67, 0.15);
  border-color: var(--gold);
  color: var(--navy);
}
.chip__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
}
.chip.is-selected .chip__dot {
  background: var(--gold);
  opacity: 1;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 15px;
  border: 1.5px solid rgba(27, 42, 74, 0.12);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.15);
}
.field textarea { min-height: 110px; resize: vertical; }

.form-submit {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 10px;
}
.form-note {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-top: 10px;
}

.contact-aside {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.contact-aside::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.25) 0%, transparent 65%);
  pointer-events: none;
}
.contact-aside h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 24px;
}
.contact-aside__item {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
.contact-aside__item:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-aside__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-warm);
  font-weight: 700;
  margin-bottom: 6px;
}
.contact-aside__value {
  font-size: 16px;
  color: var(--white);
  line-height: 1.5;
  font-weight: 500;
}
.contact-aside__value a { color: var(--white); }
.contact-aside__value a:hover { color: var(--gold-warm); }
.contact-aside__small {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-card { padding: 32px 26px; }
}

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.is-shown { display: block; }
.form-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-warm), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
}
.form-success h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.form-success p {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 440px;
  margin: 0 auto;
}
