/* Adam Roofing · Masonry · Siding — Design System */
:root {
  --green-950: #07241b;
  --green-900: #0a2e22;
  --green-800: #0c3b2e;
  --green-700: #14523f;
  --green-600: #1b5e4a;
  --green-100: #e7f0eb;
  --green-50: #f2f7f4;
  --gold-600: #a8861c;
  --gold-500: #c9a227;
  --gold-400: #d4b04a;
  --gold-100: #f5ecd0;
  --cream: #f7f5f0;
  --white: #ffffff;
  --ink: #1c2420;
  --muted: #5b6b63;
  --border: #d9e3dd;
  --shadow-sm: 0 1px 2px rgba(12, 59, 46, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 59, 46, 0.1);
  --shadow-lg: 0 16px 40px rgba(12, 59, 46, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1180px;
  --header-h: 80px;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--green-800);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--gold-500);
  color: var(--green-950);
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

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

.section-cream {
  background: var(--cream);
}

.section-green {
  background: var(--green-800);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}

.section-green .eyebrow {
  color: var(--gold-400);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--green-800);
  letter-spacing: -0.01em;
}

.section-green h1,
.section-green h2,
.section-green h3,
.section-green h4 {
  color: var(--white);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.section-green p {
  color: rgba(255, 255, 255, 0.86);
}

.lead {
  font-size: 1.125rem;
  max-width: 58ch;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 42px;
}

.section-head p {
  margin-bottom: 0;
}

.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 0;
}

.gold-rule::before,
.gold-rule::after {
  content: "";
  width: 56px;
  height: 1.5px;
  background: var(--gold-500);
}

.gold-rule span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.underline-accent {
  width: 72px;
  height: 3px;
  background: var(--gold-500);
  border: 0;
  margin: 0 0 22px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-primary {
  background: var(--green-800);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-700);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--green-950);
}

.btn-gold:hover {
  background: var(--gold-400);
  color: var(--green-950);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--green-800);
}

.btn-block {
  width: 100%;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-800);
  color: var(--white);
  min-height: var(--header-h);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold-500);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--green-600);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--green-700);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

/* Page hero */
.page-hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(7, 36, 27, 0.92), rgba(12, 59, 46, 0.78)),
    var(--green-800);
  color: var(--white);
  padding: 72px 0 78px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.18), transparent 35%),
    linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.04) 60%, transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero .hero-sub {
  margin: 0;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Home hero */
.home-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: calc(100vh - var(--header-h));
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 48%, var(--green-50) 100%);
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px);
}

.home-hero-copy h1 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
}

.home-hero-copy h1 span {
  display: block;
}

.home-hero-copy .lead {
  margin-bottom: 28px;
  max-width: 36ch;
}

.home-hero-media {
  position: relative;
  min-height: 420px;
  background:
    linear-gradient(160deg, rgba(12, 59, 46, 0.18), rgba(12, 59, 46, 0.05)),
    var(--green-100);
  overflow: hidden;
}

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

.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 59, 46, 0.92);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.hero-badge strong {
  color: var(--gold-400);
}

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

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

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

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-800);
  color: var(--white);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 16px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--green-700);
}

.card-link:hover {
  color: var(--green-800);
  gap: 10px;
}

/* Service list page */
.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.service-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.check svg {
  width: 14px;
  height: 14px;
}

/* Promo banner */
.promo {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 28px;
  align-items: center;
  border: 2px solid var(--green-600);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 28px 32px;
}

.promo-copy .label {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.promo-copy h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--ink);
}

.promo-copy .price {
  color: var(--green-600);
  font-size: 1.2em;
}

.promo-divider {
  width: 1px;
  height: 84px;
  background: var(--border);
}

.promo-badge {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 35% 30%, #f0d78a, var(--gold-500) 55%, var(--gold-600));
  color: var(--green-950);
  font-weight: 800;
  line-height: 1.15;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.28);
}

.promo-badge .num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.85rem;
}

.promo-badge .unit {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Project cards */
.project-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 260px;
  background: var(--green-800);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.project-card img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.88;
  transition: transform 0.45s var(--ease), opacity 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.04);
  opacity: 0.75;
}

.project-card-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
  background: linear-gradient(transparent, rgba(7, 36, 27, 0.92));
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.project-card-body h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
}

.project-card-body p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
}

.project-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.55);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.project-icon svg {
  width: 18px;
  height: 18px;
}

/* Reviews */
.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-700);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.stars {
  display: flex;
  gap: 3px;
  color: var(--gold-500);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.review-card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--ink);
  flex: 1;
}

.review-card blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--green-700);
  margin-bottom: 4px;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer strong {
  display: block;
  color: var(--green-800);
}

.reviewer span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* About / trust */
.trust-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--green-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.trust-card .card-icon {
  margin: 0;
  width: 52px;
  height: 52px;
  background: var(--green-700);
}

.trust-card h3 {
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 1.12rem;
}

.trust-card p {
  margin: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.about-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--green-100);
  aspect-ratio: 4 / 3;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
}

.contact-list .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  display: grid;
  place-items: center;
}

.contact-list .icon-circle svg {
  width: 20px;
  height: 20px;
}

.contact-list .label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.contact-list .value {
  display: block;
  color: var(--ink);
  font-weight: 600;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--green-700);
  text-decoration: underline;
}

.special-offer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--green-50);
  border: 1px solid var(--green-600);
  border-radius: var(--radius-md);
  padding: 18px;
}

.special-offer .card-icon {
  margin: 0;
  width: 48px;
  height: 48px;
}

.special-offer .label {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-700);
}

.special-offer p {
  margin: 0;
  color: var(--ink);
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  margin-bottom: 8px;
}

.form-card .form-intro {
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-800);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(27, 94, 74, 0.15);
  outline: none;
}

.form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 600;
}

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

.form-error {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #fdecea;
  color: #8a2b22;
  font-weight: 600;
}

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

/* Honeypot — invisible to humans, visible to bots */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-900), var(--green-700));
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin: 0 auto 24px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.82);
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}

.footer-col h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

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

/* Utility */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.prose {
  max-width: 68ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 28px 0;
}

/* Responsive */
@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .home-hero-media {
    min-height: 320px;
    order: -1;
  }

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

  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-media {
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    background: var(--green-900);
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list a {
    min-height: 48px;
  }

  .header-cta {
    margin-top: 12px;
    justify-content: center;
  }

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

  .promo {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .promo-divider {
    width: 84px;
    height: 1px;
    margin: 0 auto;
  }

  .promo-badge {
    margin: 0 auto;
  }
}

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

  .container {
    width: min(100% - 28px, var(--container));
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-tag {
    display: none;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .form-card {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
