@import url('fonts.css');

/* ==========================================================================
   Window Restore: site styles
   ========================================================================== */

:root {
  --red: #f73131;
  --red-dark: #d61f1f;
  --red-soft: #fff1f1;
  --ink: #1b1b1d;
  --charcoal: #2a2a2c;
  --charcoal-2: #222224;
  --text: #34343a;
  --muted: #6b6b73;
  --line: #e7e5e4;
  --soft: #f6f5f3;
  --white: #fff;
  --star: #fbbf24;

  --font-heading: 'Jost', system-ui, sans-serif;
  --font-body: 'Jost', system-ui, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px rgb(0 0 0 / .07);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / .06), 0 18px 40px rgb(0 0 0 / .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--red-dark); text-underline-offset: .18em; }
a:hover { color: var(--red); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.icon { display: inline-block; width: 1em; height: 1em; flex: none; vertical-align: -.125em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--red { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgb(247 49 49 / .28); }
.btn--red:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px rgb(247 49 49 / .34); }
.btn--ghost { border-color: rgb(255 255 255 / .55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #000; color: var(--white); transform: translateY(-1px); }

.text-link {
  display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none;
  color: var(--red-dark);
}
.text-link .icon { transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Top bar & header ---------- */

.topbar { background: var(--ink); color: rgb(255 255 255 / .75); font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__info, .topbar__links { display: flex; align-items: center; gap: 1.4rem; }
.topbar a { color: rgb(255 255 255 / .85); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.topbar a:hover { color: var(--white); }
.topbar .icon { color: var(--red); }
.topbar__info span { display: inline-flex; align-items: center; gap: .45em; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(34 34 36 / .97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { width: 222px; height: auto; transition: filter .35s var(--ease); }
.logo:hover img, .logo:focus-visible img { filter: drop-shadow(0 4px 10px rgb(247 49 49 / .35)); }

.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-list > li { position: relative; }
.nav-list a {
  display: flex; align-items: center; gap: .35em;
  padding: .6rem .85rem; color: rgb(255 255 255 / .88); text-decoration: none; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color .2s, background-color .2s;
}
.nav-list a:hover { color: var(--white); background: rgb(255 255 255 / .07); }
.nav-list a[aria-current="page"] { color: var(--white); }
.nav-list > li > a[aria-current="page"]::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--red); border-radius: 2px;
}
.nav-list .icon { font-size: .85em; opacity: .7; transition: transform .25s var(--ease); }

.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px; padding: .5rem !important;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.sub-menu a { color: var(--text); }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { color: var(--red-dark); background: var(--red-soft); }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > a .icon, .has-sub:focus-within > a .icon { transform: rotate(180deg); }

.header-cta { padding: .7em 1.25em; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: transparent; color: var(--white); border: 1px solid rgb(255 255 255 / .25);
  font-size: 1.4rem; cursor: pointer;
}
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 960px) {
  .topbar__info .hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 1rem; padding: .5rem 0 1.25rem; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list > li > a[aria-current="page"]::after { display: none; }
  .nav-list a[aria-current="page"] { background: rgb(255 255 255 / .08); }
  .nav-list .has-sub > a .icon { display: none; }
  .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    background: transparent; padding: 0 0 0 1rem !important; min-width: 0;
  }
  .sub-menu a { color: rgb(255 255 255 / .75); }
  .sub-menu a:hover, .sub-menu a[aria-current="page"] { color: var(--white); background: rgb(255 255 255 / .08); }
  .logo img { width: 190px; }
}
@media (max-width: 600px) {
  .topbar__info { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; isolation: isolate; color: var(--white); overflow: hidden;
  background: var(--ink);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgb(20 20 22 / .94) 0%, rgb(20 20 22 / .82) 45%, rgb(20 20 22 / .45) 100%);
}
.hero h1, .hero h2 { color: var(--white); }
.hero__content { padding-block: clamp(4.5rem, 10vw, 8rem); max-width: 720px; }
.hero .lead { color: rgb(255 255 255 / .85); font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero--home .hero__content { padding-block: clamp(5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 720px;
  background: rgb(255 255 255 / .14); border-radius: var(--radius); overflow: hidden;
}
.hero-stats div { background: rgb(20 20 22 / .6); padding: 1.1rem 1.25rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hero-stats strong { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--white); }
.hero-stats span { display: block; font-size: .92rem; color: rgb(255 255 255 / .72); margin-top: .25rem; line-height: 1.35; }
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: #ff6b6b; }

.page-hero .hero__content { padding-block: clamp(3.5rem, 8vw, 6rem); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .9rem; color: rgb(255 255 255 / .65); }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumb a { color: rgb(255 255 255 / .8); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--charcoal); color: rgb(255 255 255 / .8); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--dark .lead { color: rgb(255 255 255 / .72); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split--wide-text { grid-template-columns: 1fr; } }

.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lift); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--accent::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--red);
}

/* ---------- Cards ---------- */

.card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.75rem; }
.card__body > :last-child { margin-top: auto; }
.card__body p { color: var(--muted); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--red-dark); }

.card--feature .card__body { padding: 1.5rem; }
.card--feature h3 { font-size: 1.25rem; }
.card--feature .card__body > :last-child { margin-top: 0; }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 1.85rem; line-height: 1.45; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .15em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--red-soft);
}
.checklist li::after {
  content: ""; position: absolute; left: .4rem; top: .38em; width: .32rem; height: .58rem;
  border: solid var(--red); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.section--dark .checklist li::before { background: rgb(247 49 49 / .18); }

/* ---------- Motto band ---------- */

.motto {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, rgb(255 255 255 / .16), transparent 70%),
    linear-gradient(100deg, var(--red) 40%, var(--red-dark) 100%);
  color: var(--white); padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
/* Faint window-pane grid fading in from the right */
.motto::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 55%; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgb(255 255 255 / .14) 0 2px, transparent 2px 120px),
    repeating-linear-gradient(0deg, rgb(255 255 255 / .14) 0 2px, transparent 2px 120px);
  background-position: right -1px top -1px;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent);
  mask-image: linear-gradient(to left, #000 10%, transparent);
}
.motto__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; }
.motto blockquote { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.5rem); font-weight: 700; font-style: italic; line-height: 1.15; }
.motto p { margin: .4rem 0 0; color: rgb(255 255 255 / .85); }
.motto .btn--dark { flex: none; }

/* ---------- Before / after ---------- */

.ba { margin: 0; }
.ba__frame {
  --pos: 50%;
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: var(--soft); user-select: none; touch-action: pan-y;
}
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--white); pointer-events: none; box-shadow: 0 0 12px rgb(0 0 0 / .35);
}
.ba__handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--ink);
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; letter-spacing: .1em;
  box-shadow: 0 4px 14px rgb(0 0 0 / .3);
}
.ba__label {
  position: absolute; top: .9rem; padding: .3rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; pointer-events: none;
}
.ba__label--before { left: .9rem; background: rgb(20 20 22 / .75); color: var(--white); }
.ba__label--after { right: .9rem; background: var(--red); color: var(--white); }
.ba__range {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none;
}
.ba__frame:has(.ba__range:focus-visible) { outline: 3px solid var(--red); outline-offset: 3px; }
html:not(.js) .ba__range, html:not(.js) .ba__handle { display: none; }
.ba figcaption { margin-top: .9rem; font-weight: 600; color: var(--ink); }
.ba figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }

/* ---------- Areas ---------- */

.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.areas li {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .5rem 1rem; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-weight: 500; color: var(--ink);
  transition: border-color .2s, color .2s, transform .25s var(--ease);
}
.areas li:hover { border-color: var(--red); color: var(--red-dark); transform: translateY(-2px); }
.areas .icon { color: var(--red); font-size: .9em; }
.areas li.areas__home { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Reviews ---------- */

.reviews { position: relative; isolation: isolate; color: var(--white); overflow: hidden; background: var(--ink); }
.reviews__bg { position: absolute; inset: 0; z-index: -2; }
.reviews__bg img { width: 100%; height: 100%; object-fit: cover; }
.reviews::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 20 22 / .86); }
.reviews h2 { color: var(--white); }
.reviews .lead { color: rgb(255 255 255 / .78); }
.review-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; max-width: 760px; }
@media (max-width: 600px) { .review-cards { grid-template-columns: 1fr; } }
.review-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14);
  color: var(--white); text-decoration: none;
  transition: background-color .25s, transform .3s var(--ease), border-color .25s;
}
.review-card:hover { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .3); color: var(--white); transform: translateY(-3px); }
.review-card__logo { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--white); display: grid; place-items: center; }
.review-card__logo img { width: 38px; height: auto; }
.review-card__logo .icon { font-size: 30px; color: #1877f2; }
.review-card strong { display: block; font-size: 1.1rem; }
.review-card span.review-card__link { font-size: .92rem; color: rgb(255 255 255 / .72); text-decoration: underline; text-underline-offset: .2em; }
.stars { display: flex; gap: 2px; color: var(--star); font-size: 1.05rem; margin-bottom: .25rem; }

/* ---------- Call to action band ---------- */

.cta-band {
  position: relative; overflow: hidden; background: var(--charcoal); color: rgb(255 255 255 / .8);
  padding-block: clamp(3.5rem, 7vw, 5rem);
}
.cta-band::before {
  content: ""; position: absolute; right: -10%; top: -60%; width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgb(247 49 49 / .28), transparent 65%);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .35em; }
.cta-band p { max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Info list (contact details) ---------- */

.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.info-list li { display: flex; align-items: flex-start; gap: .9rem; }
.info-list .info-list__icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; font-size: 1.2rem;
}
.info-list strong { display: block; color: var(--ink); line-height: 1.3; }
.info-list a { font-size: 1.1rem; font-weight: 500; color: var(--text); text-decoration: none; }
.info-list a:hover { color: var(--red-dark); text-decoration: underline; }
.info-list span { color: var(--muted); }

.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours th { color: var(--ink); }
.hours td { text-align: right; color: var(--muted); }

.panel { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(1.5rem, 3vw, 2.25rem); }
.panel h2 { font-size: 1.6rem; display: flex; align-items: center; gap: .5rem; }
.panel h2 .icon { color: var(--red); font-size: .85em; }
.panel .lead { font-size: 1.05rem; }

.feature-icon {
  width: 50px; height: 50px; border-radius: 12px; margin-bottom: 1.1rem;
  background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.3rem;
}
.motto__label { margin: 0 0 .35rem !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.hero .lead a { color: var(--white); }

/* ---------- Contact form ---------- */

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.quote-form { position: relative; display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; color: var(--ink); font-size: .98rem; }
.field label .optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid #d6d3d1; border-radius: var(--radius-sm); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover { border-color: #a8a29e; }
.field input:focus, .field textarea:focus {
  outline: 2px solid transparent; border-color: var(--red); box-shadow: 0 0 0 4px rgb(247 49 49 / .16);
}

.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-noscript { padding: .9rem 1rem; border-radius: var(--radius-sm); background: var(--red-soft); color: var(--ink); }

altcha-widget {
  --altcha-border-radius: var(--radius-sm);
  --altcha-color-border: #d6d3d1;
  --altcha-max-width: 100%;
  --altcha-color-base: var(--white);
  --altcha-color-text: var(--ink);
  display: block;
}

.form-notice {
  padding: 1rem 1.15rem; border-radius: var(--radius-sm);
  background: #fff7ed; border: 1px solid #fdba74; border-left: 4px solid #f97316; color: var(--ink);
}
.form-notice:empty { display: none; }
.form-notice:focus { outline: 3px solid var(--red); outline-offset: 3px; }
.form-notice a { font-weight: 600; }

.quote-form .btn { justify-self: start; min-width: 200px; }
.quote-form .btn:disabled { opacity: .7; cursor: progress; transform: none; }
.form-privacy { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Prose (privacy policy, etc.) ---------- */

.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text); }

/* ---------- Footer ---------- */

.site-footer { background: var(--charcoal); color: rgb(255 255 255 / .72); border-top: 4px solid var(--red); font-size: 1rem; }
.footer__main { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 4.5rem); }
@media (max-width: 960px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__main { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 1.1rem; color: var(--white); margin-bottom: 1.1rem; letter-spacing: .02em; }
.site-footer .logo img { width: 230px; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgb(255 255 255 / .8); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer__contact li { display: flex; align-items: center; gap: .7rem; }
.footer__contact .icon { color: var(--red); font-size: 1.1rem; }
.socials { display: flex; gap: .7rem; margin-top: 1.5rem; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); font-size: 1.2rem;
  transition: background-color .25s, transform .3s var(--ease);
}
.socials a:hover { background: var(--red); transform: translateY(-3px); text-decoration: none; }
.footer__bottom { background: var(--charcoal-2); padding-block: 1.4rem; font-size: .92rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a { color: #ff7a7a; text-decoration: underline; }

/* ---------- Mobile call bar ---------- */

.call-bar { display: none; }
@media (max-width: 680px) {
  .call-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr;
    gap: 0; background: var(--ink); box-shadow: 0 -6px 20px rgb(0 0 0 / .2);
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5em; padding: .95rem; font-weight: 600;
    color: var(--white); text-decoration: none; background: var(--ink);
  }
  .call-bar a:last-child { background: var(--red); }
  body { padding-bottom: 56px; }
}

/* ==========================================================================
   Animation (only for visitors who haven't asked for reduced motion)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * { animation: rise .8s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4) { animation-delay: .24s; }
  .hero__content > :nth-child(5) { animation-delay: .32s; }
  .hero__bg img { animation: settle 1.8s var(--ease) both; }

  .logo img { transition: filter .35s var(--ease), transform .35s var(--ease); }
  .logo:hover img, .logo:focus-visible img { transform: translateY(-2px) scale(1.03); }

  /* script.js adds .is-waiting to sections below the fold, then removes it as they scroll in */
  .reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .reveal.is-waiting { opacity: 0; transform: translateY(22px); }

  .ba__frame.is-hinting { animation: hint 1.6s var(--ease) .3s 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}
@keyframes hint {
  0% { --pos: 50%; }
  35% { --pos: 38%; }
  70% { --pos: 62%; }
  100% { --pos: 50%; }
}
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 50%; }
