/* ============================================================
   Summit Window Cleaning NZ - styles.css
   ============================================================ */

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

html { scroll-behavior: smooth; }

:root {
  /* Layout zones */
  --nav-bg: #000000;
  --body-bg: #ffffff;
  --footer-bg: #000000;
  --soft-bg: #f5f8fb;

  /* Brand blues */
  --brand-blue: #0078d8;
  --brand-blue-bright: #00a8f0;
  --brand-blue-deep: #003060;

  /* Text on dark sections */
  --paper: #ffffff;
  --paper-muted: #b8c5d1;
  --paper-dim: #6b7785;

  /* Text on white body */
  --body-text: #0a0f1a;
  --body-text-2: #1a2230;
  --body-text-3: #5e6a78;

  /* Cards */
  --card-bg: rgba(0, 120, 216, 0.04);
  --card-border: rgba(0, 120, 216, 0.15);
  --card-border-hover: rgba(0, 120, 216, 0.30);

  /* Trust strip */
  --trust-bg: rgba(0, 120, 216, 0.04);
  --trust-border: rgba(0, 120, 216, 0.10);

  /* Spacing */
  --section-pad-v: 120px;
  --section-pad-h: 48px;
  --content-max: 1280px;
  --form-max: 640px;

  /* Header offset */
  --header-h: 83px;
}

@media (max-width: 768px) {
  :root {
    --section-pad-v: 72px;
    --section-pad-h: 24px;
    --header-h: 74px;
  }
}

/* Smooth scroll offset - heading clears the fixed nav */
section { scroll-margin-top: calc(var(--header-h) + 16px); }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--body-bg);
  color: var(--body-text);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* --- Accessibility utilities ------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Honeypot - hidden from people, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* Visible keyboard focus on all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--brand-blue-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Typography -------------------------------------------- */
h1 { font-size: 84px; font-weight: 500; letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: 56px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; }
h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }

.lead { font-size: 19px; font-weight: 400; letter-spacing: -0.005em; line-height: 1.55; color: var(--body-text-2); }
.body-sm { font-size: 15px; font-weight: 400; line-height: 1.55; color: var(--body-text-2); }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  display: block;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  h1 { font-size: 44px; letter-spacing: -0.035em; }
  h2 { font-size: 34px; }
  h3 { font-size: 21px; }
  .lead { font-size: 17px; }
}

/* --- Animations -------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-up.in { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.08s; }
.fade-up.delay-2 { transition-delay: 0.16s; }
.fade-up.delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* --- Buttons ----------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease;
  min-height: 48px;
}
.btn-primary:hover { background: var(--brand-blue-bright); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  background: transparent;
  color: var(--body-text);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease;
  min-height: 48px;
}
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); }

/* On-gradient button pair (hero card) */
.btn-on-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  background: #fff;
  color: var(--brand-blue-deep);
  border: none;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-height: 48px;
}
.btn-on-light:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0, 18, 42, 0.28); }

.btn-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.18s ease, border-color 0.18s ease;
  min-height: 48px;
}
.btn-on-dark:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.6); }

/* --- Header ----------------------------------------------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--nav-bg);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s ease;
}
header.scrolled {
  background: #000000;
}

.nav-logo { height: 56px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  color: var(--paper-muted);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--paper); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-phone {
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 24px 32px;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--paper-muted);
  font-size: 16px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile .btn-primary {
  margin-top: 16px;
  width: 100%;
  font-size: 16px;
}
.nav-mobile-phone { color: var(--paper); font-size: 16px; font-weight: 500; }
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 4px;
}
.nav-mobile-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
  min-width: 48px;
  min-height: 48px;
}

@media (max-width: 980px) {
  header { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-right .nav-phone,
  .nav-right > .btn-primary { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-right { display: flex; }
}

/* --- Hero (rounded gradient card) ------------------------- */
#hero {
  background: var(--body-bg);
  padding: calc(var(--header-h) + 20px) var(--section-pad-h) 56px;
}
.hero-card {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 52px 56px;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #003060 0%, #0078d8 58%, #00a8f0 125%);
}
.hero-card::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 130%;
  background: radial-gradient(circle, rgba(0, 168, 240, 0.45) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 48px;
  align-items: center;
}
.hero-text { max-width: 640px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-text h1 { color: #fff; margin-bottom: 24px; }
.hero-text .lead { color: rgba(255, 255, 255, 0.86); margin-bottom: 36px; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-media { position: relative; }
.hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 24, 54, 0.35);
}
.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e8edf2 0%, #d8e3ee 100%);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--body-text-3);
  font-size: 14px;
  font-weight: 500;
  border: 2px dashed var(--card-border);
}
.hero-image-placeholder .img-label {
  font-size: 12px;
  opacity: 0.7;
  max-width: 240px;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 880px) {
  #hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-card { padding: 40px 28px; border-radius: 22px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { max-width: 100%; }
  .hero-image, .hero-image-placeholder { aspect-ratio: 4/3; max-height: 360px; }
}

/* --- Trust / stats band ----------------------------------- */
#trust {
  background: var(--body-bg);
  padding: 0 var(--section-pad-h) 8px;
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--content-max);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 26px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--body-text);
  border-right: 1px solid var(--card-border);
}
.trust-item:last-child { border-right: none; }
.trust-item svg { color: var(--brand-blue); flex-shrink: 0; }

@media (max-width: 768px) {
  #trust { padding: 0 var(--section-pad-h); }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-item {
    justify-content: flex-start;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
  .trust-item:last-child { border-bottom: none; }
}

/* --- Section shells --------------------------------------- */
section.section {
  padding: var(--section-pad-v) var(--section-pad-h);
  background: var(--body-bg);
}
section.section.soft { background: var(--soft-bg); }
.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.section-header { margin-bottom: 56px; max-width: 640px; }
.section-header.wide { max-width: 760px; }
.section-header h2 { margin-bottom: 16px; }
.section-header .lead { color: var(--body-text-2); }

/* --- Services (bento) ------------------------------------- */
.bento {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  min-height: 380px;
}
.bento-feature {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: var(--brand-blue-deep);
  color: var(--paper);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.bento-feature::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(circle, rgba(0,168,240,0.35) 0%, transparent 65%);
  pointer-events: none;
}
.bento-feature > * { position: relative; z-index: 1; }
.bento-feature .eyebrow { color: var(--brand-blue-bright); }
.bento-feature h3 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.bento-feature p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper-muted);
  margin-bottom: 32px;
}
.bento-feature .feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bento-feature .tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--paper);
}

.bento-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(0, 24, 54, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-border-hover);
  box-shadow: 0 18px 40px rgba(0, 24, 54, 0.10);
}
.bento-card h3 { margin-bottom: 12px; }
.bento-card .body-sm { margin-bottom: 0; }
.bento-card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 120, 216, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

@media (max-width: 880px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
  .bento-feature { grid-column: 1; grid-row: auto; padding: 36px 28px; }
  .bento-feature h3 { font-size: 28px; }
}

/* --- How it works ----------------------------------------- */
.steps-container {
  max-width: 720px;
  margin: 0 auto;
}
.step {
  padding: 36px 0;
  border-bottom: 1px solid var(--card-border);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}
.step:last-child { border-bottom: none; }
.step:first-child { padding-top: 0; }
.step-number {
  font-size: 56px;
  font-weight: 500;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.step h3 { margin-bottom: 8px; }
.step .body-sm { color: var(--body-text-2); }

@media (max-width: 600px) {
  .step { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .step-number { font-size: 36px; margin-bottom: 4px; }
}

/* --- Why Summit (content-focused, no intro fluff) --------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-point .why-icon {
  width: 40px;
  height: 40px;
  color: var(--brand-blue);
  margin-bottom: 20px;
}
.why-point h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.why-point p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--body-text-2);
}

@media (max-width: 880px) {
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* --- Gallery (asymmetric 4-up) ---------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.gallery-tile {
  border-radius: 14px;
  overflow: hidden;
  background: #e8edf2;
  position: relative;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-tile:hover img { transform: scale(1.04); }

.gallery-tile.feature {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}
.gallery-tile.feature-right {
  grid-column: 4 / 5;
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}
.gallery-tile.standard { aspect-ratio: 4/3; }
.gallery-tile.wide {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
  aspect-ratio: 16/9;
}

.gallery-tile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--body-text-3);
  font-size: 13px;
  font-weight: 500;
  border: 2px dashed var(--card-border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, #eef3f8 0%, #dde6ef 100%);
}
.gallery-tile-placeholder .img-name { font-weight: 600; color: var(--body-text-2); }

@media (max-width: 880px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .gallery-tile.feature,
  .gallery-tile.feature-right,
  .gallery-tile.wide {
    grid-column: 1 / 3;
    grid-row: auto;
    aspect-ratio: 16/10;
  }
}

/* --- Owner-operated (work video + text) ------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 24, 54, 0.18);
}
.about-text .eyebrow { margin-bottom: 16px; }
.about-text h2 { margin-bottom: 24px; }
.about-text p {
  color: var(--body-text-2);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

.about-signature {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--body-text-3);
}
.about-signature::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--card-border);
}

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Quote form ------------------------------------------- */
#quote-form { background: var(--soft-bg); }
.form-header {
  max-width: var(--form-max);
  margin: 0 auto 40px;
  text-align: center;
}
.form-header h2 { margin-bottom: 12px; }

.form-container {
  max-width: var(--form-max);
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0, 24, 54, 0.08);
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 15px;
  color: var(--body-text);
  background: #fff;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}
form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 120, 216, 0.12);
}
form label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: var(--body-text-2);
}
fieldset {
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
fieldset legend {
  font-size: 14px;
  font-weight: 500;
  color: var(--body-text-2);
  padding: 0 6px;
}
fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 400;
  cursor: pointer;
  min-height: 32px;
}
fieldset label:last-child { margin-bottom: 0; }
fieldset input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--brand-blue);
}
form textarea { resize: vertical; min-height: 100px; }
form .btn-primary {
  width: 100%;
  margin-top: 8px;
  font-size: 16px;
  padding: 16px 24px;
}

.form-fallback {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--body-text-3);
}
.form-fallback a { color: var(--brand-blue); }
.form-fallback a:hover { text-decoration: underline; }

#form-success {
  text-align: center;
  padding: 48px 24px;
}
#form-success p {
  font-size: 17px;
  color: var(--body-text-2);
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .form-container { padding: 28px 20px; }
  form input, form select, form textarea { font-size: 16px; }
}

/* --- Footer (4-column) ------------------------------------ */
.footer {
  background: #000000;
  color: var(--paper);
  padding: 80px 64px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.5fr 1.5fr;
  gap: 48px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-brand { max-width: 300px; }
.footer-logo img {
  width: 120px;
  height: 120px;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-muted);
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 15px;
  color: var(--paper-muted);
  word-break: break-word;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--paper); }
.footer-areas-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-muted);
}

.footer-divider {
  height: 1px;
  background: #1a2230;
  max-width: var(--content-max);
  margin: 56px auto 28px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-bottom .copy {
  font-size: 13px;
  color: var(--paper-dim);
}
.footer-privacy {
  font-size: 13px;
  color: var(--paper-muted);
  border-bottom: 1px solid #1a2230;
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.footer-privacy:hover { color: var(--brand-blue-bright); border-color: var(--brand-blue-bright); }

@media (max-width: 880px) {
  .footer { padding: 72px 40px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
}
@media (max-width: 560px) {
  .footer { padding: 56px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* --- Sticky mobile CTA bar -------------------------------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 95;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
}
.mobile-cta-call {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.mobile-cta-call svg { color: var(--brand-blue-bright); }
.mobile-cta-quote {
  background: var(--brand-blue);
  color: #fff;
}

@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  /* keep the footer clear of the fixed bar */
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
