/* =========================================================
   Cleangrid Consulting Group — Design System
   Tokens: colour, type, spacing, motion
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap');

:root{
  /* --- Brand colour, drawn from the logo mark --- */
  --navy:        #172250;   /* deep navy — primary ink / header */
  --navy-2:      #2B388F;   /* logo navy — links, secondary accents */
  --green-deep:  #00793C;   /* logo deep green */
  --green-mid:   #43A047;
  --green-lime:  #8BC53F;   /* logo lime */
  --grid-grad:   linear-gradient(120deg, var(--green-deep) 0%, var(--green-mid) 45%, var(--green-lime) 100%);
  --grid-grad-soft: linear-gradient(120deg, rgba(0,121,60,.10) 0%, rgba(139,197,63,.14) 100%);

  --bg:          #F6F8F5;
  --surface:     #FFFFFF;
  --surface-2:   #EFF3ED;
  --ink:         #10151C;
  --ink-soft:    #4B5563;
  --ink-faint:   #7A8489;
  --line:        #E1E7E0;
  --line-strong: #C9D2C6;

  --on-navy:     #EDF1FA;
  --on-navy-soft: #A9B3D6;

  /* --- Type --- */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;

  /* --- Layout --- */
  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 22px;

  /* --- Motion --- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --fast: .18s;
  --slow: .6s;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  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);
  color: var(--navy);
  line-height: 1.12;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
button{ font-family: inherit; }

:focus-visible{
  outline: 2px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 3px;
}

.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 500;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 1px;
  background: var(--grid-grad);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
  white-space: nowrap;
}
.btn svg{ width: 16px; height: 16px; flex: none; }
.btn-primary{
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover{ background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(0,121,60,.5); }
.btn-ghost{
  background: transparent;
  border-color: var(--line-strong);
  color: var(--navy);
}
.btn-ghost:hover{ border-color: var(--green-deep); color: var(--green-deep); transform: translateY(-2px); }
.btn-on-dark{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn-on-dark:hover{ background: var(--grid-grad); border-color: transparent; transform: translateY(-2px); }
.btn-sm{ padding: 9px 18px; font-size: 13px; }
.btn-block{ width: 100%; justify-content: center; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(246,248,245,.86);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex: none; }
.brand img{ height: 34px; width: auto; }

.nav-primary{ display: flex; align-items: center; gap: 4px; }
.nav-primary > li{ position: relative; }
.nav-link{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  border-radius: 999px;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav-link:hover, .nav-link.is-active{ background: var(--surface-2); color: var(--green-deep); }
.nav-link .chev{ width: 12px; height: 12px; transition: transform var(--fast) var(--ease); }
.has-dropdown:hover .chev, .has-dropdown.open .chev{ transform: rotate(180deg); }

.header-actions{ display: flex; align-items: center; gap: 10px; flex: none; }
.header-actions .btn-ghost{ display: none; }

/* Mega menu */
.mega{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(760px, 86vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: 0 30px 60px -20px rgba(23,34,80,.28);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  z-index: 50;
}
.has-dropdown:hover .mega,
.has-dropdown.open .mega{
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.mega-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
}
.mega-link{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 12px;
  border-radius: var(--radius-m);
  transition: background var(--fast) var(--ease);
}
.mega-link:hover{ background: var(--surface-2); }
.mega-link .ico{
  flex: none;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--grid-grad-soft);
  color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
}
.mega-link .ico svg{ width: 18px; height: 18px; }
.mega-link strong{ display: block; font-size: 13.5px; color: var(--navy); font-weight: 600; }
.mega-link span{ display: block; font-size: 12px; color: var(--ink-faint); margin-top: 2px; line-height: 1.4; }
.mega-foot{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mega-foot a{ font-size: 13px; font-weight: 600; color: var(--green-deep); display: inline-flex; align-items: center; gap: 6px; }
.mega-foot svg{ width: 14px; height: 14px; }

/* Mobile nav toggle */
.nav-toggle{
  display: none;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .bar{ display: block; width: 18px; height: 2px; background: var(--navy); position: relative; transition: background var(--fast); }
.nav-toggle .bar::before, .nav-toggle .bar::after{
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
  transition: transform var(--fast) var(--ease), top var(--fast) var(--ease), opacity var(--fast) var(--ease);
}
.nav-toggle .bar::before{ top: -6px; }
.nav-toggle .bar::after{ top: 6px; }
.nav-toggle.is-open .bar{ background: transparent; }
.nav-toggle.is-open .bar::before{ top: 0; transform: rotate(45deg); }
.nav-toggle.is-open .bar::after{ top: 0; transform: rotate(-45deg); }

/* =========================================================
   Mobile navigation panel
   ========================================================= */
@media (max-width: 980px){
  .nav-primary{
    position: fixed;
    inset: 0 0 0 auto;
    top: 0;
    height: 100vh;
    width: min(360px, 86vw);
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 90px 22px 30px;
    transform: translateX(100%);
    transition: transform var(--slow) var(--ease);
    overflow-y: auto;
  }
  .nav-primary.is-open{ transform: translateX(0); }
  .nav-link{ color: var(--on-navy); border-radius: var(--radius-m); padding: 14px 14px; font-size: 16px; justify-content: space-between; }
  .nav-link:hover, .nav-link.is-active{ background: rgba(255,255,255,.08); color: #fff; }
  .nav-primary > li{ border-bottom: 1px solid rgba(255,255,255,.08); }
  .mega{
    position: static;
    width: auto;
    transform: none;
    opacity: 1; visibility: visible;
    display: none;
    background: rgba(255,255,255,.04);
    border: none;
    box-shadow: none;
    padding: 4px 4px 14px;
  }
  .has-dropdown.open .mega{ display: block; transform: none; left: auto; }
  .mega-grid{ grid-template-columns: 1fr; }
  .mega-link strong{ color: var(--on-navy); }
  .mega-link:hover{ background: rgba(255,255,255,.06); }
  .mega-foot{ border-color: rgba(255,255,255,.1); }
  .mega-foot a{ color: var(--green-lime); }
  .nav-toggle{ display: flex; }
  .header-actions .btn-primary{ display: none; }
  .nav-scrim{
    position: fixed; inset: 0; background: rgba(10,14,24,.5);
    opacity: 0; visibility: hidden; transition: opacity var(--fast) var(--ease), visibility var(--fast);
    z-index: 400;
  }
  .nav-scrim.is-open{ opacity: 1; visibility: visible; }
}
@media (min-width: 981px){
  .header-actions .btn-ghost{ display: inline-flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-navy);
}
.hero-grid-lines{
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 30%, #000 40%, transparent 85%);
  pointer-events: none;
  z-index: 2;
}
.hero-glow{
  position: absolute;
  width: 700px; height: 700px;
  right: -220px; top: -260px;
  background: radial-gradient(circle, rgba(139,197,63,.35), transparent 65%);
  filter: blur(10px);
  pointer-events: none;
}
.hero h1{
  color: #fff;
  font-size: clamp(2.15rem, 4vw, 3.3rem);
  margin-bottom: .4em;
}
.hero h1 em{ font-style: normal; background: var(--grid-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede{ color: var(--on-navy-soft); font-size: 17px; max-width: 46ch; margin-bottom: 2em; }
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider background photos — full-bleed, edge to edge, cropped to fill */
.hero-slider{
  position: relative;
  width: 100%;
  min-height: 620px;
  overflow: hidden;
}
.hero-slider .slide-bg{
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 1;
}
.hero-slider .slide-bg.is-active{ opacity: 1; }
.hero-slider .hero-scrim{
  position: absolute; inset: 0;
  z-index: 3;
  background: linear-gradient(100deg, rgba(15,22,55,.93) 0%, rgba(15,22,55,.8) 25%, rgba(15,22,55,.4) 42%, rgba(15,22,55,0) 58%, rgba(15,22,55,0) 100%);
}
.hero-slider .hero-grid-lines{ z-index: 2; }
.slide-texts{ position: absolute; inset: 0; z-index: 4; }
.hero-slider .slide{
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .7s ease;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px,7vw,64px) clamp(24px,5vw,56px);
  padding-left: var(--pad);
  max-width: 640px;
}
.hero-slider .slide.is-active{ opacity: 1; visibility: visible; }
.hero-slider .slide-dots{
  position: absolute; z-index: 4;
  left: var(--pad);
  bottom: clamp(20px,4vw,30px);
  display: flex; gap: 8px;
}
.slide-dot{ width: 26px; height: 4px; border-radius: 3px; background: rgba(255,255,255,.3); border: none; cursor: pointer; padding: 0; transition: background .2s ease; }
.slide-dot.is-active{ background: var(--grid-grad); }

/* Simple page hero (interior pages) */
.page-hero{
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  overflow: hidden;
  padding: 74px 0 56px;
}
.page-hero .hero-grid-lines{ mask-image: radial-gradient(ellipse 70% 100% at 85% 0%, #000 30%, transparent 80%); }
.page-hero .eyebrow{ color: var(--green-lime); }
.page-hero h1{ color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .3em; max-width: 18ch; }
.page-hero p{ color: var(--on-navy-soft); max-width: 60ch; font-size: 16.5px; margin-bottom: 0; }
.crumb{ display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--on-navy-soft); margin-bottom: 20px; font-family: var(--font-mono); }
.crumb a{ color: var(--on-navy-soft); }
.crumb a:hover{ color: var(--green-lime); }
.crumb svg{ width: 12px; height: 12px; opacity: .6; }

/* =========================================================
   Section rhythm + circuit divider (signature element)
   ========================================================= */
section{ padding: 88px 0; }
.section-tight{ padding: 64px 0; }
.section-alt{ background: var(--surface); }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(1.7rem, 2.9vw, 2.35rem); }

.circuit-rule{
  position: relative;
  height: 1px;
  background: var(--line);
  margin: 0;
}
.circuit-rule::before{
  content: "";
  position: absolute;
  top: -4px; left: 8%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--green-deep);
}
.circuit-rule::after{
  content: "";
  position: absolute;
  top: -4px; right: 8%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--green-lime);
}

/* =========================================================
   Cards: services / features / projects
   ========================================================= */
.grid{ display: grid; gap: 22px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-5{ grid-template-columns: repeat(5, 1fr); }

.card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 30px 26px;
  position: relative;
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 24px 44px -22px rgba(23,34,80,.22); border-color: transparent; }

.service-card{ display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.service-card .photo{ border-radius: 0; }
.service-card:hover .photo img{ transform: scale(1.07); }
.service-card .body{ padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-card h3{ font-size: 17px; margin-bottom: 0; }
.service-card p{ font-size: 14px; margin-bottom: 0; flex: 1; }
.service-card .go{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--navy-2);
  margin-top: 6px;
}
.service-card .go svg{ width: 14px; height: 14px; transition: transform var(--fast) var(--ease); }
.service-card:hover .go svg{ transform: translateX(3px); }

.feature-row{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.feature-row:last-child{ border-bottom: none; }
.feature-row .plus{
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--surface-2); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 500;
}
.feature-row h4{ font-size: 15.5px; margin-bottom: 4px; }
.feature-row p{ font-size: 14px; margin-bottom: 0; }

/* =========================================================
   Image placeholders — blueprint style
   (client swaps the <img> inside; keep the wrapper classes)
   ========================================================= */
.imgph{
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1.5px dashed var(--line-strong);
  background-color: var(--surface-2);
  background-image:
    linear-gradient(rgba(23,34,80,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,34,80,.05) 1px, transparent 1px);
  background-size: 22px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  text-align: center;
}
.imgph .imgph-inner{ padding: 22px; }
.imgph .imgph-inner svg{ width: 30px; height: 30px; color: var(--ink-faint); margin: 0 auto 10px; }
.imgph .imgph-inner b{
  display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
  font-weight: 500; letter-spacing: .01em;
}
.imgph .imgph-inner span{ display: block; font-size: 11px; color: var(--ink-faint); margin-top: 3px; }
.ratio-16-9{ aspect-ratio: 16/9; }
.ratio-4-3{ aspect-ratio: 4/3; }
.ratio-1-1{ aspect-ratio: 1/1; }
.ratio-3-2{ aspect-ratio: 3/2; }
.imgph img{ width: 100%; height: 100%; object-fit: cover; }

/* Real photo container (same sizing system as .imgph, no placeholder chrome) */
.photo{
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--surface-2);
}
.photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

/* =========================================================
   Logo strip
   ========================================================= */
.logo-strip{
  display: flex; flex-wrap: wrap; gap: 14px;
}
.logo-chip{
  flex: 1 1 150px;
  display: flex; align-items: center; justify-content: center;
  height: 76px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-faint);
  text-align: center;
  padding: 8px;
}

/* =========================================================
   Sector / value grid (About + Home "why choose us")
   ========================================================= */
.value-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band{
  position: relative;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-l);
  padding: 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band::after{
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(139,197,63,.28), transparent 55%);
}
.cta-band > *{ position: relative; }
.cta-band h2{ color: #fff; margin-bottom: 8px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-band p{ color: var(--on-navy-soft); margin-bottom: 0; max-width: 46ch; }
.cta-band .actions{ display: flex; gap: 12px; flex-wrap: wrap; flex: none; }

/* =========================================================
   Projects
   ========================================================= */
.project-card{ overflow: hidden; padding: 0; }
.project-card .body{ padding: 22px 24px 26px; }
.project-card h3{ font-size: 17px; margin-bottom: 6px; }
.project-card p{ font-size: 14px; margin-bottom: 0; }
.tag{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--green-deep);
  background: var(--grid-grad-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* =========================================================
   Forms
   ========================================================= */
.form-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field{ display: flex; flex-direction: column; gap: 7px; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea{
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 15px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 4px rgba(0,121,60,.12);
}
.form-note{ font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; }
.form-status{ font-size: 13.5px; margin-top: 14px; display: none; padding: 12px 14px; border-radius: var(--radius-s); }
.form-status.show{ display: block; }
.form-status.ok{ background: rgba(0,121,60,.1); color: var(--green-deep); }

/* Contact info list */
.info-list{ display: flex; flex-direction: column; gap: 22px; }
.info-item{ display: flex; gap: 16px; }
.info-item .ic{
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: var(--grid-grad-soft); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
}
.info-item .ic svg{ width: 20px; height: 20px; }
.info-item h4{ font-size: 14.5px; margin-bottom: 3px; }
.info-item p{ font-size: 14px; margin-bottom: 0; }
.info-item a:hover{ color: var(--green-deep); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--navy);
  color: var(--on-navy-soft);
  padding: 72px 0 0;
  margin-top: 40px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img{ height: 32px; margin-bottom: 16px; }
.footer-brand p{ color: var(--on-navy-soft); font-size: 14px; max-width: 34ch; }
.social-row{ display: flex; gap: 10px; margin-top: 18px; }
.social-row a{
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.social-row a svg{ width: 16px; height: 16px; }
.social-row a:hover{ background: var(--grid-grad); border-color: transparent; }
.footer-col h5{
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green-lime); margin-bottom: 18px; font-weight: 500;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a{ font-size: 14px; color: var(--on-navy-soft); }
.footer-col a:hover{ color: #fff; }
.footer-bottom{
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 0; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--on-navy-soft);
}
.footer-bottom a{ color: var(--on-navy-soft); }
.footer-bottom a:hover{ color: #fff; }
.footer-bottom-links{ display: flex; gap: 20px; }

/* =========================================================
   WhatsApp floating button
   ========================================================= */
.wa-float{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 600;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.65);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.wa-float svg{ width: 28px; height: 28px; }
.wa-float:hover{ transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 36px -6px rgba(37,211,102,.75); }
.wa-float::before{
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes wa-pulse{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.9); opacity: 0; }
}
.wa-tip{
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast);
  pointer-events: none;
}
.wa-float:hover .wa-tip{ opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
@media (max-width: 640px){
  .wa-float{ width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg{ width: 25px; height: 25px; }
  .wa-tip{ display: none; }
}

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

/* =========================================================
   Sector strip (About)
   ========================================================= */
.pill-row{ display: flex; flex-wrap: wrap; gap: 10px; }
.pill{
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
}

/* =========================================================
   Service detail page
   ========================================================= */
.service-layout{ display: grid; grid-template-columns: 2fr 1fr; gap: 60px; align-items: start; }
.service-body h2{ font-size: 1.5rem; margin-top: 1.2em; }
.service-body p{ font-size: 15.5px; }
.service-list{ display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.service-list li{ display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); align-items: flex-start; }
.service-list svg{ width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green-deep); }
.side-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 26px;
  position: sticky;
  top: 96px;
}
.side-card h4{ font-size: 15px; margin-bottom: 14px; }
.side-list{ display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.side-list a{
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-radius: 9px; font-size: 13.5px; color: var(--ink-soft);
}
.side-list a:hover, .side-list a.is-active{ background: var(--surface-2); color: var(--green-deep); }
.side-list svg{ width: 14px; height: 14px; opacity: .5; }

/* =========================================================
   Utility
   ========================================================= */
.mt-0{ margin-top: 0 !important; }
.mb-0{ margin-bottom: 0 !important; }
.text-center{ text-align: center; }
.center-col{ margin-left: auto; margin-right: auto; }
.flex{ display: flex; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.flex-wrap{ flex-wrap: wrap; }
.gap-10{ gap: 10px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-inner .hero-art{ order: -1; }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-5{ grid-template-columns: repeat(3, 1fr); }
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px){
  .service-layout{ grid-template-columns: 1fr; }
  .side-card{ position: static; }
  .value-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-5{ grid-template-columns: repeat(2, 1fr); }
  section{ padding: 60px 0; }
  .cta-band{ padding: 36px 26px; flex-direction: column; align-items: flex-start; }
  .form-grid{ grid-template-columns: 1fr; }
  .footer-top{ grid-template-columns: 1fr; gap: 34px; padding-bottom: 34px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px){
  .grid-2, .grid-3, .grid-4, .grid-5{ grid-template-columns: 1fr; }
  .hero-inner{ padding: 108px 0 60px; }
}
