@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Tokens ────────────────────────────────────────────────── */
:root {
  --navy:        #0C1E35;
  --navy-2:      #112844;
  --navy-3:      #1a3a5c;
  --gold:        #059669;
  --gold-2:      #10B981;
  --gold-pale:   rgba(5,150,105,.1);
  --white:       #ffffff;
  --off-white:   #F0FDF4;
  --text:        #0C1E35;
  --text-2:      #4A5568;
  --text-3:      #8A97A8;
  --border:      #E8ECF0;
  --r-sm:        8px;
  --r-md:        14px;
  --r-lg:        20px;
  --r-xl:        28px;
  --shadow:      0 2px 12px rgba(12,30,53,.07);
  --shadow-lg:   0 8px 40px rgba(12,30,53,.12);
  --shadow-gold: 0 6px 24px rgba(5,150,105,.28);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

/* ── Layout ────────────────────────────────────────────────── */
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.section       { padding: 100px 0; }
.section--sm   { padding: 72px 0; }
.section--dark { background: var(--navy); }
.section--off  { background: var(--off-white); }

/* ── Typography ────────────────────────────────────────────── */
.label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.display {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.display em {
  font-style: normal;
  color: var(--gold);
}

.headline {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
}

.subhead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 560px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-size: .93rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
  border: 1.5px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold-2);
  border-color: var(--gold-2);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.5);
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--lg { padding: 17px 36px; font-size: 1rem; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.nav__logo span { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-2);
  padding: 7px 12px;
  border-radius: var(--r-sm);
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--navy); background: var(--off-white); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 12px 28px 20px;
  border-top: 1px solid var(--border);
  background: var(--white);
  gap: 2px;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  padding: 11px 14px;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--r-sm);
}
.nav__mobile a:hover { background: var(--off-white); color: var(--navy); }
.nav__mobile .btn { margin-top: 8px; justify-content: center; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(5,150,105,.14) 0%, transparent 65%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}
.hero__glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,58,92,.8) 0%, transparent 70%);
  bottom: -100px;
  left: 5%;
  pointer-events: none;
}
.hero__inner { position: relative; }

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5,150,105,.12);
  border: 1px solid rgba(5,150,105,.25);
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero__pill-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

.hero .display {
  color: var(--white);
  margin-bottom: 24px;
  max-width: 780px;
}
.hero .subhead {
  color: rgba(255,255,255,.62);
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 72px; }

.hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 40px;
  flex-wrap: wrap;
}
.hero__stat {
  flex: 1;
  min-width: 160px;
  padding: 0 32px 0 0;
  border-right: 1px solid rgba(255,255,255,.08);
  margin-right: 32px;
}
.hero__stat:last-child { border-right: none; margin-right: 0; }
.hero__stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 5px;
}
.hero__stat strong em {
  font-style: normal;
  color: var(--gold-2);
}
.hero__stat span {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  line-height: 1.4;
}

/* ── Pain Section ──────────────────────────────────────────── */
.pain__intro {
  max-width: 580px;
  margin-bottom: 56px;
}
.pain__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.pain-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.pain-item:hover {
  border-color: rgba(5,150,105,.3);
  box-shadow: 0 4px 20px rgba(5,150,105,.07);
}
.pain-item__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 10px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 2px;
}
.pain-item__icon svg { width: 20px; height: 20px; }
.pain-item h4 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
  line-height: 1.3;
}
.pain-item p {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* ── Services ──────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.svc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.svc:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.svc__top {
  padding: 32px 32px 28px;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.svc__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  opacity: .18;
  line-height: 1;
  letter-spacing: -0.05em;
  flex-shrink: 0;
  margin-top: -4px;
}
.svc__top h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 7px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.svc__top p {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.6;
}
.svc__bottom {
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.svc__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--off-white);
  padding: 6px 12px;
  border-radius: 100px;
}
.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap .2s;
}
.svc__link:hover { gap: 9px; }
.svc__link svg { width: 14px; height: 14px; }

/* ── Why ───────────────────────────────────────────────────── */
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.why-item {
  background: var(--white);
  padding: 36px 28px;
  transition: background .2s;
}
.why-item:hover { background: var(--off-white); }
.why-item__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.why-item__icon svg { width: 21px; height: 21px; }
.why-item h4 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.why-item p {
  font-size: .855rem;
  color: var(--text-2);
  line-height: 1.65;
}

/* ── Outcomes / Dark ───────────────────────────────────────── */
.outcomes__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.outcomes__left .headline { color: var(--white); margin-bottom: 16px; }
.outcomes__left p { color: rgba(255,255,255,.55); font-size: 1rem; max-width: 380px; }

.outcomes__list { display: flex; flex-direction: column; gap: 4px; }
.outcome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  transition: background .2s;
}
.outcome:hover { background: rgba(255,255,255,.04); }
.outcome__check {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(5,150,105,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.outcome__check svg { width: 13px; height: 13px; color: var(--gold-2); stroke-width: 3; }
.outcome p { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; font-weight: 500; }

/* ── About ─────────────────────────────────────────────────── */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about__quote {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 44px;
  position: relative;
  overflow: hidden;
}
.about__quote::before {
  content: '\201C';
  position: absolute;
  top: -20px;
  left: 24px;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(5,150,105,.12);
  line-height: 1;
  font-family: Georgia, serif;
}
.about__quote p {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  margin-bottom: 24px;
}
.about__quote span {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
}
.about__text .headline { margin-bottom: 20px; }
.about__text p { color: var(--text-2); margin-bottom: 16px; line-height: 1.8; }
.about__text p:last-of-type { margin-bottom: 28px; }

/* ── CTA ───────────────────────────────────────────────────── */
.cta-block {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(5,150,105,.18) 0%, transparent 60%);
  pointer-events: none;
}
.cta-block__inner { position: relative; }
.cta-block__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5,150,105,.15);
  border: 1px solid rgba(5,150,105,.3);
  color: var(--gold-2);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.cta-block .display { color: var(--white); margin-bottom: 18px; font-size: clamp(1.8rem, 4vw, 3rem); }
.cta-block p { color: rgba(255,255,255,.55); max-width: 480px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-block__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 28px;
}
.footer__logo {
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.03em;
}
.footer__logo span { color: var(--gold); }
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  font-size: .83rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
  transition: color .15s;
}
.footer__links a:hover { color: rgba(255,255,255,.75); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy { font-size: .78rem; color: rgba(255,255,255,.25); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a {
  font-size: .78rem;
  color: rgba(255,255,255,.25);
  transition: color .15s;
}
.footer__legal a:hover { color: rgba(255,255,255,.5); }

/* ── Scroll progress bar ───────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  z-index: 999;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Scroll animation ──────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up[data-delay="1"] { transition-delay: .08s; }
.fade-up[data-delay="2"] { transition-delay: .16s; }
.fade-up[data-delay="3"] { transition-delay: .24s; }
.fade-up[data-delay="4"] { transition-delay: .32s; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Layout */
  .section       { padding: 64px 0; }
  .section--sm   { padding: 52px 0; }
  .pain__grid    { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid     { grid-template-columns: 1fr 1fr; }
  .outcomes__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__inner  { grid-template-columns: 1fr; gap: 36px; }

  /* Nav — hide desktop links and CTA, show burger */
  .nav__links          { display: none; }
  .nav__inner > .btn   { display: none; }
  .nav__burger         { display: flex; }

  /* Hero */
  .hero              { padding: 60px 0 52px; }
  .hero__actions     { margin-bottom: 48px; }
  .hero__stats       { padding-top: 28px; gap: 0; }
  .hero__stat        { min-width: 120px; }
  .hero__stat strong { font-size: 1.55rem; }

  /* Cards */
  .pain-item  { padding: 22px 24px; }
  .svc__top   { padding: 24px 24px 20px; }
  .svc__bottom { padding: 16px 24px; }
  .about__quote { padding: 32px; }

  /* CTA */
  .cta-block { padding: 48px 28px; }
  .cta-block__actions { flex-direction: column; align-items: center; }
  .cta-block__actions .btn { width: 100%; max-width: 360px; justify-content: center; }
}

@media (max-width: 480px) {
  /* Layout */
  .section     { padding: 48px 0; }
  .section--sm { padding: 40px 0; }
  .why__grid   { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 44px 0 36px; }
  .hero__pill { font-size: .7rem; padding: 6px 12px; }

  /* Stack hero buttons full width */
  .hero__actions     { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Stats: one per row, label beside value */
  .hero__stats { flex-direction: column; padding-top: 20px; gap: 0; }
  .hero__stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-right: 0;
    padding: 13px 0;
    min-width: unset;
  }
  .hero__stat:last-child { border-bottom: none; }
  .hero__stat strong     { font-size: 1.25rem; margin-bottom: 0; }
  .hero__stat span       { font-size: .78rem; }

  /* CTA */
  .cta-block { padding: 36px 20px; }
}
