/* ==========================================================================
   Ibex Net — static site styles
   ========================================================================== */

/* ==========================================================================
   Palette — a lifted "light dark": slate-navy rather than near-black, with a
   vivid cyan-to-indigo accent so the page reads bright without going white.
   Every colour below is a token; the rest of the stylesheet only references
   these, so a re-skin means editing this block alone.
   ========================================================================== */
:root {
  /* Brand blues sampled from the ibexnet logo: navy #203070, blue #2060a0 */
  --navy:          #203070;
  --brand-blue:    #2060a0;

  --radius:        16px;
  --radius-sm:     10px;
  --wrap:          1180px;
  --ease:          cubic-bezier(.22, .8, .3, 1);

  color-scheme: dark;

  --bg:            #17243f;
  --bg-alt:        #1d2d50;
  --surface:       #233459;
  --surface-2:     #2c4070;
  --line:          rgba(164, 197, 240, .18);
  --line-strong:   rgba(164, 197, 240, .34);

  --text:          #f1f6fd;
  --text-dim:      #b9c8e2;
  --text-faint:    #91a4c4;

  --accent:        #4fd8ff;
  --accent-2:      #7d8cff;
  --grad:          linear-gradient(120deg, #4fd8ff, #6f7dff);
  --on-accent:     #0a1730;

  --glass:         rgba(255, 255, 255, .05);
  --header-bg:     rgba(23, 36, 63, .80);
  --header-bg-stuck: rgba(23, 36, 63, .96);
  --header-shadow: 0 10px 30px -22px rgba(0, 0, 0, .9);
  --topbar-bg:     linear-gradient(90deg, rgba(79, 216, 255, .14), rgba(125, 140, 255, .12));
  --hero-wash:     linear-gradient(180deg, rgba(23, 36, 63, .52), rgba(23, 36, 63, .93));
  --hero-photo-opacity: .22;
  --map-filter:    grayscale(.25) invert(.9) hue-rotate(180deg);

  --shadow:        0 24px 58px -28px rgba(3, 10, 26, .9);
  --shadow-card:   0 8px 24px -18px rgba(3, 10, 26, .8);

  --tint-05: rgba(79, 216, 255, .06);
  --tint-08: rgba(79, 216, 255, .09);
  --tint-10: rgba(79, 216, 255, .12);
  --tint-16: rgba(79, 216, 255, .17);
  --tint-18: rgba(79, 216, 255, .20);
  --tint-22: rgba(79, 216, 255, .24);
  --tint-24: rgba(79, 216, 255, .28);
  --tint-28: rgba(79, 216, 255, .32);
  --tint-35: rgba(79, 216, 255, .40);
  --tint-45: rgba(79, 216, 255, .52);
  --tint-50: rgba(79, 216, 255, .62);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  font-family: inherit;
}
.btn-primary {
  background: var(--grad); color: var(--on-accent);
  box-shadow: 0 10px 26px -12px rgba(32, 48, 112, .45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px var(--tint-50); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: var(--glass); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-block { width: 100%; }

/* ---------- Utility bar ---------- */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 40px; padding-block: 7px; flex-wrap: wrap;
}
.topbar-tag { color: var(--text-dim); font-weight: 600; }
.topbar-contact { display: flex; align-items: center; gap: 22px; }
.topbar-contact a {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text-dim); font-weight: 600;
  transition: color .2s;
}
.topbar-contact a:hover { color: var(--accent); }
.topbar-contact strong { color: var(--text); font-weight: 700; letter-spacing: .01em; }
.topbar-contact a:hover strong { color: var(--accent); }
.topbar-contact svg {
  width: 15px; height: 15px; flex: none;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); background: var(--header-bg-stuck); box-shadow: var(--header-shadow); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark {
  width: 58px; height: 58px; flex: none; object-fit: contain;
  transition: transform .3s var(--ease), filter .3s var(--ease);
}
.brand:hover .brand-mark { transform: scale(1.04); }
.site-footer .brand-mark { width: 52px; height: 52px; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.05; }
.brand-sub { font-size: .6rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); }
.brand-text { font-weight: 800; font-size: 1.22rem; letter-spacing: -.03em; }
.brand-text .accent {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-name { font-weight: 800; font-size: 1.34rem; letter-spacing: -.03em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .93rem; font-weight: 600; color: var(--text-dim); transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--on-accent); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 88px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: url("../img/cover.jpg") center/cover no-repeat;
  opacity: var(--hero-photo-opacity);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.5) 55%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--hero-wash);
}
.hero > .wrap { position: relative; z-index: 2; }
.hero-glow {
  position: absolute; inset: -30% -10% auto -10%; height: 720px; pointer-events: none;
  background:
    radial-gradient(600px 420px at 22% 30%, var(--tint-28), transparent 70%),
    radial-gradient(520px 380px at 78% 20%, var(--tint-18), transparent 70%);
  filter: blur(6px);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--tint-08); border: 1px solid var(--tint-28);
  color: var(--accent); font-size: .8rem; font-weight: 700; letter-spacing: .02em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--tint-50); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--tint-45); }
  70%  { box-shadow: 0 0 0 10px rgba(32, 96, 160, 0); }
  100% { box-shadow: 0 0 0 0 rgba(32, 96, 160, 0); }
}

.hero h1 { font-size: clamp(2.1rem, 4vw, 3.15rem); margin: 22px 0 20px; }
.lede { font-size: 1.09rem; color: var(--text-dim); max-width: 55ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }

.hero-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li { font-size: .82rem; color: var(--text-faint); display: flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); }

/* Speed card */
.speed-card {
  background: linear-gradient(165deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  box-shadow: var(--shadow);
}
.speed-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px;
  font-size: .74rem; font-weight: 700;
}
.pill-live { background: var(--tint-08); color: var(--accent); border: 1px solid var(--tint-24); }
.speed-node { font-size: .74rem; color: var(--text-faint); font-weight: 600; }

.speed-readout { display: flex; align-items: baseline; gap: 10px; }
.speed-num { font-size: 3.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.speed-unit { font-size: 1.1rem; font-weight: 700; color: var(--text-dim); }
.speed-label { font-size: .82rem; color: var(--text-faint); margin-top: 6px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 84px; margin: 24px 0 20px; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.bar i {
  display: block; width: 100%; height: var(--h); border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, rgba(47, 123, 196, .85), var(--tint-35));
  animation: sway 3.2s var(--ease) infinite alternate;
}
.bar:nth-child(2n) i { animation-delay: .35s; }
.bar:nth-child(3n) i { animation-delay: .7s; }
@keyframes sway { from { transform: scaleY(.72); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }

.speed-foot { display: flex; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.speed-foot div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.speed-foot span { font-size: .72rem; color: var(--text-faint); }
.speed-foot strong { font-size: .95rem; }

/* ---------- Stats ---------- */
.stats { border-block: 1px solid var(--line); background: var(--bg-alt); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 42px; }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 800; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .85rem; color: var(--text-faint); }

/* ---------- Section shell ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head-left { margin-inline: 0; text-align: left; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--text-dim); font-size: 1.02rem; }
.section-head-left p + p { margin-top: 16px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--surface-2); }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--tint-10); border: 1px solid var(--tint-24);
}
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: .93rem; }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 24px; font-size: .875rem; color: var(--text-dim); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan-featured {
  border-color: var(--tint-45);
  background: linear-gradient(170deg, var(--surface-2), var(--surface));
  box-shadow: var(--shadow); position: relative;
}
.plan-flag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: var(--on-accent); font-size: .7rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap; letter-spacing: .02em;
}
.plan h3 { font-size: 1.12rem; }
.plan-for { color: var(--text-faint); font-size: .82rem; margin-top: 6px; min-height: 2.6em; }
.plan-speed { display: flex; align-items: baseline; gap: 7px; margin: 18px 0 4px; }
.plan-speed strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-speed span { color: var(--text-dim); font-size: .9rem; font-weight: 600; }
.plan-price { font-size: .88rem; color: var(--accent); font-weight: 700; min-height: 1.5em; }
.plan .ticks { margin-bottom: 24px; }
.plan .btn { margin-top: auto; }
.plans-note { margin-top: 26px; text-align: center; font-size: .82rem; color: var(--text-faint); }

/* ---------- Why / coverage ---------- */
.why-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 56px; align-items: start; }
.why-copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.35rem); margin-bottom: 16px; }
.why-copy > p { color: var(--text-dim); max-width: 60ch; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 38px; }
.why-item h4 { font-size: 1rem; margin-bottom: 8px; padding-left: 16px; position: relative; }
.why-item h4::before {
  content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 3px; border-radius: 3px; background: var(--grad);
}
.why-item p { color: var(--text-dim); font-size: .9rem; padding-left: 16px; }

.coverage {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  position: sticky; top: 100px;
}
.coverage h3 { font-size: 1.1rem; }
.coverage-sub { color: var(--text-faint); font-size: .84rem; margin-top: 4px; }
.coverage-list { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.coverage-list li {
  font-size: .84rem; color: var(--text-dim); background: var(--tint-08);
  border: 1px solid var(--tint-18); border-radius: 8px; padding: 8px 10px; text-align: center;
}
.coverage-cta { border-top: 1px solid var(--line); padding-top: 20px; }
.coverage-cta p { font-size: .86rem; color: var(--text-dim); margin-bottom: 12px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.facts { margin: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font-size: .8rem; color: var(--text-faint); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; font-size: .92rem; }
.facts a { color: var(--accent); text-decoration: none; }
.facts a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.75rem, 3.4vw, 2.35rem); margin-bottom: 16px; }
.contact-info > p { color: var(--text-dim); }
.contact-list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list svg {
  width: 20px; height: 20px; flex: none; margin-top: 3px;
  fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list strong { display: block; font-size: .95rem; margin-bottom: 3px; }
.contact-list span { color: var(--text-dim); font-size: .88rem; }
.contact-list a { color: var(--text-dim); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.contact-form h3 { font-size: 1.15rem; margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .82rem; font-weight: 700; color: var(--text-dim); }
.field .opt { font-weight: 500; color: var(--text-faint); }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; color: var(--text); font-size: .93rem; font-family: inherit; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint-16);
}
.field input.invalid, .field select.invalid { border-color: #ff6b6b; }
.err { color: #ff8f8f; font-size: .76rem; min-height: 0; }
.form-captcha { margin-bottom: 16px; min-height: 65px; }
.form-note { margin-top: 14px; font-size: .84rem; color: var(--accent); text-align: center; }
.form-note.error { color: #ff8f8f; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-top: 62px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand p { color: var(--text-faint); font-size: .88rem; margin: 14px 0 18px; max-width: 34ch; }
.linkedin {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px;
  border: 1px solid var(--line); transition: border-color .25s, background .25s;
}
.linkedin svg { width: 17px; height: 17px; fill: var(--text-dim); }
.linkedin:hover { border-color: var(--accent); background: var(--tint-08); }
.linkedin:hover svg { fill: var(--accent); }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text); margin-bottom: 4px; }
.footer-col a { color: var(--text-faint); font-size: .88rem; text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { color: var(--text-faint); font-size: .88rem; }

.footer-bottom {
  border-top: 1px solid var(--line); padding-block: 22px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: var(--text-faint); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* ---------- Page hero ---------- */
.page-hero { position: relative; padding: 74px 0 62px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-hero .hero-glow { inset: -60% -20% auto -20%; height: 520px; }
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 18px 0 16px; }
.page-hero p { color: var(--text-dim); font-size: 1.05rem; max-width: 62ch; }

.crumbs { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--text-faint); }
.crumbs a { text-decoration: none; color: var(--text-faint); transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { opacity: .5; }

/* Active nav item */
.nav a.active { color: var(--accent); }
.nav a.active.nav-cta { color: var(--on-accent); }

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid; grid-template-columns: 320px 1fr; gap: 48px;
  padding: 52px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 96px;
}
.service-row:last-child { border-bottom: 0; }
.service-aside { position: sticky; top: 100px; align-self: start; }
.service-aside .card-icon { width: 54px; height: 54px; border-radius: 15px; }
.service-aside .card-icon svg { width: 26px; height: 26px; }
.service-aside h2 { font-size: 1.5rem; margin: 16px 0 10px; }
.service-aside p { color: var(--text-dim); font-size: .92rem; }
.service-tag {
  display: inline-block; margin-top: 16px; font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2);
}

.service-body { display: grid; gap: 26px; }
.service-body > p { color: var(--text-dim); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.feature:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.feature h4 { font-size: .96rem; margin-bottom: 7px; }
.feature p { font-size: .86rem; color: var(--text-dim); }

/* Quick jump chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); background: var(--glass);
  font-size: .84rem; font-weight: 600; color: var(--text-dim);
  transition: border-color .22s, color .22s, background .22s, transform .22s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Company profile ---------- */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.prose p { color: var(--text-dim); }
.prose p + p { margin-top: 16px; }
.prose h3 { font-size: 1.2rem; margin: 32px 0 12px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pillar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
}
.pillar-num {
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; color: var(--accent); display: block; margin-bottom: 12px;
}
.pillar h3 { font-size: 1.05rem; margin-bottom: 9px; }
.pillar p { color: var(--text-dim); font-size: .89rem; }

.timeline { display: grid; gap: 0; margin-top: 12px; }
.tl-item { display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 0; }
.tl-year { font-weight: 800; color: var(--accent); font-size: .95rem; }
.tl-item h4 { font-size: 1rem; margin-bottom: 6px; }
.tl-item p { color: var(--text-dim); font-size: .89rem; }

/* ---------- Clients ---------- */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.client {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 24px 18px; text-align: center; min-height: 130px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.client:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--surface-2); }
.client-logo {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: var(--on-accent); font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em;
}
.client-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.client-name { font-size: .89rem; font-weight: 700; }
.client-sector { font-size: .74rem; color: var(--text-faint); }

.sector-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.sector {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  background: linear-gradient(160deg, var(--surface), transparent);
}
.sector h3 { font-size: 1.02rem; margin-bottom: 8px; }
.sector p { font-size: .88rem; color: var(--text-dim); }

/* Testimonial */
.quote {
  margin-top: 52px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px; max-width: 860px; margin-inline: auto; text-align: center;
}
.quote blockquote { margin: 0; font-size: 1.12rem; line-height: 1.55; }
.quote figcaption { margin-top: 16px; font-size: .85rem; color: var(--text-faint); }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 46px; }
table.cmp { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9rem; }
table.cmp th, table.cmp td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.cmp thead th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tbody tr:hover { background: var(--tint-05); }
table.cmp td:first-child { font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; padding: 74px 0; text-align: center; border-top: 1px solid var(--line); }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 340px at 50% 0%, var(--tint-22), transparent 70%);
}
.cta-band .wrap { position: relative; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-dim); max-width: 54ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 46px auto 0; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: .96rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--accent); line-height: 1; flex: none;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-dim); font-size: .9rem; padding-bottom: 20px; }

/* ---------- Map ---------- */
.map-embed {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 46px; line-height: 0;
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: var(--map-filter); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .nav a { font-size: .88rem; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .service-row { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .service-aside { position: static; }
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .sector-strip { grid-template-columns: 1fr 1fr; }
  .hero-card { max-width: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .coverage { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .header-inner { height: 72px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-name { font-size: 1.15rem; }
  .topbar-tag { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-contact { gap: 16px; font-size: .8rem; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    /* Solid, not translucent: a backdrop-filter nested inside the header's own
       backdrop-filter fails to composite in Chrome and the panel reads through. */
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px -20px rgba(32, 48, 112, .3);
    max-height: calc(100vh - 72px); overflow-y: auto;
    padding: 8px 24px 22px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav .nav-cta { border-bottom: 0; margin-top: 16px; justify-content: center; }

  .hero { padding: 62px 0 66px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 34px; }
  .cards, .plans { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .sector-strip { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; }
  .quote { padding: 26px 20px; }
  .quote blockquote { font-size: 1rem; }
  .chips { gap: 8px; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .speed-num { font-size: 2.9rem; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: 18px; }
  .topbar-contact a[href^="mailto:"] { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .coverage-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Form extras, thank-you page, utilities
   ========================================================================== */

/* Honeypot — must be reachable by bots but invisible and untabbable for people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-privacy { margin-top: 12px; font-size: .76rem; color: var(--text-faint); text-align: center; }

/* A "learn more" chip sitting at the end of a service card */
.card .chip { margin-top: 18px; }

/* Thank-you page */
.thanks { min-height: 62vh; display: grid; place-items: center; }
.thanks-card {
  max-width: 620px; margin-inline: auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 52px 36px; box-shadow: var(--shadow);
}
.thanks-tick {
  width: 66px; height: 66px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad);
}
.thanks-tick svg { width: 32px; height: 32px; fill: none; stroke: var(--on-accent); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.thanks-card h1 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); margin-bottom: 14px; }
.thanks-card p { color: var(--text-dim); }
.thanks-sub { font-size: .88rem; color: var(--text-faint); margin-top: 10px; margin-bottom: 28px; }

/* Visible only to screen readers */
.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;
}

/* ==========================================================================
   Client logo marquee — continuous left-to-right float
   ========================================================================== */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  /* fade the strip out at both edges instead of cutting it off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee + .marquee { margin-top: 18px; }

.marquee-track {
  display: flex;
  width: max-content;
  gap: 18px;
  /* The track holds two identical halves, so a -50% shift loops seamlessly. */
  animation: marquee-rtl var(--speed, 46s) linear infinite;
}
/* Left-to-right: start shifted and travel back to zero. */
.marquee-ltr .marquee-track { animation-name: marquee-ltr; }

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

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.logo-chip {
  flex: none;
  width: 186px; height: 108px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px -16px rgba(32, 48, 112, .3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.logo-chip img { width: 160px; height: 86px; object-fit: contain; display: block; }
.logo-chip:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px var(--tint-45); }

.marquee-note { margin-top: 22px; text-align: center; font-size: .82rem; color: var(--text-faint); }

/* Static fallback grid for anyone who prefers no motion */
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none; }
}

@media (max-width: 620px) {
  .logo-chip { width: 148px; height: 90px; padding: 12px 14px; }
  .logo-chip img { width: 122px; height: 68px; }
}

/* ==========================================================================
   Leadership team
   ========================================================================== */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
  transition: transform .28s var(--ease), border-color .28s var(--ease);
}
.member:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.member-avatar {
  width: 82px; height: 82px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: var(--on-accent);
  font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em;
}
.member h3 { font-size: 1.08rem; margin-bottom: 5px; }
.member-role { font-size: .85rem; color: var(--accent); font-weight: 700; }

/* Preferred brands */
.brand-block { margin-top: 22px; }
.brand-block h4 {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-faint); margin-bottom: 12px;
}
.brand-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-chips span {
  font-size: .78rem; font-weight: 600; color: var(--text-dim);
  border: 1px solid var(--line); border-radius: 7px; padding: 6px 12px;
  background: var(--glass);
}

@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

.member-photo {
  width: 110px; height: 110px; margin: 0 auto 18px; display: block;
  border-radius: 50%; object-fit: cover;
  background: var(--surface-2);
  border: 2px solid var(--tint-22);
}

/* ==========================================================================
   Leased-line band (plans page)
   ========================================================================== */
.ll-band {
  margin-top: 26px;
  display: grid; grid-template-columns: 1.5fr auto auto; gap: 34px; align-items: center;
  background: linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--tint-28);
  border-radius: var(--radius); padding: 32px 34px;
  box-shadow: var(--shadow);
}
.ll-copy h3 { font-size: 1.3rem; margin: 10px 0 10px; }
.ll-copy p { color: var(--text-dim); font-size: .93rem; max-width: 58ch; }
.ll-points { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
.ll-points li { display: flex; flex-direction: column; gap: 3px; }
.ll-points strong {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ll-points span { font-size: .76rem; color: var(--text-faint); white-space: nowrap; }
.ll-band .btn { white-space: nowrap; }

@media (max-width: 1024px) {
  .ll-band { grid-template-columns: 1fr; gap: 24px; text-align: left; }
  .ll-band .btn { justify-self: start; }
}
@media (max-width: 560px) {
  .ll-band { padding: 26px 22px; }
  .ll-points { flex-wrap: wrap; gap: 20px 26px; }
  .ll-band .btn { width: 100%; }
}

/* ==========================================================================
   Photo gallery
   ========================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.gallery-filters .chip { font-family: inherit; cursor: pointer; }
.gallery-filters .chip.is-active {
  border-color: var(--accent); color: var(--accent);
  background: var(--tint-08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.shot {
  margin: 0; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.shot img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s var(--ease);
}
.shot:not(.shot-empty) { cursor: zoom-in; }
.shot:not(.shot-empty):hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.shot:not(.shot-empty):hover img { transform: scale(1.05); }
.shot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shot figcaption {
  padding: 14px 16px; font-size: .86rem; color: var(--text-dim);
  border-top: 1px solid var(--line);
}

/* Slot waiting on a photograph */
.shot-empty { border-style: dashed; background: transparent; }
.shot-placeholder {
  aspect-ratio: 4 / 3; display: grid; place-content: center; justify-items: center; gap: 12px;
  background: linear-gradient(160deg, var(--tint-05), transparent);
  padding: 20px; text-align: center;
}
.shot-placeholder svg {
  width: 34px; height: 34px; fill: none; stroke: var(--accent);
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: .7;
}
.shot-placeholder span { font-size: .86rem; color: var(--text-faint); font-weight: 600; }
.shot-empty figcaption { color: var(--text-faint); font-style: italic; }

.gallery-note { text-align: center; color: var(--text-faint); font-size: .9rem; margin-top: 30px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px;
  padding: 24px; background: rgba(10, 18, 34, .95);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: lb-in .22s var(--ease);
}
/* A class-level `display` beats the UA rule for [hidden], so restate it. */
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.lb-stage img {
  max-width: 100%; max-height: 76vh; object-fit: contain;
  border-radius: 12px; box-shadow: 0 30px 70px -30px #000;
}
.lb-stage figcaption { color: rgba(255, 255, 255, .82); font-size: .92rem; text-align: center; max-width: 60ch; }

.lb-close, .lb-nav {
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  color: var(--text); border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-family: inherit; line-height: 1;
  transition: background .2s, border-color .2s, transform .2s;
}
.lb-nav { width: 48px; height: 48px; font-size: 1.9rem; flex: none; }
.lb-close { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; font-size: 1.6rem; }
.lb-close:hover, .lb-nav:hover { background: rgba(255, 255, 255, .2); border-color: #fff; transform: scale(1.06); }

body.lb-open { overflow: hidden; }

@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shot figcaption { padding: 10px 12px; font-size: .78rem; }
  .lightbox { grid-template-columns: 1fr; padding: 16px; }
  .lb-nav { position: absolute; bottom: 22px; width: 44px; height: 44px; }
  .lb-prev { left: 24%; }
  .lb-next { right: 24%; }
  .lb-stage img { max-height: 66vh; }
}

/* LinkedIn link on a team card */
.member-li {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  padding: 7px 14px; border-radius: 999px; text-decoration: none;
  border: 1px solid var(--line); color: var(--text-dim);
  font-size: .78rem; font-weight: 700;
  transition: border-color .22s, color .22s, background .22s, transform .22s;
}
.member-li svg { width: 14px; height: 14px; fill: currentColor; }
.member-li:hover {
  border-color: var(--accent); color: var(--accent);
  background: var(--tint-08); transform: translateY(-2px);
}

/* ---------- Header actions ---------- */
.header-actions { display: flex; align-items: center; gap: 14px; }

@media (max-width: 760px) {
  .header-actions { gap: 10px; }
}
