/* ==========================================================================
   base.css — reset, typography, layout primitives, shared components
   The Mortgage Desk / Sach Desai
   ========================================================================== */

/* --- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.2; color: var(--c-heading); }

/* Headings default to the dark ink above, which is wrong on every dark
   surface — there they must take the colour their container already sets. */
:is(.hero, .bg-navy, .bg-navy-alt, .marquee-section, .contact-band, .site-footer,
    .apply-card__head, .rate-card__top, .value-card, .on-dark)
  :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--c-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  z-index: 200; background: var(--c-navy); color: #fff;
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) var(--r-sm);
  transition: transform var(--dur) var(--ease-out);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --- Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: 1314px; margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 1208px; }
.container--tight { max-width: 1100px; }

.section--tight { padding-block: var(--pad-dense); }

/* --- Type scale (mirrors the Figma text styles) -------------------------- */
.display-xl { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.9vw, 84px); line-height: 1.06; letter-spacing: -0.01em; }
.display-lg { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.1; }
.h2         { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.2; }
.h2--light  { font-weight: 500; }
.h3         { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.22; }
.h4         { font-family: var(--font-body);    font-weight: 500; font-size: clamp(20px, 1.85vw, 26px); line-height: 1.25; }
.eyebrow    { font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: 0.02em; color: var(--c-teal); }

.lede { font-size: clamp(16px, 1.4vw, 22px); line-height: 1.5; }
.body-lg { font-size: 18px; line-height: 1.55; }
.body-sm { font-size: 14px; line-height: 1.7; }
.muted { color: var(--c-text-muted); }
.on-dark { color: #fff; }
.on-dark .muted, .on-dark--muted { color: rgba(255, 255, 255, 0.88); }
.center { text-align: center; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1;
  padding: 18px 30px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--c-navy); color: #fff; }
.btn--primary:hover { background: var(--c-teal); box-shadow: var(--e-2); }

.btn--accent { background: var(--c-teal-deep); color: #fff; }
.btn--accent:hover { background: var(--c-navy); box-shadow: var(--e-2); }

.btn--ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.45); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--c-navy); border-color: #fff; }

.btn--outline { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--outline:hover { background: var(--c-navy); color: #fff; }

.btn--sm { padding: 13px 24px; font-size: 15px; }

/* Text link with animated arrow */
.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 500; color: var(--c-teal-deep);
}
.link-more svg { transition: transform var(--dur) var(--ease-out); }
.link-more:hover svg { transform: translateX(5px); }

/* --- Site header --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  padding-top: var(--s-7);
  transition: padding-top var(--dur) var(--ease-out);
}
/* The header sits over the hero, so the page must start underneath it. */
.site-header + main { margin-top: calc((80px + var(--s-7) * 2) * -1); }
.site-header.is-stuck { padding-top: var(--s-3); padding-bottom: var(--s-3); }
.site-header.is-stuck .nav { box-shadow: 0 6px 28px rgba(20, 38, 58, .20); min-height: 68px; }

.nav {
  display: flex; align-items: center; gap: 24px;
  background: #fff; border-radius: var(--r-pill);
  padding: 13px 13px 13px 40px; min-height: 80px;
  box-shadow: 0 6px 24px rgba(27, 49, 72, 0.10);
}
.nav__logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav__logo img { width: 125px; height: auto; }

/* A real <img>, not a CSS mask. The mask approach renders nothing at all if
   masking is unavailable or the file is opened over file://, which is exactly
   how the logo went missing. */
.nav__logo-img { width: 125px; height: auto; display: block; }
.logo-mark {
  display: block; width: 125px; height: 47px;
  -webkit-mask: url('../assets/img/logo-white.png') left center / contain no-repeat;
          mask: url('../assets/img/logo-white.png') left center / contain no-repeat;
}
.logo-mark--navy { background-color: var(--c-navy); }
.logo-mark--white { background-color: #fff; }

.nav__links { display: flex; align-items: center; gap: 34px; margin-inline: auto; }
.nav__link {
  font-size: 16px; font-weight: 500; color: #000;
  position: relative; padding-block: 6px;
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--c-teal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--c-teal-deep); }
.nav__link:hover::after { transform: scaleX(1); }
/* No current-page colour: the design does not mark one. */

.nav__cta { flex: 0 0 auto; }
.nav__toggle { display: none; }

/* Mobile nav */
@media (max-width: 1080px) {
  .nav { padding: 12px 12px 12px 22px; min-height: 68px; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 84vw);
    background: #fff; flex-direction: column; align-items: flex-start;
    gap: 6px; padding: 104px 28px 40px; margin: 0;
    transform: translateX(100%);
    /* visibility keeps the closed drawer out of the layout and out of the tab
       order — without it the off-screen panel widens the page and its links
       stay keyboard-focusable. */
    visibility: hidden;
    transition: transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    box-shadow: -12px 0 40px rgba(27, 49, 72, 0.16); z-index: 90; overflow-y: auto;
  }
  .nav__links.is-open {
    transform: translateX(0); visibility: visible;
    transition: transform var(--dur) var(--ease-out), visibility 0s;
  }
  .nav__link { font-size: 19px; width: 100%; padding-block: 14px; border-bottom: 1px solid #EEF1F5; }
  .nav__link::after { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; align-items: center; z-index: 100;
    border-radius: 50%; flex: 0 0 auto;
  }
  .nav__toggle span {
    display: block; width: 22px; height: 2px; background: var(--c-navy); border-radius: 2px;
    transition: transform var(--dur) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
  }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(11, 22, 35, 0.5);
    opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease-out); z-index: 80;
  }
  .nav-scrim.is-open { opacity: 1; pointer-events: auto; }
}
@media (max-width: 480px) {
  .nav__cta .btn { padding: 12px 18px; font-size: 14px; }
  .nav__logo img { width: 104px; }
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
  position: relative; min-height: 781px; display: flex; align-items: center;
  background: var(--c-navy); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27, 49, 72, 0.42) 0%, rgba(27, 49, 72, 0.86) 62%, var(--c-navy) 100%);
}
.hero__inner { width: 100%; padding-block: 180px 150px; text-align: center; color: #fff; }
.hero__title { max-width: 1008px; margin-inline: auto; }
.hero__lede { max-width: 940px; margin: 30px auto 0; color: rgba(255, 255, 255, 0.9); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }

/* Curved white transition at the base of the hero.
   Figma: Ellipse 220 — 1826x374, its apex sitting 16px above the hero's lower
   edge, so only a shallow arc breaks the boundary. */
.hero__curve {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: calc(100% - 16px);
  width: max(1826px, 127vw); height: 374px;
  background: var(--c-white); border-radius: 50%; z-index: -1;
}
.hero--flat .hero__curve { display: none; }

/* Compact hero for interior pages */
.hero--page { min-height: 420px; }
.hero--page .hero__inner { padding-block: 170px 90px; }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__inner { padding-block: 150px 120px; }
  .hero__curve { height: 180px; width: 160%; }
  .hero--page .hero__inner { padding-block: 140px 70px; }
}

/* --- Section heading block ----------------------------------------------- */
.section-head { max-width: 900px; margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; }
.section-head--left { margin-inline: 0; text-align: left; }

/* --- Grid ---------------------------------------------------------------- */
.grid { display: grid; gap: var(--gap-card); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* --- Split (illustration + copy) ----------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--wide-right { grid-template-columns: 0.85fr 1fr; }
/* For a media column that should match the height of the copy beside it
   (the location map) rather than float centred against it. */
.split--stretch { align-items: stretch; }
.split--stretch > .split__media { display: flex; }
.split--stretch > .split__media > * { flex: 1 1 auto; min-width: 0; }
.split__media img, .split__media svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .split, .split--wide-right { grid-template-columns: 1fr; gap: 44px; }
  .split--media-last .split__media { order: 2; }
}

/* --- Rate cards ---------------------------------------------------------- */
.rate-card {
  border-radius: var(--r-card); overflow: hidden;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: var(--e-2);
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.rate-card:hover { transform: translateY(-4px); box-shadow: var(--e-3); }
.rate-card__top { background: var(--c-navy-alt); color: #fff; padding: var(--s-6) var(--s-7) var(--s-7); }
.rate-card__badge {
  display: inline-block; background: var(--c-teal-deep); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.rate-card__lender { font-size: 26px; font-weight: 600; font-family: var(--font-body); }
.rate-card__body { padding: var(--s-7); text-align: center; }
.rate-card__rate { font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1; color: var(--c-navy); }
.rate-card__term { margin-top: 12px; font-size: 16px; font-weight: 600; color: var(--c-body-soft); }
.rate-card__cta { margin-top: var(--s-6); }

.disclaimer { max-width: 1100px; margin: 40px auto 0; font-size: 14px; line-height: 1.65; color: var(--c-body-faint); text-align: center; }

/* --- Solution cards ------------------------------------------------------ */
.solution-card {
  background: var(--c-white); border: 1px solid #E6EAF0; border-radius: var(--r-card);
  padding: var(--s-8) var(--s-7); box-shadow: var(--e-1);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 400px;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--e-3); border-color: #D8DFE9; }
.solution-card__icon {
  width: 76px; height: 76px; border-radius: var(--r-card);
  display: grid; place-items: center; margin-bottom: var(--s-5);
  background: linear-gradient(150deg, #E8F4F7, #F4F8FA);
}
.solution-card__icon { color: var(--c-teal-deep); }
.solution-card__icon svg { width: 34px; height: 34px; }
.solution-card__title { font-size: 26px; font-weight: 500; font-family: var(--font-body); color: var(--c-navy); }
.solution-card__text { margin-top: 16px; font-size: 17px; line-height: 1.6; color: var(--c-body-soft); flex: 1; }
.solution-card__link { margin-top: var(--s-5); }

/* --- Value cards (dark section) ------------------------------------------ */
.value-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-card); padding: var(--s-6) var(--s-7); color: #fff;
  transition: background-color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out),
              transform var(--dur) var(--ease-out);
}
.value-card:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 255, 255, .26); transform: translateY(-3px); }
.value-card__title { font-size: 26px; font-weight: 500; font-family: var(--font-body); }
.value-card__text { margin-top: var(--s-3); font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .82); }


/* --- Testimonials -------------------------------------------------------- */
.testimonials { background: #E9EBED; }
.reviews-summary { display: flex; flex-direction: column; justify-content: center; }
.reviews-summary__brand { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.reviews-summary__count { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: var(--c-body-soft); margin-top: 4px; }
.reviews-summary__stars { display: flex; gap: 3px; margin-top: 8px; color: #FBBC04; }
.reviews-summary__write { margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--c-teal-deep); }
.reviews-summary__write:hover { text-decoration: underline; }

.review-card {
  background: var(--c-white); border: 1px solid #E6EAF0; border-radius: var(--r-card);
  padding: var(--s-6); box-shadow: var(--e-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--e-3); }
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-teal-light); color: var(--c-navy); font-size: 20px; font-weight: 600; flex: 0 0 auto;
}
.review-card__name { font-size: 18px; font-weight: 600; color: var(--c-navy); }
.review-card__date { font-size: 13px; color: var(--c-body-faint); }
.review-card__stars { display: flex; gap: 2px; margin-top: 14px; color: #FBBC04; }
.review-card__text { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--c-body); }
.review-card__more { margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--c-teal-deep); }
.review-card__more:hover { text-decoration: underline; }

.reviews-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .reviews-layout { grid-template-columns: 1fr; gap: 28px; } }

/* --- FAQ accordion ------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item {
  background: var(--c-white); border: 1px solid #E6EAF0; border-radius: var(--r-card);
  box-shadow: var(--e-1); overflow: hidden;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.faq-item:has(.faq-item__trigger[aria-expanded="true"]) { border-color: #CFDAE6; box-shadow: var(--e-2); }
.faq-item__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: var(--s-5) var(--s-6); text-align: left;
  font-size: 18px; font-weight: 500; color: var(--c-navy);
  transition: color var(--dur) var(--ease-out);
}
.faq-item__trigger:hover { color: var(--c-teal-deep); }
.faq-item__icon {
  flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-bg-pale); display: grid; place-items: center;
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.faq-item__trigger[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); background: var(--c-teal); color: #fff; }
.faq-item__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}
.faq-item__panel[data-open="true"] { grid-template-rows: 1fr; }
.faq-item__panel > div { overflow: hidden; }
.faq-item__panel p { padding: 0 var(--s-6) var(--s-6); font-size: 16px; line-height: 1.7; color: var(--c-body); }

/* --- Bank marquee -------------------------------------------------------- */
.marquee-section { background: var(--c-navy); color: #fff; }
.marquee { display: flex; flex-direction: column; gap: var(--s-7); margin-top: var(--s-9); }

/* The row translates by exactly one set of chips — including that set's
   trailing gap — so the seam is invisible. Animating a flat -50% lands
   mid-gap and shows a hole, which is what was happening. */
.marquee__row {
  display: flex; gap: 20px; width: max-content;
  animation: marquee-left var(--marquee-dur, 46s) linear infinite;
  will-change: transform;
}
.marquee__row--reverse { animation-name: marquee-right; --marquee-dur: 54s; }
.marquee__row--slow { --marquee-dur: 62s; }
.marquee:hover .marquee__row,
.marquee[data-paused="true"] .marquee__row { animation-play-state: paused; }
.marquee__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.bank-chip {
  flex: 0 0 auto; width: 206px; height: 99px; background: #fff; border-radius: var(--r-sm);
  display: grid; place-items: center; padding: 18px 22px;
}
.bank-chip img { max-height: 46px; max-width: 100%; width: auto; object-fit: contain; }
@keyframes marquee-left  { from { transform: translateX(0); }
                           to   { transform: translateX(calc(var(--marquee-shift, 50%) * -1)); } }
@keyframes marquee-right { from { transform: translateX(calc(var(--marquee-shift, 50%) * -1)); }
                           to   { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__row { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
  .marquee__viewport { -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 680px) { .bank-chip { width: 150px; height: 78px; } }

/* --- Forms --------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: var(--s-3); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 16px; font-weight: 600; color: var(--c-navy); }
.field__control {
  width: 100%; height: 48px; padding: 0 var(--s-4);
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--r-sm);
  font-size: 16px; color: var(--c-navy);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
textarea.field__control { height: auto; min-height: 104px; padding: var(--s-3) var(--s-4); resize: vertical; }
select.field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231B3148' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; padding-right: 46px;
}
.field__control::placeholder { color: var(--c-body-faint); font-weight: 500; }
.field__control:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(8, 152, 169, 0.16); }
.field__control:user-invalid { border-color: var(--c-red); }
.field__error { font-size: 13px; color: var(--c-red); min-height: 0; }
.field__control:user-invalid ~ .field__error::before { content: attr(data-msg); }

.form__note { font-size: 13px; color: var(--c-body-faint); }
.form__status { display: none; padding: 16px 20px; outline-offset: 3px; border-radius: var(--r-sm); font-size: 15px; }
.form__status[data-state="success"] { display: block; background: #E8F6EE; color: var(--c-green); border: 1px solid #B7E3CA; }
.form__status[data-state="error"] { display: block; background: #FDECEA; color: #B3261E; border: 1px solid #F5C2BD; }

/* --- Contact cards ------------------------------------------------------- */
.contact-band { position: relative; isolation: isolate; color: #fff; }
.contact-band__media { position: absolute; inset: 0; z-index: -2; }
.contact-band__media img { width: 100%; height: 100%; object-fit: cover; }
.contact-band__media::after { content: ''; position: absolute; inset: 0; background: rgba(27, 49, 72, 0.85); }

.contact-band__head { max-width: 640px; margin: 0 auto var(--s-9); text-align: center; }
.contact-band__head p { margin-top: var(--s-4); color: rgba(255, 255, 255, .88); }

/* Each card was previously a flex column with `justify-content: center`, so
   the two-line address card centred its own content and every row — icon,
   label, value — drifted ~14px out of step with the phone and email cards
   beside it. Subgrid hands all three cards the *same* five rows, so they
   line up no matter how many lines any single value takes. */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3) var(--gap-card);
}
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    /* icon · label · value · hours (absorbs slack) · action */
    .contact-grid { grid-template-rows: auto auto auto 1fr auto; }
    .contact-card { grid-row: span 5; grid-template-rows: subgrid; }
  }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}

.contact-card {
  padding: var(--s-8) var(--s-6) var(--s-7);
  text-align: center; color: var(--c-navy);
  display: grid; justify-items: center; align-content: start;
  gap: var(--s-3);
}
.contact-card > * { align-self: start; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--e-4); border-color: #D8DFE9; }
.contact-card:focus-visible { outline: 3px solid var(--c-teal-deep); outline-offset: 3px; }

.contact-card__icon {
  width: 56px; height: 56px; border-radius: var(--r-card); display: grid; place-items: center;
  background: linear-gradient(150deg, #E8F4F7, #F4F8FA);
  color: var(--c-teal-deep);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.contact-card:hover .contact-card__icon { background: var(--c-navy); color: #fff; }
.contact-card__label {
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-body-faint);
}
.contact-card__value {
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 600; line-height: 1.4;
  color: var(--c-navy); word-break: break-word;
  transition: color var(--dur) var(--ease-out);
}
.contact-card:hover .contact-card__value { color: var(--c-teal-deep); }
.contact-card__meta { font-size: 13px; line-height: 1.55; color: var(--c-body-soft); }
.contact-card__action {
  align-self: end;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--c-teal-deep);
}
.contact-card__action svg { transition: transform var(--dur) var(--ease-out); }
.contact-card:hover .contact-card__action svg { transform: translate(2px, -2px); }

/* --- Footer -------------------------------------------------------------- */
.site-footer { background: var(--c-navy-alt); color: #fff; padding-top: 54px; }
.site-footer__grid { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr 1.2fr; gap: 40px; }
.site-footer__logo img { width: 165px; margin-bottom: 18px; }
.site-footer__meta { font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.site-footer__meta + .site-footer__meta { margin-top: 6px; font-size: 16px; }
.footer-col__title { font-family: 'DM Sans', var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.86); transition: color var(--dur) var(--ease-out), padding-left var(--dur) var(--ease-out); }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; align-items: center; font-size: 16px; color: rgba(255, 255, 255, 0.86); }
.footer-contact li + li { margin-top: 14px; }
.footer-contact svg { flex: 0 0 auto; opacity: 0.9; }
.footer-contact a { transition: color var(--dur) var(--ease-out); }
.footer-contact a:hover { color: #fff; }
.footer-socials { display: flex; gap: var(--s-5); margin-top: var(--s-5); }
.footer-socials a {
  display: grid; place-items: center; color: rgba(255, 255, 255, .9);
  transition: color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.footer-socials a:hover { color: #fff; transform: translateY(-2px); }

.site-footer__bar {
  margin-top: 34px; background: var(--c-navy); color: rgba(255, 255, 255, 0.88);
  padding-block: 20px;
}
.site-footer__bar .container { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.site-footer__bar p, .site-footer__bar a { font-family: var(--font-display); font-size: 16px; }
.site-footer__bar a { font-weight: 600; }
.site-footer__bar a:hover { color: var(--c-teal-light); }

@media (max-width: 980px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } .footer-col__title { font-size: 22px; } }

/* --- Utilities ----------------------------------------------------------- */
.bg-pale { background: var(--c-bg-pale); }
.bg-navy { background: var(--c-navy); color: #fff; }
.bg-navy-alt { background: var(--c-navy-alt); color: #fff; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 28px; }
.mt-l { margin-top: 48px; }
.stack-lg > * + * { margin-top: 24px; }


/* --- Media utilities (replace inline styles) ----------------------------- */
.media { display: block; width: 100%; height: auto; }
.media--round-lg { border-radius: var(--r-xl); }
.media--cover { width: 100%; height: 100%; object-fit: cover; }
.media--portrait { max-height: 725px; }
.media--frame { border-radius: var(--r-card); box-shadow: 0 12px 34px rgba(27, 49, 72, 0.14); }

/* --- Headings that use the body face rather than the display face -------- */
.h-body { font-family: var(--font-body); font-weight: 400; }
.h-body--semi { font-family: var(--font-body); font-weight: 600; }

.btn--block { width: 100%; }
.btn--on-dark { background: #fff; color: var(--c-navy); border-color: #fff; }
.btn--on-dark:hover { background: var(--c-teal); color: #fff; border-color: var(--c-teal); }


/* --- Reduced motion ------------------------------------------------------
   Covers hover lifts, image zooms and every transition — not just the
   scroll reveals, which were the only thing previously honoured. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:hover, .card--interactive:hover, .solution-card:hover, .blog-card:hover,
  .hold-card:hover, .review-card:hover, .contact-card:hover, .rate-card:hover,
  .rate-stat:hover, .value-card:hover, .contact-method:hover {
    transform: none;
  }
  .blog-card:hover .blog-card__media img,
  .card--interactive:hover .card__media img { transform: none; }
}


/* Figma: "First, Let's Cover the Various Types of Purchases:" is 36px. */
.h-lead { font-family: var(--font-body); font-weight: 600; font-size: clamp(24px, 2.5vw, 36px); line-height: 1.3; }

/* Get Started band.
   The backdrop used to be assets/img/form-bg-wide.jpg (now deleted) — a raw Google Maps
   screenshot, "View larger map" button, "Map data ©2025 Google" credit and
   all. Republishing Maps imagery that way is a terms problem, and washing it
   to 16% behind a *live* map made the section read as two competing maps.
   It is a painted brand surface now; no image, no third party. */
.start-band {
  isolation: isolate;
  background: linear-gradient(180deg, #FAFCFD 0%, #EEF4F8 100%);
}
.start-band__media {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(58% 78% at 8% -6%,  rgba(8, 152, 169, .13), transparent 62%),
    radial-gradient(52% 72% at 104% 108%, rgba(27, 49, 72, .11), transparent 60%);
}
