/* =========================================================
   GDNET Solutions - site stylesheet
   Palette: ink #0D1733, paper #F4F6FA, signal #2458F5,
            uplink #12B886, slate #56627A, rule #D9DFEA
   Type: Archivo (variable width) - expanded for headings
   ========================================================= */

:root {
  --ink: #0D1733;
  --ink-2: #26345C;
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --signal: #2458F5;
  --signal-deep: #1A43C4;
  --signal-tint: #E8EEFF;
  --uplink: #12B886;
  --uplink-deep: #0C8F68;
  --uplink-light: #5FE0B6;
  --slate: #56627A;
  --rule: #D9DFEA;
  --on-ink: #C3CCE0;
  --on-ink-muted: #8F9DBD;

  --header-h: 76px;
  --wrap: 1200px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.45rem, 1.2rem + .8vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.35rem + 2vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.4rem + 3.8vw, 4.25rem);

  --dots: radial-gradient(circle, rgba(13, 23, 51, .10) 1px, transparent 1.5px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--signal); text-underline-offset: .18em; }
a:hover { color: var(--signal-deep); }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  font-stretch: 112%;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; background: var(--ink); color: #fff; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.icon-check { width: 16px; height: 16px; flex: none; color: var(--uplink-deep); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.35rem;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent; border-radius: 10px;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--signal); color: #fff; }
.btn--primary:hover { background: var(--signal-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--signal-tint); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }

/* ---------- Utility bar ---------- */
.utility { background: var(--ink); color: var(--on-ink); font-size: var(--step--1); }
.utility__inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: .5rem 1.5rem; min-height: 38px; flex-wrap: wrap;
}
.utility__status { display: flex; align-items: center; gap: .55rem; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--uplink); box-shadow: 0 0 0 3px rgba(18, 184, 134, .25);
}
.utility__links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.utility a { color: #fff; text-decoration: none; }
@media (max-width: 640px) {
  .utility__status { display: none; }
  .utility__inner { justify-content: center; }
}
.utility a:hover { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(13, 23, 51, .35); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .65rem; flex: none; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-size: 1.35rem; font-weight: 800; font-stretch: 125%; letter-spacing: .01em; }
.brand__sub { margin-top: .22rem; font-size: .74rem; font-weight: 500; letter-spacing: .06em; color: var(--slate); }

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.site-nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .8rem;
  font: inherit; font-size: .98rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
}
.site-nav__link:hover,
.site-nav__link[aria-expanded="true"] { background: var(--paper); color: var(--ink); }
.site-nav__link[aria-current="page"] { color: var(--signal); }
.chevron { width: 12px; height: 12px; transition: transform .2s; }
[aria-expanded="true"] > .chevron { transform: rotate(180deg); }
.site-nav__cta { margin-left: .75rem; }

.nav-toggle { display: none; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 30px 50px -30px rgba(13, 23, 51, .35);
  padding: 2rem 0 2.25rem;
}
.mega__inner { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 3rem; }
.mega__intro {
  align-self: start;
  display: flex; flex-direction: column; align-items: flex-start; gap: .75rem;
  padding: 1.5rem; background: var(--paper); border-radius: 14px;
}
.mega__title { font-size: 1.1rem; font-weight: 700; font-stretch: 110%; line-height: 1.25; }
.mega__intro p:not(.mega__title) { font-size: .95rem; color: var(--slate); }
.mega__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem 2rem; }
.mega__heading { font-size: .98rem; font-weight: 650; line-height: 1.3; color: var(--ink); text-decoration: none; }
.mega__heading:hover { color: var(--signal); }
.mega__group ul { list-style: none; margin: .55rem 0 0; padding: 0; }
.mega__group li { margin: .28rem 0; }
.mega__group li a { font-size: .9rem; color: var(--slate); text-decoration: none; }
.mega__group li a:hover { color: var(--signal); }
.mega__all { display: none; }

@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto;
    background: var(--white); border: 1px solid var(--rule); border-radius: 10px; cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block; position: relative;
    width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
    transition: transform .2s, background-color .2s;
  }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: .5rem 1.25rem 1.5rem;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 20px 40px -20px rgba(13, 23, 51, .3);
  }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list > li { border-bottom: 1px solid var(--rule); }
  .site-nav__list > li.site-nav__cta-item { border-bottom: 0; padding-top: 1.25rem; }
  .site-nav__link { width: 100%; justify-content: space-between; padding: 1rem .25rem; border-radius: 0; font-size: 1.05rem; }
  .site-nav__link:hover,
  .site-nav__link[aria-expanded="true"] { background: none; }
  .site-nav__cta { width: 100%; margin: 0; }

  .mega { position: static; padding: 0 0 .75rem; border: 0; box-shadow: none; }
  .mega .wrap { width: 100%; }
  .mega__inner { display: block; }
  .mega__intro { display: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 0; }
  .mega__group ul { display: none; }
  .mega__heading { display: block; padding: .55rem .75rem; color: var(--slate); font-weight: 500; }
  .mega__all { display: block; padding: .55rem .75rem; font-weight: 600; text-decoration: none; }

  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  background-color: var(--paper);
  background-image: var(--dots);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--rule);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  max-width: 17ch;
  font-size: var(--step-4);
  font-stretch: 118%;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.hero__lede { max-width: 50ch; margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.5; color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.assurances {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  list-style: none; margin: 2.25rem 0 0; padding: 0;
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
}
.assurances li { display: inline-flex; align-items: center; gap: .45rem; }

.hero__visual {
  margin: 0;
  padding: clamp(1rem, 2.5vw, 1.75rem);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 20px;
  box-shadow: 0 30px 60px -40px rgba(13, 23, 51, .45);
}
.hero__visual figcaption {
  display: flex; align-items: center; gap: .6rem;
  margin-top: .75rem; padding-top: .9rem;
  border-top: 1px solid var(--rule);
  font-size: .9rem; color: var(--slate);
}
.topology { width: 100%; height: auto; }
.topo-ring { fill: none; stroke: var(--rule); stroke-width: 1; stroke-dasharray: 3 6; }
.topo-link { stroke: var(--rule); stroke-width: 1.5; }
.topo-flow {
  fill: none;
  stroke: var(--uplink);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: .1 14;
  animation: topo-flow 1.8s linear infinite;
}
.topo-flow:nth-child(2n) { animation-duration: 2.4s; }
.topo-flow:nth-child(3n) { animation-duration: 2.1s; }
.topo-flow--in { animation-direction: reverse; }
@keyframes topo-flow { to { stroke-dashoffset: -14.1; } }
.topo-node rect { fill: #fff; stroke: var(--rule); stroke-width: 1.2; }
.topo-node circle { fill: var(--uplink); }
.topo-node text { font-size: 13.5px; font-weight: 600; fill: var(--ink); }
.topo-hub rect { fill: var(--ink); }
.topo-hub .topo-hub__title { font-size: 15px; font-weight: 700; font-stretch: 108%; fill: #fff; }
.topo-hub .topo-hub__sub { font-size: 12.5px; font-weight: 500; fill: var(--uplink-light); }
.topology--compact { display: none; }
.topology--compact .topo-node text { font-size: 13px; }
@media (max-width: 560px) {
  .topology--wide { display: none; }
  .topology--compact { display: block; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
}

/* ---------- Platforms strip ---------- */
.platforms { padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
.platforms__inner { display: flex; align-items: baseline; flex-wrap: wrap; gap: .75rem 2.5rem; }
.platforms__label { flex: none; font-size: var(--step--1); font-weight: 600; color: var(--slate); }
.platforms ul { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; list-style: none; margin: 0; padding: 0; }
.platforms li { font-size: .95rem; font-weight: 600; font-stretch: 108%; color: #3A4868; }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #fff; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head h2 { font-size: var(--step-3); }
.lede { margin-top: 1rem; font-size: var(--step-1); line-height: 1.5; color: var(--slate); }
.section--ink .lede { color: var(--on-ink); }

.section-head--split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1rem 4rem; align-items: end; max-width: none;
}
.section-head--split .lede { max-width: 48ch; margin-top: 0; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split .section-head { margin-bottom: 0; }

@media (max-width: 860px) {
  .section-head--split, .split { grid-template-columns: 1fr; }
}

/* ---------- Service explorer ---------- */
.explorer {
  display: grid; grid-template-columns: 320px minmax(0, 1fr);
  background: var(--white);
  border: 1px solid var(--rule); border-radius: 18px;
  overflow: hidden;
}
.explorer__tabs {
  display: flex; flex-direction: column; gap: .15rem;
  padding: .75rem;
  background: var(--paper);
  border-right: 1px solid var(--rule);
}
.explorer__tab {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: 100%; padding: .8rem 1rem;
  font: inherit; font-size: .98rem; font-weight: 500; line-height: 1.3; text-align: left;
  color: var(--ink-2); background: transparent;
  border: 0; border-radius: 10px; cursor: pointer;
}
.explorer__tab:hover { background: rgba(13, 23, 51, .05); }
.explorer__tab[aria-selected="true"] {
  background: var(--white); color: var(--signal); font-weight: 600;
  box-shadow: inset 3px 0 0 var(--signal), 0 1px 3px rgba(13, 23, 51, .08);
}
.explorer__count {
  flex: none; min-width: 1.75rem; padding: .1rem .45rem;
  font-size: .8rem; font-weight: 600; text-align: center;
  color: var(--slate); background: rgba(13, 23, 51, .07); border-radius: 999px;
}
.explorer__tab[aria-selected="true"] .explorer__count { background: var(--signal-tint); color: var(--signal); }
.explorer__panel { padding: clamp(1.75rem, 3.5vw, 3rem); }
.explorer__panel h3 { font-size: var(--step-2); }
.explorer__summary { max-width: 58ch; margin-top: .75rem; font-size: 1.06rem; color: var(--slate); }
.explorer__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.checklist {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem;
  list-style: none; margin: 1.75rem 0 0; padding: 0;
}
.checklist li {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .8rem 0; border-top: 1px solid var(--rule);
  font-weight: 500; line-height: 1.4;
}
.checklist .icon-check { margin-top: .15rem; }

@media (max-width: 900px) {
  .explorer { grid-template-columns: 1fr; }
  .explorer__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--rule); }
  .explorer__tab { width: auto; white-space: nowrap; }
  .explorer__tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--signal), 0 1px 3px rgba(13, 23, 51, .08); }
  .explorer__count { display: none; }
}
@media (max-width: 600px) {
  .checklist { grid-template-columns: 1fr; }
}

/* ---------- Engagement models ---------- */
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 2rem; }
.model { padding: 1.5rem 0 1.75rem; border-top: 2px solid rgba(255, 255, 255, .18); }
.model h3 { font-size: var(--step-1); }
.model__lead { margin-top: .5rem; color: var(--on-ink); }
.model dl { margin: 1.25rem 0 0; }
.model dl div { padding: .9rem 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.model dt { font-size: var(--step--1); font-weight: 600; color: var(--on-ink-muted); }
.model dd { margin: .25rem 0 0; font-size: .97rem; line-height: 1.5; color: #E6EBF6; }

/* Align the rows of every model card so labels line up across columns */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 601px) {
    .model { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .model dl { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  }
}
.models-foot {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.models-foot p { color: var(--on-ink); font-size: 1.06rem; }

@media (max-width: 1024px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); } .model { margin-bottom: 1rem; } }
@media (max-width: 600px) { .models { grid-template-columns: 1fr; } }

/* ---------- Onboarding steps ---------- */
.steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
  list-style: none; margin: 0; padding: 0; counter-reset: step;
}
.steps li { position: relative; padding-top: 2.5rem; border-top: 2px solid var(--rule); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; top: -1.1rem; left: 0;
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem;
  font-size: .95rem; font-weight: 700; color: var(--signal);
  background: var(--paper); border: 2px solid var(--signal); border-radius: 50%;
}
.steps h3 { font-size: var(--step-1); }
.steps p { margin-top: .5rem; color: var(--slate); }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why GDNET + SLA ---------- */
.why { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.why .section-head { margin-bottom: 0; }

.sla { background: var(--white); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden; }
.sla__head {
  display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1rem;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--rule);
}
.sla__head h3 { font-size: 1.1rem; }
.sla__head p { font-size: var(--step--1); color: var(--slate); }
.table-scroll { overflow-x: auto; }
.sla table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.sla th, .sla td { padding: .9rem 1.15rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.sla thead th { font-size: var(--step--1); font-weight: 600; color: var(--slate); background: var(--paper); }
.sla tbody th { font-weight: 600; white-space: nowrap; }
.sla td:nth-child(3), .sla td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sla__foot { padding: 1rem 1.5rem; font-size: var(--step--1); color: var(--slate); }

@media (max-width: 600px) {
  .sla table { min-width: 0; }
  .sla thead { display: none; }
  .sla table, .sla tbody, .sla th, .sla td { display: block; }
  .sla tr {
    display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem;
    padding: 1rem 1.15rem; border-bottom: 1px solid var(--rule);
  }
  .sla tbody th, .sla td { padding: 0; border: 0; white-space: normal; }
  .sla tbody th, .sla td:nth-child(2) { grid-column: 1 / -1; }
  .sla td:nth-child(2) { color: var(--slate); margin-bottom: .35rem; }
  .sla td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: .8rem; font-weight: 600; color: var(--slate);
  }
}

.pri { display: inline-flex; align-items: center; gap: .5rem; }
.pri::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--slate); }
.pri--1::before { background: #E5484D; }
.pri--2::before { background: #F29D12; }
.pri--3::before { background: var(--signal); }
.pri--4::before { background: #98A2B8; }

.reasons {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem;
  list-style: none; margin: clamp(3rem, 6vw, 4.5rem) 0 0; padding: 0;
}
.reasons li { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.reasons h3 { font-size: 1.1rem; font-weight: 650; font-stretch: 108%; }
.reasons p { margin-top: .45rem; font-size: .98rem; color: var(--slate); }

@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.industries { columns: 3 220px; column-gap: 2.5rem; list-style: none; margin: 0; padding: 0; }
.industries li { break-inside: avoid; padding: .85rem 0; border-bottom: 1px solid var(--rule); font-size: 1.02rem; font-weight: 550; }

/* ---------- CTA band ---------- */
.cta { padding: clamp(3.5rem, 7vw, 5.5rem) 0; background: var(--signal); color: #fff; }
.cta__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 2rem 4rem; align-items: center; }
.cta h2 { max-width: 22ch; font-size: var(--step-3); }
.cta p { max-width: 52ch; margin-top: 1rem; font-size: var(--step-1); line-height: 1.5; color: #DCE5FF; }
.cta__actions { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; }

@media (max-width: 860px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.site-footer { padding: clamp(3.5rem, 6vw, 5rem) 0 0; background: var(--ink); color: var(--on-ink); font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr .9fr 1.1fr; gap: 2.5rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand__sub { color: var(--on-ink-muted); }
.site-footer__about { max-width: 34ch; margin-top: 1rem; line-height: 1.55; }
.site-footer__title { margin-bottom: 1rem; font-size: .95rem; font-weight: 600; font-stretch: 108%; color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem;
  margin-top: 3rem; padding: 1.4rem 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: var(--step--1); color: var(--on-ink-muted);
}

@media (max-width: 960px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { padding-bottom: 5.5rem; }
}

/* ---------- Floating WhatsApp button ---------- */
.chat-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.15rem .8rem 1rem;
  font-size: .95rem; font-weight: 600; color: #fff; text-decoration: none;
  background: #128C4A; border-radius: 999px;
  box-shadow: 0 12px 28px -12px rgba(13, 23, 51, .55);
}
.chat-float:hover { background: #0E7A40; color: #fff; }
.chat-float svg { width: 20px; height: 20px; }
@media (max-width: 640px) {
  .chat-float { padding: .9rem; }
  .chat-float__label { display: none; }
}

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background-color: var(--paper);
  background-image: var(--dots);
  background-size: 24px 24px;
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.2rem, 1.35rem + 3.2vw, 3.75rem);
  font-stretch: 118%;
  line-height: 1.04;
  letter-spacing: -.02em;
}
.page-hero .lede { max-width: 58ch; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.svc-nav__title { margin-bottom: .75rem; font-size: var(--step--1); font-weight: 600; color: var(--slate); }
.svc-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.svc-nav a {
  display: block; margin-left: -1px; padding: .5rem 0 .5rem 1rem;
  font-size: .95rem; line-height: 1.35; color: var(--slate); text-decoration: none;
  border-left: 2px solid transparent;
}
.svc-nav a:hover { color: var(--ink); }
.svc-nav a[aria-current="true"] { color: var(--signal); font-weight: 600; border-left-color: var(--signal); }

.svc { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.svc + .svc { padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--rule); }
.svc h2 { max-width: 24ch; font-size: var(--step-3); }
.svc__intro { max-width: 62ch; margin-top: 1rem; font-size: var(--step-1); line-height: 1.55; color: var(--slate); }

.outcomes { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.outcomes li {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .85rem .4rem .7rem;
  font-size: .9rem; font-weight: 550; color: var(--ink-2);
  background: var(--paper); border-radius: 999px;
}

.offerings {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem;
  list-style: none; margin: 2.25rem 0 0; padding: 0;
}
.offerings li { padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.offerings h3 { font-size: 1.06rem; font-weight: 650; font-stretch: 105%; line-height: 1.3; }
.offerings p { margin-top: .4rem; font-size: .97rem; line-height: 1.55; color: var(--slate); }
.svc__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

@media (max-width: 900px) {
  .svc-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc-nav {
    top: var(--header-h); z-index: 20;
    margin: 0 -1.25rem; padding: 0 1.25rem;
    background: var(--white);
  }
  .svc-nav__title { display: none; }
  .svc-nav ul { display: flex; gap: 1.25rem; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--rule); }
  .svc-nav a { margin: 0 0 -1px; padding: .85rem 0; white-space: nowrap; border-left: 0; border-bottom: 2px solid transparent; }
  .svc-nav a[aria-current="true"] { border-bottom-color: var(--signal); }
  .offerings { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-layout h2 { font-size: var(--step-2); margin-bottom: 1.5rem; }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 600; }
.field .opt { font-size: .85rem; font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background-color: var(--white);
  border: 1.5px solid var(--rule); border-radius: 10px;
  transition: border-color .15s, box-shadow .15s;
}
.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%2356627A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--signal); box-shadow: 0 0 0 4px rgba(36, 88, 245, .18);
}
.form__footer { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: .25rem; }
.form__note { font-size: var(--step--1); color: var(--slate); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { grid-column: 1 / -1; padding: 1rem 1.15rem; font-weight: 500; border: 1px solid; border-radius: 10px; }
.form-status[data-state="success"] { background: #E7F8F1; border-color: #9FE3C9; color: #0B5E45; }
.form-status[data-state="error"] { background: #FDEEEE; border-color: #F3B4B6; color: #8F1D21; }

.contact-panel { padding: clamp(1.75rem, 3vw, 2.5rem); background: var(--ink); color: var(--on-ink); border-radius: 18px; }
.contact-panel h2 { margin-bottom: 0; font-size: var(--step-1); color: #fff; }
.contact-panel dl { margin: 1.25rem 0 0; }
.contact-panel dl div { padding: .9rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.contact-panel dt { font-size: var(--step--1); font-weight: 600; color: var(--on-ink-muted); }
.contact-panel dd { margin: .2rem 0 0; color: #fff; }
.contact-panel a { color: #fff; }
.contact-panel__section { margin-top: 2.25rem; }

.next-steps { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: n; }
.next-steps li { display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; padding: .55rem 0; counter-increment: n; }
.next-steps li::before {
  content: counter(n);
  display: grid; place-items: center; width: 1.75rem; height: 1.75rem;
  font-size: .85rem; font-weight: 700; color: var(--uplink-light);
  border: 1.5px solid var(--uplink-light); border-radius: 50%;
}

@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound h1 { max-width: 18ch; font-size: var(--step-3); }

/* ---------- Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topo-flow { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media print {
  .utility, .site-header, .chat-float, .cta, .site-footer { display: none; }
}
