:root {
  --ink: #17221f;
  --muted: #63716c;
  --paper: #f7f4ed;
  --panel: #ffffff;
  --line: #d9ddd2;
  --green: #255c45;
  --green-dark: #15392b;
  --amber: #d49b36;
  --blue: #2b5f87;
  --shadow: 0 22px 55px rgba(23, 34, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 25, 22, 0.78), rgba(14, 25, 22, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.13);
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 124px clamp(18px, 6vw, 82px) 72px;
  color: #fff;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 17, 15, 0.82) 0%, rgba(9, 17, 15, 0.55) 46%, rgba(9, 17, 15, 0.15) 100%),
    linear-gradient(0deg, rgba(9, 17, 15, 0.64), rgba(9, 17, 15, 0.1));
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: 92px;
}

h2 {
  margin-bottom: 18px;
  font-size: 58px;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button.primary {
  background: var(--amber);
  color: #151006;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-bar div {
  padding: 26px clamp(18px, 4vw, 48px);
  background: var(--green-dark);
  color: #fff;
}

.proof-bar strong,
.proof-bar span {
  display: block;
}

.proof-bar strong {
  margin-bottom: 7px;
  font-size: 17px;
}

.proof-bar span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: clamp(64px, 8vw, 110px) clamp(18px, 6vw, 82px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.section-copy p,
.quote-copy p,
.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.package-card,
.quote-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 30px rgba(23, 34, 31, 0.06);
}

.service-grid article {
  min-height: 190px;
  padding: 26px;
}

.service-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--blue);
  font-weight: 800;
}

.service-grid p,
.package-card p {
  color: var(--muted);
  line-height: 1.55;
}

.packages {
  background: #eef1ea;
}

.locations {
  background: #fdfbf6;
}

.search-pages {
  background: #eef1ea;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.compact {
  max-width: 670px;
}

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

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

.location-grid article {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 34, 31, 0.06);
}

.location-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.location-grid address {
  min-height: 42px;
  margin: -4px 0 16px;
  color: var(--green);
  font-style: normal;
  font-weight: 800;
  line-height: 1.35;
}

.location-grid p {
  color: var(--muted);
  line-height: 1.55;
}

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

.search-link-grid a {
  min-height: 82px;
  display: flex;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
  line-height: 1.25;
  box-shadow: 0 10px 30px rgba(23, 34, 31, 0.05);
}

.package-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 30px;
}

.package-card.featured {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
  box-shadow: var(--shadow);
}

.package-card.featured p {
  color: rgba(255, 255, 255, 0.8);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.text-link.light {
  color: #fff;
}

.package-kicker {
  margin-bottom: 36px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price {
  margin: 4px 0 18px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.steps div {
  min-height: 140px;
  padding: 25px;
  background: #fff;
}

.steps strong,
.steps span {
  display: block;
}

.steps strong {
  margin-bottom: 10px;
  font-size: 18px;
}

.steps span {
  color: var(--muted);
  line-height: 1.45;
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: var(--green-dark);
  color: #fff;
}

.quote-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.estimate {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding: 22px 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.estimate span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.estimate strong {
  color: #fff;
  font-size: 46px;
}

.quote-form {
  display: grid;
  gap: 17px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfd6cf;
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfbf8;
  font: inherit;
}

input[type="file"] {
  padding: 11px;
  background: #fff;
}

textarea {
  resize: vertical;
}

.upload-field span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.full {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 6vw, 82px);
  color: #fff;
  background: #101815;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.65);
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(247, 244, 237, 0.94), rgba(247, 244, 237, 0.82)),
    url("assets/garage-mess-hero.png") center / cover;
}

.thank-you {
  display: grid;
  min-height: 100vh;
  align-content: center;
  gap: 56px;
  padding: 40px clamp(18px, 6vw, 82px);
}

.brand.dark {
  color: var(--ink);
}

.brand.dark .brand-mark {
  border-color: var(--green);
  background: #fff;
}

.thank-you section {
  max-width: 760px;
}

.thank-you p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.6;
}

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

.seo-header {
  position: static;
  color: var(--ink);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.seo-header .brand-mark {
  border-color: var(--green);
  background: #f4f6f1;
}

.seo-header .header-cta {
  border-color: var(--green);
  color: var(--green);
  background: #fff;
}

.seo-main {
  background: #fdfbf6;
}

.seo-hero {
  padding: 82px clamp(18px, 6vw, 82px) 54px;
  background: var(--green-dark);
  color: #fff;
}

.seo-hero h1 {
  max-width: 900px;
  font-size: 74px;
}

.seo-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  line-height: 1.6;
}

.seo-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.seo-article {
  max-width: 880px;
}

.seo-article p,
.seo-article li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.seo-article h2 {
  margin-top: 42px;
  font-size: 42px;
}

.seo-article h3 {
  margin-top: 28px;
}

.seo-article ul {
  padding-left: 22px;
}

.seo-card {
  position: sticky;
  top: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.seo-card p {
  color: var(--muted);
  line-height: 1.55;
}

.related-links {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.related-links a {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82vh;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .proof-bar,
  .split,
  .package-grid,
  .location-grid,
  .steps,
  .quote-section {
    grid-template-columns: 1fr;
  }

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

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

  .seo-hero h1 {
    font-size: 50px;
  }

  .seo-content {
    grid-template-columns: 1fr;
  }

  .seo-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    padding: 104px 18px 42px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .package-card,
  .service-grid article {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }

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

  .seo-hero h1 {
    font-size: 42px;
  }
}
