/* ============================================================
   Creative Tech Solutions: site styles
   Design: dark navy and purple bands, orange call-to-action buttons.
   Class names used by js/main.js (.navbar, .nav-toggle, .nav-mobile,
   .fade-up, .js-contact-form) are kept from the previous site.
   ============================================================ */

:root {
  --primary: #ac72f9;
  --primary-soft: rgba(172, 114, 249, 0.12);
  --accent-text: #8a4fe0;
  --cta: #f2a83b;
  --cta-hover: #e5952a;
  --nav: #1d1438;
  --band: #0d0e1b;
  --band-2: #17112e;
  --band-fg: #eef0f6;
  --band-subtle: #a9adbf;
  --band-border: rgba(255, 255, 255, 0.1);
  --bg: #f5f6fa;
  --bg-alt: #eceef4;
  --card: #ffffff;
  --fg: #171c2b;
  --subtle: #4b5363;
  --muted: #6b7385;
  --border: rgba(23, 28, 43, 0.09);
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(23, 28, 43, 0.05), 0 8px 24px rgba(23, 28, 43, 0.06);
  --shadow-glow: 0 24px 60px -20px rgba(140, 80, 240, 0.45);
  --font-display: "Sora", "IBM Plex Sans", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent-text); }
.eyebrow--cta { color: var(--cta); }
.section-title { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.01em; }
.section-sub { margin-top: 14px; color: var(--subtle); max-width: 620px; }
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .04em; padding: 2px 7px; border: 1px solid var(--border);
  border-left: 2px solid var(--cta); border-radius: 3px; color: var(--subtle); background: var(--card);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 15px/1 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-cta { background: var(--cta); color: var(--nav); box-shadow: 0 6px 18px -6px rgba(242, 168, 59, .55); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost-dark { color: var(--band-fg); border-color: var(--band-border); background: transparent; }
.btn-ghost-dark:hover { background: var(--band-border); }
.btn-outline { color: var(--fg); border-color: var(--border); background: var(--card); }
.btn-outline:hover { border-color: var(--primary); color: var(--accent-text); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--accent-text); }
.link-arrow svg { width: 15px; height: 15px; transition: transform .15s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--nav); color: var(--band-fg); transition: box-shadow .2s var(--ease);
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .3); }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 40px; font-weight: 600; font-size: 15px; }
.nav-links a { transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--cta); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--band-border); border-radius: var(--radius);
  background: transparent; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: var(--band-fg); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-mobile {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--nav);
  padding: 24px; flex-direction: column; gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a:not(.btn) { color: var(--band-fg); font-size: 20px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--band-border); }
.nav-mobile a.active { color: var(--cta); }
.nav-mobile .btn { margin-top: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--band-fg); background: var(--band);
  border-bottom: 2px solid var(--cta);
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 8, 28, .88) 0%, rgba(20, 12, 48, .55) 55%, rgba(10, 8, 28, .25) 100%),
              linear-gradient(180deg, rgba(10, 8, 28, .35) 0%, rgba(10, 8, 28, 0) 40%, rgba(10, 8, 28, .45) 100%);
}
.hero-inner { padding-top: 88px; padding-bottom: 88px; }
.hero h1 { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.03em; max-width: 880px; }
.hero-sub { margin-top: 18px; font-size: 18px; color: var(--band-subtle); max-width: 620px; }
.hero .btn-row { margin-top: 32px; }

.hero--home { min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
.hero--home .hero-inner { padding-top: 64px; padding-bottom: 96px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.hero-kicker svg { width: 18px; height: 18px; color: var(--cta); }
.hero-wordmark {
  margin-top: 16px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.035em;
  font-size: clamp(40px, 7.4vw, 92px); line-height: 1.02;
  background: linear-gradient(90deg, #e4d2fc 0%, #b584f7 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-services { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 0; font-weight: 600; font-size: 15px; }
.hero-services li { padding: 0 14px; border-left: 2px solid var(--cta); line-height: 1.1; }
.hero-services li:first-child { padding-left: 0; border-left: 0; }
.hero-lede { margin-top: 30px; font-size: clamp(21px, 2.3vw, 28px); font-weight: 600; line-height: 1.3; max-width: 720px; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; color: var(--band-subtle);
}
.hero-scroll svg { width: 18px; height: 18px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Trust strip (under home hero) ---------- */
.trust { background: var(--band-2); color: var(--band-fg); border-bottom: 1px solid var(--band-border); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; gap: 14px; align-items: flex-start; padding: 24px 28px; border-left: 1px solid var(--band-border); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item svg { width: 22px; height: 22px; color: var(--cta); flex: none; margin-top: 2px; }
.trust-item h2 { font-size: 15px; font-weight: 600; }
.trust-item p { font-size: 13px; color: var(--band-subtle); }

/* ---------- Partner logos ---------- */
.partners { background: var(--card); border-bottom: 1px solid var(--cta); }
.partners .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 36px; padding-bottom: 36px; }
.partners h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; max-width: 330px; }
.partner-logos { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.partner-logos img { height: 30px; width: auto; object-fit: contain; }
.partner-logos img.tall { height: 36px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--white { background: var(--card); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--band); color: var(--band-fg); }
.section--dark .section-sub, .section--dark p { color: var(--band-subtle); }
.section--dark .eyebrow { color: var(--cta); }
.section-border-top { border-top: 1px solid var(--cta); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head .eyebrow { margin-bottom: 10px; display: block; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius-lg);
  border: 1px solid var(--border); border-top: 2px solid var(--primary); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.service-card img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.service-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.service-card-top svg { width: 22px; height: 22px; color: var(--accent-text); }
.service-card h3 { font-size: 17px; font-weight: 600; }
.service-card p { margin-top: 8px; font-size: 14px; color: var(--subtle); flex: 1; }
.service-card .link-arrow { margin-top: 18px; }

/* ---------- Experience band (home) ---------- */
.experience { position: relative; isolation: isolate; overflow: hidden; color: var(--band-fg); background: var(--band-2); }
.experience-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.experience::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(29, 20, 56, .94) 0%, rgba(40, 22, 84, .85) 50%, rgba(29, 20, 56, .92) 100%); }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.experience h2 { margin-top: 10px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 600; }
.experience p { color: var(--band-subtle); }
.check-list { margin-top: 22px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list svg { width: 18px; height: 18px; color: var(--cta); flex: none; margin-top: 3px; }
.section--dark .check-list li, .experience .check-list li { color: var(--band-fg); }
.experience .link-arrow { margin-top: 26px; color: var(--cta); }
.stat-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-left: 2px solid var(--cta); }
.stat { padding: 0 24px; }
.stat + .stat { border-left: 2px solid var(--cta); }
.stat-number { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 4vw, 46px); line-height: 1; color: #fff; }
.stat h3 { margin-top: 10px; font-size: 14px; font-weight: 600; }
.stat p { margin-top: 6px; font-size: 13px; color: var(--band-subtle); }
.region-note { margin-top: 32px; display: flex; gap: 8px; align-items: center; color: var(--cta); font-weight: 600; font-size: 14px; }
.region-note svg { width: 16px; height: 16px; }
.region-note + p { font-size: 13px; margin-top: 4px; }

/* ---------- Map ---------- */
.map-frame { margin-top: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--band-border); aspect-ratio: 16 / 9; background: #1a1a2a; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.region-legend { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; font-size: 12px; }
.region-legend strong { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--band-fg); }
.region-legend strong::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cta); }
.region-legend li:first-child strong::before { background: var(--primary); }
.region-legend span { display: block; padding-left: 15px; color: var(--band-subtle); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process li {
  position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.process li + li::before {
  content: ""; position: absolute; left: -16px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  border-top: 2px solid var(--cta); border-right: 2px solid var(--cta); transform: rotate(45deg);
}
.process-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--accent-text); display: grid; place-items: center; }
.process-icon svg { width: 18px; height: 18px; }
.process h3 { margin-top: 22px; font-size: 17px; }
.process p { margin-top: 8px; font-size: 14px; color: var(--subtle); }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { display: flex; gap: 3px; color: var(--cta); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }
.review blockquote { margin: 16px 0 0; font-size: 15px; color: var(--fg); flex: 1; }
.review-muted { color: var(--muted); font-style: italic; }
.review-author { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--accent-text); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
.review-name { font-weight: 600; font-size: 14px; }
.review-meta { font-size: 12px; color: var(--muted); }
.review-source { display: flex; justify-content: center; margin-top: 28px; }

/* ---------- Estimate wizard ---------- */
.estimate { background: radial-gradient(120% 120% at 0% 0%, #2a1a55 0%, var(--band) 55%); color: var(--band-fg); }
.estimate-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.estimate h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 34px); }
.estimate .section-sub { color: var(--band-subtle); }
.estimate .check-list li { color: var(--band-fg); }
.wizard { background: var(--card); color: var(--fg); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-glow); }
.wizard-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--subtle); }
.wizard-step-label { font-weight: 600; color: var(--accent-text); }
.wizard-back { background: none; border: 0; padding: 0; font: inherit; color: var(--subtle); cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.wizard-back:hover { color: var(--fg); }
.wizard-back svg { width: 16px; height: 16px; }
.wizard-bar { margin-top: 12px; height: 6px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
.wizard-bar span { display: block; height: 100%; background: var(--primary); border-radius: 99px; transition: width .3s var(--ease); }
.wizard h3 { margin-top: 24px; font-size: 24px; }
.wizard-options { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wizard-option {
  min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card);
  font: 500 15px/1.3 var(--font-body); color: var(--fg); text-align: left; cursor: pointer;
  transition: border-color .15s, background-color .15s, color .15s;
}
.wizard-option svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.wizard-option:hover { border-color: var(--cta); background: rgba(242, 168, 59, .1); }
.wizard-option.selected { border-color: var(--primary); background: rgba(172, 114, 249, .06); }
.wizard-summary { grid-column: 1 / -1; font-size: 14px; color: var(--subtle); }
.wizard-call { grid-column: 1 / -1; display: flex; justify-content: center; gap: 6px; font-size: 14px; color: var(--subtle); }
.wizard-call:hover { color: var(--fg); }
.wizard-done { text-align: center; padding: 16px 0; }
.wizard-done .done-icon { width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; }
.wizard-done .done-icon svg { width: 28px; height: 28px; }
.wizard-done h3 { margin-top: 22px; }
.wizard-done p { margin-top: 10px; color: var(--subtle); }
.wizard-done a { color: var(--accent-text); font-weight: 600; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--card); font: 16px var(--font-body); color: var(--fg); box-shadow: 0 1px 2px rgba(23, 28, 43, .04);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(172, 114, 249, .25); }
.field .error { display: block; margin-top: 4px; font-size: 13px; color: #c53030; }
.field input[aria-invalid="true"] { border-color: #e53e3e; }
.form-note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; }
.form-error { grid-column: 1 / -1; font-size: 14px; color: #c53030; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-list li:first-child { padding-top: 0; }
.contact-list svg { width: 20px; height: 20px; color: var(--subtle); flex: none; margin-top: 2px; }
.contact-list .k { font-size: 14px; color: var(--muted); }
.contact-list .v { font-size: 17px; font-weight: 500; }
.contact-list .n { font-size: 15px; color: var(--subtle); margin-top: 4px; }
.contact-list .n a, .contact-list .v a:hover { color: var(--accent-text); }
.social-btn { margin-top: 24px; width: 40px; height: 40px; border-radius: var(--radius); background: var(--nav); color: #fff; display: inline-grid; place-items: center; }
.social-btn svg { width: 16px; height: 16px; }
.form-card { background: var(--card); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-glow); border: 1px solid var(--border); }
.form-card h2 { font-size: 24px; margin-bottom: 24px; }
.sent-banner { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius); background: rgba(56, 161, 105, .1); border: 1px solid rgba(56, 161, 105, .35); color: #22543d; font-weight: 500; }
.sent-banner.show { display: block; }

/* ---------- Services page ---------- */
.service-jump { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: var(--header-h); z-index: 20; }
.service-jump ul { display: flex; gap: 28px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.service-jump ul::-webkit-scrollbar { display: none; }
.service-jump a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--subtle); }
.service-jump a:hover { color: var(--accent-text); }
.service-detail { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding: 56px 0; scroll-margin-top: 140px; }
.service-detail:nth-child(even) .service-detail-img { order: 2; }
.service-detail-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.service-detail h2 { margin-top: 14px; font-size: clamp(22px, 2.4vw, 28px); }
.service-detail > div > p { margin-top: 12px; color: var(--subtle); }
.included-label { margin-top: 22px; font-size: 13px; font-weight: 600; }
.included { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.included li { display: flex; gap: 8px; font-size: 14px; color: var(--subtle); }
.included svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 3px; }
.service-detail .btn { margin-top: 26px; }
.consult .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.consult h2 { margin-top: 8px; font-size: clamp(22px, 2.4vw, 28px); }
.consult p.section-sub { margin-top: 10px; }

/* ---------- About page ---------- */
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.story-grid h2 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 30px); }
.story-grid p { margin-top: 16px; color: var(--subtle); }
.story-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-row .stat { padding: 0 24px; border-left: 1px solid var(--band-border); }
.stat-row .stat:first-child { border-left: 0; padding-left: 0; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.values svg { width: 20px; height: 20px; color: var(--accent-text); }
.values h3 { margin-top: 14px; font-size: 17px; }
.values p { margin-top: 8px; font-size: 14px; color: var(--subtle); }
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience li { background: var(--card); border-radius: var(--radius-lg); border-top: 3px solid var(--primary); padding: 24px; box-shadow: var(--shadow); }
.audience h3 { margin-top: 16px; font-size: 17px; }
.audience p { margin-top: 8px; font-size: 14px; color: var(--subtle); }
.where-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.where-grid h2 { margin-top: 10px; font-size: clamp(24px, 2.6vw, 30px); color: var(--band-fg); }
.pin-list { margin-top: 28px; display: grid; gap: 20px; }
.pin-list li { display: flex; gap: 12px; }
.pin-list svg { width: 18px; height: 18px; color: var(--cta); flex: none; margin-top: 2px; }
.pin-list strong { display: block; font-size: 15px; color: var(--band-fg); }
.pin-list span { font-size: 13px; color: var(--band-subtle); }

/* ---------- Bottom call band ---------- */
.call-band { background: var(--nav); color: var(--band-fg); border-top: 1px solid var(--cta); }
.call-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.call-band .eyebrow { color: var(--band-fg); font-size: 13px; }
.call-band h2 { margin-top: 8px; font-size: clamp(24px, 2.8vw, 32px); }
.call-band p { margin-top: 10px; color: var(--band-subtle); }

/* ---------- Footer ---------- */
.footer { background: var(--nav); color: var(--band-subtle); border-top: 1px solid var(--cta); padding: 72px 0 40px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr 1.1fr 1fr; gap: 40px; }
.footer-brand img { height: 52px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 320px; }
.footer h3 { font-size: 15px; font-weight: 600; color: var(--cta); margin-bottom: 18px; }
.footer li + li { margin-top: 12px; }
.footer a:hover { color: #fff; }
.footer .social-btn { background: rgba(255, 255, 255, .08); margin-top: 16px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--band-border); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }

/* ---------- Scroll fade (js/main.js adds .visible) ---------- */
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-scroll svg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li + li::before { display: none; }
  .experience-grid, .estimate-grid, .contact-grid, .where-grid, .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat-row .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .partners .container, .consult .container, .call-band .container, .section-head { flex-direction: column; align-items: flex-start; }
  .service-detail { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .service-detail:nth-child(even) .service-detail-img { order: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: 0; padding: 16px 0; border-top: 1px solid var(--band-border); }
  .trust-item:first-child { border-top: 0; }
  .values { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { padding-bottom: 72px; }
  .nav-logo img, .footer-brand img { height: 44px; }
  .section { padding: 64px 0; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero--home .hero-inner { padding-top: 40px; padding-bottom: 80px; }
  .hero .btn-row .btn, .call-band .btn-row .btn, .consult .btn-row .btn { flex: 1 1 100%; }
  .hero-services li { padding: 0 10px; font-size: 14px; }
  .card-grid, .reviews, .process, .audience, .wizard-options, .form-grid, .included, .region-legend { grid-template-columns: 1fr; }
  .wizard, .form-card { padding: 24px 20px; }
  .partner-logos { gap: 24px 32px; }
  .partner-logos img { height: 24px; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(29, 20, 56, .96); border-top: 1px solid var(--band-border);
  }
  .mobile-bar .btn { height: 48px; padding: 0 12px; }
}

:root { color-scheme: only light; }

/* ============================================================
   New builds page + home page "Building a new home?" band
   ============================================================ */
.nav-links { gap: 32px; }
.hero--newbuild .hero-bg { object-position: 50% 60%; }
.hero-badges { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--band-border); border-radius: 99px; font-size: 13px; font-weight: 500; background: rgba(255, 255, 255, .05); }
.hero-badges svg { width: 15px; height: 15px; color: var(--cta); }

/* What we wire */
.wire-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.wire-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow); }
.wire-item svg { width: 22px; height: 22px; color: var(--accent-text); }
.wire-item h3 { margin-top: 14px; font-size: 16px; }
.wire-item p { margin-top: 6px; font-size: 14px; color: var(--subtle); }
.brand-note { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; color: var(--subtle); }
.brand-chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); font-weight: 600; color: var(--fg); }
.brand-chip img { height: 18px; width: auto; }
.brand-chip .wordmark { font-family: var(--font-display); letter-spacing: .02em; }

/* Build stages timeline */
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: stage; position: relative; }
.stages::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--cta)); }
.stages li { position: relative; padding: 0 18px 0 0; counter-increment: stage; }
.stage-num { position: relative; width: 48px; height: 48px; border-radius: 50%; background: var(--band); border: 2px solid var(--cta); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; }
.stage-when { margin-top: 18px; display: inline-block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--cta); text-transform: uppercase; }
.stages h3 { margin-top: 6px; font-size: 18px; color: var(--band-fg); }
.stages p { margin-top: 8px; font-size: 14px; }
.stage-callout { margin-top: 44px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: rgba(242, 168, 59, .1); border: 1px solid rgba(242, 168, 59, .35); color: var(--band-fg); }
.stage-callout svg { width: 22px; height: 22px; color: var(--cta); flex: none; margin-top: 1px; }
.stage-callout p { color: var(--band-fg) !important; }

/* Two audiences */
.audience-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.audience-card { position: relative; background: var(--card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 100px; }
.audience-card > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.audience-card-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.audience-card h3 { margin-top: 10px; font-size: 22px; }
.audience-card > .audience-card-body > p { margin-top: 10px; color: var(--subtle); }
.audience-card .check-list li { color: var(--fg); }
.audience-card .check-list svg { color: var(--primary); }
.audience-card .btn { margin-top: 26px; align-self: flex-start; }
.promise-row { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.promise { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(56, 161, 105, .1); color: #22543d; font-size: 13px; font-weight: 600; }
.promise svg { width: 14px; height: 14px; }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow); }
.package--featured { border: 2px solid var(--primary); box-shadow: var(--shadow-glow); }
.package-flag { position: absolute; top: -13px; left: 28px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.package h3 { font-size: 20px; }
.package-for { margin-top: 6px; font-size: 14px; color: var(--muted); }
.package-price { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.package-price span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 13px; color: var(--muted); }
.package .included { grid-template-columns: 1fr; margin-top: 20px; flex: 1; }
.package .included li { color: var(--fg); }
.package .included li.plus { font-weight: 600; color: var(--accent-text); }
.package .btn { margin-top: 26px; }
.packages-note { margin-top: 22px; text-align: center; font-size: 14px; color: var(--subtle); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; box-shadow: 0 1px 2px rgba(23, 28, 43, .04); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--accent-text); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--subtle); }
.faq a { color: var(--accent-text); font-weight: 600; }

/* Sister company callout */
.sister { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--cta); border-radius: var(--radius-lg); padding: 28px 30px; box-shadow: var(--shadow); }
.sister-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(242, 168, 59, .14); color: #b86f0a; display: grid; place-items: center; }
.sister-icon svg { width: 26px; height: 26px; }
.sister h3 { font-size: 19px; }
.sister p { margin-top: 6px; color: var(--subtle); font-size: 15px; }

/* Home page band */
.newbuild-band { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; background: var(--band-2); color: var(--band-fg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-glow); }
.newbuild-band img { width: 100%; height: 0; min-height: 100%; object-fit: cover; }
.newbuild-band-body { padding: 44px 44px 48px; }
.newbuild-band h2 { margin-top: 10px; font-size: clamp(24px, 2.8vw, 32px); }
.newbuild-band p { margin-top: 14px; color: var(--band-subtle); }
.newbuild-band .check-list li { color: var(--band-fg); }
.newbuild-band .btn-row { margin-top: 28px; }

@media (max-width: 1024px) {
  .wire-grid { grid-template-columns: repeat(2, 1fr); }
  .packages { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .stages { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .stages::before { display: none; }
  .newbuild-band { grid-template-columns: 1fr; }
  .newbuild-band img { height: 240px; min-height: 0; }
}
@media (max-width: 860px) {
  .audience-split { grid-template-columns: 1fr; }
  .sister { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wire-grid, .stages { grid-template-columns: 1fr; }
  .newbuild-band-body, .audience-card-body { padding: 26px 22px 30px; }
  .newbuild-band .btn-row .btn { flex: 1 1 100%; }
}

@media (max-width: 860px) {
  .hero::after { background: linear-gradient(180deg, rgba(10, 8, 28, .78) 0%, rgba(14, 10, 36, .72) 60%, rgba(10, 8, 28, .82) 100%); }
}
