/* ========================================
   WHITEWELL DIGITAL - STYLES
   ======================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:        #2D6BE4;
  --blue-dark:   #1A4DB5;
  --blue-light:  #EBF1FD;
  --ink:         #0D0F12;
  --ink-mid:     #3D4350;
  --ink-light:   #5B616E;
  --white:       #FFFFFF;
  --off:         #F7F8FA;
  --blue-tint:   #EEF4FE;
  --navy:        #0B1A30;
  --border:      #E7E9EF;
  --font-head:   'Plus Jakarta Sans', sans-serif;
  --font-body:   'Inter', sans-serif;

  /* brand gradients — light stop kept at the base brand blue so white
     text on these gradients clears WCAG AA (4.5:1) at every point */
  --grad-blue:   linear-gradient(135deg, #2D6BE4 0%, #1A4DB5 100%);
  --grad-navy:   linear-gradient(165deg, #14356E 0%, #0C2348 100%);

  /* layered shadow scale */
  --shadow-sm:   0 1px 2px rgba(13,15,18,0.04), 0 2px 8px rgba(13,15,18,0.04);
  --shadow-md:   0 4px 12px rgba(13,15,18,0.05), 0 12px 32px rgba(13,15,18,0.06);
  --shadow-lg:   0 8px 24px rgba(13,15,18,0.06), 0 24px 64px rgba(13,15,18,0.09);

  --maxw:        1240px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

/* Skip-to-content link — visible only when focused via keyboard */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .2s ease;
}

.skip-link:focus { top: 0; }

/* main is only a skip-link focus target, not interactive — no visible box */
main:focus { outline: none; }

/* Visible keyboard focus indicator across all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* On dark sections, use a lighter focus ring for contrast */
.why a:focus-visible,
.portfolio a:focus-visible,
footer a:focus-visible {
  outline-color: #8FB4FF;
}

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

/* ========================================
   NAVIGATION
   ======================================== */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 56px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s, padding .25s;
}

nav.scrolled {
  background: rgba(255,255,255,0.92);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  padding-top: 8px;
  padding-bottom: 8px;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }

/* Horizontal logo lockup (inline SVG) — scales crisply at any size */
.brand-logo { height: 50px; width: auto; display: block; }
.brand-logo text { font-family: var(--font-head); }
.brand-logo .lg-stroke { stroke: var(--ink); }
.brand-logo .lg-ink-fill { fill: var(--ink); }
.brand-logo .lg-blue-fill { fill: var(--blue); }

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: all 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--ink); }
.nav-links .nav-cta.active { color: var(--white) !important; }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 500 !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  color: var(--white) !important;
}

/* ========================================
   HERO
   ======================================== */

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 72px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px 56px 90px;
  position: relative;
}

/* full-bleed tinted backdrop behind the (capped) hero content */
.hero::after {
  content: '';
  position: absolute;
  z-index: -2;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background:
    linear-gradient(180deg, #EEF4FF 0%, #F7FAFF 45%, var(--white) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -120px;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,107,228,0.16) 0%, transparent 66%);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(45,107,228,0.10);
  border: 1px solid rgba(45,107,228,0.18);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-dark); /* visible fallback */
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 em {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: #2B313C;
  line-height: 1.65;
  max-width: 470px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
  background: var(--grad-blue);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(45,107,228,0.32);
  transition: filter .2s, transform .2s, box-shadow .2s;
  display: inline-block;
}

.btn-primary:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45,107,228,0.40);
}

.btn-ghost {
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}

.btn-ghost:hover { color: var(--blue); }
.btn-ghost svg { transition: transform .2s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ========================================
   HERO VISUAL (BROWSER MOCKUP)
   ======================================== */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  width: 100%;
  max-width: 470px;
  box-shadow: var(--shadow-lg);
}

.hero-card-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FEBC2E; }
.dot-g { background: #28C840; }

.hero-card-url {
  flex: 1;
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--ink-light);
  margin: 0 8px;
}

.hero-card-body { padding: 28px; }

.mock-header {
  background: var(--ink);
  border-radius: 10px;
  padding: 18px 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-logo-bar { width: 80px; height: 10px; background: var(--white); border-radius: 4px; opacity: 0.9; }
.mock-nav-items { display: flex; gap: 10px; }
.mock-nav-dot { width: 36px; height: 8px; background: rgba(255,255,255,0.25); border-radius: 4px; }

.mock-hero-block {
  background: linear-gradient(135deg, var(--blue-light) 0%, #d4e3fb 100%);
  border-radius: 10px;
  padding: 28px 22px;
  margin-bottom: 16px;
}

.mock-h1  { width: 70%; height: 14px; background: var(--ink); border-radius: 4px; margin-bottom: 10px; opacity: 0.85; }
.mock-h1b { width: 50%; height: 14px; background: var(--ink); border-radius: 4px; margin-bottom: 18px; opacity: 0.85; }
.mock-p   { width: 90%; height: 8px; background: var(--ink-mid); border-radius: 4px; margin-bottom: 8px; opacity: 0.35; }
.mock-p2  { width: 75%; height: 8px; background: var(--ink-mid); border-radius: 4px; margin-bottom: 20px; opacity: 0.35; }
.mock-btn { width: 100px; height: 30px; background: var(--blue); border-radius: 100px; }

.mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.mock-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 12px;
}

.mock-icon { width: 24px; height: 24px; border-radius: 6px; background: var(--blue-light); margin-bottom: 10px; }
.mock-card-line { height: 7px; background: var(--off); border-radius: 3px; margin-bottom: 6px; }
.mock-card-line.short { width: 60%; }

/* ========================================
   STATS BAR
   ======================================== */

.stats {
  display: flex;
  background: var(--grad-blue);
  padding-inline: clamp(20px, 6vw, 100px);
}

.stat {
  flex: 1;
  padding: 40px 40px;
  border-right: 1px solid rgba(255,255,255,0.16);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.stat-num span { color: #CFE0FF; font-size: 0.65em; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.95); line-height: 1.5; }

/* ========================================
   GENERAL SECTION STYLES
   ======================================== */

section { padding: 110px 56px; }

/* Centered content container — keeps line lengths and layouts
   comfortable on large screens instead of stretching edge to edge. */
.features-header, .features-grid,
.pricing-header, .pricing-grid, .pricing-note,
.why-grid,
.contact-inner,
.process-grid,
.footer-top, .footer-bottom,
section > .section-tag,
section > .section-title,
section > .section-sub {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1.5px;
  background: var(--blue);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 520px;
}

/* ========================================
   FEATURES / WHAT WE DO
   ======================================== */

.features { background: var(--blue-tint); }

.features-header { max-width: 640px; margin-bottom: 64px; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #d6dae3;
}

.feature-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .25s ease, transform .25s ease;
}

.feature-item:hover .feature-icon {
  background: var(--blue);
  transform: scale(1.05);
}

.feature-item:hover .feature-icon svg path,
.feature-item:hover .feature-icon svg rect,
.feature-item:hover .feature-icon svg circle {
  stroke: var(--white);
}

.feature-item:hover .feature-icon svg [fill="#2D6BE4"] {
  fill: var(--white);
}

.feature-item h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  font-weight: 300;
}

/* ========================================
   PROCESS
   ======================================== */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.process-step {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  transition: background .25s ease;
}

.process-step:hover { background: var(--off); }

.process-step:last-child { border-right: none; }

.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  color: var(--blue-dark); /* visible fallback */
  line-height: 1;
  margin-bottom: 16px;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .step-num {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.65;
  font-weight: 300;
}

/* ========================================
   PRICING
   ======================================== */

.pricing { background: var(--blue-tint); }

.pricing-header { margin-bottom: 56px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* two-plan layout — keep cards a comfortable width and centered */
.pricing-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--blue);
  background: linear-gradient(180deg, #F3F8FF 0%, var(--white) 55%);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow-lg);
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--grad-blue);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
  align-self: flex-start;
  box-shadow: 0 4px 12px rgba(45,107,228,0.30);
}

.pricing-card.featured .btn-pricing { background: var(--grad-blue); }
.pricing-card.featured .btn-pricing:hover { filter: brightness(1.07); background: var(--grad-blue); }

.pricing-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.pricing-price strong {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.3px;
}

.pricing-price span {
  font-size: 14px;
  color: var(--ink-light);
}

.pricing-subnote {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin: -8px 0 4px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 28px;
  font-weight: 300;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--ink-mid);
  padding-left: 22px;
  position: relative;
  font-weight: 300;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
}

.btn-pricing {
  display: block;
  text-align: center;
  background: var(--ink);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, transform .2s;
  margin-top: auto;
}

.btn-pricing:hover {
  background: var(--blue);
  transform: translateY(-1px);
}


.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: 15px;
  color: var(--ink-mid);
  font-weight: 300;
}

.pricing-note a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.pricing-note a:hover { color: var(--blue); }

/* ========================================
   WHY US
   ======================================== */

.why { background: var(--grad-navy); }

.why .section-title { color: var(--white); }
.why .section-sub { color: rgba(255,255,255,0.6); }
.why .section-tag { color: #8FB4FF; }
.why .section-tag::before { background: #8FB4FF; }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 64px;
}

.why-item {
  display: flex;
  gap: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 24px 24px;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.why-item:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(143,180,255,0.35);
  transform: translateY(-3px);
}

.why-bullet {
  width: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, #6FA0FF, #3B79F0);
  border-radius: 4px;
}

.why-item h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  font-weight: 300;
}

/* ========================================
   CONTACT
   ======================================== */

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
}

.label-optional {
  font-weight: 300;
  color: var(--ink-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--off);
  outline: none;
  transition: border-color .2s;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.form-submit {
  background: var(--grad-blue);
  color: var(--white);
  border: none;
  padding: 16px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(45,107,228,0.30);
  transition: filter .2s, transform .2s, box-shadow .2s;
  align-self: flex-start;
}

.form-submit:hover {
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(45,107,228,0.38);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* Accessible inline form status (announced via aria-live in the HTML) */
.form-status {
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.form-status:empty { display: none; }

.form-status.success {
  color: #15803D;
  background: #ECFDF3;
  border-color: #A6E9C2;
}

.form-status.error {
  color: #B42318;
  background: #FEF3F2;
  border-color: #FECDCA;
}

.contact-info p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 32px;
}

.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }

.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail span { font-size: 15px; color: var(--ink-mid); }

.contact-availability {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-mid);
  font-weight: 300;
}

.availability-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #28C840;
  box-shadow: 0 0 0 3px rgba(40,200,64,0.2);
  flex-shrink: 0;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
  background: var(--navy);
  padding: 56px 56px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 32px;
}

.footer-logo .brand-logo {
  height: 58px;
  margin-bottom: 20px;
}

/* white-on-navy variant of the logo for the footer */
.footer-logo .brand-logo .lg-stroke { stroke: #FFFFFF; }
.footer-logo .brand-logo .lg-ink-fill { fill: #FFFFFF; }
.footer-logo .brand-logo .lg-blue-fill { fill: #8FB4FF; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.66);
  line-height: 1.7;
  font-weight: 400;
  max-width: 260px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h2 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.74);
  text-decoration: none;
  transition: color .2s;
}

.footer-col ul li a:hover { color: #8FB4FF; }

.footer-plain { font-size: 14px; color: rgba(255,255,255,0.66); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy { font-size: 13px; color: rgba(255,255,255,0.62); }

.footer-links { display: flex; gap: 24px; list-style: none; }

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: #8FB4FF; }

/* ========================================
   LEGAL PAGES (privacy / terms)
   ======================================== */

.legal {
  max-width: 800px;
  margin: 0 auto;
  padding: 150px 24px 90px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .2s;
}

.legal-back:hover { color: var(--blue); }

.legal-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.legal-header h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.legal-updated { font-size: 14px; color: var(--ink-light); }

.legal-intro {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin: 28px 0 8px;
}

.legal h2 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin: 40px 0 14px;
}

.legal h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 8px;
}

.legal p,
.legal li {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink-mid);
  line-height: 1.75;
}

.legal p { margin-bottom: 14px; }

.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }

.legal a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--blue); }

.legal strong { color: var(--ink); font-weight: 600; }

.legal-contact {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 24px;
}

.legal-contact p { margin-bottom: 6px; }

.legal-disclaimer {
  font-size: 13px;
  color: var(--ink-light);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding-top: 24px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content > * { opacity: 0; animation: fadeUp .6s ease forwards; }
.hero-content > *:nth-child(1) { animation-delay: .1s; }
.hero-content > *:nth-child(2) { animation-delay: .2s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .4s; }
.hero-content > *:nth-child(5) { animation-delay: .5s; }

.hero-visual { opacity: 0; animation: fadeUp .8s ease .35s forwards; }

/* ========================================
   RESPONSIVE — 1100px
   ======================================== */

@media (max-width: 1100px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   RESPONSIVE — 900px
   ======================================== */

@media (max-width: 900px) {
  nav { padding: 14px 24px; }

  .mobile-menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 20px;
    align-items: flex-start;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.active { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 8px 0; font-size: 16px; }
  .nav-cta { display: block; text-align: center; width: 100%; }
  .nav-logo .brand-logo { height: 42px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 110px 24px 60px;
    gap: 40px;
  }

  .hero-visual { display: none; }
  .hero h1 br { display: none; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-primary,
  .btn-ghost { text-align: center; justify-content: center; }

  section { padding: 64px 24px; }

  .stats { flex-direction: column; padding-inline: 0; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.16); padding: 24px; }
  .stat:last-child { border-bottom: none; }

  .features-grid { grid-template-columns: 1fr; }

  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }

  .pricing-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; gap: 32px; }

  .contact-inner { grid-template-columns: 1fr; gap: 48px; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  footer { padding: 48px 24px 32px; }

  .form-row { grid-template-columns: 1fr; }
  .section-title br { display: none; }
}

/* ========================================
   RESPONSIVE — 768px (tablet)
   ======================================== */

@media (max-width: 768px) and (min-width: 481px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   RESPONSIVE — 480px (small phone)
   ======================================== */

@media (max-width: 480px) {
  nav { padding: 10px 16px; }
  .nav-logo .brand-logo { height: 38px; }
  .hero { padding: 100px 16px 48px; }
  section { padding: 48px 16px; }
  .hero h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .stat-num { font-size: 32px; }
  .footer-nav { grid-template-columns: 1fr; }
  footer { padding: 48px 16px 24px; }
  .pricing-card { padding: 28px 20px; }
}
