:root {
  --red-900: #5c0d09;
  --red-800: #86140e;
  --red-700: #b21a11;
  --red-600: #d23329;
  --ink: #12171a;
  --ink-2: #252d31;
  --muted: #5e686f;
  --line: rgba(22, 28, 32, 0.12);
  --paper: #f7f4f0;
  --paper-2: #eee8e1;
  --white: #fff;
  --soft-red: #f8ddda;
  --cream: #fff7f2;
  --shadow: 0 24px 70px rgba(18, 23, 26, 0.16);
  --radius: 8px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  padding-bottom: 0;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--soft-red);
  outline-offset: 4px;
}

.sr-only,
.skip-link {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.skip-link:focus {
  background: var(--white);
  border-radius: 4px;
  clip: auto;
  clip-path: none;
  height: auto;
  left: 16px;
  padding: 12px 14px;
  top: 16px;
  width: auto;
  z-index: 50;
}

.floating-contact {
  align-items: center;
  background: rgba(18, 23, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 18px 50px rgba(18, 23, 26, 0.28);
  color: var(--white);
  display: flex;
  gap: 8px;
  padding: 8px;
  position: fixed;
  right: 22px;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 60;
}

.floating-contact a {
  border-radius: 999px;
  display: grid;
  gap: 2px;
  min-width: 138px;
  padding: 11px 16px;
}

.floating-contact span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.floating-contact strong {
  font-size: 13px;
  line-height: 1.1;
}

.float-call {
  background: var(--red-700);
}

.float-email {
  background: rgba(255, 255, 255, 0.12);
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.site-header {
  align-items: center;
  background: rgba(134, 20, 14, 0.9);
  backdrop-filter: blur(18px);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 40;
}

.site-header.is-scrolled {
  background: rgba(92, 13, 9, 0.96);
  box-shadow: 0 10px 34px rgba(22, 28, 32, 0.18);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.brand-logo-wrap {
  align-items: center;
  background: var(--white);
  border-radius: 6px;
  display: inline-flex;
  height: 56px;
  justify-content: center;
  overflow: hidden;
  padding: 3px;
  width: 56px;
}

.brand-logo-wrap img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.brand small {
  display: block;
  font-size: 12px;
  opacity: 0.82;
  padding-top: 4px;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  background: var(--white);
  border-radius: 999px;
  color: var(--red-800);
  opacity: 1 !important;
  padding: 13px 17px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  padding: 8px;
}

.nav-toggle span:not(.sr-only) {
  background: var(--white);
  display: block;
  height: 2px;
  margin: 5px 0;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 24px;
}

.hero {
  color: var(--white);
  min-height: 100vh;
  overflow: hidden;
  padding: 150px 0 86px;
  position: relative;
}

.hero-media,
.hero-media img,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 23, 26, 0.92), rgba(18, 23, 26, 0.68) 47%, rgba(178, 26, 17, 0.4)),
    linear-gradient(180deg, rgba(92, 13, 9, 0.42), rgba(18, 23, 26, 0.78));
}

.hero-grid {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: calc(100vh - 236px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 820px;
}

.hero-copy::before {
  background: var(--red-700);
  content: "";
  display: block;
  height: 5px;
  margin-bottom: 28px;
  width: 92px;
}

.eyebrow {
  color: var(--soft-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red-800);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(54px, 8vw, 104px);
  line-height: 0.94;
  margin-bottom: 24px;
  max-width: 920px;
}

h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
}

h3 {
  font-size: 22px;
  line-height: 1.14;
}

.hero-lede {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
  max-width: 700px;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 4px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: center;
  letter-spacing: 0.14em;
  min-height: 54px;
  padding: 0 22px;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  color: var(--red-800);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.button-secondary.light {
  border-color: rgba(255, 255, 255, 0.42);
}

.hero-panel {
  background: rgba(18, 23, 26, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  padding: 10px;
}

.hero-panel div {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  gap: 16px;
  grid-template-columns: 76px 1fr;
  padding: 18px;
}

.hero-panel div:last-child {
  border-bottom: 0;
}

.metric {
  color: var(--soft-red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
}

.trust-strip {
  background: var(--red-800);
  color: var(--white);
}

.strip-grid {
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 1px;
  grid-template-columns: repeat(5, 1fr);
  letter-spacing: 0.08em;
  padding-bottom: 0;
  padding-top: 0;
  text-transform: uppercase;
}

.strip-grid span {
  background: rgba(255, 255, 255, 0.08);
  min-height: 86px;
  padding: 26px 18px;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.section-break {
  border-bottom: 8px solid var(--red-700);
}

.start-here {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) 0;
}

.two-column,
.process-grid,
.referral-grid,
.final-grid,
.footer-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.lead-card,
.contact-card,
.referral-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(22, 28, 32, 0.08);
  padding: clamp(28px, 4vw, 48px);
}

.action-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.action-grid a {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 242, 0.96)),
    linear-gradient(135deg, rgba(178, 26, 17, 0.08), transparent);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(22, 28, 32, 0.07);
  min-height: 190px;
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.action-grid a:hover {
  border-color: rgba(178, 26, 17, 0.42);
  transform: translateY(-3px);
}

.action-grid span {
  color: var(--red-700);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.action-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 14px;
}

.action-grid em {
  color: var(--muted);
  display: block;
  font-style: normal;
  line-height: 1.55;
}

.standards {
  background:
    linear-gradient(180deg, rgba(92, 13, 9, 0.94), rgba(18, 23, 26, 0.9)),
    url("assets/shingles.jpg") center/cover;
  color: var(--white);
}

.standards .eyebrow {
  color: var(--soft-red);
}

.standards-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
}

.standards .section-heading h2 {
  max-width: 760px;
}

.standard-list {
  display: grid;
  gap: 14px;
}

.standard-list article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 26px;
}

.standard-list span {
  color: var(--soft-red);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.standard-list p,
.standards .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.lead-card p,
.section-heading p,
.process p,
.insurance p,
.referral p,
.faq p,
.site-footer p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.section-heading {
  max-width: 850px;
}

.service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 46px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 100%;
  overflow: hidden;
}

.service-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.service-card div {
  padding: 24px;
}

.feature-card {
  background: linear-gradient(180deg, var(--red-900), var(--ink));
  color: var(--white);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.72);
}

.service-kicker {
  color: var(--red-700);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.process {
  background: var(--white);
}

.service-areas {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(247, 244, 240, 0.92)),
    var(--paper);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.areas-grid {
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.area-finder {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(18, 23, 26, 0.1);
  padding: clamp(22px, 4vw, 34px);
}

.area-search {
  display: grid;
  gap: 10px;
}

.area-search span {
  color: var(--red-800);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.area-search input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 58px;
  padding: 15px 16px;
  width: 100%;
}

.area-search input:focus {
  outline: 3px solid var(--soft-red);
  outline-offset: 2px;
}

.area-result {
  background: var(--cream);
  border-left: 4px solid var(--red-700);
  color: var(--ink-2);
  font-size: 16px !important;
  font-weight: 800;
  line-height: 1.55 !important;
  margin: 18px 0 26px;
  padding: 14px 16px;
}

.area-result.is-covered {
  background: #f1fff4;
  border-left-color: #16783a;
}

.area-result.is-nearby {
  background: #fff8e8;
  border-left-color: #b97800;
}

.area-result.is-unlisted {
  background: #fff1ef;
  border-left-color: var(--red-700);
}

.area-groups {
  display: grid;
  gap: 18px;
}

.area-groups article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.area-groups h3 {
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.city-grid button {
  background: var(--white);
  border: 1px solid rgba(178, 26, 17, 0.22);
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(22, 28, 32, 0.06);
  color: var(--ink-2);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 16px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.city-grid button:hover,
.city-grid button.is-active {
  background: var(--red-700);
  border-color: var(--red-700);
  color: var(--white);
}

.sticky-heading {
  align-self: start;
  position: sticky;
  top: 120px;
}

.seo-links {
  background: var(--paper);
}

.link-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 38px;
}

.link-grid a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 170px;
  padding: 24px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.link-grid a:hover {
  border-color: rgba(178, 26, 17, 0.45);
  transform: translateY(-3px);
}

.link-grid span,
.breadcrumb {
  color: var(--red-800);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.link-grid strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.subpage-hero {
  background:
    linear-gradient(90deg, rgba(18, 23, 26, 0.92), rgba(92, 13, 9, 0.82)),
    url("assets/hero-roof.jpg") center/cover;
  color: var(--white);
  padding: 160px 0 90px;
}

.subpage-hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  max-width: 980px;
}

.subpage-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  max-width: 760px;
}

.subpage-content {
  background: var(--white);
}

.subpage-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.content-panel p,
.content-panel li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.content-panel h2 {
  margin-bottom: 18px;
}

.seo-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.seo-list li {
  border-left: 4px solid var(--red-700);
  padding-left: 16px;
}

.side-cta {
  align-self: start;
  background: linear-gradient(180deg, var(--red-900), var(--ink));
  border-radius: var(--radius);
  color: var(--white);
  padding: 30px;
  position: sticky;
  top: 120px;
}

.side-cta p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
}

.side-cta .button {
  margin-top: 16px;
  width: 100%;
}

.side-links {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
}

.service-index-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 42px;
}

.content-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(22, 28, 32, 0.08);
  display: block;
  min-height: 260px;
  padding: 28px;
  transition: border-color 160ms ease, transform 160ms ease;
}

.content-card:hover {
  border-color: rgba(178, 26, 17, 0.4);
  transform: translateY(-3px);
}

.content-card span {
  color: var(--red-700);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.content-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.content-card p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-page-grid {
  align-items: start;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
}

.steps {
  counter-reset: steps;
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.steps span {
  color: var(--red-700);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.insurance-panel {
  background:
    linear-gradient(135deg, rgba(75, 14, 11, 0.95), rgba(18, 23, 26, 0.96)),
    url("assets/hero-roof.jpg") center/cover;
  border-radius: var(--radius);
  color: var(--white);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  padding: clamp(32px, 6vw, 70px);
}

.insurance-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.check-list li {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 18px 1fr;
}

.check-list li::before {
  background: var(--white);
  border-radius: 50%;
  content: "";
  height: 10px;
  width: 10px;
}

.contact-points {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.contact-points li {
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 800;
  padding-top: 14px;
}

.referral-card {
  background: linear-gradient(180deg, var(--white), var(--cream));
}

.referral {
  padding-top: clamp(56px, 7vw, 92px);
}

.contact-card {
  background: linear-gradient(180deg, var(--red-900), var(--ink));
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.contact-card.is-submitted .contact-form,
.contact-modal__panel.is-submitted .modal-contact-form {
  display: none;
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  padding: 13px 14px;
  width: 100%;
}

.contact-form textarea {
  line-height: 1.5;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--soft-red);
  outline-offset: 2px;
}

.hp-field {
  display: none !important;
}

.form-button {
  border: 0;
  cursor: pointer;
  justify-self: start;
}

.form-status {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid var(--white);
  border-radius: 4px;
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #eefaf1;
  border-color: rgba(22, 120, 58, 0.24);
  border-left-color: #16783a;
  color: #12592d;
  font-weight: 900;
}

.form-status.is-error {
  background: #fff1ef;
  border-color: rgba(178, 26, 17, 0.18);
  border-left-color: var(--red-700);
  color: var(--red-900);
  font-weight: 900;
}

.thank-you-panel {
  background: var(--white);
  border: 1px solid rgba(22, 120, 58, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(18, 23, 26, 0.08);
  color: var(--ink);
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 22px;
}

.thank-you-panel strong {
  color: #12592d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.05;
}

.thank-you-panel span {
  color: var(--muted);
  line-height: 1.65;
}

.direct-contact {
  margin-top: 26px;
}

.direct-contact a {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: block;
  font-size: clamp(18px, 2vw, 26px);
  padding: 14px 0;
}

.contact-modal {
  align-items: center;
  display: grid;
  inset: 0;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 120;
}

.contact-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal__backdrop {
  background: rgba(18, 23, 26, 0.68);
  inset: 0;
  position: absolute;
}

.contact-modal__panel {
  background: linear-gradient(180deg, var(--white), var(--cream));
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(18, 23, 26, 0.32);
  color: var(--ink);
  margin: auto;
  max-height: calc(100vh - 48px);
  max-width: 720px;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 42px);
  position: relative;
  transform: translateY(12px);
  transition: transform 180ms ease;
  width: min(100%, 720px);
}

.contact-modal[aria-hidden="false"] .contact-modal__panel {
  transform: translateY(0);
}

.contact-modal__close {
  align-items: center;
  background: var(--red-900);
  border: 0;
  border-radius: 4px;
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 44px;
}

.contact-modal h2 {
  margin-bottom: 14px;
  max-width: 560px;
}

.contact-modal p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 590px;
}

.modal-contact-form {
  background: linear-gradient(180deg, var(--red-900), var(--ink));
  border-radius: var(--radius);
  margin-top: 22px;
  padding: clamp(20px, 4vw, 30px);
}

.modal-contact-form .form-button {
  width: 100%;
}

.faq {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 42px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 24px;
}

summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 800;
  list-style: none;
  padding: 24px 0;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 22px 0 26px;
}

.final-cta {
  background: linear-gradient(135deg, var(--red-800), var(--red-900));
  color: var(--white);
  padding: clamp(64px, 8vw, 104px) 0;
}

.final-grid {
  align-items: center;
}

.site-footer {
  background: var(--red-900);
  color: var(--white);
  padding: 54px 0 24px;
}

.footer-logo {
  background: var(--white);
  border-radius: 6px;
  margin-bottom: 18px;
  padding: 4px;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 1fr;
}

address {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  margin: 40px auto 0;
  max-width: 1180px;
  padding: 22px 24px 0;
}

@media (max-width: 980px) {
  .site-header {
    min-height: 76px;
    z-index: 80;
  }

  .nav-toggle {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 4px;
    cursor: pointer;
    display: grid;
    height: 44px;
    justify-content: center;
    position: relative;
    width: 44px;
    z-index: 82;
  }

  .site-nav {
    align-content: start;
    background: rgba(92, 13, 9, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 28px 70px rgba(18, 23, 26, 0.26);
    display: grid;
    gap: 0;
    left: 12px;
    max-height: calc(100vh - 168px);
    opacity: 0;
    overflow-y: auto;
    padding: 10px;
    pointer-events: none;
    position: fixed;
    right: 12px;
    text-align: left;
    top: 76px;
    transform: translateY(-14px);
    transition: opacity 160ms ease, transform 160ms ease;
    visibility: hidden;
    z-index: 78;
  }

  .site-nav a {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    justify-content: space-between;
    min-height: 52px;
    opacity: 1;
    padding: 0 12px;
  }

  .site-nav a:not(.nav-cta)::after {
    color: rgba(255, 255, 255, 0.52);
    content: ">";
    font-size: 16px;
  }

  .site-nav .nav-cta {
    border-bottom: 0;
    border-radius: 4px;
    justify-content: center;
    margin-top: 10px;
    min-height: 54px;
    text-align: center;
  }

  body {
    padding-bottom: 92px;
  }

  .floating-contact {
    border-radius: 0;
    bottom: 0;
    gap: 0;
    left: 0;
    padding: 0;
    right: 0;
  }

  .floating-contact a {
    border-radius: 0;
    min-height: 72px;
    min-width: 0;
    place-content: center;
    text-align: center;
    width: 50%;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  body.nav-open .floating-contact {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 18px;
  }

  .hero-grid,
  .two-column,
  .process-grid,
  .insurance-panel,
  .referral-grid,
  .final-grid,
  .standards-grid,
  .areas-grid,
  .subpage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: 720px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .strip-grid,
  .service-grid,
  .action-grid,
  .link-grid,
  .service-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading,
  .side-cta {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand small {
    display: none;
  }

  .brand-logo-wrap {
    height: 46px;
    width: 46px;
  }

  h1 {
    font-size: 46px;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-grid {
    gap: 30px;
    min-height: 700px;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .strip-grid,
  .service-grid,
  .action-grid,
  .link-grid,
  .service-index-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid span {
    min-height: auto;
    padding: 18px;
  }

  .hero-panel div {
    grid-template-columns: 60px 1fr;
  }

  .area-finder {
    padding: 20px;
  }

  .city-grid {
    gap: 9px;
  }

  .city-grid button {
    font-size: 14px;
    padding: 11px 13px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-modal__panel {
    max-height: calc(100vh - 24px);
    padding: 22px;
  }

  .contact-modal__close {
    right: 12px;
    top: 12px;
  }
}
