/* ===== DIGIECOM SERVICES — Shared Styles ===== */
:root {
  --bg: #0d0d0d;
  --bg-card: #1a1a1a;
  --bg-card2: #222;
  --primary: #0b5fff;
  --primary-light: #b5c4ff;
  --orange: #ff8a00;
  --yellow: #f7be00;
  --text: #e5e2e1;
  --text-muted: rgba(255,255,255,0.45);
  --border: rgba(255,255,255,0.08);
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: #0d0d0d;
  color: #fff;
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.nav-logo { display: flex; align-items: center; gap: .75rem; }
.nav-logo img { height: 112px; width: auto; position: relative; z-index: 101; margin-top: 8px; }
.nav-logo-text { display: none; }

.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav-links a {
  padding: .4rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  letter-spacing: .02em;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.07); }

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: .45rem 1.15rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #0047cc !important; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s;
  border: none;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0047cc; transform: translateY(-2px); }

.btn-white { background: #fff; color: #0d0d0d; }
.btn-white:hover { background: var(--orange); color: #fff; transform: translateY(-2px); }

.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #e07500; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== PAGE HERO (editorial) ===== */
.page-hero-ed {
  padding: 6rem 2rem 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero-ed::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(11,95,255,.12) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-ed .inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }

.page-hero-ed .hero-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.display-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
}

.display-title .t-blue { color: var(--primary-light); }
.display-title .t-orange { color: var(--orange); }

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-row p {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  max-width: 420px;
  line-height: 1.7;
}

/* ===== MARQUEE ===== */
.marquee-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
  background: linear-gradient(90deg, rgba(11,95,255,.06) 0%, transparent 30%, transparent 70%, rgba(255,138,0,.06) 100%);
}

.marquee-inner {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.marquee-inner span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  flex-shrink: 0;
}
.marquee-inner .dot { color: var(--orange); font-size: 1.1rem; line-height: 1; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTION WRAPPER ===== */
.ed-section {
  padding: 5rem 2rem;
  border-bottom: 1px solid var(--border);
}

.ed-section .inner { max-width: 1200px; margin: 0 auto; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-header .sh-left .ed-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}

.section-header .sh-left h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .95;
}

.section-header .sh-right {
  font-size: .875rem;
  color: rgba(255,255,255,.4);
  max-width: 300px;
  text-align: right;
  line-height: 1.65;
}

/* ===== BENTO GRID ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}

.bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.bc {
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  transition: transform .3s;
}
.bc:hover { transform: scale(1.01); }

.bc.blue { background: var(--primary); }
.bc.dark { background: #1a1a1a; border: 1px solid var(--border); }
.bc.orange { background: var(--orange); }
.bc.yellow { background: var(--yellow); }
.bc.navy { background: #0b1f5e; }
.bc.white { background: #fff; }
.bc.charcoal { background: #1e1e1e; border: 1px solid var(--border); }
.bc.dim-blue { background: #0d1a3a; border: 1px solid rgba(11,95,255,.25); }
.bc.dim-orange { background: #2a1500; border: 1px solid rgba(255,138,0,.25); }

.bc.span2 { grid-column: span 2; }
.bc.tall { min-height: 280px; }
.bc.xl { min-height: 340px; }

.bc-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .55;
  margin-bottom: .6rem;
}

.bc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.bc.white .bc-label,
.bc.yellow .bc-label { color: #0d0d0d; }
.bc.white .bc-title,
.bc.yellow .bc-title { color: #0d0d0d; }
.bc.white p,
.bc.yellow p { color: rgba(0,0,0,.55); }

.bc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  opacity: .1;
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
}
.bc.white .bc-num,
.bc.yellow .bc-num { color: #000; }

.bc p { font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.55); margin-top: .6rem; }

.bc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  font-size: .9rem;
  transition: all .25s;
  text-decoration: none;
  color: #fff;
}
.bc-arrow:hover { background: #fff; color: #0d0d0d; }

/* ===== SERVICE BANDS ===== */
.service-band {
  padding: 2.25rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  transition: background .25s;
  cursor: default;
  max-width: 1200px;
  margin: 0 auto;
}

.service-band-wrap { border-top: 1px solid var(--border); }
.service-band-wrap a { display: block; }
.service-band-wrap a:hover .service-band { background: rgba(255,255,255,.03); }
.service-band-wrap a:hover .band-arrow { background: var(--orange); border-color: var(--orange); }

.band-tags { display: flex; gap: .45rem; flex-wrap: wrap; margin-bottom: .6rem; }
.band-tag {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: .2rem .65rem;
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.band-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.band-note { font-size: .75rem; color: rgba(255,255,255,.3); letter-spacing: .06em; text-transform: uppercase; }

.band-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transition: all .25s;
  flex-shrink: 0;
}

/* ===== STATS ROW ===== */
.stats-row-ed {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-big { display: flex; align-items: baseline; gap: .05em; }
.stat-big .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: #fff;
}
.stat-big .plus {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--orange);
}
.stat-desc {
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .2rem;
}

/* ===== 3-COL DELIVER ===== */
.deliver-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
  margin-top: 3rem;
}

.deliver-col .col-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .85rem;
}

.deliver-col p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  line-height: 1.75;
}

/* ===== KEYWORD STRIP ===== */
.keywords-strip {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.keyword {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.9rem, 2vw, 1.3rem);
  font-weight: 600;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.25);
  text-transform: uppercase;
  transition: color .2s;
  cursor: default;
}
.keyword:hover { color: #fff; }
.keyword-sep { color: rgba(255,138,0,.5); font-size: 1.2rem; }

/* ===== MARQUEE LABELS ===== */
.logos-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.logo-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.9rem, 2vw, 1.5rem);
  font-weight: 700;
  color: rgba(255,255,255,.15);
  text-transform: uppercase;
  transition: color .25s;
  cursor: default;
}
.logo-item:hover { color: rgba(255,255,255,.7); }

/* ===== CTA BAND ===== */
.cta-editorial {
  padding: 6rem 2rem;
  text-align: center;
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(11,95,255,.15) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(255,138,0,.1) 0%, transparent 55%);
  pointer-events: none;
}

.cta-editorial h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 3rem;
}
.cta-editorial h2 .t-orange { color: var(--orange); }
.cta-editorial h2 .t-blue { color: var(--primary-light); }

/* ===== PROCESS STEPS ===== */
.steps-ed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.step-ed {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.25rem;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, background .25s;
}

.step-ed::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  opacity: 0;
  transition: opacity .25s;
}

.step-ed:hover { border-color: rgba(255,255,255,.18); background: #161616; }
.step-ed:hover::before { opacity: 1; }

.step-num-ed,
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -.04em;
  line-height: 1;
  padding: .35rem .6rem;
  background: rgba(11,95,255,.12);
  border-radius: .6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

.step-ed h4,
.step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  letter-spacing: -.01em;
  color: #fff;
}

.step-ed p,
.step-desc {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-top: .3rem;
}

/* ===== MISSING CLASS ALIASES ===== */

/* section-label — orange overline tag */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255,138,0,.1);
  border: 1px solid rgba(255,138,0,.25);
  border-radius: 999px;
  padding: .3rem .9rem;
}

/* section-hl — large heading inside section-header */
.section-hl {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.03em;
  line-height: .95;
  color: #fff;
}

/* section-header paragraph */
.section-header p {
  font-size: .9rem;
  color: rgba(255,255,255,.45);
  max-width: 340px;
  line-height: 1.7;
  text-align: right;
}
@media (max-width: 900px) {
  .section-header p { text-align: left; max-width: 100%; }
}

/* bc-body — body text inside a bento card */
.bc-body {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.55);
  margin-top: .6rem;
}
.bc.white .bc-body,
.bc.yellow .bc-body { color: rgba(0,0,0,.55); }

/* CTA editorial lines */
.cta-line {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: #fff;
}

.cta-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 2.75rem;
  border-radius: 3rem;
  letter-spacing: .02em;
  transition: background .2s, transform .2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.cta-btn:hover { background: #0047cc; transform: translateY(-3px); }

/* Service band sub-elements (sb-*) */
.sb-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}

.sb-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.2);
  width: 36px;
  flex-shrink: 0;
}

.sb-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}

.sb-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,.4);
  flex-shrink: 0;
  transition: all .25s;
  background: rgba(255,255,255,.04);
}

.service-band:hover .sb-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* service-band enhanced hover */
.service-band {
  position: relative;
}
.service-band::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--orange));
  opacity: 0;
  border-radius: 999px;
  transition: opacity .25s;
}
.service-band-wrap a:hover .service-band::after { opacity: 1; }
.service-band-wrap div.service-band:hover::after { opacity: 1; }
.service-band-wrap div.service-band:hover { background: rgba(255,255,255,.025); }
.service-band-wrap div.service-band:hover .sb-name { color: #fff; }
.service-band-wrap div.service-band:hover .sb-num { color: var(--primary); }
.service-band-wrap div.service-band:hover .sb-arrow {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Expandable service bands ─────────────────────────── */
.service-band.expandable { cursor: pointer; }
.sb-expand {
  height: 0;
  overflow: hidden;
  transition: height .4s ease;
  padding: 0 2rem;
  border-bottom: 1px solid var(--border);
}
.sb-arrow-icon { display: inline-block; transition: transform .3s ease; }
.service-band.expandable.open .sb-arrow-icon { transform: rotate(135deg); }

/* ── Expandable bento cards ───────────────────────────── */
.bc.expandable { cursor: pointer; }
.bc-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
  pointer-events: none;
}
.bc-expand > * { overflow: hidden; min-height: 0; }
.bc.expandable.open .bc-expand {
  grid-template-rows: 1fr;
  pointer-events: auto;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.bc.white.expandable.open .bc-expand { border-top-color: rgba(0,0,0,.12); }
.bc.yellow.expandable.open .bc-expand { border-top-color: rgba(0,0,0,.12); }
.bc-expand-hint {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-top: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  opacity: .7;
  transition: opacity .2s;
}
.bc.white .bc-expand-hint,
.bc.yellow .bc-expand-hint { color: rgba(0,0,0,.5); }
.bc.expandable:hover .bc-expand-hint { opacity: 1; }
.bc-expand-hint::after { content: '↓'; font-size: .9rem; transition: transform .3s; }
.bc.expandable.open .bc-expand-hint::after { transform: rotate(180deg); }

/* form aliases */
.form-label {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.form-control {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: .85rem 1rem;
  color: #fff;
  font-size: .925rem;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s, background .2s;
  width: 100%;
  outline: none;
}
.form-control:focus { border-color: var(--primary); background: rgba(11,95,255,.06); }
select.form-control option { background: #1a1a1a; }
textarea.form-control { resize: vertical; min-height: 130px; }

.form-group-full { grid-column: 1 / -1; }

/* ===== DELIVER-COLS STAT CARDS ===== */
.deliver-col {
  background: #111;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color .25s;
}
.deliver-col:hover { border-color: rgba(255,255,255,.18); }
.deliver-col::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  opacity: .5;
}

/* override deliver-cols grid to remove old padding/border */
.deliver-cols {
  border-top: none !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  gap: 1rem !important;
}

/* ===== LIST PILLS (service items) ===== */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
}

.pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  transition: all .2s;
}

.pill:hover { border-color: var(--primary-light); color: var(--primary-light); }

/* ===== CONTACT FORM ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group.full { grid-column: 1 / -1; }

label { font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.4); letter-spacing: .04em; text-transform: uppercase; }

input, select, textarea {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: .75rem;
  padding: .85rem 1rem;
  color: #fff;
  font-size: .925rem;
  font-family: 'Inter', sans-serif;
  transition: border-color .2s;
  width: 100%;
  outline: none;
}

input:focus, select:focus, textarea:focus { border-color: var(--primary); background: rgba(11,95,255,.05); }
select option { background: #1a1a1a; }
textarea { resize: vertical; min-height: 130px; }

/* ===== LEGAL ===== */
.legal-content {
  max-width: 100%;
}

.legal-content h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 2.5rem 0 .75rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  line-height: 1.3;
}

.legal-content p {
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
  line-height: 1.85;
  font-size: .9rem;
}

.legal-content a {
  color: var(--primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul {
  margin: .75rem 0 .75rem 0;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.legal-content li {
  line-height: 1.65;
  padding: .5rem .75rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: .5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(11,95,255,.35);
}

.legal-content strong { color: rgba(255,255,255,.75); }

/* ===== FOOTER ===== */
.footer-ed {
  padding: 4rem 2rem 2rem;
  background: #0d0d0d;
  border-top: 1px solid var(--border);
}

.footer-ed .inner { max-width: 1200px; margin: 0 auto; }

.footer-top-ed {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.kit-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: .75rem;
}

.kit-address {
  font-size: .8rem;
  color: rgba(255,255,255,.25);
  line-height: 1.7;
  margin-top: .75rem;
}

.kit-col-title {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 1.1rem;
}

.kit-col ul { list-style: none; }
.kit-col li { margin-bottom: .55rem; }
.kit-col a {
  color: rgba(255,255,255,.45);
  font-size: .875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
}
.kit-col a:hover { color: #fff; }
.kit-col a span { opacity: .3; font-size: .75rem; }

.footer-bottom-ed {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom-ed p { font-size: .78rem; color: rgba(255,255,255,.18); }
.footer-bottom-ed a { font-size: .78rem; color: rgba(255,255,255,.18); }
.footer-bottom-ed a:hover { color: rgba(255,255,255,.6); }

/* ===== LAYOUT CLASSES (responsive-aware) ===== */

/* Contact page: info cards + form side by side */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

/* Legal pages: sticky TOC + body */
.legal-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 4rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6rem;
}

.legal-toc-title {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.legal-toc nav {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.legal-toc a {
  color: var(--text-muted);
  font-size: .875rem;
  text-decoration: none;
  transition: color .2s;
  padding: .3rem 0;
  border-left: 2px solid transparent;
  padding-left: .75rem;
  margin-left: -.75rem;
}

.legal-toc a:hover { color: #fff; border-left-color: var(--primary); }

/* ===== RESPONSIVE ===== */

/* ── Tablet landscape & small desktop ──────────────────── */
@media (max-width: 1024px) {
  .inner { padding: 0 1.5rem; }
  .footer-top-ed { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .legal-layout { grid-template-columns: 170px 1fr; gap: 2.5rem; }
}

/* ── Tablet portrait (768px) ───────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: #0d0d0d;
    border-bottom: 1px solid var(--border);
    border-top: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0,0,0,.9);
    padding: 1rem 1.5rem 1.5rem;
    gap: .35rem;
    z-index: 9999;
  }
  .nav-links.open a { padding: .65rem 1rem; border-radius: .5rem; font-size: .9rem; }

  /* Hero */
  .page-hero-ed { padding: 5rem 1.5rem 3rem; }
  .display-title { font-size: clamp(2.8rem, 10vw, 5rem); }

  /* Sections */
  .ed-section { padding: 3.5rem 1.5rem; }

  /* Section header stacks */
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; }
  .section-header p { text-align: left; max-width: 100%; }

  /* Bento */
  .bento-grid { grid-template-columns: 1fr 1fr; }
  .bento-grid-2 { grid-template-columns: 1fr; }
  .bc.span2 { grid-column: span 1; }

  /* Steps: 2-col → 1-col */
  .steps-ed { grid-template-columns: 1fr; }

  /* Deliver cols */
  .deliver-cols { grid-template-columns: 1fr 1fr !important; gap: 1rem !important; }

  /* Contact layout: side-by-side → stack */
  .contact-layout { grid-template-columns: 1fr; }

  /* Legal layout: sidebar hidden, content full width */
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }

  /* Service bands */
  .service-band { padding: 1.5rem; }
  .sb-name { font-size: 1rem; }
  .sb-num { font-size: .9rem; width: 28px; }
  .sb-arrow { width: 36px; height: 36px; font-size: .85rem; }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .form-group-full { grid-column: 1; }

  /* CTA */
  .cta-editorial { padding: 4rem 1.5rem; }
  .cta-line { font-size: clamp(2.5rem, 9vw, 5rem); }

  /* Footer */
  .footer-ed { padding: 3rem 1.5rem 1.5rem; }
  .footer-top-ed { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .kit-label { font-size: clamp(1.5rem, 5vw, 2.2rem); }

  /* Marquee */
  .marquee-strip { padding: .65rem 0; }
  .marquee-inner { gap: 1.75rem; }
  .marquee-inner span { font-size: .7rem; }

  /* Pills */
  .pill-list { gap: .4rem; }
  .pill { font-size: .75rem; padding: .3rem .75rem; }

  /* Bento cards: reduce padding */
  .bc { padding: 1.5rem; min-height: 160px; }
  .bc-title { font-size: clamp(1.1rem, 3vw, 1.5rem); }

  /* Stats on about page */
  .stats-row-ed { flex-direction: column; align-items: flex-start; }
}

/* ── Mobile (480px) ────────────────────────────────────── */
@media (max-width: 480px) {

  /* Nav */
  .nav { padding: 0 1rem; }
  .nav-logo img { height: 88px; }

  /* Hero */
  .page-hero-ed { padding: 4.5rem 1rem 2.5rem; }
  .display-title { font-size: clamp(2.2rem, 12vw, 3.5rem); }

  /* Sections */
  .ed-section { padding: 2.5rem 1rem; }

  /* Bento: all single col */
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid-2 { grid-template-columns: 1fr; }
  .bc.span2 { grid-column: span 1; }
  .bc { padding: 1.25rem; min-height: 140px; }

  /* Deliver stats: stack */
  .deliver-cols { grid-template-columns: 1fr !important; }

  /* Steps */
  .step-ed { grid-template-columns: 48px 1fr; gap: .75rem; padding: 1.25rem; }
  .step-num { width: 44px; height: 44px; font-size: 1.1rem; }

  /* Contact form container padding */
  .contact-layout > div:last-child { padding: 1.5rem !important; }

  /* Service bands */
  .service-band { padding: 1.25rem 1rem; gap: 1rem; }
  .sb-name { font-size: .9rem; }
  .sb-left { gap: .75rem; }

  /* CTA */
  .cta-editorial { padding: 3rem 1rem; }
  .cta-line { font-size: clamp(2rem, 11vw, 3.5rem); }
  .cta-btn { font-size: .9rem; padding: .9rem 1.75rem; }

  /* Footer: single col */
  .footer-ed { padding: 2.5rem 1rem 1.5rem; }
  .footer-top-ed { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom-ed { flex-direction: column; align-items: flex-start; gap: .75rem; }

  /* Section label */
  .section-label { font-size: .65rem; }
  .section-hl { font-size: clamp(1.6rem, 7vw, 2.5rem); }

  /* Keywords strip */
  .keywords-strip { flex-direction: column; align-items: flex-start; gap: .5rem; }

  /* Hero meta on index */
  .hero-row { flex-direction: column; align-items: flex-start; }
  .hero-bottom-bar,
  .hero-meta { flex-direction: column; gap: 1rem; }
  .hero-meta-right,
  .hero-meta-right p { text-align: left; align-items: flex-start; }
}

/* ── Platform cards: clean mobile accordion style ────────── */
@media (max-width: 600px) {
  /* Force 1 column, remove min-height constraints */
  .bento-grid,
  .bento-grid-2 { grid-template-columns: 1fr; gap: .6rem; }
  .bc.span2 { grid-column: span 1; }

  /* Strip the colourful block look — use a flat bordered row */
  .bc {
    border-radius: .9rem !important;
    padding: 1.1rem 1.25rem !important;
    min-height: unset !important;
    display: flex;
    flex-direction: column;
    gap: .35rem;
  }

  /* Hide the large faded background number on mobile */
  .bc-num { display: none; }

  /* Tighten label + title */
  .bc-label {
    font-size: .65rem !important;
    letter-spacing: .1em;
    opacity: .6;
    margin-bottom: 0;
  }
  .bc-title {
    font-size: 1.2rem !important;
    line-height: 1.2;
  }

  /* Hide body text and pills by default — keep cards compact */
  .bc .bc-body,
  .bc > p { display: none; }
  .bc .pill-list:not(.bc-expand .pill-list) { display: none; }

  /* Expand hint is always visible — acts as tap prompt */
  .bc-expand-hint {
    opacity: 1 !important;
    margin-top: .4rem;
    font-size: .7rem;
  }

  /* When opened, show expand content neatly */
  .bc.expandable.open .bc-expand {
    margin-top: .85rem;
    padding-top: .85rem;
  }

  /* White/yellow card text adjustments */
  .bc.white .bc-title,
  .bc.yellow .bc-title { color: #111 !important; }
}

/* ── Very small phones (375px) ─────────────────────────── */
@media (max-width: 375px) {
  .display-title { font-size: clamp(1.9rem, 13vw, 3rem); letter-spacing: -.03em; }
  .nav-logo img { height: 72px; }
  .bc { padding: 1rem; }
  .step-ed { grid-template-columns: 1fr; }
  .step-num { width: 40px; height: 40px; font-size: 1rem; }
}
