/* =========================================================
   Wholesalecomms — Blue & White Brand Refresh
   Shared stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---------- Brand tokens ---------- */
:root {
  /* Brand palette — pulled from the WSC logo */
  --navy:        #0B2347;        /* deep brand blue */
  --navy-deep:   #061838;        /* even deeper for footer / hero shadows */
  --navy-soft:   #143A6B;
  --sky:         #1FB5E0;        /* logo cyan / accent */
  --sky-bright:  #5DD0EE;        /* lighter cyan for highlights */
  --sky-deep:    #1296BC;        /* deeper teal-blue */
  --sky-pale:    #E3F4FB;        /* very pale blue tint */
  --ice:         #F4F8FC;        /* off-white surface */
  --paper:       #FFFFFF;
  --ink:         #0E1F3B;
  --ink-soft:    #4A5874;
  --ink-muted:   #8290A8;

  --line:        rgba(11, 35, 71, 0.10);
  --line-strong: rgba(11, 35, 71, 0.18);

  /* Type */
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Effects */
  --shadow-sm: 0 2px 6px rgba(11, 35, 71, 0.06);
  --shadow-md: 0 14px 34px -12px rgba(11, 35, 71, 0.22);
  --shadow-lg: 0 30px 60px -20px rgba(11, 35, 71, 0.28);
  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Aliases — keep older variable names working for any inline gradients */
  --coral: var(--sky);
  --amber: var(--sky-bright);
  --sage:  var(--sky-deep);
  --coral-pale: var(--sky-pale);
  --sage-pale:  #DCEEF6;
  --amber-pale: #E8F6FB;
  --cream: var(--ice);
  --cream-deep: var(--sky-pale);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw + 0.5rem, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.6rem, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1vw + 0.9rem, 1.55rem); font-family: var(--sans); font-weight: 700; letter-spacing: -0.005em; }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- Layout ---------- */
.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(820px, 92%); margin: 0 auto; }
section { padding: clamp(64px, 8vw, 120px) 0; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: #DDE7F4;
  font-size: 0.86rem;
  padding: 9px 0;
}
.topbar .container { display: flex; gap: 24px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: #DDE7F4; opacity: 0.92; }
.topbar a:hover { opacity: 1; color: var(--sky-bright); }
.topbar svg { width: 16px; height: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex; gap: 4px;
  align-items: center;
}
.nav-links a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.97rem;
  color: rgba(255,255,255,0.78);
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active { color: var(--sky-bright); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sky-bright); transform: translateX(-50%);
}

/* dropdown */
.has-menu { position: relative; }
.has-menu > a::after { content: " ▾"; opacity: 0.6; font-size: 0.75em; }
/* Transparent bridge across the visual gap so the menu stays open while
   the cursor travels from the parent link down to the dropdown. */
.has-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}
.menu {
  position: absolute; top: 100%; left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  min-width: 250px;
  box-shadow: var(--shadow-md);
  display: none;
  margin-top: 8px;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
.menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
}
.menu a:hover { background: var(--sky-pale); color: var(--sky-deep); }
.menu a small { display: block; color: var(--ink-muted); font-weight: 400; font-size: 0.8rem; margin-top: 2px; }

.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 12px 26px -10px rgba(11, 35, 71, 0.5);
}
.btn-primary:hover { background: var(--sky-deep); transform: translateY(-1px); }
.btn-coral, .btn-sky {
  background: var(--sky);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(31, 181, 224, 0.6);
}
.btn-coral:hover, .btn-sky:hover { background: var(--sky-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn-link {
  color: var(--sky-deep);
  font-weight: 600;
}
.btn-link:hover { color: var(--ink); }
.btn-link::after { content: " →"; transition: transform .2s ease; display: inline-block; }
.btn-link:hover::after { transform: translateX(4px); }

/* ---------- Eyebrow / pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sky-pale);
  color: var(--sky-deep);
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow.alt { background: rgba(11, 35, 71, 0.07); color: var(--navy); }
.eyebrow.amber { background: #DCEEF6; color: var(--sky-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(31, 181, 224, 0.16), transparent 60%),
    radial-gradient(45% 45% at 5% 20%, rgba(11, 35, 71, 0.06), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--ice) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.4em; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--sky-deep) 0%, var(--sky) 60%, var(--sky-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta {
  display: flex; gap: 30px; margin-top: 38px;
  flex-wrap: wrap;
}
.hero-meta .stat strong {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta .stat span {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 6px;
  display: block;
}

/* Hero visual */
.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
.hero-card {
  position: absolute;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  border: 1px solid var(--line);
}
.hero-card .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(31, 181, 224, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1;} 50% { transform: scale(1.2); opacity: 0.7;} }
@keyframes float { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

.hero-card.c1 { top: 4%; left: -4%; animation: float 6s ease-in-out infinite; }
.hero-card.c2 { bottom: 18%; right: -2%; animation: float 7s ease-in-out infinite 1.5s; }
.hero-card.c3 { bottom: 0%; left: 10%; animation: float 8s ease-in-out infinite 0.8s; }
.hero-card.c4 { top: 12%; right: -2%; animation: float 7.5s ease-in-out infinite 2.2s; }

.hero-blob {
  position: absolute;
  inset: 8% 8% 8% 8%;
  background: linear-gradient(140deg, var(--sky-deep) 0%, var(--sky) 50%, var(--sky-bright) 100%);
  border-radius: 50% 42% 58% 50% / 50% 60% 40% 50%;
  box-shadow: 0 30px 70px -20px rgba(31, 181, 224, 0.55), inset 0 -20px 60px rgba(11, 35, 71, 0.15);
  animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 50% 42% 58% 50% / 50% 60% 40% 50%; }
  50% { border-radius: 42% 58% 45% 55% / 55% 45% 55% 45%; }
}
.hero-blob::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(255,255,255,0.55);
  border-radius: inherit;
}
.hero-blob-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}
.hero-blob-icon svg { width: 50%; height: 50%; opacity: 0.95; }

/* ---------- Promise strip ---------- */
.promise-strip {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.promise-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
}
.promise-row .item {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.94rem;
}
.promise-row .item svg { width: 22px; height: 22px; color: var(--sky); }

/* ---------- Section header ---------- */
.section-head {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end;
  margin-bottom: 48px;
}
.section-head .lead { margin-top: 16px; }
@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ---------- Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  min-height: 280px;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sky);
}
.service-card .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--sky-pale);
  color: var(--sky-deep);
  margin-bottom: 18px;
}
.service-card .icon svg { width: 28px; height: 28px; }
.service-card.alt .icon { background: rgba(11, 35, 71, 0.08); color: var(--navy); }
.service-card.amber .icon { background: #DCEEF6; color: var(--sky-deep); }
.service-card.navy .icon { background: var(--navy); color: var(--sky-bright); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; margin-bottom: 16px; }
.service-card .more {
  margin-top: auto;
  color: var(--sky-deep);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card:hover .more { color: var(--ink); }
.service-card .more::after { content: "→"; transition: transform .2s ease; }
.service-card:hover .more::after { transform: translateX(3px); }

/* ---------- Promise / values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value {
  background: var(--paper);
  padding: 36px 30px;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid var(--line);
}
.value .num {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--sky);
  margin-bottom: 8px;
  font-weight: 600;
}
.value h3 { margin-bottom: 8px; }
.value p { font-size: 0.96rem; margin: 0; }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-art {
  background: linear-gradient(140deg, var(--sky-pale) 0%, #F8FCFE 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  padding: 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.split-art .ring {
  position: absolute; border-radius: 50%;
  border: 1.5px dashed rgba(11, 35, 71, 0.18);
}
.split-art .ring.r1 { inset: 10%; }
.split-art .ring.r2 { inset: 22%; }
.split-art .ring.r3 { inset: 34%; }
.split-art .center {
  position: absolute; inset: 38% 38%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-deep), var(--sky-bright));
  box-shadow: 0 14px 28px -8px rgba(31, 181, 224, 0.5);
}
.split-art .node {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--sky);
}
.split-art .node.n1 { top: 12%; left: 50%; }
.split-art .node.n2 { top: 50%; right: 8%; }
.split-art .node.n3 { bottom: 16%; left: 22%; }
.split-art .node.n4 { top: 30%; left: 14%; }

.split-content ul {
  list-style: none; padding: 0; margin: 26px 0 30px;
  display: grid; gap: 14px;
}
.split-content li {
  display: flex; align-items: flex-start; gap: 12px;
  font-weight: 500; color: var(--ink);
}
.split-content li svg {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: var(--sky);
  margin-top: 2px;
}

/* Reverse modifier */
.split.reverse .split-art { order: 2; }

/* ---------- Tech list ---------- */
.tech-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.tech {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}
.tech:hover { transform: translateY(-3px); border-color: var(--sky); }
.tech .badge {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sky-pale); color: var(--sky-deep);
  margin-bottom: 14px; font-weight: 800; font-size: 1rem; letter-spacing: 0.02em;
}
.tech h4 { margin-bottom: 6px; }
.tech p { margin: 0; font-size: 0.92rem; }

/* ---------- CTA banner ---------- */
.cta {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-soft) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 70px) clamp(30px, 5vw, 70px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: -30%;
  background:
    radial-gradient(40% 40% at 80% 20%, rgba(93, 208, 238, 0.4), transparent 70%),
    radial-gradient(40% 40% at 10% 80%, rgba(31, 181, 224, 0.35), transparent 70%);
  pointer-events: none;
}
.cta-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center;
  position: relative;
}
.cta h2 { color: #fff; }
.cta p { color: #C9D6E6; max-width: 50ch; margin: 0; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.cta .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50% 70% at 50% 0%, rgba(31, 181, 224, 0.16), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--ice) 100%);
}
.page-hero .container { position: relative; z-index: 1; }
.crumbs {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--ink-muted); margin-bottom: 22px;
}
.crumbs a:hover { color: var(--sky-deep); }
.crumbs span { color: var(--ink); font-weight: 600; }
.page-hero h1 { max-width: 16ch; margin-bottom: 18px; }
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--sky-deep) 0%, var(--sky) 60%, var(--sky-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .lead { max-width: 60ch; }

/* ---------- Side card ---------- */
.with-aside {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.aside {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  position: sticky; top: 100px;
}
.aside h4 { margin-bottom: 14px; }
.aside .row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.aside .row:last-of-type { border-bottom: none; }
.aside .row svg { width: 22px; height: 22px; color: var(--sky); flex-shrink: 0; }
.aside .row strong { display: block; color: var(--ink); }
.aside .row span { font-size: 0.86rem; color: var(--ink-muted); display: block; }
.aside .btn { margin-top: 20px; width: 100%; justify-content: center; }
.aside-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; gap: 8px;
}
.aside-list li a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 12px;
  background: var(--ice); color: var(--ink);
  font-size: 0.92rem; font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.aside-list li a:hover { background: var(--sky-pale); color: var(--sky-deep); }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 48px; }
.prose h3 { margin-top: 32px; font-family: var(--display); font-weight: 600; }
.prose p { font-size: 1.05rem; }
.prose a { color: var(--sky-deep); border-bottom: 1px solid currentColor; }
.prose a:hover { color: var(--ink); }
.prose ul { padding-left: 1.2em; }
.prose ul li { margin-bottom: 10px; color: var(--ink-soft); }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
}
/* Stop long unbreakable strings (emails, URLs) from forcing the grid wider
   than the viewport on phones. */
.contact-grid > * { min-width: 0; }
.contact-info p, .contact-info a { overflow-wrap: anywhere; }
.contact-info .info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: 16px;
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-info .info-card .ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--sky-pale); color: var(--sky-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.contact-info .info-card.alt .ico { background: rgba(11, 35, 71, 0.08); color: var(--navy); }
.contact-info .info-card.amber .ico { background: #DCEEF6; color: var(--sky-deep); }
.contact-info h4 { margin-bottom: 4px; }
.contact-info p { margin: 0; font-size: 0.96rem; }
.contact-info a { color: var(--sky-deep); font-weight: 600; }

form.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600; font-size: 0.9rem;
  color: var(--ink); margin-bottom: 8px;
}
.field label .req { color: var(--sky-deep); }
.field input, .field textarea {
  width: 100%;
  background: var(--ice);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(31, 181, 224, 0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
form.contact-form button { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq {
  display: grid; gap: 14px;
  max-width: 760px; margin: 0 auto;
}
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--sky); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem; color: var(--sky-deep);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 14px 0 0; }

/* ---------- Big values band background helper ---------- */
.values-band {
  background: var(--sky-pale);
  border-radius: var(--radius-xl);
  margin: 0 auto;
  max-width: 1280px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: #BDC8DA;
  padding: 80px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer h4 {
  color: #fff; font-family: var(--sans); font-weight: 700;
  text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.footer a { color: #BDC8DA; display: block; padding: 5px 0; font-size: 0.94rem; }
.footer a:hover { color: var(--sky-bright); }
.footer .brand { color: #fff; }
.footer-about p { color: #98A4BA; max-width: 32ch; margin-top: 16px; font-size: 0.94rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 60px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: #76829A;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .footer-grid > div:nth-child(4) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  /* Switch to hamburger nav earlier — too many links to fit comfortably */
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
    flex-direction: column; padding: 12px; gap: 4px;
    max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; width: 100%; }
  .has-menu { width: 100%; }
  .has-menu > a::after { content: ""; }
  .has-menu::after { display: none; }  /* no hover bridge needed on mobile */
  .menu {
    position: static; display: block;
    background: transparent; border: none; box-shadow: none;
    padding: 4px 0 4px 14px; margin-top: 4px; min-width: 0;
  }
  .menu a { color: rgba(255,255,255,0.78); padding: 8px 12px; }
  .menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .menu a small { color: rgba(255,255,255,0.55); }
  .menu-toggle {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 12px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
  }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Give hero-art an explicit width so aspect-ratio actually computes a
     height — without this the floating-bubble container collapses to 0px
     and the bubbles pile on top of the stats above. */
  .hero-art { margin: 0 auto; width: 100%; max-width: 400px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-art { order: 0; }
  .with-aside { grid-template-columns: 1fr; }
  .aside { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .values { grid-template-columns: 1fr; }
  .tech-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: clamp(48px, 12vw, 80px) 0; }
  .container, .container-narrow { width: min(1180px, 88%); }

  /* Top bar — stack contact info cleanly */
  .topbar { font-size: 0.78rem; padding: 8px 0; }
  .topbar .container { justify-content: center; gap: 10px 16px; }
  .topbar a { gap: 6px; }

  /* Nav — hide inline quote button (already in menu), trim padding */
  .nav { padding: 12px 0; gap: 12px; }
  .brand-logo { height: 30px; }
  .site-header .nav .btn-coral { display: none; }

  /* Hero — tighter, no off-canvas cards */
  .hero { padding-top: 40px; padding-bottom: 60px; }
  .hero-cta { gap: 10px; margin-top: 22px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-meta { gap: 18px 24px; margin-top: 28px; }
  .hero-meta .stat strong { font-size: 1.6rem; }
  .hero-art { width: 100%; max-width: 280px; aspect-ratio: 1 / 1; }
  .hero-card { padding: 12px 14px; font-size: 0.82rem; gap: 8px; }
  .hero-card.c1 { left: 0; }
  .hero-card.c2 { right: 0; }
  .hero-card.c3 { left: 6%; }
  .hero-card.c4 { right: 0; top: 8%; }

  /* Promise strip — stack as a clean column */
  .promise-strip { padding: 18px 0; }
  .promise-row { gap: 12px 18px; justify-content: flex-start; }
  .promise-row .item { font-size: 0.88rem; }

  /* Eyebrow / section head */
  .eyebrow { font-size: 0.74rem; padding: 6px 12px; }
  .section-head { margin-bottom: 32px; }
  .lead { font-size: 1.02rem; }

  /* Service cards */
  .service-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { min-height: 0; padding: 24px 22px; }

  /* Values */
  .value { padding: 28px 24px; }

  /* FTTP section */
  .fttp-grid { gap: 32px; }
  .fttp-art { min-height: 280px; }
  .fttp-card { padding: 22px 22px; width: min(100%, 320px); }
  .fttp-speeds strong { font-size: 1.7rem; }
  .fttp-steps li { padding: 16px 16px; gap: 12px; }
  .fttp-steps li span { width: 32px; height: 32px; font-size: 0.95rem; }
  .fttp-cta { gap: 10px; }
  .fttp-cta .btn { width: 100%; justify-content: center; }

  /* Reviews carousel */
  .reviews-section .reviews-head { margin-bottom: 28px; gap: 18px; }
  .rating-badge { padding: 10px 16px; gap: 12px; }
  .rating-meta strong { font-size: 1.05rem; }
  .carousel-track { min-height: 0; }
  .review-card { padding: 36px 22px 26px; position: relative; }
  .review-card:not(.active) { display: none; }
  .review-body { font-size: 1.05rem; margin-bottom: 22px; }
  .quote-mark { font-size: 6.5rem; top: 4px; left: 16px; }
  .carousel-dots { margin-top: 20px; }

  /* CTA banner */
  .cta { padding: 36px 24px; border-radius: var(--radius-lg); }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; justify-content: center; }

  /* Page hero (sub pages) */
  .page-hero { padding: 50px 0 36px; }
  .page-hero h1 { margin-bottom: 14px; }

  /* Contact form */
  form.contact-form { padding: 26px 22px; }
  .contact-info .info-card { padding: 22px 20px; gap: 14px; }
  .contact-info .info-card .ico { width: 42px; height: 42px; }

  /* Aside */
  .aside { padding: 26px 24px; }

  /* FAQ */
  .faq details { padding: 16px 20px; }
  .faq summary { font-size: 0.96rem; gap: 12px; }

  /* Footer */
  .footer { padding: 56px 0 24px; margin-top: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }

  /* Tap targets — give buttons & nav links a sensible minimum */
  .btn { padding: 13px 20px; }

  /* Decorative ring/circle artwork — hide on phones, it just adds empty space */
  .split-art { display: none; }
}

@media (max-width: 400px) {
  /* Squeeze for narrow phones */
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .container, .container-narrow { width: min(1180px, 92%); }
  .topbar a { font-size: 0.74rem; }
  .hero-meta .stat strong { font-size: 1.4rem; }
  .review-body { font-size: 1rem; }
}

/* ---------- FTTP eligibility ---------- */
.fttp-section {
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(31, 181, 224, 0.10), transparent 60%),
    radial-gradient(50% 50% at 0% 100%, rgba(11, 35, 71, 0.05), transparent 60%),
    var(--paper);
}
.fttp-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.fttp-content h2 { margin-bottom: 18px; }
.fttp-content > p { font-size: 1.05rem; }
.fttp-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; gap: 12px;
}
.fttp-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-weight: 500; color: var(--ink);
}
.fttp-list li svg {
  flex-shrink: 0; width: 22px; height: 22px;
  color: var(--sky-deep); margin-top: 2px;
}
.fttp-steps {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: grid; gap: 14px;
  counter-reset: step;
}
.fttp-steps li {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.fttp-steps li span {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
}
.fttp-steps li strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.fttp-steps li div { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; }
.fttp-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* FTTP visual */
.fttp-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.fttp-bg-blob {
  position: absolute;
  inset: 5% 5% 5% 5%;
  background: linear-gradient(140deg, var(--sky-deep) 0%, var(--sky) 60%, var(--sky-bright) 100%);
  border-radius: 46% 54% 50% 50% / 50% 46% 54% 50%;
  box-shadow: 0 30px 70px -20px rgba(31, 181, 224, 0.55);
  animation: morph 14s ease-in-out infinite;
  opacity: 0.95;
  z-index: 0;
}
.fttp-card {
  position: relative;
  z-index: 1;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  width: min(100%, 360px);
  box-shadow: 0 24px 50px -16px rgba(11, 35, 71, 0.35);
  border: 1px solid var(--line);
}
.fttp-card-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
}
.fttp-pill {
  background: var(--navy);
  color: var(--sky-bright);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
}
.fttp-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.86rem;
  color: var(--sage, #2C8C5E);
}
.fttp-status .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2C8C5E;
  box-shadow: 0 0 0 4px rgba(44, 140, 94, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.fttp-speeds {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 18px;
}
.fttp-speeds strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.1rem;
  color: var(--ink);
  line-height: 1;
}
.fttp-speeds span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.82rem;
  margin-top: 4px;
}
.fttp-meter {
  height: 8px; border-radius: 999px;
  background: var(--ice);
  overflow: hidden;
  margin-bottom: 14px;
}
.fttp-meter-fill {
  height: 100%; width: 92%;
  background: linear-gradient(90deg, var(--sky-deep), var(--sky-bright));
  border-radius: inherit;
  animation: fttpGrow 2.2s ease-out;
}
@keyframes fttpGrow { from { width: 0; } to { width: 92%; } }
.fttp-meta { color: var(--ink-muted); font-size: 0.85rem; }

@media (max-width: 860px) {
  .fttp-grid { grid-template-columns: 1fr; gap: 40px; }
  .fttp-art { min-height: 340px; }
}

/* ---------- Reviews carousel ---------- */
.reviews-section {
  background:
    radial-gradient(60% 60% at 90% 0%, rgba(31, 181, 224, 0.10), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(11, 35, 71, 0.05), transparent 60%),
    var(--ice);
}
.reviews-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 30px; margin-bottom: 48px; flex-wrap: wrap;
}
.reviews-head h2 { margin-bottom: 0; }
.rating-badge {
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); border: 1px solid var(--line);
  padding: 14px 22px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.rating-stars { display: inline-flex; gap: 2px; color: #F4B400; flex-shrink: 0; }
.rating-stars svg { width: 18px; height: 18px; flex: 0 0 18px; }
.rating-meta strong {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 1.2rem; color: var(--ink); line-height: 1;
}
.rating-meta span { font-size: 0.78rem; color: var(--ink-muted); }

.reviews-carousel {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 16px;
  align-items: stretch;
}
.carousel-track {
  position: relative;
  min-height: 360px;
}
.review-card {
  position: absolute; inset: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 50px clamp(28px, 5vw, 60px) 36px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
  display: flex; flex-direction: column;
}
.review-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 8px; left: clamp(20px, 4vw, 40px);
  font-family: var(--display); font-weight: 700;
  font-size: clamp(7rem, 12vw, 11rem);
  line-height: 0.6;
  color: var(--sky-pale);
  pointer-events: none;
  user-select: none;
}
.stars {
  display: inline-flex; gap: 4px; color: #F4B400;
  margin-bottom: 18px; position: relative; z-index: 1;
  align-self: flex-start;
}
.stars svg { width: 22px; height: 22px; flex: 0 0 22px; }
.review-body {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.4vw + 0.6rem, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 28px;
  font-weight: 500;
  flex: 1;
  position: relative; z-index: 1;
}
.review-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  position: relative; z-index: 1;
}
.review-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 1rem;
  flex-shrink: 0;
}
.review-author strong {
  display: block; color: var(--ink); font-size: 0.98rem;
}
.review-author span {
  display: block; color: var(--ink-muted); font-size: 0.85rem;
  margin-top: 2px;
}

.carousel-arrow {
  width: 48px; height: 48px;
  align-self: center;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--navy);
  display: grid; place-items: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  box-shadow: var(--shadow-sm);
}
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: scale(1.05); }
.carousel-arrow:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.carousel-dots {
  grid-column: 1 / -1;
  display: flex; justify-content: center; gap: 10px;
  margin-top: 28px;
}
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%;
