/* ==========================================================================
   BRIGHTON HOME BUYER — styles.css
   --------------------------------------------------------------------------
   Everything you'd normally want to change (colors, fonts, spacing) lives in
   the ":root" block right below. Change a value there and it updates the whole
   site at once.
   ========================================================================== */

:root {
  /* ---- BRAND COLORS ----
     The navy and slate below are sampled straight out of the logo file, so the
     site and the logo are the exact same colors. Change these to rebrand. */
  --navy-900: #071B33;   /* darkest navy — footer */
  --navy-800: #0E2C55;   /* LOGO NAVY — hero, dark sections, headings */
  --navy-700: #17406E;   /* lighter navy */
  --blue-500: #22558C;   /* supporting blue — links */
  --blue-100: #EEF3F9;   /* pale blue tint */

  /* Gold accent. Navy + gold is the classic premium-real-estate pairing and it
     gives the buttons something to pop against all the navy.
     WANT A GOLD-FREE, ALL-NAVY SITE? Set --accent to #0E2C55, --accent-hover to
     #17406E and --accent-ink to #FFFFFF. Nothing else needs to change. */
  --accent:        #D9A441;  /* gold — button fills & highlights */
  --accent-hover:  #C48F2C;  /* darker gold for hover */
  --accent-light:  #E8C27A;  /* soft gold for text/icons on dark navy */
  --accent-deep:   #8F6519;  /* bronze — gold used as small text on white */
  --accent-ink:    #0E2C55;  /* label color that sits ON a gold button */

  --ink:      #14243A;   /* main body text */
  --ink-soft: #565B66;   /* LOGO SLATE — secondary text */
  --line:     #DCE3EC;   /* borders */
  --bg:       #FFFFFF;
  --bg-alt:   #F5F8FC;   /* light section background */

  /* ---- TYPE & LAYOUT ---- */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1180px;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;   /* header height — also used to offset anchor scrolling */
  --logo-h: 40px;     /* logo image height; width scales automatically */

  --shadow-sm: 0 1px 2px rgba(7, 27, 51, .06), 0 2px 8px rgba(7, 27, 51, .05);
  --shadow-md: 0 4px 12px rgba(7, 27, 51, .08), 0 12px 32px rgba(7, 27, 51, .08);
  --shadow-lg: 0 18px 50px rgba(7, 27, 51, .18);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keeps anchor targets from hiding under the sticky header */
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
  color: var(--navy-800);
}
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Visible keyboard focus everywhere */
/* Focus ring: navy on light backgrounds, soft gold on dark ones, so the
   indicator always has enough contrast to be seen. */
:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.hero :focus-visible,
.section-navy :focus-visible,
.site-footer :focus-visible { outline-color: var(--accent-light); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--accent); color: var(--accent-ink); padding: .75rem 1.25rem;
  font-weight: 700; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow { max-width: 820px; }
.center { text-align: center; }

.section { padding: 68px 0; }
.section-light { background: var(--bg-alt); }
.section-navy {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: #DCE7F3;
}
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .section-sub { color: #B9CBDE; }
.section-navy a { color: var(--accent-light); }

.section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-sub { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

.kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .74rem;
  font-weight: 800;
  color: var(--accent-deep); /* bronze, not gold — gold is unreadable on white */
  margin: 0 0 .6rem;
}
.kicker-light { color: var(--accent-light); }

.grid { display: grid; gap: 20px; }
.grid-3, .grid-4 { grid-template-columns: 1fr; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }

/* Gold button with a navy label — 5.8:1 contrast, comfortably AA */
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 18px rgba(14, 44, 85, .22);
}
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-ink); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .06);
}
.btn-outline-light:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn-phone {
  background: var(--blue-100);
  color: var(--navy-800);
  border-color: transparent;
  padding: .7rem 1.15rem;
}
.btn-phone:hover { background: var(--navy-800); color: #fff; }

.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(7, 27, 51, .10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

/* --- Logo ---
   The header uses media/logo.png (navy artwork, transparent background) and the
   footer uses media/logo-white.png (same artwork knocked out to white so it reads
   on the dark navy). To resize the logo, change --logo-h at the top of this file. */
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy-800); }
.logo:hover { text-decoration: none; }
.logo-img {
  height: var(--logo-h);
  width: auto;
  display: block;
}

.logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  flex: none;
}
.logo-mark svg { width: 21px; height: 21px; fill: var(--accent-light); }

.logo-text {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.02em;
  line-height: 1.1;
  color: var(--navy-800);
}
.logo-strong { font-weight: 800; }

/* --- Nav --- */
.nav-list { display: flex; align-items: center; gap: 1.6rem; }
.nav-list a {
  color: var(--navy-800);
  font-weight: 600;
  font-size: .95rem;
  padding: .4rem 0;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--accent);
  transition: right .22s ease;
}
.nav-list a:hover { text-decoration: none; }
.nav-list a:hover::after { right: 0; }

.nav-cta-mobile { display: none; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.btn-phone-label { display: none; }

/* Mobile menu button */
.nav-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; }
.nav-toggle-bars span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--navy-800);
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .nav-list a::after { display: none; }
  .nav-cta-mobile { display: block; padding-top: 1rem; }
  .nav-cta-mobile a { padding: .95rem 1.4rem; color: #fff; }
}

@media (min-width: 901px) {
  .nav-toggle { display: none; }
  .btn-phone-label { display: inline; }
}

/* Give the logo more room on small phones */
@media (max-width: 430px) {
  :root { --logo-h: 34px; --header-h: 68px; }
  .btn-phone { padding: .65rem .8rem; }
  .header-inner { gap: 8px; }
}

/* Slightly larger logo and header on desktop */
@media (min-width: 901px) {
  :root { --logo-h: 74px; --header-h: 112px; }
}

/* ==========================================================================
   HERO
   IMAGE SWAP: replace the Unsplash URL below with your own photo, e.g.
   url("images/my-house.jpg")
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  background-color: var(--navy-800);
  background-image:
    linear-gradient(105deg, rgba(7, 27, 51, .95) 0%, rgba(14, 44, 85, .88) 45%, rgba(14, 44, 85, .70) 100%),
    url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  padding-top: 56px;
}

.hero-inner {
  display: grid;
  gap: 36px;
  padding-bottom: 56px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  padding: .4rem .95rem;
  font-size: .8rem; font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  margin: 0 0 1.1rem;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 4px rgba(232, 194, 122, .25);
  flex: none;
}

.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 .hl {
  color: var(--accent-light);
  /* subtle underline accent */
  box-shadow: inset 0 -.14em 0 rgba(232, 194, 122, .30);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: #CBD9E8;
  max-width: 34em;
  margin-bottom: 1.4rem;
}
.hero-sub em { color: #fff; font-style: normal; font-weight: 700; }

.hero-points { display: grid; gap: .55rem; margin: 0 0 1.8rem; }
.hero-points li {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 600; color: #E4EDF7; font-size: .98rem;
}
.check { width: 20px; height: 20px; fill: var(--accent-light); flex: none; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-note { margin: 1.1rem 0 0; font-size: .85rem; color: #9FB5CB; }

/* Hero lead card */
.hero-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--accent);
}
.hero-card-title { font-size: 1.35rem; margin-bottom: .25rem; }
.hero-card-sub { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.2rem; }
.hero-form { display: grid; gap: .9rem; }
.hero-form-note { margin: 0; font-size: .78rem; color: var(--ink-soft); text-align: center; }

/* Trust strip under the hero */
.trust-strip { background: rgba(7, 27, 51, .55); border-top: 1px solid rgba(255, 255, 255, .12); }
.trust-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-block: 22px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-size: clamp(1.25rem, 3.5vw, 1.7rem);
  font-weight: 800;
  color: var(--accent-light);
  letter-spacing: -.02em;
  white-space: nowrap; /* keeps figures like "20-30" from breaking across lines */
}
.trust-item span { font-size: .82rem; color: #C2D2E3; font-weight: 600; }

/* ==========================================================================
   FORM FIELDS (shared by hero form and main lead form)
   ========================================================================== */
.field { display: grid; gap: .35rem; }
.field label {
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy-800);
}
.req { color: var(--accent-deep); }
.optional { font-weight: 500; color: var(--ink-soft); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: .78rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease;
}
textarea { resize: vertical; min-height: 110px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234A5C71'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .6rem center;
  background-size: 20px;
  padding-right: 2.2rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(34, 85, 140, .18);
}

input.invalid, select.invalid, textarea.invalid { border-color: #C62828; background: #FFF7F7; }
input.invalid:focus, select.invalid:focus { box-shadow: 0 0 0 3px rgba(198, 40, 40, .15); }

.error {
  margin: 0;
  min-height: 0;
  font-size: .8rem;
  font-weight: 600;
  color: #C62828;
}
.error:empty { display: none; }

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ==========================================================================
   "WHAT HAPPENS IF YOU WAIT" — pain cards
   ========================================================================== */
.pain-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.pain-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #F7EFDD;
  margin-bottom: 1rem;
}
.pain-icon svg { width: 24px; height: 24px; fill: var(--accent-deep); }
.pain-card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

.wait-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  background: var(--blue-100);
  border: 1px solid #CFE0F2;
  border-radius: var(--radius);
  padding: 22px;
}
.wait-cta p { margin: 0; color: var(--navy-800); font-size: 1.02rem; }

/* ==========================================================================
   WHY CHOOSE US — feature cards
   ========================================================================== */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #C2D2E4;
}
.feature-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900));
  margin-bottom: 1rem;
}
.feature-icon svg {
  width: 26px; height: 26px;
  fill: var(--accent-light);
  stroke: var(--accent-light);
  stroke-width: 0;
}
.feature-card p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ==========================================================================
   HOW IT WORKS — steps
   ========================================================================== */
.steps {
  display: grid;
  gap: 22px;
  counter-reset: step;
  margin-bottom: 38px;
}
.step {
  position: relative;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.step-num {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: .9rem;
}
.step h3 { color: #fff; }
.step p { color: #B9CBDE; margin: 0; font-size: .96rem; }

/* ==========================================================================
   SITUATIONS
   ========================================================================== */
.situation-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.situation-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.situation-card h3 { font-size: 1.02rem; margin-bottom: .35rem; }
.situation-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.stars { color: var(--accent-deep); letter-spacing: .12em; font-size: 1.05rem; }
.testimonial blockquote { margin: 0; flex: 1; }
.testimonial blockquote p { margin: 0; color: var(--ink); font-size: 1rem; }
.testimonial figcaption {
  display: flex; align-items: center; gap: .8rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: .9rem;
}
.testimonial figcaption > span:last-child { display: grid; }
.avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy-800);
  font-weight: 800;
  font-size: .9rem;
  flex: none;
}
.muted { color: var(--ink-soft); font-size: .84rem; }

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-item h3 { margin: 0; font-size: inherit; }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: #fff;
  border: 0;
  padding: 1.05rem 1.15rem;
  font: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-800);
  cursor: pointer;
}
.faq-q:hover { background: var(--bg-alt); }

.faq-icon {
  position: relative;
  width: 20px; height: 20px;
  flex: none;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--accent-deep);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.faq-icon::before { top: 9px; left: 0; width: 20px; height: 2.5px; }
.faq-icon::after  { left: 9px; top: 0; width: 2.5px; height: 20px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a { padding: 0 1.15rem 1.15rem; }
.faq-a p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ==========================================================================
   CONTACT / LEAD FORM
   ========================================================================== */
.contact-grid { display: grid; gap: 32px; }
.contact-copy p { color: #B9CBDE; }

.contact-list { display: grid; gap: 14px; margin: 26px 0; }
.contact-list li { display: flex; align-items: center; gap: .9rem; }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #8FA8C0; font-weight: 700; }
.contact-list a { color: #fff; font-weight: 700; font-size: 1.05rem; }
.contact-list a:hover { color: var(--accent-light); }
.contact-list .plain { color: #fff; font-weight: 700; font-size: 1.05rem; }
.ci {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  flex: none;
}
.ci svg { width: 20px; height: 20px; fill: var(--accent-light); }

.contact-badge {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: .9rem;
  color: #B9CBDE;
}
.contact-badge strong { color: #fff; display: block; margin-bottom: .2rem; }

.form-wrap {
  background: #fff;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--accent);
}
.form-title { font-size: 1.3rem; margin-bottom: 1.2rem; }
.lead-form { display: grid; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }

.consent {
  margin: 0;
  font-size: .78rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-align: center;
}

.form-status {
  margin: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
}
.form-status:empty { display: none; }
.form-status.success {
  background: #E8F6EC;
  border: 1px solid #B7E0C3;
  color: #1B5E20;
  padding: 1rem 1.1rem;
}
.form-status.error-box {
  background: #FDECEC;
  border: 1px solid #F3B9B9;
  color: #B71C1C;
  padding: 1rem 1.1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: #A8BED4;
  padding-top: 52px;
  font-size: .94rem;
}
.footer-grid { display: grid; gap: 32px; padding-bottom: 34px; }
.logo-footer .logo-img { height: calc(var(--logo-h) + 8px); }
.footer-tagline { color: var(--accent-light); font-weight: 700; margin: 1rem 0 .6rem; }
.footer-text { color: #94AAC0; margin: 0; max-width: 34em; }

.footer-head {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  margin: 0 0 1rem;
}
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { color: #A8BED4; }
.footer-col a:hover { color: #fff; }
.footer-col .plain { color: #94AAC0; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding-top: 20px;
  padding-bottom: 96px; /* room for the floating call button on mobile */
  display: grid;
  gap: .6rem;
  font-size: .82rem;
  color: #8299AF;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: grid; gap: .4rem; }
.footer-legal a { color: #A8BED4; text-decoration: underline; }
.footer-legal a:hover { color: #fff; }

/* ==========================================================================
   FLOATING CALL BUTTON (mobile only)
   ========================================================================== */
.fab-call {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  padding: .95rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(7, 27, 51, .35);
}
.fab-call:hover { background: var(--accent-hover); color: var(--accent-ink); text-decoration: none; }
.fab-call svg { width: 20px; height: 20px; fill: currentColor; }

@media (min-width: 768px) {
  .fab-call { display: none; }
  .footer-bottom { padding-bottom: 28px; }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (min-width: 620px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .form-row-3 { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { grid-template-columns: 1fr; }
  .hero-card { padding: 30px 28px; }
  .form-wrap { padding: 34px 30px; }
  .section { padding: 84px 0; }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}

@media (min-width: 1000px) {
  .hero { padding-top: 76px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 52px; padding-bottom: 76px; }
  .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
  .section { padding: 96px 0; }
}

/* Draw connector lines between the 4 steps on wide screens */
@media (min-width: 900px) {
  .steps { position: relative; }
  .step::after {
    content: "";
    position: absolute;
    top: 48px; right: -11px;
    width: 22px; height: 2px;
    background: rgba(255, 255, 255, .25);
  }
  .step:last-child::after { display: none; }
}

/* ==========================================================================
   PRIVACY PAGE (privacy.html)
   ========================================================================== */
.legal-page { padding: 56px 0 80px; }
.legal-page h1 { color: var(--navy-800); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-page h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; margin-bottom: 1rem; }
.legal-updated { font-size: .88rem; color: var(--ink-soft); }

/* ==========================================================================
   OVERRIDES — keep last in this file
   Dark sections tint their links orange; buttons must keep white label text
   so they stay readable against the orange button background.
   ========================================================================== */
.section-navy .btn-accent,
.section-navy .btn-accent:hover { color: var(--accent-ink); }
.section-navy .btn-outline-light { color: #fff; }
.section-navy .btn-outline-light:hover { color: var(--navy-800); }
