/* =========================================================
   Diamond Hail and Dent — Landing Page Styles
   Brand-aligned: Bebas Neue + Montserrat, purple/cyan on navy,
   light & trustworthy base. Signature gradient used sparingly.
   ========================================================= */

:root {
  /* Brand palette (from diamondhailanddent.com) */
  --navy:      #0f172a;   /* brand dark — headers of dark sections, footer */
  --navy-2:    #1b2945;   /* lighter navy for cards on dark */
  --purple:    #5d2ee6;   /* brand primary — CTAs, links, accents */
  --purple-dk: #4a22c4;   /* purple pressed */
  --cyan:      #28c1fa;   /* brand accent */
  --purple-soft: #efe9ff; /* purple tint for icon chips/highlights */
  --gold:      #c8881f;   /* award + star accents, used sparingly */

  /* Signature gradient — used ONLY as a small accent (logo, thin rules) */
  --grad: linear-gradient(120deg, #28c1fa 0%, #5d2ee6 70%);

  --ink:     #222a3a;     /* body text */
  --heading: #0f172a;     /* headings */
  --muted:   #586377;     /* secondary text */
  --muted-2: #7c8699;

  --bg:      #ffffff;
  --bg-alt:  #edf2f7;     /* brand light-gray section bg */
  --bg-alt-2:#f7fafc;     /* brand off-white */
  --card:    #ffffff;
  --line:    #e1e7f0;     /* borders */
  --line-2:  #cbd5e1;

  --font-head: "Bebas Neue", Impact, "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius:    8px;
  --radius-sm: 5px;       /* brand uses ~5px button radius */
  --radius-lg: 10px;
  --shadow:    0 2px 13px rgba(15, 23, 42, .08);
  --shadow-md: 0 2px 6px rgba(15, 23, 42, .08), 0 14px 30px rgba(15, 23, 42, .12);

  --container: 1180px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  font-synthesis: none;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* The hidden attribute must always win, even over components that set display
   (e.g. .btn, .field-row grids) — used for progressive-disclosure fields + modal. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Display headings — Bebas Neue, condensed all-caps (brand signature) */
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .025em;
  line-height: 1.02;
  color: var(--heading);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: 64px 0; }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 5.5vw, 3.1rem); margin-bottom: 10px; }
.section-lead { color: var(--muted); font-size: 1.04rem; }
.kicker {
  display: inline-block; font-family: var(--font-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px;
}
.kicker.light { color: var(--cyan); }
.hl { color: var(--purple); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--purple); color: #fff; padding: 10px 16px; border-radius: 0 0 6px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* Thin signature brand stripe at very top of page */
.brandbar { height: 4px; background: var(--grad); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 2px solid transparent;
  font-family: var(--font-body); font-weight: 700; font-size: .92rem; line-height: 1;
  text-transform: uppercase; letter-spacing: .03em;
  transition: background .15s, border-color .15s, color .15s, transform .12s var(--ease), box-shadow .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* primary = solid brand purple, hovers to navy (brand behavior) */
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 3px 10px rgba(93, 46, 230, .28); }
.btn-primary:hover { background: var(--navy); box-shadow: 0 6px 16px rgba(15, 23, 42, .28); }

.btn-outline { background: #fff; color: var(--purple); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--purple); background: var(--purple-soft); }

/* light buttons for dark (navy) sections */
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--cyan); color: var(--navy); }
.btn-on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-on-dark:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.btn-call {
  background: #fff; color: var(--navy); border-color: var(--line-2);
  font-size: .86rem; padding: 9px 14px; letter-spacing: .01em;
}
.btn-call:hover { border-color: var(--purple); color: var(--purple); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c5cfde; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: center; gap: 24px; padding: 7px 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 15px; height: 15px; fill: var(--cyan); flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-text { font-size: 1.04rem; letter-spacing: -.01em; color: var(--navy); }
.brand-text strong { color: var(--purple); font-weight: 800; }

.main-nav { display: none; margin-left: auto; gap: 22px; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .9rem; position: relative; padding: 6px 0; transition: color .15s; }
.main-nav a:hover { color: var(--purple); }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); transition: width .18s var(--ease); }
.main-nav a:hover::after { width: 100%; }

.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line-2);
  border-radius: 6px; background: #fff;
}
.nav-toggle span { height: 2px; width: 100%; background: var(--navy); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.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); }

/* Mobile nav drawer */
.main-nav.open {
  display: flex; flex-direction: column; gap: 0;
  position: fixed; top: calc(var(--header-h) + 1px); left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 6px 20px 16px; box-shadow: var(--shadow-md); margin-left: 0;
}
.main-nav.open a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
.main-nav.open a::after { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 52px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  color: var(--navy); font-weight: 600; font-size: .84rem;
  padding: 8px 14px; border-radius: var(--radius-sm); margin-bottom: 20px;
}
.eyebrow svg { color: var(--gold); }
.hero-title { font-size: clamp(2.8rem, 8vw, 4.6rem); margin-bottom: 16px; color: var(--navy); letter-spacing: .02em; }
.hero-title .hl { color: var(--purple); }
.hero-sub { color: var(--muted); font-size: clamp(1rem, 2.5vw, 1.15rem); max-width: 560px; margin-bottom: 26px; }
.hero-sub strong { color: var(--ink); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: .92rem; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; fill: var(--purple); flex: none; }

/* Hero estimate card — gradient top edge as a brand touch */
.hero-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.hero-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--grad); }
.hero-card-title { font-size: 2rem; margin-bottom: 4px; }
.hero-card-sub { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field[hidden] { display: none; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm);
  background: #fff; border: 1px solid var(--line-2);
  color: var(--ink); font: inherit; font-size: .98rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(93, 46, 230, .15);
}
.field input.invalid, .field select.invalid { border-color: #d6453f; box-shadow: 0 0 0 3px rgba(214, 69, 63, .12); }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23586377'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px;
}
.form-fineprint { font-size: .76rem; color: var(--muted-2); margin-top: 12px; text-align: center; }
.form-success {
  margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm);
  background: #edf7ee; border: 1px solid #bcdcc0; color: #2f6b39; font-size: .92rem; font-weight: 500;
}
.form-success a { color: #2f6b39; text-decoration: underline; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy); }
.trustbar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 14px; padding: 30px 20px; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.trust-num { font-family: var(--font-head); font-size: clamp(2.2rem, 7vw, 3rem); line-height: 1; color: #fff; letter-spacing: .02em; }
.trust-label { font-size: .82rem; color: #aebcd0; font-weight: 500; }

/* ---------- Cards grid (services / reviews) ---------- */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

.svc-card {
  position: relative; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .15s, box-shadow .15s, transform .12s var(--ease);
}
.svc-card:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-card.featured { border-color: var(--purple); border-top: 3px solid var(--purple); }
.svc-tag {
  position: absolute; top: -11px; right: 18px; background: var(--purple); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: 4px;
  letter-spacing: .06em; text-transform: uppercase;
}
.svc-ic {
  width: 50px; height: 50px; border-radius: var(--radius-sm); display: grid; place-items: center;
  background: var(--purple-soft); margin-bottom: 16px;
}
.svc-ic svg { width: 26px; height: 26px; fill: var(--purple); }
.svc-card h3 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: .03em; }
.svc-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Before & After Gallery ---------- */
.gallery { background: var(--bg-alt); }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.ba-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; }
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-alt-2); }
.ba-item + .ba-item { border-left: 2px solid #fff; }
.ba-label {
  position: absolute; top: 10px; left: 10px; color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
}
.ba-before { background: rgba(15, 23, 42, .9); }
.ba-after { background: var(--purple); }
.ba-card figcaption { padding: 14px 18px; font-weight: 600; color: var(--heading); font-size: .98rem; border-top: 1px solid var(--line); }
.gallery-note { text-align: center; margin-top: 26px; color: var(--muted); font-size: .96rem; }
.gallery-note a { color: var(--purple); font-weight: 700; text-decoration: underline; }

/* ---------- Insurance claim checkbox ---------- */
.field-check { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.field-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--purple); flex: none; margin: 0; cursor: pointer; }
.field-check label { font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }

/* ---------- Booking modal ---------- */
body.modal-open { overflow: hidden; }
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(15, 23, 42, .62); backdrop-filter: blur(2px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 16px; overflow-y: auto;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; width: 100%; max-width: 460px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(15, 23, 42, .4);
  animation: modal-in .22s ease-out;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .modal { animation: none; } }
.modal-close {
  position: absolute; top: 8px; right: 10px; border: none; background: transparent;
  font-size: 1.9rem; line-height: 1; color: var(--muted-2); cursor: pointer; padding: 4px 8px;
}
.modal-close:hover { color: var(--heading); }
.modal-body { padding: 28px 26px 26px; }
.modal-title { font-size: clamp(1.6rem, 5vw, 2.1rem); margin: 4px 0 8px; }
.modal-lead { color: var(--muted); font-size: .96rem; margin-bottom: 18px; }
.modal-or { display: flex; align-items: center; text-align: center; color: var(--muted-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 16px 0; }
.modal-or::before, .modal-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.modal-or span { padding: 0 12px; }
/* Google-Maps-style location card in the booking modal */
.modal-location {
  display: flex; gap: 12px; align-items: flex-start; text-align: left;
  background: var(--bg-alt-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 15px; margin-bottom: 20px;
}
.modal-location-pin { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); }
.modal-location-pin svg { width: 20px; height: 20px; }
.modal-location-head { font-weight: 700; color: var(--heading); font-size: .94rem; margin-bottom: 3px; }
.modal-location-addr { display: inline-block; color: var(--purple); font-size: .87rem; font-weight: 600; text-decoration: none; }
.modal-location-addr:hover { text-decoration: underline; }
.modal-location-rating { margin-top: 7px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: .85rem; }
.modal-location-rating strong { color: var(--gold); font-size: .95rem; }
.modal-location-rating .stars { color: var(--gold); letter-spacing: 1px; }
.modal-location-rating .reviews { color: var(--muted); }
.booking-label { font-weight: 700; color: var(--heading); font-size: .92rem; margin-bottom: 10px; }
.booking-dates, .booking-times { display: flex; flex-wrap: wrap; gap: 8px; }
/* Clear separation so the time chips don't crowd the last date row */
.booking-times { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.chip {
  border: 1.5px solid var(--line-2); background: #fff; color: var(--heading);
  border-radius: 999px; padding: 8px 14px; font-family: var(--font-body);
  font-size: .9rem; font-weight: 600; cursor: pointer; transition: all .12s ease;
}
.chip:hover { border-color: var(--purple); color: var(--purple); }
.chip.selected { background: var(--purple); border-color: var(--purple); color: #fff; }
.booking-tz { margin-top: 10px; font-size: .78rem; color: var(--muted-2); }
.booking-confirm { margin-top: 16px; }
.booking-status { margin-top: 14px; font-size: .92rem; color: var(--muted); text-align: center; }
.booking-status a { color: var(--purple); font-weight: 700; }
.booking-error { color: #d6453f; font-weight: 600; }
.booking-done { text-align: center; padding: 10px 0; }
.booking-done-check {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%;
  background: var(--purple-soft); color: var(--purple);
  font-size: 1.7rem; font-weight: 800; display: grid; place-items: center;
}
.booking-done p { color: var(--ink); margin-bottom: 6px; }

/* ---------- Claims (dark navy section) ---------- */
.claims { background: var(--navy); color: #d6deec; }
.claims-inner { display: grid; grid-template-columns: 1fr; gap: 34px; align-items: center; }
.claims-copy h2 { color: #fff; font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 14px; }
.claims .section-lead { color: #aebcd0; }
.claims-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 18px; }
.claims-list li { display: flex; gap: 15px; align-items: flex-start; }
.claims-ic { flex: none; width: 44px; height: 44px; border-radius: var(--radius-sm); display: grid; place-items: center; background: rgba(40, 193, 250, .14); }
.claims-ic svg { width: 23px; height: 23px; fill: var(--cyan); }
.claims-list h3 { color: #fff; font-size: 1.32rem; margin-bottom: 3px; letter-spacing: .03em; }
.claims-list p { color: #aebcd0; font-size: .94rem; }

.claims-aside {
  background: var(--navy-2); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg); padding: 28px;
}
.quote-badge { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.quote-badge svg { color: var(--gold); }
.quote-badge strong { display: block; font-size: 1.1rem; color: #fff; }
.quote-badge span { color: #aebcd0; font-size: .86rem; }
.claims-aside-text { font-size: 1.1rem; color: #eef2f8; font-weight: 500; font-style: italic; margin-bottom: 16px; }
.claims-aside-foot { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); color: #9aa9bf; font-size: .86rem; }

/* ---------- Process / Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr; gap: 18px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
}
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--purple); color: #fff; font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 6px; letter-spacing: .03em; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Mid-page CTA band ---------- */
.cta-band { background: var(--navy); position: relative; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad); }
.cta-band-inner { display: grid; gap: 22px; padding: 48px 20px; align-items: center; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 6px; }
.cta-band p { color: #aebcd0; font-size: 1.02rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Reviews ---------- */
.reviews { background: var(--bg-alt-2); }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow);
}
.stars { color: var(--gold); letter-spacing: 3px; font-size: 1.05rem; }
.review-card blockquote { font-size: 1.02rem; color: var(--ink); line-height: 1.55; }
.review-card figcaption { color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: auto; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 760px; margin-inline: auto; }
.team-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.team-avatar {
  width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%;
  object-fit: cover; object-position: center top; background: var(--bg-alt);
  border: 3px solid #fff; box-shadow: 0 3px 12px rgba(15, 23, 42, .14);
}
.team-card h3 { font-size: 1.4rem; letter-spacing: .03em; }
.team-role { color: var(--purple); font-weight: 600; font-size: .9rem; margin: 2px 0 10px; }
.team-card p:last-child { color: var(--muted); font-size: .94rem; }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 5vw, 2.9rem); margin-bottom: 12px; }
.contact-details { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 15px; }
.contact-details li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 1rem; }
.contact-details svg { width: 22px; height: 22px; fill: var(--purple); flex: none; }
.contact-details a:hover { color: var(--purple); }

.contact-form {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebcd0; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 34px; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text strong { color: var(--cyan); }
.footer-tag { color: #9aa9bf; font-size: .92rem; margin: 14px 0 16px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-contact li { color: #aebcd0; font-size: .94rem; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px; border-radius: 6px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #cdd9e6; transition: background .15s, color .15s;
}
.social a:hover { background: var(--purple); color: #fff; }
.social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 6px; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 20px; color: #8090a6; font-size: .85rem;
}

/* ---------- Mobile sticky call bar ---------- */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(15, 23, 42, .1);
}
body { padding-bottom: 74px; } /* room for sticky bar on mobile */

/* ---------- Scroll reveal (subtle) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive — tablet & up
   ========================================================= */
@media (max-width: 419px) {
  /* keep the phone number visible in the header; drop the long wordmark */
  .brand-text { display: none; }
}

@media (min-width: 640px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .trustbar-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  /* If the last row has a single card, center it at one-column width */
  .gallery-grid > .ba-card:nth-child(odd):last-child { grid-column: 1 / -1; max-width: calc(50% - 11px); margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .cta-band-inner { grid-template-columns: 1.4fr auto; text-align: left; }
  .cta-band-actions { justify-content: flex-end; }
}

@media (min-width: 900px) {
  .section { padding: 84px 0; }
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .header-cta { margin-left: 0; }
  body { padding-bottom: 0; }
  .mobile-callbar { display: none; }

  .hero { padding: 70px 0 76px; }
  .hero-inner { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .claims-inner { grid-template-columns: 1.1fr .9fr; gap: 54px; }
  .contact-inner { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
