/* ── ROOT & RESET ── */
:root {
  --black:      #242424;
  --teal-dark:  #258076;
  --teal:       #14b798;
  --green:      #56cb84;
  --lime:       #ade664;
  --white:      #ffffff;
  --offwhite:   #f7f8f6;
  --text:       #242424;
  --text-dim:   #5c5c5c;
  --text-muted: #909090;
  --border:     #e8e8e8;
  --radius:     12px;
  --shadow:     0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.10);
  --px: clamp(16px, 4vw, 52px);
  --py: clamp(48px, 8vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }


/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--px);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
}
nav.dark {
  background: rgba(15,31,28,0.75);
  border-color: rgba(255,255,255,0.07);
  box-shadow: none;
}
.nav-logo { height: 26px; width: auto; }
.nav-logo-dark  { display: none; }
.nav-logo-light { display: block; }
nav.dark .nav-logo-dark  { display: block; }
nav.dark .nav-logo-light { display: none; }

.nav-links {
  display: flex; gap: 28px;
  list-style: none; align-items: center;
}
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--text-dim); white-space: nowrap;
  transition: color .2s;
}
nav.dark .nav-links a { color: rgba(255,255,255,0.8); }
.nav-links a:hover        { color: var(--teal); }
.nav-links a.active       { color: var(--teal); font-weight: 500; }
.nav-cta {
  background: var(--teal) !important;
  color: #fff !important;
  padding: 8px 20px; border-radius: 6px;
  font-weight: 500 !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .3s;
}
nav.dark .nav-hamburger span { background: rgba(255,255,255,0.85); }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 199;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  flex-direction: column;
  padding: 8px 0 16px;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  padding: 14px var(--px);
  font-size: 15px; color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--teal); }
.nav-drawer .drawer-cta {
  margin: 12px var(--px) 0;
  background: var(--teal); color: #fff !important;
  text-align: center; border-radius: 6px;
  font-weight: 500; border: none;
  padding: 12px var(--px);
}


/* ── FOOTER ── */
.site-footer {
  background: var(--black);
  padding: var(--py) var(--px) clamp(24px, 4vw, 40px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(32px, 5vw, 48px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.footer-logo    { height: 24px; width: auto; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,0.4); max-width: 220px; }
.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.footer-col-links           { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a         { font-size: 13px; color: rgba(255,255,255,0.4); transition: color .2s; }
.footer-col-links a:hover   { color: var(--teal); }
.footer-bottom              { font-size: 12px; color: rgba(255,255,255,0.25); }


/* ── UTILS ── */
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px;
}
.sec-eyebrow::before {
  content: ''; display: block;
  width: 16px; height: 2px; background: var(--teal); border-radius: 2px;
}
.sec-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.12;
  color: var(--black);
}
.sec-title.light { color: var(--white); }

.btn-primary {
  display: inline-block;
  background: var(--teal); color: #fff;
  padding: 13px 28px; border-radius: 7px;
  font-weight: 500; font-size: 14px;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-dim); font-size: 14px; font-weight: 500;
  border: 1.5px solid var(--border); padding: 11px 24px; border-radius: 7px;
  transition: border-color .2s, color .2s; white-space: nowrap;
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-outline-white {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.8); font-size: 14px; font-weight: 500;
  border: 1.5px solid rgba(255,255,255,0.25); padding: 11px 24px; border-radius: 7px;
  transition: border-color .2s, color .2s; white-space: nowrap;
}
.btn-outline-white:hover { border-color: var(--teal); color: var(--teal); }

.reveal     { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.on  { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

@keyframes fadeUp  { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes pulse   { 0%,100% { opacity:1; } 50% { opacity:.35; } }
@keyframes ticker  { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }


/* ── PAGE HEADER (services, contact) ── */
.page-header {
  padding: calc(64px + clamp(40px,6vw,72px)) var(--px) clamp(40px,6vw,64px);
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 40%;
  background: linear-gradient(135deg, rgba(20,183,152,0.07), transparent 70%);
  pointer-events: none;
}
.page-header-inner { position: relative; z-index: 1; }
.page-header-sub   { font-size: clamp(15px,2vw,17px); line-height: 1.7; color: var(--text-dim); margin-top: 14px; }


/* ── CTA SECTION (index, services) ── */
.cta-section {
  padding: var(--py) var(--px); text-align: center;
  background: linear-gradient(135deg, #edfaf5, #e2f8f1, #f5fdf9);
  border-top: 1px solid rgba(20,183,152,.15);
}
.cta-section .sec-eyebrow { justify-content: center; margin-bottom: 14px; }
.cta-sub  { font-size: clamp(15px,1.5vw,17px); color: var(--text-dim); max-width: 480px; margin: 14px auto 32px; line-height: 1.7; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav          { height: 60px; }
  .nav-drawer  { top: 60px; }
  .nav-links   { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-btns    { flex-direction: column; align-items: stretch; }
  .cta-btns a  { text-align: center; }
}
