:root {
  --ink: #17211f;
  --muted: #5d6965;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d8ded8;
  --green: #1f6f5b;
  --green-dark: #13473b;
  --gold: #d89b38;
  --blue: #2d6d8e;
  --clay: #b35f43;
  --shadow: 0 18px 50px rgba(23, 33, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.topbar {
  background: var(--green-dark);
  color: #fff;
  font-size: 0.9rem;
}

.topbar__inner,
.nav,
.section,
.footer__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.topbar a {
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(31, 111, 91, 0.28);
}

.brand span:last-child {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 750;
}

.nav__links a {
  text-decoration: none;
  color: #263532;
}

.nav__links .button {
  color: #fff;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  padding: 12px 18px;
  background: var(--gold);
  color: #241a0a;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(216, 155, 56, 0.22);
}

.button--dark {
  background: var(--green-dark);
  color: #fff;
}

.button--light {
  background: #fff;
  color: var(--green-dark);
  box-shadow: none;
}

.button--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(19, 71, 59, 0.96) 0%, rgba(19, 71, 59, 0.82) 44%, rgba(19, 71, 59, 0.30) 100%),
    url("st-george-garage-door-repair.jpg") center / cover;
}

.hero__inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: center;
  gap: 48px;
  padding: 70px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  max-width: 780px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0 0 26px;
  font-size: 1.18rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.contact-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 22px;
}

.hero-note {
  max-width: 600px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 34px;
  max-width: 760px;
}

.trust-row div {
  min-height: 82px;
  padding: 13px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.20);
}

.trust-row strong {
  display: block;
  font-size: 1.05rem;
}

.trust-row span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.quote-card {
  background: var(--panel);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.quote-card h2 {
  margin: 0 0 4px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.quote-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

.form-grid {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #33423f;
  font-size: 0.86rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd4cf;
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 96px;
  resize: vertical;
}

.micro {
  font-size: 0.78rem;
  color: var(--muted);
}

.inline-disclosure {
  max-width: 680px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
}

.page-hero .inline-disclosure,
.quote-card .inline-disclosure,
.content .inline-disclosure {
  background: #fff;
  border-color: var(--line);
  color: var(--muted);
}

.section {
  padding: 78px 0;
}

.section--tight {
  padding: 46px 0;
}

.section--band {
  width: 100%;
  max-width: none;
  background: #edf3ef;
}

.section--band > .section {
  padding-top: 74px;
  padding-bottom: 74px;
}

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section__head h2,
.content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section__head p,
.content p {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.06);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
}

.card a {
  color: var(--green-dark);
  font-weight: 900;
  text-decoration: none;
}

.card--accent {
  border-top: 5px solid var(--gold);
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: #fff;
  background: var(--green);
}

.icon svg {
  width: 22px;
  height: 22px;
}

.visual-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: stretch;
}

.photo {
  min-height: 420px;
  border-radius: 8px;
  background: url("st-george-garage-door-repair.jpg") center / cover;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #344642;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--gold);
}

.numbered-list {
  margin: 20px 0 0;
  padding-left: 22px;
  color: #344642;
}

.numbered-list li + li {
  margin-top: 10px;
}

.info-table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.info-table th,
.info-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background: #edf3ef;
  color: var(--green-dark);
}

.info-table tr:last-child td {
  border-bottom: 0;
}

.notice {
  margin-top: 22px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #ead4a8;
  background: #fff7e8;
  color: #463414;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.pill-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf3ef;
  color: var(--green-dark);
  font-weight: 800;
  font-size: 0.9rem;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.area-grid a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  font-weight: 850;
}

.link-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.link-strip a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #edf3ef;
  color: var(--green-dark);
  font-weight: 850;
  text-decoration: none;
}

.review {
  border-left: 5px solid var(--gold);
}

.review p {
  color: #35433f;
}

.cta-band {
  background: var(--green-dark);
  color: #fff;
}

.cta-band .section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.cta-band p {
  margin: 0;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.page-hero {
  background: #eaf1ed;
  border-bottom: 1px solid var(--line);
}

.page-hero .section {
  padding-top: 70px;
  padding-bottom: 60px;
}

.page-hero h1 {
  color: var(--ink);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.12rem;
}

.content {
  max-width: 840px;
}

.content h2 {
  margin-top: 34px;
}

.content p {
  margin-top: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px 18px;
}

.faq details + details {
  margin-top: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

.footer {
  background: #111b19;
  color: #fff;
}

.footer__inner {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.footer h2,
.footer h3 {
  margin: 0 0 12px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  display: block;
  text-decoration: none;
  margin: 7px 0;
}

.disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav__links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero__inner,
  .grid-3,
  .grid-2,
  .visual-strip,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    min-height: auto;
  }

  .trust-row,
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section__head,
  .cta-band .section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    font-size: 0.84rem;
  }

  .topbar__inner,
  .nav,
  .section,
  .footer__inner,
  .hero__inner {
    width: min(calc(100% - 28px), 1180px);
    max-width: calc(100% - 28px);
  }

  .topbar__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 10px 0;
  }

  .topbar__actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar__actions a {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 7px;
    padding: 7px 8px;
    text-align: center;
  }

  .topbar a {
    white-space: normal;
  }

  .topbar span,
  .topbar a,
  .brand,
  .brand span,
  .hero__inner > *,
  .section > *,
  .card,
  .quote-card {
    min-width: 0;
  }

  .nav-wrap {
    position: static;
  }

  .nav {
    gap: 14px;
    min-height: auto;
    padding: 13px 0 14px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__mark {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
  }

  .brand span:last-child {
    font-size: 0.76rem;
  }

  .nav__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    min-width: 0;
  }

  .nav__links a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #fff;
    padding: 8px 10px;
    text-align: center;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .nav__links .button {
    grid-column: 1 / -1;
    border: 0;
    background: var(--green-dark);
    color: #fff;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(19, 71, 59, 0.98) 0%, rgba(19, 71, 59, 0.84) 100%),
      url("st-george-garage-door-repair.jpg") center / cover;
  }

  .hero__inner {
    padding: 34px 0;
    gap: 24px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 1.98rem;
    line-height: 1.02;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
    overflow-wrap: normal;
    word-break: normal;
  }

  .page-hero .section {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .eyebrow {
    max-width: 100%;
    white-space: normal;
  }

  .quote-card {
    padding: 18px;
  }

  .section {
    padding: 52px 0;
  }

  .section--tight {
    padding: 36px 0;
  }

  .section--band > .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .section__head {
    gap: 12px;
    margin-bottom: 22px;
  }

  .section__head h2,
  .content h2,
  .cta-band h2 {
    font-size: 1.82rem;
    line-height: 1.08;
  }

  .section__head p,
  .content p,
  .card p,
  .faq p,
  .check-list li,
  .numbered-list li {
    font-size: 0.98rem;
  }

  .content h2 {
    margin-top: 28px;
  }

  .check-list {
    gap: 10px;
  }

  .check-list li {
    padding-left: 26px;
  }

  .check-list li::before {
    width: 14px;
    height: 14px;
  }

  .photo {
    min-height: 260px;
  }

  .trust-row,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .trust-row {
    gap: 8px;
    margin-top: 24px;
  }

  .trust-row div {
    min-height: auto;
  }

  .link-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .link-strip a {
    justify-content: space-between;
  }

  .info-table {
    border: 0;
    background: transparent;
  }

  .info-table thead {
    display: none;
  }

  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
  }

  .info-table td {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
  }

  .info-table td::before {
    color: var(--green-dark);
    font-weight: 900;
  }

  .info-table td:nth-child(1)::before {
    content: "Problem";
  }

  .info-table td:nth-child(2)::before {
    content: "Cause";
  }

  .info-table td:nth-child(3)::before {
    content: "Next";
  }

  .info-table tr:last-child td,
  .info-table td:last-child {
    border-bottom: 0;
  }

  .pill-list span {
    font-size: 0.84rem;
  }

  .faq details {
    padding: 14px;
  }

  .footer__inner {
    padding: 38px 0;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero h1,
  .page-hero h1 {
    font-size: 1.82rem;
  }

  .section__head h2,
  .content h2,
  .cta-band h2 {
    font-size: 1.62rem;
  }

  .info-table td {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
  }
}
