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

:root {
  --navy:   #25284C;
  --cream:  #F6F1E7;
  --mint:   #E6FFC9;
  --sky:    #A0E6F3;
  --teal:   #E3F4F8;
  --cyan:   #00D7FF;
  --gray:   #6B7280;
  --grad:   linear-gradient(135deg, #E6FFC9 0%, #A0E6F3 100%);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter Tight', sans-serif;
  color: var(--navy);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ══════════════════════════════════════════
   HERO - shared design system (from homepage)
   Shorter than homepage: service-page hero
══════════════════════════════════════════ */
.hero {
  min-height: calc(72vh + 100px);
  background: linear-gradient(135deg, #b8f0d8 0%, #c8effa 50%, #a8e4f5 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 36px 24px 0;
  position: relative;
  overflow: hidden;
}

.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 70%;
  background: url('../img/s88-header-image.jpg') center bottom / cover no-repeat;
  opacity: 0.85;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.28) 24%, rgba(0,0,0,0.7) 42%, black 56%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.28) 24%, rgba(0,0,0,0.7) 42%, black 56%);
}

/* Pill nav bar */
.nav-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 100px;
  padding: 12px 12px 12px 26px;
  width: 100%;
  max-width: 900px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 24px rgba(37,40,76,0.08);
}

.nav-logo { height: 26px; width: auto; display: block; margin-right: auto; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  padding: 9px 21px;
  border-radius: 100px;
  transition: background 0.2s;
}
.nav-links a:hover { background: rgba(37,40,76,0.06); }

.nav-links .services-link { display: flex; align-items: center; gap: 4px; }
.nav-links .services-link svg { opacity: 0.5; transition: transform 0.2s; }
.nav-links li:hover .services-link svg { transform: rotate(180deg); }

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 9px 23px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
}

.nav-links li { position: relative; }

/* Mega menu */
.mega-menu {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  width: 660px;
  padding-top: 10px;
  z-index: 100;
}
.nav-links li:hover .mega-menu { display: block; }

.mega-inner {
  background: #fff;
  border: 1px solid rgba(37,40,76,0.09);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(37,40,76,0.12);
  padding: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mega-item {
  padding: 22px 24px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background 0.18s;
  cursor: pointer;
}
.mega-item:hover { background: #F6F1E7; }
.nav-links a.mega-item { display: flex; padding: 22px 24px; border-radius: 14px; }
.nav-links a.mega-item:hover { background: #F6F1E7; }
/* active service in menu */
.mega-item.active { background: #F6F1E7; box-shadow: inset 0 0 0 1.5px rgba(0,215,255,0.4); }

.mega-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
}
.mega-title { font-size: 16px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; line-height: 1.3; }
.mega-desc { font-size: 14px; color: var(--gray); line-height: 1.5; }

.mega-menu-footer {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(37,40,76,0.07);
  margin-top: 4px;
  padding: 14px 16px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mega-menu-footer span { font-size: 14px; color: var(--gray); }
.mega-menu-footer a {
  font-size: 14px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 6px;
  padding: 0 !important; border-radius: 0 !important;
}
.mega-menu-footer a:hover { background: none !important; opacity: 0.65; }

/* Simple dropdown */
.simple-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  z-index: 100;
  min-width: 160px;
}
.nav-links li:hover .simple-dropdown { display: block; }
.simple-inner {
  background: #fff;
  border: 1px solid rgba(37,40,76,0.09);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(37,40,76,0.1);
  padding: 6px;
  display: flex;
  flex-direction: column;
}
.simple-dropdown a {
  font-size: 15px !important; font-weight: 500 !important; color: var(--navy) !important;
  padding: 10px 18px !important; border-radius: 10px !important;
  white-space: nowrap; display: block;
}
.simple-dropdown a:hover { background: #F6F1E7 !important; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 1080px;
  padding: 70px 0 0;
}

/* service eyebrow above headline */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.65;
  margin-bottom: 22px;
  padding: 7px 16px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 100px;
}
.hero-eyebrow .num { color: var(--cyan); }

.hero-content h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 26px;
}

.hero-content p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy);
  opacity: 0.75;
  max-width: 660px;
  margin: 0 auto 38px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--navy);
  border-radius: 100px;
  padding: 14px 32px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.15s;
}
.hero-btn:hover { background: rgba(255,255,255,0.55); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   Shared section label
══════════════════════════════════════════ */
.sec-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
  font-family: 'IBM Plex Mono', monospace;
}

/* ══════════════════════════════════════════
   PHILOSOPHY - "What paid media means to Strat88"
══════════════════════════════════════════ */
.philosophy {
  padding: 96px 80px;
  border-top: 1px solid rgba(37,40,76,0.08);
  display: grid;
  grid-template-columns: 4fr 5fr;
  gap: 80px;
  align-items: start;
}
.philosophy h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.philosophy-body p {
  font-size: 16.5px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 22px;
}
.philosophy-body p:last-child { margin-bottom: 0; }
.philosophy-body strong { color: var(--navy); font-weight: 600; }

/* ══════════════════════════════════════════
   INCLUDED - deliverables checklist
══════════════════════════════════════════ */
.included {
  padding: 96px 80px;
  background: var(--cream);
}
.included-top {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}
.included-top h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.included-top p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(37,40,76,0.08);
  border: 1px solid rgba(37,40,76,0.08);
  border-radius: 20px;
  overflow: hidden;
}
.check-item {
  background: #fff;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
}
.check-item:hover { background: #fafcff; }
.check-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-item span {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

/* ══════════════════════════════════════════
   PROCESS - 4 steps
══════════════════════════════════════════ */
.process {
  padding: 100px 80px;
  border-top: 1px solid rgba(37,40,76,0.08);
}
.process-top {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.process-top h2 {
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.process-top p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  padding: 34px 30px;
  border: 1px solid rgba(37,40,76,0.08);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.2s, transform 0.2s;
}
.step:hover { border-color: rgba(0,215,255,0.3); transform: translateY(-3px); }
.step-n {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.1em;
}
.step h3 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}
.step p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 1.65;
}

/* ══════════════════════════════════════════
   FAQ
══════════════════════════════════════════ */
.faq {
  padding: 100px 80px;
  background: var(--cream);
}
.faq-top { margin-bottom: 48px; max-width: 640px; }
.faq-top h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 64px;
  align-items: start;
}
.faq-list { max-width: 900px; }

/* Sticky glass CTA card beside FAQs */
.faq-aside { position: sticky; top: 40px; }
.faq-card {
  background: linear-gradient(160deg, rgba(255,255,255,0.9), rgba(246,241,231,0.7));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 22px;
  padding: 40px 36px;
  box-shadow: 0 16px 48px rgba(37,40,76,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.faq-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(0,215,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
/* placeholder glass icon badge - swap for Brian's custom glass icon later */
.faq-card-icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 18px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,215,255,0.18), inset 0 1px 2px rgba(255,255,255,0.6);
  position: relative;
  z-index: 1;
}
.faq-card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.faq-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}
.faq-card .btn-grad { position: relative; z-index: 1; }
.faq-card-note {
  margin-top: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--gray);
  position: relative;
  z-index: 1;
}
details.faq-item {
  border-bottom: 1px solid rgba(37,40,76,0.12);
}
details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 4px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--navy);
  transition: color 0.2s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary:hover { color: #000; }
.faq-q-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  flex-shrink: 0;
}
.faq-plus {
  margin-left: auto;
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  transition: transform 0.25s;
}
.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  background: var(--navy);
  top: 50%; left: 50%;
}
.faq-plus::before { width: 14px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-plus::after  { width: 1.5px; height: 14px; transform: translate(-50%,-50%); transition: opacity 0.2s; }
details[open] .faq-plus::after { opacity: 0; }
details[open] .faq-plus { transform: rotate(180deg); }
.faq-answer {
  padding: 0 44px 28px 44px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  max-width: 760px;
}

/* ══════════════════════════════════════════
   AI callout (slim, single band)
══════════════════════════════════════════ */
.ai-callout {
  padding: 72px 80px;
  border-top: 1px solid rgba(37,40,76,0.08);
  background: linear-gradient(165deg, rgba(230,255,201,0.38) 0%, rgba(160,230,243,0.24) 100%);
}
.ai-callout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: center;
}
.ai-callout h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.ai-callout-body p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 24px;
}
.ai-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.ai-points li {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.5;
  padding-left: 26px;
  position: relative;
}
.ai-points li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}
.ai-points li span {
  display: block;
  color: var(--navy);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

/* ══════════════════════════════════════════
   TESTIMONIAL band
══════════════════════════════════════════ */
.testimonial {
  padding: 100px 80px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(160,230,243,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.testi-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.testi-inner .sec-label { color: var(--sky); }
.testimonial blockquote {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  letter-spacing: -0.01em;
  font-style: italic;
  margin-bottom: 36px;
}
.testi-attr {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.testi-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  flex-shrink: 0;
}
.testi-name { font-size: 15.5px; font-weight: 700; color: #fff; }
.testi-role { font-size: 14px; color: rgba(255,255,255,0.55); }
.testi-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.testi-stat { text-align: center; }
.testi-stat .val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 34px;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  letter-spacing: -0.02em;
}
.testi-stat .lbl {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-top: 10px;
}
.testi-cs-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1.5px solid var(--cyan);
  padding-bottom: 3px;
  transition: opacity 0.2s;
}
.testi-cs-link:hover { opacity: 0.7; }
/* case-study snapshot variant inside the navy band */
.cs-client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
}
.cs-client .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.cs-head {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: #fff;
  margin: 0 auto 18px;
  max-width: 820px;
}
.cs-desc {
  font-size: 16.5px;
  color: rgba(255,255,255,0.62);
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   CROSS-SELL CTA
══════════════════════════════════════════ */
.cta-wrap { padding: 90px 80px; }
.cta-box {
  background: var(--navy);
  border-radius: 24px;
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(160,230,243,0.14) 0%, transparent 65%);
  pointer-events: none;
}
.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 200px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(230,255,201,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-text h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 14px;
}
.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 500px;
}
.btn-grad {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: var(--navy);
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,215,255,0.18); }

/* ══════════════════════════════════════════
   FOOTER - shared
══════════════════════════════════════════ */
footer { padding: 64px 80px 40px; border-top: 1px solid rgba(37,40,76,0.07); }
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 56px;
}
.footer-logo { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 14.5px; color: var(--gray); line-height: 1.65; max-width: 240px; }
.footer-col h5 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px;
  font-family: 'IBM Plex Mono', monospace;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; color: var(--gray); transition: color 0.18s; }
.footer-col a:hover { color: var(--navy); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(37,40,76,0.07);
  font-size: 13.5px;
  color: var(--gray);
  font-family: 'IBM Plex Mono', monospace;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: var(--gray); transition: color 0.18s; }
.footer-legal a:hover { color: var(--navy); }

/* ══════════════════════════════════════════
   Responsive
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links li:not(:last-child) { display: none; }
  .philosophy, .included-top, .process-top, .faq-grid, .ai-callout-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-aside { position: static; }
  .check-grid, .steps { grid-template-columns: 1fr; }
  .ai-callout { padding: 56px 28px; }
  .cta-box { grid-template-columns: 1fr; text-align: left; }
  .testimonial { padding: 72px 28px; }
  .testi-stats { flex-direction: column; gap: 28px; }
  .philosophy, .included, .process, .faq { padding-left: 28px; padding-right: 28px; }
  .cta-wrap { padding: 60px 28px; }
  footer { padding: 48px 28px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ===== S88 MOBILE THEME (shared) ===== */
/* Heading wrap control: no <br> in headings; width + balance handle wrapping */
.hero h1 { margin-left: auto; margin-right: auto; text-wrap: balance; }
.nav-pill > a.nav-home { margin-right: auto; display: block; flex-shrink: 0; }
.nav-links a.mega-item.active { background: #F6F1E7; box-shadow: inset 0 0 0 1.5px rgba(0,215,255,0.4); }
.nav-burger { display: none; }
.mobile-menu { display: none; }
@media (max-width: 900px) {
  .nav-pill { padding: 10px 10px 10px 20px; }
  .nav-links { display: none !important; }
  .hero h1 { max-width: 75%; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 0;
    background: var(--navy);
    border-radius: 100px;
    cursor: pointer;
    flex-shrink: 0;
  }
  .nav-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
  body.mm-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.mm-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.mm-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.mm-open .mobile-menu { display: flex; }
  .mobile-menu {
    width: 100%;
    max-width: 900px;
    margin-top: 10px;
    position: relative;
    z-index: 9;
    flex-direction: column;
    gap: 2px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 24px;
    padding: 10px;
    box-shadow: 0 12px 36px rgba(37,40,76,0.10);
  }
  .mobile-menu a, .mobile-menu summary {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    padding: 14px 18px;
    border-radius: 14px;
    display: block;
    cursor: pointer;
  }
  .mobile-menu a:active, .mobile-menu summary:active { background: rgba(37,40,76,0.06); }
  .mm-group summary { list-style: none; display: flex; justify-content: space-between; align-items: center; }
  .mm-group summary::-webkit-details-marker { display: none; }
  .mm-group summary::after { content: '+'; font-family: 'IBM Plex Mono', monospace; font-size: 18px; color: var(--cyan); }
  .mm-group[open] summary::after { content: '\2013'; }
  .mm-sub { display: flex; flex-direction: column; padding: 0 6px 6px; }
  .mm-sub a { font-weight: 500; font-size: 15px; padding: 11px 16px; color: var(--gray); }
  .mm-cta { background: var(--navy); color: #fff !important; text-align: center; margin-top: 6px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .btn-grad, .btn-solid, .hero-btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: clamp(24px, 7vw, 32px); max-width: 100%; }
}
