@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #16191d;
  --slate: #222830;
  --tile: #c4502a;
  --tile-dark: #a33f1e;
  --sand: #f7f3ed;
  --line: #e6dfd5;
  --muted: #5a6169;
  --radius: 14px;
  --header: 68px;
  --shadow: 0 1px 2px rgb(22 25 29 / 6%), 0 12px 32px rgb(22 25 29 / 10%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 800px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
main:focus { outline: none; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
.eyebrow { font-family: "Archivo", system-ui, sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tile-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.72em 1.2em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 "Archivo", system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 0.95em 1.5em; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--tile); color: #fff; }
.btn-primary:hover { background: var(--tile-dark); }
.btn-ghost { border-color: rgb(255 255 255 / 55%); color: #fff; background: rgb(255 255 255 / 8%); }
.btn-ghost:hover { background: rgb(255 255 255 / 18%); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
:is(.hero, .contact, .about, .site-footer) :focus-visible { outline-color: #f2a65a; }
.quote-card :focus-visible { outline-color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 94%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 28px; height: var(--header); }
.brand { display: inline-flex; color: var(--ink); }
.brand svg { height: 36px; width: auto; fill: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.96rem; color: var(--slate); }
.nav a:hover { color: var(--tile); }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.contact { color: #fff; background: var(--slate); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero .hero-bg { object-position: 60% 22%; }
.hero::after { background: linear-gradient(100deg, rgb(15 18 22 / 92%) 0%, rgb(15 18 22 / 76%) 45%, rgb(15 18 22 / 30%) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; padding-block: clamp(56px, 9vw, 112px); }
.hero .eyebrow { color: #f2a65a; }
.hero h1 { margin-top: 14px; text-wrap: balance; }
.lead { margin-top: 20px; font-size: 1.18rem; color: rgb(255 255 255 / 86%); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row.center { justify-content: center; }

.quote-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px; box-shadow: 0 24px 60px rgb(0 0 0 / 35%); display: grid; gap: 12px; }
.quote-card h2 { font-size: 1.6rem; }
.quote-sub { color: var(--muted); margin-bottom: 4px; }
.contact-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color 0.15s, background-color 0.15s; }
.contact-row:hover { border-color: var(--tile); background: var(--sand); }
.contact-row svg { width: 26px; height: 26px; fill: var(--tile); }
.contact-row span { display: grid; min-width: 0; }
.contact-row strong { font-family: "Archivo", system-ui, sans-serif; font-size: 1.05rem; }
.contact-row small { color: var(--muted); font-size: 0.9rem; overflow-wrap: anywhere; }
.contact-row:first-of-type { background: var(--tile); border-color: var(--tile); color: #fff; }
.contact-row:first-of-type:hover { background: var(--tile-dark); border-color: var(--tile-dark); }
.contact-row:first-of-type svg { fill: #fff; }
.contact-row:first-of-type small { color: #fff; }

.quote-card label { display: grid; gap: 4px; font-weight: 600; font-size: 0.92rem; }
.quote-card input, .quote-card select, .quote-card textarea { font: inherit; font-weight: 400; padding: 0.65em 0.8em; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.quote-card input:focus, .quote-card select:focus, .quote-card textarea:focus { border-color: var(--tile); }
.hp { position: absolute; left: -9999px; width: 1px; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.form-status.error { color: #a1260d; }

/* Trust strip */
.trust { background: var(--sand); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 26px; }
.trust-grid li { display: flex; gap: 12px; align-items: flex-start; }
.trust-grid svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--tile); fill: #fff; margin-top: 2px; }
.trust-grid strong { display: block; font-family: "Archivo", system-ui, sans-serif; }
.trust-grid span { color: var(--muted); font-size: 0.93rem; line-height: 1.4; display: block; }

/* Sections */
.section { padding-block: clamp(60px, 8vw, 104px); }
.alt { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { margin-top: 10px; }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body p { color: var(--muted); }
.card-link { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--tile); text-decoration: none; }
.card-link:hover { text-decoration: underline; }
.card-link::after { content: ""; position: absolute; inset: 0; } /* the whole card is the link */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.split h2 { margin: 10px 0 14px; }
.split p { color: var(--muted); }
.checklist { display: grid; gap: 10px; margin: 22px 0 28px; font-weight: 600; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { fill: var(--tile); margin-top: 0.25em; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1.15rem "Archivo", system-ui, sans-serif; margin-bottom: 16px; }
.steps p { color: var(--muted); margin-top: 8px; }

.about { background: var(--ink); color: #fff; padding-block: clamp(56px, 7vw, 88px); }
.about-inner { max-width: 820px; text-align: center; }
.about p { margin-top: 18px; font-size: 1.15rem; color: rgb(255 255 255 / 82%); }

.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.areas h3 { padding-bottom: 10px; border-bottom: 3px solid var(--tile); margin-bottom: 14px; }
.areas li { color: var(--muted); padding: 3px 0; }

details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font: 700 1.08rem "Archivo", system-ui, sans-serif; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--tile); }
details[open] summary::after { content: "–"; }
details p { padding: 0 22px 20px; color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { margin-top: 8px; color: var(--muted); font-size: 0.93rem; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.reviews blockquote { margin: 0; padding: 24px; background: var(--sand); border-radius: var(--radius); border-left: 4px solid var(--tile); }
.reviews footer { margin-top: 12px; font-weight: 700; }

/* Contact band */
.contact { text-align: center; padding-block: clamp(64px, 9vw, 112px); }
.contact-inner > p { margin-top: 14px; font-size: 1.15rem; color: rgb(255 255 255 / 85%); }
.contact-phone { display: inline-block; margin-top: 22px; font: 900 clamp(2.4rem, 7vw, 4.2rem)/1 "Archivo", system-ui, sans-serif; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.contact-phone:hover { color: #f2a65a; }
.contact-inner > .contact-meta { margin-top: 26px; font-size: 1rem; color: rgb(255 255 255 / 75%); }

/* Footer */
.site-footer { background: #0f1216; color: rgb(255 255 255 / 72%); font-size: 0.95rem; padding-top: 56px; }
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid p { margin-top: 14px; max-width: 30em; }
.site-footer h2 { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.site-footer li { padding: 2px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-block: 20px; border-top: 1px solid rgb(255 255 255 / 12%); font-size: 0.85rem; color: rgb(255 255 255 / 55%); }

.mobile-bar { display: none; }

/* sms: links do nothing on most desktops; the quote card and contact band show the number instead */
@media (min-width: 901px) {
  .cta-row .sms { display: none; }
}

.not-found { display: grid; place-items: center; min-height: 100vh; padding: 24px; text-align: center; background: var(--sand); }
.not-found main { display: grid; gap: 18px; justify-items: center; }

@media (max-width: 900px) {
  .nav, .header-call { display: none; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 36px; }
  .hero::after { background: linear-gradient(180deg, rgb(15 18 22 / 80%) 0%, rgb(15 18 22 / 52%) 100%); }
  .hero-copy { text-shadow: 0 1px 14px rgb(0 0 0 / 55%); }
  .hero-copy .btn { text-shadow: none; }
  .areas ul { display: flex; flex-wrap: wrap; gap: 2px 14px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps { grid-template-columns: 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(22 25 29 / 12%);
  }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  html { scroll-padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .quote-card .contact-row:first-of-type { display: none; } /* the hero button and the fixed bar already call */
  /* the hero copy fills the first screen, so the quote card starts below the fixed bar instead of being cut by it */
  .hero-grid { padding-top: 40px; }
  .hero-copy { min-height: calc(100vh - var(--header) - 76px); min-height: calc(100svh - var(--header) - 76px); }
}

@media (min-width: 620px) and (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 359px) {
  .hero-copy .sms { display: none; } /* keeps Call clear of the fixed bar on very small phones; the bar still has Text */
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .cta-row .btn { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; gap: 16px; }
  .quote-card { padding: 22px 18px; }
}
