/* =========================================================
   JW Website Design — production stylesheet
   Mobile-first. Breakpoints: 480px, 768px, 1024px, 1440px.
   ========================================================= */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --bg-deep: #0F1E3D;
  --navy: #142B5C;
  --navy-mid: #2C4894;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --text: #1F2937;
  --text-soft: #6B7280;
  --text-light: #FFFFFF;
  --border: #E5E7EB;
  --success: #10B981;

  --shadow-card: 0 1px 3px rgba(15, 30, 61, 0.05), 0 4px 12px rgba(15, 30, 61, 0.04);
  --shadow-card-hover: 0 8px 24px rgba(15, 30, 61, 0.08);
  --shadow-cta: 0 4px 12px rgba(59, 130, 246, 0.25);
  --shadow-nav: 0 1px 3px rgba(15, 30, 61, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* every section with an id leaves room for the sticky nav */
section[id], header[id] { scroll-margin-top: 80px; }

/* =========================================================
   SHARED — buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 8px;
  padding: 14px 24px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  line-height: 1;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 12px 22px;
}
.btn-secondary:hover {
  background: var(--navy);
  color: #fff;
}
.btn-secondary-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  padding: 12px 22px;
}
.btn-secondary-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

@media (min-width: 768px) {
  .btn { font-size: 16px; padding: 16px 32px; }
  .btn-secondary, .btn-secondary-light { padding: 14px 30px; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  background: #fff;
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 20px;
  transition: box-shadow 200ms ease;
}
.nav.scrolled { box-shadow: var(--shadow-nav); }
.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
}
.nav-links {
  display: none;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  transition: color 150ms ease;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta { display: none; }

.nav-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (min-width: 768px) {
  .nav { height: 72px; padding: 0 32px; }
}
@media (min-width: 1024px) {
  .nav { padding: 0 48px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 300ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .close {
  position: absolute;
  top: 24px; right: 24px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu .close svg { width: 28px; height: 28px; }
.mobile-menu ul {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: center;
}
.mobile-menu ul a {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--navy);
  text-decoration: none;
}
.mobile-menu .btn {
  width: calc(100% - 40px);
  max-width: 360px;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 120px 20px 64px;
  background-image: url('bg-hero.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deep);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 61, 0.70);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  width: 100%;
  text-align: center;
  margin-top: 4vh;
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn 800ms ease-out 200ms forwards;
}
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-pill {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.hero-headline br { display: none; }

.hero-sub {
  margin: 32px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  font-weight: 400;
}

.hero-ctas {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-reassure {
  margin-top: 32px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-reassure .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  display: inline-block;
}

@media (min-width: 480px) {
  .hero-headline { font-size: 44px; }
  .hero-ctas { flex-direction: row; gap: 16px; flex-wrap: wrap; }
}
@media (min-width: 768px) {
  .hero { padding: 140px 32px 80px; }
  .hero-headline { font-size: 52px; }
  .hero-sub { font-size: 19px; }
}
@media (min-width: 1024px) {
  .hero {
    min-height: 90vh;
    padding: 168px 48px 96px;
  }
  .hero-headline { font-size: 64px; }
  .hero-headline br { display: inline; }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust {
  background: var(--bg-soft);
  padding: 64px 20px;
}
.trust-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.trust-inner.in {
  opacity: 1;
  transform: translateY(0);
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 0;
  margin: 0 0 48px;
}
.logos .logo {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 16px;
  line-height: 1;
}
.logos .sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  display: none;
}

@media (min-width: 768px) {
  .trust { padding: 64px 32px; }
  .logos { flex-wrap: nowrap; }
  .logos .logo { font-size: 16px; padding: 0 24px; }
  .logos .sep { display: inline-block; }
}

.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.stat .num {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.stat .lbl {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .stat .num { font-size: 36px; }
}

/* =========================================================
   SHARED — section header + reveal
   ========================================================= */
.section-pad { padding: 56px 20px; }
@media (min-width: 768px) { .section-pad { padding: 72px 32px; } }
@media (min-width: 1024px) { .section-pad { padding: 96px 48px; } }

.section-inner { max-width: 1200px; margin: 0 auto; }

.pill {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sec-head-c { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head-c .pill { margin-bottom: 20px; }
.sec-head-c h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}
.sec-head-c .intro {
  margin: 24px auto 0;
  max-width: 680px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
@media (min-width: 768px) {
  .sec-head-c { margin-bottom: 64px; }
  .sec-head-c h2 { font-size: 36px; }
  .sec-head-c .intro { font-size: 17px; }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
  transition-delay: var(--rev-delay, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-700 { transition-duration: 700ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .trust-inner, .hero-content { opacity: 1; transform: none; animation: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   PAIN POINTS
   ========================================================= */
.pain { background: #fff; }
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.pain-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
@media (min-width: 768px) { .pain-card { padding: 32px; } }
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.pain-card .picon {
  width: 32px; height: 32px;
  color: var(--accent);
  margin-bottom: 16px;
  display: inline-flex; align-items: center; justify-content: center;
}
.pain-card .picon svg { width: 32px; height: 32px; }
.pain-card h3 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 12px;
}
.pain-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* =========================================================
   SERVICES (What we do)
   ========================================================= */
.services { background: var(--bg-soft); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

.svc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .svc-card { padding: 48px; } }
.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.svc-card .sicon {
  width: 40px; height: 40px;
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.svc-card .sicon svg { width: 40px; height: 40px; }
.svc-card h3 {
  margin: 24px 0 12px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .svc-card h3 { font-size: 28px; } }
.svc-card .svc-body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 32px;
}
.svc-card .svc-sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin: 0 0 16px;
}
.svc-cap {
  margin: 0 0 24px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.svc-list { list-style: none; padding: 0; margin: 0 0 32px; }
.svc-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 12px;
}
.svc-list li:last-child { margin-bottom: 0; }
.svc-list .check {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 3px;
  display: inline-flex;
}
.svc-list .check svg { width: 16px; height: 16px; }

.svc-link {
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 2px;
}
.svc-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 250ms ease;
}
.svc-link:hover::after { transform: scaleX(1); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how {
  position: relative;
  background-image: url('bg-process.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deep);
  overflow: hidden;
  color: #fff;
}
.how::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15, 30, 61, 0.4);
  pointer-events: none;
}
.how .section-inner { position: relative; z-index: 1; }
.how .sec-head-c h2 { color: #fff; }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
}
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.step { position: relative; padding: 0 4px; }
.step + .step::before {
  content: "";
  display: none;
  position: absolute;
  top: 0; bottom: 0; left: -16px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
@media (min-width: 1024px) {
  .step + .step::before { display: block; }
}

.step .num {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 64px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
}
@media (min-width: 768px) { .step .num { font-size: 96px; } }

.step h3 {
  margin: 32px 0 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #fff;
}
@media (min-width: 768px) { .step h3 { font-size: 22px; } }

.step p {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.how-cta-row {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

/* =========================================================
   CASE STUDIES
   ========================================================= */
.cases { background: #fff; }
.cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 1024px) {
  .cases-grid { grid-template-columns: repeat(3, 1fr); }
}

.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.case-card .img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.05) saturate(1.1) brightness(1.03);
  transition: transform 400ms ease;
  display: block;
}
.case-card:hover .img-wrap img { transform: scale(1.02); }
.case-card .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 16px;
}
.case-card .body-wrap {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
@media (min-width: 768px) { .case-card .body-wrap { padding: 32px; } }
.case-card .industry {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.case-card h3 {
  margin: 12px 0 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--navy);
}
@media (min-width: 768px) { .case-card h3 { font-size: 22px; } }
.case-card .desc {
  margin: 12px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}
.case-card .tags {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.case-card .case-link {
  align-self: flex-start;
  margin-top: 24px;
  position: relative;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  padding-bottom: 2px;
}
.case-card .case-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 250ms ease;
}
.case-card .case-link:hover::after { transform: scaleX(1); }
.case-card .tag {
  padding: 6px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* =========================================================
   REVIEWS STRIP
   ========================================================= */
.reviews { background: var(--bg-deep); }
.reviews .sec-head-c h2 { color: #fff; }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.review-card .stars {
  display: flex;
  gap: 4px;
  color: #FFD700;
}
.review-card .stars svg {
  width: 18px;
  height: 18px;
  fill: #FFD700;
  stroke: #FFD700;
}
.review-card .quote {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}
.review-card .divider {
  margin: 24px 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.review-card .who {
  margin-top: auto;
}
.review-card .who .name {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  line-height: 1.4;
}
.review-card .who .biz {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: #fff; }
.about-inner-narrow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-inner-narrow .pill { margin-bottom: 20px; }
.about-inner-narrow h2 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .about-inner-narrow h2 { font-size: 36px; } }
.about-prose {
  margin: 32px auto 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}
@media (min-width: 768px) { .about-prose { font-size: 17px; } }
.about-prose p { margin: 0 0 20px; }
.about-prose p:last-child { margin: 0; }
.about-meta {
  margin-top: 32px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--bg-soft); }
.faq-narrow { max-width: 880px; margin: 0 auto; }
.accordion {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item:last-child { border-bottom: none; }
.acc-q {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: var(--navy);
  transition: background 200ms ease;
}
@media (min-width: 768px) {
  .acc-q { padding: 24px 28px; font-size: 18px; }
}
.acc-q:hover { background: rgba(59, 130, 246, 0.03); }
.acc-q .chev {
  flex-shrink: 0;
  color: var(--navy);
  width: 20px; height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 250ms ease;
}
.acc-q .chev svg { width: 20px; height: 20px; }
.acc-item.is-open .acc-q .chev { transform: rotate(180deg); }
.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}
.acc-panel-inner {
  padding: 0 24px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  max-width: 720px;
}
@media (min-width: 768px) {
  .acc-panel-inner { padding: 0 28px 24px; }
}

/* =========================================================
   FINAL CTA + CALENDLY
   ========================================================= */
.final-cta {
  position: relative;
  background-image: url('bg-cta.jpg');
  background-size: cover;
  background-position: center;
  background-color: var(--bg-deep);
  overflow: hidden;
  padding: 96px 20px 72px;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15, 30, 61, 0.6);
  pointer-events: none;
}
@media (min-width: 768px) {
  .final-cta { padding: 120px 32px 96px; }
}
@media (min-width: 1024px) {
  .final-cta { padding: 120px 48px 96px; }
}
.final-cta .section-inner { position: relative; z-index: 1; }
.final-cta .sec-head-c h2 { color: #fff; }
.final-cta .sec-head-c .intro { color: rgba(255, 255, 255, 0.9); font-size: 17px; }
@media (min-width: 768px) {
  .final-cta .sec-head-c .intro { font-size: 19px; }
}

.calendly-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 1080px;
  min-height: 700px;
  margin: 48px auto 0;
  box-shadow: 0 12px 40px rgba(15, 30, 61, 0.20);
}
.calendly-inline-widget { width: 100%; min-width: 320px; height: 700px; }

.final-cta .send-msg-line {
  margin: 32px auto 0;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.final-cta .send-msg-line a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
}
.final-cta .send-msg-line a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact { background: #fff; }
.contact-narrow { max-width: 720px; margin: 0 auto; }
.contact-narrow .sec-head-c { margin-bottom: 48px; max-width: 600px; }
.contact-narrow .sec-head-c .intro { font-size: 16px; }
@media (min-width: 768px) {
  .contact-narrow .sec-head-c .intro { font-size: 17px; }
}

.form { display: flex; flex-direction: column; gap: 24px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}
.field-label {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}
.req {
  color: #EF4444;
  font-weight: 500;
  font-size: 14px;
  margin-left: 2px;
}
.field-input,
.field-select,
.field-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.field-textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 140px;
}
.field-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.field-input::placeholder,
.field-textarea::placeholder { color: var(--text-soft); }
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.field-error {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #EF4444;
  min-height: 16px;
}
.field-input.has-error,
.field-select.has-error,
.field-textarea.has-error {
  border-color: #EF4444;
}

.form-submit-row {
  margin-top: 8px;
  display: flex;
  justify-content: stretch;
}
.form-submit-row .btn { width: 100%; }
@media (min-width: 768px) {
  .form-submit-row { justify-content: flex-end; }
  .form-submit-row .btn { width: auto; }
}
.form-error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #B91C1C;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
  display: none;
}
.form-error.show { display: block; }
.form-error a { color: inherit; }

.form-success {
  text-align: center;
  padding: 24px 0;
}
.form-success .check-ring {
  color: var(--success);
  width: 48px; height: 48px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-success .check-ring svg { width: 48px; height: 48px; }
.form-success h3 {
  margin: 16px 0 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: var(--navy);
}
.form-success p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}
.form-success a {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

/* =========================================================
   FREE AUDIT
   ========================================================= */
.audit { background: var(--bg-soft); }
.audit-narrow { max-width: 880px; margin: 0 auto; }
.audit-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 40px 28px;
  text-align: center;
  color: #fff;
}
@media (min-width: 768px) {
  .audit-card { padding: 64px; }
}
.audit-card .pill { margin-bottom: 24px; }
.audit-card h3 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .audit-card h3 { font-size: 28px; }
}
.audit-card .body {
  margin: 24px auto 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}
.audit-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.audit-form .row-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .audit-form { gap: 16px; }
  .audit-form .row-fields { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.audit-form .field-label {
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}
.audit-form .field-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.audit-form .field-input::placeholder { color: rgba(255, 255, 255, 0.5); }
.audit-form .field-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  background: rgba(255, 255, 255, 0.08);
}
.audit-form .submit-wrap {
  margin-top: 4px;
  display: flex;
  justify-content: stretch;
}
.audit-form .submit-wrap .btn { width: 100%; }
@media (min-width: 768px) {
  .audit-form .submit-wrap { justify-content: center; margin-top: 8px; }
  .audit-form .submit-wrap .btn { width: auto; min-width: 240px; }
}
.audit-success {
  text-align: center;
  padding: 24px 0;
  color: #fff;
}
.audit-success .check-ring {
  color: var(--accent);
  width: 48px; height: 48px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.audit-success .check-ring svg { width: 48px; height: 48px; }
.audit-success h3 {
  margin: 16px 0 0;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}
.audit-success p {
  margin: 12px auto 0;
  max-width: 500px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--bg-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 20px 40px;
}
@media (min-width: 768px) {
  .footer { padding: 64px 32px 48px; }
}
@media (min-width: 1024px) {
  .footer { padding: 64px 48px 48px; }
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 48px;
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    column-gap: 48px;
  }
}
.footer h4 {
  margin: 0 0 16px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.footer .wmark {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1;
}
.footer .wmark-sub {
  margin-top: 4px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer .studio-blurb {
  margin: 16px 0 0;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { line-height: 2; }
.footer-links a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-links a:hover { color: #fff; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-list li:last-child { margin-bottom: 0; }
.contact-list a {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 150ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-list a:hover { color: #fff; }
.contact-list .wa-icon {
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}
.contact-list .wa-icon svg { width: 16px; height: 16px; }

.footer-cta-col .btn-primary { width: 100%; margin-top: 0; }
.footer-cta-col .text-link {
  display: inline-block;
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 150ms ease;
}
.footer-cta-col .text-link:hover { border-bottom-color: var(--accent); }

.footer-divider {
  margin: 48px 0 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; gap: 16px; }
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 150ms ease;
}
.footer-bottom a:hover { color: rgba(255, 255, 255, 0.8); }
.footer-bottom .legal-sep {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   FLOATING ELEMENTS
   ========================================================= */
.wa-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  z-index: 998;
  transition: transform 200ms ease, box-shadow 200ms ease;
  opacity: 0;
  transform: translateY(0);
  animation: waBounceIn 600ms ease-out 800ms forwards;
}
@media (min-width: 768px) {
  .wa-float { bottom: 24px; right: 24px; }
}
.wa-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.wa-float:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.wa-float svg { width: 28px; height: 28px; }
@keyframes waBounceIn {
  0%   { opacity: 0; transform: translateY(0); }
  25%  { opacity: 1; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  height: 60px;
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 997;
  display: flex;
}
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
.sticky-cta a, .sticky-cta button {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: background 200ms ease;
}
.sticky-cta .divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.sticky-cta a:active, .sticky-cta button:active,
.sticky-cta a.tap, .sticky-cta button.tap {
  background: rgba(59, 130, 246, 0.15);
}

@media (max-width: 767px) {
  body { padding-bottom: 60px; }
}

/* =========================================================
   LARGE-DESKTOP REFINEMENTS (1440px+)
   ========================================================= */
@media (min-width: 1440px) {
  .nav-inner,
  .section-inner,
  .footer-inner { max-width: 1280px; }
  .calendly-card { max-width: 1100px; }
}
