/* ═══════════════════ DESIGN TOKENS ═══════════════════ */
:root {
  /* Brand palette, exact from Brand Assets/Accelerate-Logo-New-Transparent.png:
     navy #323373, blue #00ADEF. --s2 is a darkened blue for text/links on
     light grounds, because #00ADEF on white is only ~2.6:1 and fails WCAG. */
  --p: #323373; --p2: #26265a; --p3: #4a4b9c; --pl: #eeeef7;
  --s: #00adef; --s2: #0b7fae; --sl: #e6f6fe;
  --white: #fff; --off: #f7f8fc; --light: #f0f2f8;
  --border: #e2e6f0; --mid: #8892aa; --ink: #1e1b4b;
  --fd: 'Bebas Neue', sans-serif;
  --fc: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;
  --nav-h: 66px;
  --ease: cubic-bezier(.4,0,.2,1);
}


/* Skip to content (accessibility + SEO) */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--p);
  color: var(--white);
  padding: 8px 16px;
  z-index: 9999;
  font-family: var(--fc);
  font-size: 12px;
  text-decoration: none;
  border-radius: 0 0 6px 0;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ═══════════════════ RESET & BASE ═══════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--fb); background: var(--white); color: var(--ink); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; }

/* ═══════════════════ CUSTOM CURSOR (desktop only) ═══════════════════ */
@media (hover: hover) and (pointer: fine) {
  body.cur-on { cursor: none; }
  body.cur-on a, body.cur-on button, body.cur-on select,
  body.cur-on input, body.cur-on textarea, body.cur-on label { cursor: none; }
  #cur { width: 10px; height: 10px; background: var(--s); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width .15s, height .15s; mix-blend-mode: multiply; }
  #curR { width: 34px; height: 34px; border: 1.5px solid var(--p); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); opacity: .45; }
}

/* ═══════════════════ PAGE SYSTEM ═══════════════════ */
/* Each page is now a real document at its own URL - no show/hide needed. */

/* ═══════════════════ SNAP SCROLL CONTAINER ═══════════════════ */
.snap-container {
  /* Normal page scroll — no snap container height tricks */
  overflow-y: visible;
}
/* All snap sections flow naturally */
.snap-section {
  position: relative;
  /* No scroll-snap — content defines its own height */
}

/* ═══════════════════ NAVIGATION ═══════════════════ */
#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  transition: box-shadow .3s;
}
#mainNav.scrolled { box-shadow: 0 2px 20px rgba(50,51,115,.1); }

.nav-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--p);
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark span { font-family: var(--fd); font-size: 22px; color: var(--s); line-height: 1; }
.logo-text { line-height: 1.2; }
.logo-name { font-family: var(--fc); font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--p); }
.logo-sub { font-family: var(--fc); font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--mid); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font-family: var(--fc); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid); background: none; border: none;
  padding: 8px 12px; cursor: pointer; transition: color .2s;
  position: relative; white-space: nowrap;
}
.nav-link::after { content: ''; position: absolute; bottom: 4px; left: 12px; right: 12px; height: 2px; background: var(--s); border-radius: 1px; transform: scaleX(0); transition: transform .2s; }
.nav-link:hover, .nav-link.active { color: var(--p); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--fc); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  background: var(--p); color: var(--white); border: none;
  padding: 10px 20px; border-radius: 8px;
  transition: background .2s, transform .15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--p3); transform: translateY(-1px); }

/* When menu open: hide page content behind overlay */
body.menu-open .page,
body.menu-open footer { visibility: hidden; }

/* ═══════════════ HAMBURGER ═══════════════ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
  background: none; border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 1301; /* always above menu (1300) and nav (1300) */
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--p);
  border-radius: 1px;
  transform-origin: center;
  transition: background .3s, transform .35s, opacity .25s;
}
.hamburger.open span            { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════ MOBILE OVERLAY ═══════════════
   Uses a <dialog> element — browser places it in
   the top layer, above EVERYTHING on the page.
   No z-index fights possible.
═══════════════════════════════════════════════ */
dialog.mobile-menu {
  /* Reset dialog defaults */
  border: none;
  padding: 0;
  margin: 0;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  /* Styling */
  background: #272460;
  color: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* Hidden off-screen to the right */
  transform: translateX(100%);
  transition: transform .4s ease;
  /* Top layer, no z-index needed */
  outline: none;
}
/* When open: slide in */
dialog.mobile-menu.open {
  transform: translateX(0);
}
/* Hide the default backdrop */
dialog.mobile-menu::backdrop {
  display: none;
}

/* ─── Inner layout ─── */
.mobile-menu-inner {
  display: block;
  padding: 80px 28px 48px;
  background: #272460;
  min-height: 100%;
}

/* CTA — top of menu */
.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff;
  background: var(--s);
  border: none; border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
}
.mobile-cta:hover  { background: #0e8fbe; }
.mobile-cta:active { opacity: .85; }

/* Nav links */
.mobile-nav-links { display: block; }

.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px; line-height: 1;
  letter-spacing: .03em; text-transform: uppercase;
  color: rgba(255,255,255,.38);
  background: #272460;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: color .15s;
  opacity: 1; visibility: visible;
}
.mobile-link:first-child { border-top: 1px solid rgba(255,255,255,.08); }
.mobile-link:hover,
.mobile-link:active  { color: #fff; }

.ml-arrow { font-size: 18px; color: var(--s); flex-shrink: 0; }

/* Contact details */
.mobile-contact-row {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #272460;
}
.mobile-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.45);
  text-decoration: none;
}
.mobile-contact-item:hover { color: rgba(255,255,255,.8); }
.ci { font-size: 15px; flex-shrink: 0; }

.mobile-menu-bottom { display: none; }

/* ═══════════════════ SHARED UTILITIES ═══════════════════ */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }

/* Sections inside snap container already sized; outside get padding */
.free-section { padding: clamp(56px, 8vw, 96px) 0; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--fc); font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--s); background: var(--sl);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.pill-p { color: var(--p); background: var(--pl); }
.pill-w { color: var(--white); background: rgba(255,255,255,.15); }

.h1 { font-family: var(--fd); font-size: clamp(44px, 8vw, 90px); line-height: .92; color: var(--p); }
.h2 { font-family: var(--fd); font-size: clamp(34px, 5vw, 64px); line-height: .94; color: var(--p); }
.h2.w { color: var(--white); }
.h3 { font-family: var(--fd); font-size: clamp(26px, 3.5vw, 44px); line-height: .96; color: var(--p); }
.lead { font-size: clamp(15px, 1.8vw, 17px); font-weight: 300; line-height: 1.8; color: #5a6480; max-width: 500px; margin-top: 14px; }
.lead.w { color: rgba(255,255,255,.72); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 10px; border: none;
  transition: all .2s var(--ease); white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-p { background: var(--p); color: var(--white); }
.btn-p:hover { background: var(--p3); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(50,51,115,.25); }
.btn-s { background: var(--s); color: var(--white); }
.btn-s:hover { background: var(--s2); transform: translateY(-2px); }
.btn-out { background: none; border: 2px solid var(--p); color: var(--p); }
.btn-out:hover { background: var(--p); color: var(--white); }
.btn-out-w { background: none; border: 2px solid rgba(255,255,255,.4); color: var(--white); }
.btn-out-w:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-wh { background: var(--white); color: var(--p); }
.btn-wh:hover { background: var(--off); transform: translateY(-2px); }
.arr { transition: transform .2s; }
.btn:hover .arr, .btn:active .arr { transform: translateX(3px); }
/* Mobile: active state instead of hover */
.btn:active { transform: translateY(1px) !important; }

/* Reveal animations */
.rv { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.rv.vis { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ═══════════════════ IMAGE SLOTS ═══════════════════ */
/*
  Every image slot is a div with class "img-slot".
  Set background-image inline or via the data-src attribute.
  The slot handles sizing; you just provide the URL.
*/
.img-slot {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background-color: var(--light);          /* shown while the image decodes */
}
.img-slot img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  transition: transform .55s ease;
}

/* ═══════════════════ HERO ═══════════════════ */
.hero-snap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  overflow: hidden;
}

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 48px) clamp(20px,4vw,60px) 56px clamp(20px,4vw,48px);
  position: relative; z-index: 1;
}
/* fade-in keyframes */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.hero-left > * { animation: fadeUp .65s both; }
.hero-badge { animation-delay: .1s; display: inline-flex; align-items: center; gap: 8px; font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--s); background: var(--sl); padding: 6px 14px; border-radius: 100px; margin-bottom: 22px; width: fit-content; }
.hero-title { animation-delay: .2s; }
.hero-title .accent { color: var(--s); display: inline; }
.hero-sub { animation-delay: .3s; font-size: clamp(15px,1.6vw,17px); font-weight: 300; line-height: 1.8; color: #5a6480; max-width: 440px; margin: 16px 0 36px; }
.hero-actions { animation-delay: .4s; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-stats { animation-delay: .5s; display: flex; gap: 0; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--border); }
.stat { flex: 1; padding-right: 20px; margin-right: 20px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.stat-n { font-family: var(--fd); font-size: clamp(36px,4vw,48px); color: var(--p); line-height: 1; }
.stat-n span { color: var(--s); }
.stat-l { font-family: var(--fc); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); margin-top: 3px; }

.hero-right { display: grid; grid-template-rows: 60% 40%; position: relative; overflow: hidden; }
.hero-img-main { grid-row: 1; overflow: hidden; position: relative; }
.hero-img-row { grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.hero-img-small { overflow: hidden; position: relative; }
.hero-img-tag {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  background: linear-gradient(to top, rgba(30,27,75,.78), transparent);
  padding: 20px 14px 10px;
}
.tag-cat { font-family: var(--fc); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--s); }
.tag-name { font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-top: 1px; }

/* ═══════════════════ MARQUEE ═══════════════════ */
.marquee-snap {
  min-height: auto !important;

}
.marquee { background: var(--p); padding: 13px 0; overflow: hidden; display: flex; }
.mq-track { display: flex; animation: scroll 22s linear infinite; white-space: nowrap; }
.mq-item { display: flex; align-items: center; gap: 24px; padding: 0 24px; font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.mq-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--s); flex-shrink: 0; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════ ABOUT SECTION ═══════════════════ */
.about-grid { display: grid; grid-template-columns: 5fr 4fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-img-wrap { position: relative; }
.about-img-frame {
  aspect-ratio: 4/5; border-radius: 24px;
  overflow: hidden; background: var(--light);
}
.about-badge {
  position: absolute; bottom: -18px; right: -18px;
  width: 108px; height: 108px; background: var(--s); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 4px solid var(--white); box-shadow: 0 8px 24px rgba(0,173,239,.3);
}
.badge-n { font-family: var(--fd); font-size: 36px; color: var(--white); line-height: 1; }
.badge-l { font-family: var(--fc); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); text-align: center; }
.about-list { display: flex; flex-direction: column; margin-top: 28px; }
.about-row { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.about-row:first-child { border-top: 1px solid var(--border); }
.about-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--sl); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.about-row-title { font-family: var(--fc); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p); margin-bottom: 3px; }
.about-row-text { font-size: 13px; color: #6e7a9a; font-weight: 300; line-height: 1.55; }

/* ═══════════════════ SERVICES ═══════════════════ */
.svc-sect { background: var(--p); }
.svc-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,4vw,56px); align-items: end; margin-bottom: clamp(32px,5vw,56px); }
.svc-intro-text { font-size: 15px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,.55); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card { background: rgba(255,255,255,.07); border-radius: 18px; padding: clamp(22px,3vw,32px) clamp(18px,2.5vw,28px); border: 1px solid rgba(255,255,255,.08); transition: background .25s, transform .2s, border-color .25s; }
.svc-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.svc-icon-wrap { width: 50px; height: 50px; border-radius: 13px; background: rgba(0,173,239,.18); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.svc-name { font-family: var(--fc); font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 9px; line-height: 1.3; }
.svc-desc { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.47); font-weight: 300; }
.svc-more { display: inline-flex; align-items: center; gap: 5px; font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--s); margin-top: 14px; background: none; border: none; padding: 0; transition: gap .2s; }
.svc-more:hover { gap: 9px; }

/* ═══════════════════ PROCESS CAROUSEL ═══════════════════ */
.process-sect { background: var(--off); }

/* Carousel wrapper */
.process-carousel-wrap {
  position: relative;
  margin-top: clamp(32px, 5vw, 52px);
}

/* The scrollable track */
.process-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
  cursor: grab;
}
.process-track:active { cursor: grabbing; }
.process-track::-webkit-scrollbar { display: none; }

/* Each card */
.p-card {
  flex: 0 0 clamp(200px, 40vw, 220px);

  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  user-select: none;
  position: relative;
}
.p-card:hover {
  border-color: var(--s);
  box-shadow: 0 8px 28px rgba(0,173,239,.15);
  transform: translateY(-4px);
}
/* Connector line between cards (hidden on last) */
.p-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 42px; right: -9px;
  width: 18px; height: 2px;
  background: linear-gradient(90deg, var(--border), var(--s));
  border-radius: 1px;
  z-index: 1;
}

.p-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--pl);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.p-card:hover .p-circle {
  background: var(--s);
  border-color: var(--s);
  box-shadow: 0 6px 20px rgba(0,173,239,.3);
}
.p-num {
  font-family: var(--fd); font-size: 22px; color: var(--p);
  transition: color .25s; line-height: 1;
}
.p-card:hover .p-num { color: var(--white); }
.p-name {
  font-family: var(--fc); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--p); margin-bottom: 8px;
}
.p-desc { font-size: 13px; color: #8892aa; line-height: 1.55; font-weight: 300; }

/* Dot indicators */
.process-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 24px;
}
.process-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  border: none; padding: 0; cursor: pointer;
  transition: background .25s, transform .25s;
}
.process-dot.active {
  background: var(--s);
  transform: scale(1.3);
}

/* Prev / Next arrows (hidden on mobile, visible on desktop) */
.process-nav {
  display: none;
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--border);
  align-items: center; justify-content: center;
  font-size: 16px; color: var(--p);
  cursor: pointer; transition: all .2s;
  box-shadow: 0 2px 10px rgba(50,51,115,.1);
  z-index: 2;
}
.process-nav:hover { background: var(--s); border-color: var(--s); color: var(--white); }
.process-prev { left: -20px; }
.process-next { right: -20px; }
@media (min-width: 640px) { .process-nav { display: flex; } }

/* ═══════════════════ PORTFOLIO ═══════════════════ */
.port-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: clamp(24px,4vw,36px); flex-wrap: wrap; gap: 16px; }
.port-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 210px 210px; gap: 10px; }
.port-item { overflow: hidden; border-radius: 18px; position: relative; }
.port-item.featured { grid-column: span 2; grid-row: span 2; }
.port-item .img-slot { border-radius: 18px; }
.port-item .img-slot img { border-radius: 18px; }
.port-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,27,75,.82), transparent 55%); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 18px; border-radius: 18px; z-index: 2; }
.port-item:hover .port-overlay { opacity: 1; }
.port-cat { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--s); }
.port-name { font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-top: 2px; }

/* ═══════════════════ CLIENTS ═══════════════════ */
.clients-sect { background: var(--light); padding: clamp(48px,7vw,64px) 0; }
.clients-label { font-family: var(--fc); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--mid); text-align: center; margin-bottom: 32px; }
.clients-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.client-chip { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 9px 18px; font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9aa3b8; transition: all .2s; }
.client-chip:hover { background: var(--p); color: var(--white); border-color: var(--p); transform: translateY(-2px); }

/* ═══════════════════ TESTIMONIAL ═══════════════════ */
.test-sect { background: var(--p); padding: clamp(64px,9vw,96px) 0; }
.test-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.test-quote { font-family: var(--fd); font-size: 88px; color: rgba(255,255,255,.12); line-height: .6; display: block; margin-bottom: 8px; }
.test-text { font-family: var(--fb); font-size: clamp(16px,2.2vw,24px); font-weight: 300; font-style: italic; color: var(--white); line-height: 1.6; margin-bottom: 32px; }
.test-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.test-av { width: 44px; height: 44px; border-radius: 50%; background: var(--s); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 20px; color: var(--white); flex-shrink: 0; }
.test-name { font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.test-role { font-size: 12px; color: rgba(255,255,255,.5); }

/* ═══════════════════ CTA BAND ═══════════════════ */
.cta-sect { background: var(--s); padding: clamp(64px,9vw,96px) 0; position: relative; overflow: hidden; }
.cta-sect::before { content: 'ACCELERATE'; font-family: var(--fd); font-size: clamp(80px,18vw,220px); color: rgba(255,255,255,.07); position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); white-space: nowrap; pointer-events: none; letter-spacing: .04em; }
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-sub { font-size: clamp(14px,1.8vw,17px); font-weight: 300; color: rgba(255,255,255,.82); max-width: 480px; margin: 12px auto 40px; line-height: 1.75; }
.cta-acts { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ═══════════════════ INNER PAGE HERO ═══════════════════ */
.pg-hero { background: var(--p); padding: calc(var(--nav-h) + 64px) 0 64px; position: relative; overflow: hidden; }
.pg-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(0,173,239,.12) 0%, transparent 65%); pointer-events: none; }
.pg-hero-content { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--fc); font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 16px; }
.bc-sep { color: var(--s); }
.bc-cur { color: var(--s); }
.bc-home { cursor: pointer; transition: color .2s; }
.bc-home:hover { color: var(--white); }

/* ═══════════════════ SERVICES PAGE ═══════════════════ */
.svc-full-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sf-card { background: var(--white); border-radius: 18px; padding: clamp(28px,3vw,40px) clamp(22px,3vw,36px); border: 1px solid var(--border); transition: all .25s; position: relative; overflow: hidden; }
.sf-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--p), var(--s)); border-radius: 18px 18px 0 0; transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.sf-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(50,51,115,.12); border-color: transparent; }
.sf-card:hover::before { transform: scaleX(1); }
.sf-icon { font-size: 30px; margin-bottom: 12px; }
.sf-name { font-family: var(--fc); font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p); margin-bottom: 9px; }
.sf-desc { font-size: 13px; line-height: 1.72; color: #6e7a9a; font-weight: 300; margin-bottom: 12px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--light); color: var(--mid); padding: 4px 9px; border-radius: 6px; }

/* ═══════════════════ ABOUT PAGE ═══════════════════ */
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.val-card { background: var(--white); border-radius: 18px; padding: clamp(28px,3vw,40px) clamp(22px,3vw,36px); border: 1px solid var(--border); transition: all .25s; }
.val-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(50,51,115,.1); border-color: transparent; }
.val-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--pl); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.val-name { font-family: var(--fc); font-size: 17px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--p); margin-bottom: 9px; }
.val-desc { font-size: 14px; line-height: 1.68; color: #6e7a9a; font-weight: 300; }

/* ═══════════════════ CONTACT PAGE ═══════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(32px,6vw,80px); }
.c-det { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.c-det:first-child { border-top: 1px solid var(--border); }
.c-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--sl); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.c-label { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--s); margin-bottom: 3px; }
.c-val { font-size: 14px; color: var(--ink); font-weight: 400; }
.form-title { font-family: var(--fc); font-size: 22px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--p); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fg { margin-bottom: 10px; }
.fl { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 6px; }
.fi, .fta, .fsel { width: 100%; background: var(--off); border: 1.5px solid var(--border); color: var(--ink); font-family: var(--fb); font-size: 15px; font-weight: 300; padding: 13px 14px; border-radius: 10px; transition: border-color .2s, background .2s; outline: none; -webkit-appearance: none; appearance: none; }
.fi:focus, .fta:focus, .fsel:focus { border-color: var(--s); background: var(--white); box-shadow: 0 0 0 3px rgba(0,173,239,.12); }
.fi::placeholder, .fta::placeholder { color: #bbb; }
.fta { resize: vertical; min-height: 100px; }
.f-submit { width: 100%; margin-top: 6px; font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--p); color: var(--white); border: none; padding: 16px 32px; border-radius: 10px; transition: background .2s, transform .15s; }
.f-submit:hover { background: var(--p3); }
.f-note { font-size: 12px; color: #aaa; margin-top: 10px; text-align: center; }
.promise-box { margin-top: 24px; background: var(--sl); border-left: 3px solid var(--s); border-radius: 0 10px 10px 0; padding: 18px 16px; }
.promise-label { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--s); margin-bottom: 5px; }
.promise-text { font-size: 13px; color: #5a6480; font-weight: 300; line-height: 1.6; }

/* ═══════════════════ MODAL ═══════════════════ */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,12,50,.65); z-index: 2000; display: flex; align-items: flex-end; justify-content: center; opacity: 0; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .3s ease; }
@media (min-width: 600px) { .modal-overlay { align-items: center; } }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { background: var(--white); border-radius: 20px 20px 0 0; width: 100%; max-height: 96vh; overflow-y: auto; -webkit-overflow-scrolling: touch; position: relative; transform: translateY(48px); transition: transform .35s cubic-bezier(.34,1.3,.64,1); }
@media (min-width: 600px) { .modal-box { border-radius: 20px; width: min(560px, 92vw); max-height: 90vh; transform: translateY(24px) scale(.97); } }
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }
.modal-header { background: linear-gradient(135deg, var(--p) 0%, var(--p3) 60%, var(--s) 100%); padding: clamp(24px,4vw,32px) clamp(20px,4vw,36px) clamp(20px,3vw,28px); border-radius: 20px 20px 0 0; position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.15); border: none; color: var(--white); font-size: 16px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.modal-close:hover { background: rgba(255,255,255,.25); }
.modal-pill { display: inline-flex; font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--s); background: rgba(0,173,239,.2); padding: 5px 12px; border-radius: 100px; margin-bottom: 10px; }
.modal-title { font-family: var(--fd); font-size: clamp(28px,5vw,36px); color: var(--white); line-height: .95; }
.modal-sub { font-size: 13px; color: rgba(255,255,255,.65); font-weight: 300; margin-top: 7px; line-height: 1.6; }
.modal-body { padding: clamp(20px,3vw,28px) clamp(20px,4vw,36px) clamp(24px,4vw,36px); }
.mfrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mfg { margin-bottom: 10px; }
.mfl { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mid); display: block; margin-bottom: 6px; }
.mfi, .mfta, .mfsel { width: 100%; background: var(--off); border: 1.5px solid var(--border); color: var(--ink); font-family: var(--fb); font-size: 15px; font-weight: 300; padding: 13px 14px; border-radius: 10px; transition: border-color .2s, background .2s; outline: none; -webkit-appearance: none; appearance: none; }
.mfi:focus, .mfta:focus, .mfsel:focus { border-color: var(--s); background: var(--white); box-shadow: 0 0 0 3px rgba(0,173,239,.12); }
.mfi::placeholder, .mfta::placeholder { color: #bbb; }
.mfta { resize: vertical; min-height: 86px; }
.mfsub { width: 100%; margin-top: 6px; font-family: var(--fc); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--p); color: var(--white); border: none; padding: 15px 32px; border-radius: 10px; transition: background .2s, transform .15s; }
.mfsub:hover { background: var(--p3); }
.mfnote { font-size: 12px; color: #aaa; margin-top: 10px; text-align: center; }
.modal-success { display: none; text-align: center; padding: 40px 24px; }
.modal-success.show { display: block; }
.success-icon { font-size: 52px; margin-bottom: 14px; }
.success-title { font-family: var(--fd); font-size: 36px; color: var(--p); margin-bottom: 10px; }
.success-text { font-size: 15px; color: #6e7a9a; font-weight: 300; line-height: 1.7; }

/* ═══════════════════ FOOTER ═══════════════════ */
footer { background: var(--p2); padding: clamp(48px,7vw,68px) 0 clamp(20px,3vw,28px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(24px,4vw,44px); margin-bottom: clamp(32px,4vw,44px); }
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.f-tagline { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.38); font-weight: 300; max-width: 250px; }
.f-contacts { margin-top: 16px; }
.f-contacts a { display: block; font-family: var(--fc); font-size: 12px; font-weight: 500; color: rgba(255,255,255,.48); text-decoration: none; margin-bottom: 5px; transition: color .2s; }
.f-contacts a:hover { color: var(--s); }
.f-col-title { font-family: var(--fc); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.22); margin-bottom: 12px; }
.f-links { display: flex; flex-direction: column; gap: 7px; }
.f-link { font-size: 13px; color: rgba(255,255,255,.44); background: none; border: none; text-align: left; padding: 0; font-family: var(--fb); transition: color .2s; cursor: pointer; }
.f-link:hover { color: var(--s); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.f-copy, .f-credit { font-size: 12px; color: rgba(255,255,255,.2); }
.f-credit strong { color: var(--s); font-weight: 600; }

/* Toast */
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--p); color: var(--white); font-family: var(--fc); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 14px 20px; border-radius: 10px; z-index: 3000; transform: translateX(200%); transition: transform .35s ease; border-left: 4px solid var(--s); box-shadow: 0 8px 28px rgba(50,51,115,.3); }
.toast.show { transform: translateX(0); }



/* FAQ Section */
.faq-grid { }
@media (max-width: 640px) { .faq-grid { grid-template-columns: 1fr !important; } }
.faq-item {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 24px 22px;
  transition: box-shadow .2s, border-color .2s;
}
.faq-item:hover { border-color: var(--s); box-shadow: 0 4px 20px rgba(0,173,239,.1); }
.faq-q {
  font-family: var(--fc);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 10px;
  line-height: 1.3;
}
.faq-a {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  color: #6e7a9a;
}

/* ════════════════════════════════════════════════
   PORTFOLIO FULL PAGE GRID (desktop: 3 cols)
════════════════════════════════════════════════ */
.port-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.port-full-grid .port-item { height: 260px; }

/* ════════════════════════════════════════════════
   ABOUT PAGE MISSION GRID (desktop: 2 cols)
════════════════════════════════════════════════ */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

/* ════════════════════════════════════════════════
   TABLET  max-width: 960px
════════════════════════════════════════════════ */
@media (max-width: 960px) {
  /* Hero */
  .hero-snap { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { min-height: 100vh; padding-top: calc(var(--nav-h) + 56px); }

  /* Home about section */
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrap { display: block; margin-top: 32px; }

  /* About page mission grid */
  .about-page-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-page-grid > div:last-child { width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; }

  /* Services */
  .svc-head { grid-template-columns: 1fr; gap: 16px; }

  /* Portfolio home preview */
  .port-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .port-item.featured { grid-column: span 2; grid-row: span 1; }

  /* Portfolio full page: 2 cols on tablet */
  .port-full-grid { grid-template-columns: 1fr 1fr; }

  /* Services full grid */
  .svc-full-grid { grid-template-columns: 1fr; }

  /* Values */
  .values-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ════════════════════════════════════════════════
   MOBILE  max-width: 640px
════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --nav-h: 62px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  #mainNav { z-index: 1300; }
  body.menu-open #mainNav { background: var(--p2); border-bottom-color: rgba(255,255,255,.08); box-shadow: none; }
  body.menu-open .logo-name { color: rgba(255,255,255,.9); }
  body.menu-open .logo-sub  { color: rgba(255,255,255,.35); }
  body.menu-open .logo-mark { background: rgba(255,255,255,.12); }

  /* Hero */
  .hero-left { padding: calc(var(--nav-h) + 36px) 16px 48px; }
  .hero-stats { flex-direction: column; gap: 0; padding-top: 24px; border-top: 1px solid var(--border); }
  .stat { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-right: none !important; border-bottom: 1px solid var(--border); margin-right: 0; padding-right: 0; }
  .stat:last-child { border-bottom: none; }
  .stat-n { font-size: 36px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1; justify-content: center; font-size: 12px; padding: 13px 16px; }

  /* About page: image stacks below text */
  .about-page-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-page-grid > div:last-child { width: 100%; aspect-ratio: 4/3; border-radius: 14px; overflow: hidden; }
  .about-img-wrap { display: block; margin-top: 24px; }

  /* Services */
  .svc-grid { grid-template-columns: 1fr; gap: 10px; }
  .svc-head { grid-template-columns: 1fr; gap: 14px; }
  .svc-full-grid { grid-template-columns: 1fr; }
  .sf-card[style*="span 2"] { grid-column: span 1 !important; }

  /* Portfolio home preview: 1 col */
  .port-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 10px; }
  .port-item.featured { grid-column: span 1; height: 240px; }
  .port-item { height: 200px; }

  /* Portfolio full page: 1 col */
  .port-full-grid { grid-template-columns: 1fr; gap: 10px; }
  .port-full-grid .port-item { height: 220px; }

  /* Values: 1 col */
  .values-grid { grid-template-columns: 1fr; }

  /* Clients */
  .clients-wrap { gap: 7px; }
  .client-chip { padding: 8px 14px; font-size: 11px; }

  /* CTA buttons */
  .cta-acts { flex-direction: column; align-items: center; gap: 10px; }
  .cta-acts .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  /* Modal */
  .mfrow { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Inner pages */
  .pg-hero { padding: calc(var(--nav-h) + 48px) 0 48px; }
}

/* ════════════════════════════════════════════════
   SMALL PHONES  max-width: 380px
════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .h1 { font-size: 36px; }
  .h2 { font-size: 28px; }
  .mobile-link { font-size: 34px; }
}


/* ══════════════════════════════════════════════════════════════════════
   ACCELERATE BRAND STUDIO — additions for the multi-page lead-gen build
   Everything above this point is the original v6 stylesheet (patched).
   Everything below is new: real logo, real links, real forms, service
   pages, WhatsApp, sticky mobile CTA, reduced-motion support.
══════════════════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════════════════
   MEDIA FILL
   The v6 build painted photos as CSS background-image, which cannot be
   lazy-loaded, cannot use srcset and carries no alt text. Photos are now
   real <picture>/<img> elements. A <picture> is inline by default, so an
   inner img's height:100% has no containing height to resolve against —
   absolutely positioning the <picture> inside its (already relative,
   definite-height) container makes it fill reliably in every context.
══════════════════════════════════════════════════════════════════════ */
.media-fill { position: relative; overflow: hidden; }

.hero-img-main > picture,
.hero-img-small > picture,
.about-img-frame > picture,
.port-item > picture,
.img-slot > picture,
.media-fill > picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-img-main > picture > img,
.hero-img-small > picture > img,
.about-img-frame > picture > img,
.port-item > picture > img,
.img-slot > picture > img,
.media-fill > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .55s ease;
}
.about-img-frame { position: relative; }
.port-item > picture > img { border-radius: 18px; }
.port-item:hover > picture > img { transform: scale(1.04); }

/* ══════════════════════════════════════════════════════════════════════
   REAL LOGO
   The supplied lockup is 2.07:1, so inside a 66px nav bar its wordmark
   would render ~53px wide and be illegible. The nav therefore pairs the
   square mark with live text (which also stays crisp and translatable),
   while the footer — which has the width for it — uses the full lockup.
══════════════════════════════════════════════════════════════════════ */
#mainNav .nav-logo { text-decoration: none; align-items: center; gap: 11px; }
.logo-mark-img { height: 40px; width: 40px; display: block; flex-shrink: 0; }
/* .logo-name/.logo-sub are spans in the markup, so they must be made
   block or they flow inline and wrap mid-wordmark. */
.logo-text { display: block; }
.logo-text .logo-name,
.logo-text .logo-sub { display: block; white-space: nowrap; }

/* Dark ink on white grounds; the light mark only when the navy mobile
   menu is open. */
.logo-mark-img.on-dark { display: none; }
body.menu-open #mainNav .logo-mark-img.on-light { display: none; }
body.menu-open #mainNav .logo-mark-img.on-dark { display: block; }

.footer-logo-row .logo-img { height: 44px; width: auto; display: block; }

@media (max-width: 420px) {
  .logo-mark-img { height: 34px; width: 34px; }
  #mainNav .nav-logo { gap: 9px; }
}

/* ═══════════════════ LINKS THAT WERE BUTTONS ═══════════════════ */
/* Nav / footer / breadcrumb navigation is now real <a href> so it can be
   crawled, middle-clicked and opened in a new tab. */
a.nav-link { text-decoration: none; display: inline-flex; align-items: center; }
a.f-link { text-decoration: none; display: block; }
a.bc-home { text-decoration: none; color: inherit; }
a.mobile-link { text-decoration: none; }
a.btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
a.svc-more { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
a.mobile-cta { text-decoration: none; }
.nav-link[aria-current="page"] { color: var(--p); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* ═══════════════════ TRUST BAR (under the hero) ═══════════════════ */
.trust-bar {
  background: var(--p); color: #fff;
  padding: 14px clamp(16px, 4vw, 48px);
}
.trust-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 10px 28px;
}
.trust-item {
  font-family: var(--fc); font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.82);
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-item b { color: var(--s); font-weight: 700; }

/* ═══════════════════ SERVICE PAGE ═══════════════════ */
.svc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}
@media (max-width: 1000px) { .svc-layout { grid-template-columns: 1fr; } }

.prose > * + * { margin-top: 18px; }
.prose p { font-size: 16px; font-weight: 300; line-height: 1.8; color: #55618a; }
.prose p strong { color: var(--p); font-weight: 600; }
.prose h2 {
  font-family: var(--fc); font-size: clamp(24px, 3vw, 32px); font-weight: 700;
  letter-spacing: -.01em; color: var(--p); line-height: 1.15;
  margin-top: 40px; text-transform: none;
}
.prose h3 {
  font-family: var(--fc); font-size: 18px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--p);
  margin-top: 28px;
}
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose ul li {
  position: relative; padding-left: 26px;
  font-size: 15px; font-weight: 300; line-height: 1.65; color: #55618a;
}
.prose ul li::before {
  content: ''; position: absolute; left: 6px; top: 8px;
  width: 7px; height: 7px; border-radius: 2px; background: var(--s);
}
.prose ul li b, .prose ul li strong { color: var(--p); font-weight: 600; }

/* Spec / capability table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 300; color: #55618a; line-height: 1.6;
}
.spec-table th {
  font-family: var(--fc); font-weight: 700; font-size: 12px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--p);
  width: 38%; white-space: nowrap;
}
.spec-wrap { overflow-x: auto; }

/* Sticky quote card in the service sidebar */
.quote-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 20px; padding: 26px 24px;
  box-shadow: 0 12px 40px rgba(50,51,115,.08);
  position: sticky; top: calc(var(--nav-h) + 20px);
}
.quote-card .form-title { font-size: 22px; margin-bottom: 4px; }
.quote-card-sub {
  font-size: 13px; font-weight: 300; color: var(--mid);
  line-height: 1.6; margin-bottom: 18px;
}
@media (max-width: 1000px) { .quote-card { position: static; } }

.sidebar-block {
  background: var(--pl); border-radius: 18px;
  padding: 22px 24px; margin-top: 18px;
}
.sidebar-block .f-col-title { color: var(--p); margin-bottom: 12px; }

/* Related services */
.rel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.rel-card {
  display: block; text-decoration: none;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.rel-card:hover { border-color: var(--s); box-shadow: 0 8px 26px rgba(0,173,239,.13); transform: translateY(-2px); }
.rel-name {
  font-family: var(--fc); font-size: 15px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--p); margin-bottom: 6px;
}
.rel-desc { font-size: 13px; font-weight: 300; line-height: 1.6; color: var(--mid); }

/* Round service tile (uses the client's existing circular artwork) */
.svc-tile {
  width: 88px; height: 88px; border-radius: 50%;
  overflow: hidden; margin-bottom: 18px;
  background: var(--sl); flex-shrink: 0;
}
.svc-tile img { width: 100%; height: 100%; object-fit: cover; }
.sf-card .svc-tile { width: 72px; height: 72px; }

/* ═══════════════════ SERVICE INDEX CARDS AS LINKS ═══════════════════ */
a.sf-card { display: block; text-decoration: none; }
a.sf-card:hover { border-color: var(--s); box-shadow: 0 10px 32px rgba(0,173,239,.14); transform: translateY(-3px); }
.sf-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--fc); font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--s);
}

/* ═══════════════════ FORMS (real, validated) ═══════════════════ */
.fi:focus, .fsel:focus, .fta:focus,
.mfi:focus, .mfsel:focus, .mfta:focus {
  outline: none; border-color: var(--s);
  box-shadow: 0 0 0 3px rgba(0,173,239,.18);
}
.fg { position: relative; }
.field-err {
  display: none;
  font-family: var(--fb); font-size: 12px; font-weight: 500;
  color: #d13a4b; margin-top: 6px;
}
.fg.invalid .field-err { display: block; }
.fg.invalid .fi, .fg.invalid .fsel, .fg.invalid .fta,
.fg.invalid .mfi, .fg.invalid .mfsel, .fg.invalid .mfta {
  border-color: #d13a4b; background: #fff6f7;
}
.req { color: #d13a4b; }

/* Honeypot — hidden from people, visible to naive bots. Not display:none,
   which some bots specifically skip. */
.hp-field {
  position: absolute !important;
  left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  font-size: 13.5px; font-weight: 400; line-height: 1.6;
  margin-top: 14px; padding: 12px 14px; border-radius: 10px; display: none;
}
.form-status.show { display: block; }
.form-status.err { background: #fff1f3; color: #a3232f; border: 1px solid #f4c9cf; }
.form-status.ok { background: #eefaf3; color: #16714a; border: 1px solid #bfe8d3; }

button[disabled], .f-submit[disabled], .mfsub[disabled] {
  opacity: .62; cursor: not-allowed;
}
.spinner {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  border-radius: 50%; animation: spin .7s linear infinite;
  vertical-align: -2px; margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* WhatsApp fallback inside the form */
.form-alt {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.form-alt-label {
  font-family: var(--fc); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 10px;
}
.wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; padding: 13px 20px; border-radius: 11px;
  background: #25d366; color: #fff; text-decoration: none;
  font-family: var(--fc); font-size: 14px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  border: none; transition: background .2s, transform .2s;
}
.wa-btn:hover { background: #1fb457; transform: translateY(-1px); }
.wa-btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ═══════════════════ WHATSAPP FLOATING BUTTON ═══════════════════ */
.wa-fab {
  position: fixed; z-index: 1500;
  right: clamp(14px, 3vw, 26px); bottom: clamp(14px, 3vw, 26px);
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37,211,102,.42);
  transition: transform .2s, box-shadow .2s;
}
.wa-fab:hover { transform: scale(1.07); box-shadow: 0 12px 32px rgba(37,211,102,.55); }
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }
.wa-fab-label {
  position: absolute; right: 66px; white-space: nowrap;
  background: var(--ink); color: #fff;
  font-family: var(--fc); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 8px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.wa-fab:hover .wa-fab-label { opacity: 1; }
/* Clear the sticky mobile CTA bar */
@media (max-width: 760px) { .wa-fab { bottom: 76px; width: 50px; height: 50px; } .wa-fab svg { width: 26px; height: 26px; } .wa-fab-label { display: none; } }

/* ═══════════════════ STICKY MOBILE CTA BAR ═══════════════════ */
.cta-bar { display: none; }
@media (max-width: 760px) {
  .cta-bar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1450;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(30,27,75,.1);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .cta-bar a, .cta-bar button {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 12px 8px; border-radius: 10px; border: none;
    font-family: var(--fc); font-size: 13px; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  }
  .cta-bar .bar-call { background: var(--pl); color: var(--p); }
  .cta-bar .bar-quote { background: var(--p); color: #fff; }
  body { padding-bottom: 64px; }
  body.menu-open .cta-bar { display: none; }
}

/* ═══════════════════ FAQ (answer-engine friendly: always visible) ═══════════════════ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item .faq-q { display: flex; gap: 10px; }
.faq-item .faq-q::before { content: 'Q'; color: var(--s); flex-shrink: 0; }

/* ═══════════════════ THANK YOU / 404 ═══════════════════ */
.mini-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: clamp(60px, 10vw, 120px) 20px;
  background: var(--off);
}
.mini-inner { max-width: 620px; }
.mini-icon {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--sl); color: var(--p);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; margin: 0 auto 22px;
}
.mini-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.next-steps {
  text-align: left; background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; margin-top: 32px;
}

/* ═══════════════════ LOCATIONS / AREAS SERVED ═══════════════════ */
.area-wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.area-chip {
  font-family: var(--fc); font-size: 12.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--p); background: var(--pl);
  padding: 8px 15px; border-radius: 20px;
}

/* ═══════════════════ ACCESSIBILITY & MOTION ═══════════════════ */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--s);
  outline-offset: 2px;
  border-radius: 4px;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  .rv { opacity: 1 !important; transform: none !important; }
  .mq-track { animation: none !important; }
  body.cur-on { cursor: auto; }
  #cur, #curR { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════════
   SCROLL REVEAL AS PROGRESSIVE ENHANCEMENT
   The v6 build gave .rv an opacity:0 start state in CSS, so any failure to
   add .vis (JS blocked or errored, an observer that never fires, a browser
   throttling animations on a background tab) left the content permanently
   invisible. On a page whose job is generating leads that is an unacceptable
   failure mode, so the hidden start state now only exists once JS has
   positively opted in by setting .js-reveal on <html> — and site.js also
   force-reveals anything still hidden after a short failsafe timeout.
══════════════════════════════════════════════════════════════════════ */
.rv { opacity: 1; transform: none; }
html.js-reveal .rv { opacity: 0; transform: translateY(20px); }
html.js-reveal .rv.vis { opacity: 1; transform: none; }

@media print {
  #mainNav, .wa-fab, .cta-bar, .modal-overlay, #cur, #curR, .marquee { display: none !important; }
  body { padding-bottom: 0; }
}

/* ══════════════════════════════════════════════════════════════════════
   LEGAL PAGES
   A single readable column — legal text is read linearly, so it gets a
   narrower measure than the marketing pages.
══════════════════════════════════════════════════════════════════════ */
.legal { max-width: 68ch; margin: 0 auto; }
.legal h2 {
  margin-top: 44px; padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: clamp(21px, 2.4vw, 26px);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; margin-top: 28px; }
.legal h3 { margin-top: 26px; }
.legal .spec-table { margin: 14px 0 4px; }
.legal .spec-table th { width: 34%; }
.legal a { color: var(--s2); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta {
  font-family: var(--fc); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mid);
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.callout {
  background: var(--sl); border-left: 3px solid var(--s);
  border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 18px 0;
}
.callout p { margin: 0; font-size: 15px; }
.legal-foot {
  margin-top: 40px; padding-top: 20px;
  border-top: 2px solid var(--p);
}
.legal-foot p { font-size: 15px; }

/* ══════════════════════════════════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════════════════════════════════ */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.cs-card {
  display: block; text-decoration: none;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.cs-card:hover {
  border-color: var(--s);
  box-shadow: 0 14px 40px rgba(0,173,239,.16);
  transform: translateY(-3px);
}
.cs-card > picture {
  display: block; position: relative;
  aspect-ratio: 3/2; overflow: hidden; background: var(--light);
}
.cs-card > picture > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.cs-card:hover > picture > img { transform: scale(1.04); }
.cs-card-body { padding: 22px 24px 26px; }
.cs-card-tag {
  font-family: var(--fc); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--s2); margin-bottom: 9px;
}
.cs-card-title {
  font-family: var(--fc); font-size: 21px; font-weight: 700;
  line-height: 1.15; color: var(--p); margin-bottom: 9px;
}
.cs-card-sum {
  font-size: 14px; font-weight: 300; line-height: 1.65;
  color: var(--mid); margin-bottom: 4px;
}

/* Meta strip in the case study hero */
.cs-meta {
  display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 28px;
  padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16);
}
.cs-meta-item { display: flex; flex-direction: column; gap: 3px; }
.cs-meta-l {
  font-family: var(--fc); font-size: 10.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.cs-meta-item b {
  font-family: var(--fc); font-size: 15px; font-weight: 600;
  letter-spacing: .03em; color: #fff;
}

/* Pull quote */
.cs-quote {
  margin: 44px 0 0; padding: 30px 32px;
  background: var(--pl); border-radius: 18px;
  border-left: 4px solid var(--s);
}
.cs-quote blockquote { margin: 0; }
.cs-quote blockquote p {
  font-family: var(--fc); font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 500; line-height: 1.4; color: var(--p); margin: 0;
}
.cs-quote figcaption {
  margin-top: 16px;
  font-family: var(--fc); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--p);
}
.cs-quote figcaption span {
  display: block; font-weight: 400; text-transform: none;
  letter-spacing: 0; font-size: 13px; color: var(--mid); margin-top: 2px;
}

/* Project photography */
.cs-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .cs-gallery { grid-template-columns: 1fr; } }
.cs-shot { aspect-ratio: 4/3; border-radius: 14px; }

/* Draft notice — only ever rendered under `build_site.py --drafts` */
.draft-banner {
  background: #ffe9b8; color: #6b4700;
  border: 1px solid #e0a53a; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 18px;
  font-size: 14px; line-height: 1.5;
}
.draft-banner b { color: #4a3000; }
.draft-banner code {
  background: rgba(0,0,0,.08); padding: .1em .35em;
  border-radius: 3px; font-size: .9em;
}
