:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-soft: #f5f5f5;
  --line: rgba(31, 31, 31, 0.1);
  --line-strong: rgba(31, 31, 31, 0.18);
  --ink: #1f1f1f;
  --muted: #5f6461;
  --muted-light: rgba(255, 255, 255, 0.74);
  --accent: #2e7d32;
  --accent-strong: #3f9750;
  --accent-soft: rgba(46, 125, 50, 0.1);
  --gold: #c8a96a;
  --gold-soft: rgba(200, 169, 106, 0.14);
  --hero-dark: rgba(19, 19, 19, 0.5);
  --hero-darker: rgba(19, 19, 19, 0.84);
  --white: #ffffff;
  --shadow-xl: 0 40px 100px rgba(31, 31, 31, 0.15);
  --shadow-lg: 0 24px 58px rgba(31, 31, 31, 0.11);
  --shadow-md: 0 14px 34px rgba(31, 31, 31, 0.07);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --header-width: min(calc(100% - 2rem), 1200px);
  --content-width: min(calc(100% - 2rem), 1200px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

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

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

button,
input,
textarea,
select,
summary {
  font: inherit;
}

#services,
#projects,
#about,
#areas,
#contact,
#free-estimate-request,
#estimate-form-fields {
  scroll-margin-top: 110px;
}

.page-shell {
  overflow: clip;
}

.hero-stack {
  position: relative;
  padding-bottom: 2rem;
}

.container {
  width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition:
    opacity 0.42s ease,
    transform 0.42s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  background: rgba(31, 31, 31, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header-hidden {
  opacity: 0;
  transform: translateY(-22px);
  pointer-events: none;
}

.site-header-scrolled {
  background: rgba(31, 31, 31, 0.97);
  box-shadow: 0 16px 34px rgba(5, 8, 11, 0.16);
}

.header-bar {
  width: var(--header-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.1rem;
  min-height: 4.15rem;
  padding: 0.38rem 0;
  transition:
    min-height 0.28s ease,
    padding 0.28s ease;
}

.site-header-scrolled .header-bar {
  min-height: 3.9rem;
  padding: 0.28rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
}

.brand-logo-shell,
.footer-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand-logo-shell {
  padding: 0;
}

.brand strong,
.footer strong {
  font-weight: 800;
}

.brand-logo {
  display: block;
  width: min(35vw, 18.5rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.header-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.65rem;
}

.header-nav a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.header-support {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-estimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.64rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--white);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(46, 125, 50, 0.24);
}

.hero-section {
  position: relative;
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  padding: 9rem 0 13rem;
  display: flex;
  align-items: center;
  z-index: 1;
}

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

.hero-image-layer {
  overflow: hidden;
}

.hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease-out;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(19, 19, 19, 0.34) 0%, rgba(19, 19, 19, 0.46) 46%, rgba(19, 19, 19, 0.72) 100%),
    linear-gradient(90deg, var(--hero-darker) 0%, rgba(19, 19, 19, 0.48) 56%, rgba(19, 19, 19, 0.22) 100%);
}

.hero-content-shell {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: end;
}

.hero-copy {
  max-width: 49rem;
}

.hero-copy {
  transition:
    opacity 0.28s ease-out,
    transform 0.28s ease-out;
  will-change: opacity, transform;
}

.eyebrow,
.section-kicker,
.panel-label,
.floating-estimate-button {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.82);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
}

h1,
h2 {
  font-family: "Jost", sans-serif;
  font-weight: 500;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 10.5ch;
  font-size: clamp(3.6rem, 7vw, 6.5rem);
  color: var(--white);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.lead,
.section-copy,
.service-card p,
.project-copy p,
.testimonial-quote,
.testimonial-context,
.areas-copy-panel p,
.form-note,
.footer p {
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.54;
  color: #4b504d;
}

.lead {
  margin: 1.3rem 0 0;
  max-width: 35rem;
  font-size: 1.24rem;
  line-height: 1.46;
  color: rgba(255, 255, 255, 0.9);
}

.lead-light {
  color: rgba(255, 255, 255, 0.9);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.85rem 0 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

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

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 18px 36px rgba(46, 125, 50, 0.28);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
}

.button-panel {
  width: 100%;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.button-secondary {
  background: #ffffff;
  border-color: var(--line);
  color: var(--ink);
}

.button-block {
  width: 100%;
}

.button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.hero-highlights {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.hero-highlight::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--gold);
  flex: 0 0 auto;
}

.hero-note {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  line-height: 1.45;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  top: calc(100svh - 4.45rem);
  z-index: 8;
  display: inline-grid;
  justify-items: center;
  align-items: center;
  gap: 0.28rem;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  transform: translateX(-50%);
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  transform: translateX(-50%) translateY(-2px);
  color: var(--accent);
}

.hero-scroll-arrow {
  display: inline-grid;
  place-items: center;
  width: auto;
  height: auto;
  border-radius: 0;
  color: var(--gold);
  background: transparent;
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 1;
  animation: swipeCue 1.8s ease-in-out infinite;
}

.hero-scroll-text {
  color: currentColor;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes swipeCue {
  0%,
  100% {
    transform: translateY(5px);
  }

  50% {
    transform: translateY(-4px);
  }
}

.panel-label {
  margin: 0 0 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--gold);
}

.estimate-stage {
  position: relative;
  z-index: 3;
  margin-top: -8.5rem;
  padding: 0 0 2rem;
}

.estimate-surface,
.services-surface {
  width: var(--content-width);
  margin: 0 auto;
}

.estimate-surface {
  padding: 2.6rem 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, #ffffff 100%);
  border: 1px solid rgba(31, 31, 31, 0.06);
  box-shadow: var(--shadow-xl);
}

.services-stage {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  padding: 0 0 2rem;
}

.services-surface {
  padding: 3.1rem 2rem 2.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, #ffffff 100%);
  border: 1px solid rgba(31, 31, 31, 0.06);
  box-shadow: var(--shadow-xl);
}

.services-heading {
  text-align: center;
  max-width: 50rem;
  margin: 0 auto 2.25rem;
}

.section-kicker {
  margin: 0 0 0.8rem;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--accent);
}

.services-heading h2 {
  color: var(--ink);
  letter-spacing: -0.03em;
}

.accent-line {
  display: block;
  width: 4rem;
  height: 3px;
  margin: 1rem auto 1.15rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

.services-copy {
  max-width: 40rem;
  margin: 0 auto;
}

.service-grid,
.testimonial-grid,
.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card-premium,
.testimonial-card,
.areas-copy-panel,
.form-shell {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.service-card-premium {
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.service-card-premium:hover,
.project-card:hover,
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(31, 31, 31, 0.09);
}

.service-image-shell {
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card-premium:hover .service-image {
  transform: scale(1.015);
}

.service-card-copy {
  padding: 1.3rem 1.35rem 1.4rem;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  min-height: 2.05rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card p,
.section-copy,
.project-copy p,
.areas-copy-panel p,
.form-note {
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.trust-strip span {
  padding: 0.85rem 0.95rem;
  border-left: 3px solid var(--accent);
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 800;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(46, 125, 50, 0.42);
}

.section {
  padding: 4.8rem 0;
}

.section-soft {
  background: linear-gradient(180deg, #f5f5f5 0%, #f8f8f8 100%);
  border-top: 1px solid rgba(31, 31, 31, 0.05);
  border-bottom: 1px solid rgba(31, 31, 31, 0.05);
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(200, 169, 106, 0.12), transparent 24%),
    linear-gradient(180deg, #232323 0%, #1f1f1f 100%);
  color: var(--white);
}

.section-intro {
  max-width: 52rem;
  margin-bottom: 1.85rem;
}

.section-intro-light .section-copy-light,
.testimonial-context,
.footer p {
  color: var(--muted-light);
}

.projects-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.4rem;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.project-card-wide {
  grid-row: span 2;
}

.project-media {
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
}

.project-card-tall .project-media {
  aspect-ratio: 1.15 / 1;
}

.project-copy {
  padding: 1.3rem 1.4rem 1.5rem;
}

.project-location {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 1.55rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease;
}

.quote-mark {
  margin-bottom: 0.75rem;
  font-family: "Jost", sans-serif;
  font-size: 1rem;
  line-height: 1;
  color: var(--gold);
}

.process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 169, 106, 0.16);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.testimonial-quote {
  margin: 0;
  color: #eef4f8;
}

.testimonial-author {
  margin: 1rem 0 0.25rem;
  font-weight: 800;
}

.testimonial-context {
  margin: 0;
}

.areas-layout,
.estimate-layout {
  display: grid;
  gap: 1.6rem;
}

.areas-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
}

.areas-copy-panel,
.form-shell {
  padding: 1.55rem;
}

.area-chip-grid,
.estimate-support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.area-chip,
.estimate-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-weight: 700;
}

.estimate-support-link {
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.estimate-support-link:hover,
.estimate-support-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(46, 125, 50, 0.28);
  box-shadow: 0 10px 24px rgba(31, 31, 31, 0.08);
  color: var(--accent);
}

.areas-visual {
  position: relative;
}

.area-photo-card {
  overflow: hidden;
  aspect-ratio: 1.2 / 1;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.area-callout {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  max-width: 21rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 230, 236, 0.95);
  box-shadow: var(--shadow-lg);
}

.estimate-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.estimate-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  width: 100%;
  padding: 0 2rem;
}

.estimate-copy {
  padding-top: 0.6rem;
}

.form-shell {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  border-color: rgba(46, 125, 50, 0.18);
  box-shadow:
    0 28px 60px rgba(31, 31, 31, 0.1),
    0 0 0 1px rgba(200, 169, 106, 0.14);
}

.form-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

form {
  display: grid;
  gap: 1rem;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 31, 31, 0.14);
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.14);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(31, 31, 31, 0.7) 50%),
    linear-gradient(135deg, rgba(31, 31, 31, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% - 2px),
    calc(100% - 14px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 6px 6px, 6px 6px;
  padding-right: 2.8rem;
}

.form-note {
  margin: 0;
}

.success-message {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.error-message {
  margin: 0;
  color: #a33a2b;
  font-weight: 700;
}

.contact-section {
  min-height: 6rem;
}

.seo-section {
  background: #ffffff;
  border-top: 1px solid rgba(31, 31, 31, 0.06);
}

.seo-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.seo-topic-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  box-shadow: var(--shadow-md);
}

.seo-topic-card h3 {
  margin-bottom: 0.75rem;
}

.seo-topic-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.faq-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(200, 169, 106, 0.14), transparent 28%),
    linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%);
  border: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #ffffff;
  overflow: hidden;
}

summary {
  cursor: pointer;
  padding: 1rem 1.05rem;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 1.05rem 1.05rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-detail-grid div {
  padding: 1.25rem;
  background: var(--white);
}

.contact-detail-grid strong {
  display: block;
  color: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-detail-grid p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.footer {
  background: #1f1f1f;
  color: #e5e3de;
  padding: 2.6rem 0 4rem;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.7fr 0.9fr 1fr 1fr 0.7fr;
  align-items: start;
}

.footer p {
  margin: 0.6rem 0 0;
}

.footer-logo-shell {
  padding: 0;
  margin-bottom: 0.95rem;
}

.footer-logo {
  display: block;
  width: min(18rem, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

.footer-link {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(200, 169, 106, 0.65);
  text-underline-offset: 0.22em;
}

.seo-landing-page {
  background:
    radial-gradient(circle at top right, rgba(46, 125, 50, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
}

.seo-landing {
  width: var(--content-width);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.seo-back-link {
  display: inline-flex;
  margin-bottom: 1.75rem;
  color: var(--accent);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(46, 125, 50, 0.34);
  text-underline-offset: 0.22em;
}

.seo-landing-hero {
  min-height: auto;
  padding: clamp(3rem, 8vw, 5.5rem);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(31, 31, 31, 0.9), rgba(31, 31, 31, 0.72)),
    url("./assets/hero-roof-repair-desktop.jpg") center / cover;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.seo-landing-hero h1 {
  max-width: 12ch;
}

.seo-landing-hero .lead {
  max-width: 44rem;
}

.seo-landing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.seo-landing-grid article {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.seo-landing-grid h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
}

.seo-landing-grid p {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.seo-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.seo-related-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(31, 31, 31, 0.06);
}

.floating-estimate-button {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(46, 125, 50, 0.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.floating-estimate-button-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cinematic {
  will-change: transform, opacity;
}

.cinematic .media-image {
  transform: scale(1.06);
  transition: transform 1.25s ease;
}

[data-reveal].is-visible .media-image {
  transform: scale(1);
}

@media (min-width: 761px) {
  .hero-stack {
    padding-bottom: 3rem;
  }

  .estimate-stage {
    margin-top: -11rem;
  }

  .estimate-surface,
  .services-surface {
    box-shadow:
      0 -12px 42px rgba(31, 31, 31, 0.05),
      var(--shadow-xl);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, #ffffff 100%);
  }

  .estimate-surface {
    padding-top: 2.9rem;
  }

  .services-surface {
    padding-top: 3.3rem;
  }
}

@media (max-width: 1120px) {
  .hero-content-shell,
  .service-grid,
  .projects-layout,
  .testimonial-grid,
  .areas-layout,
  .estimate-layout,
  .seo-topic-grid,
  .seo-landing-grid,
  .faq-panel,
  .trust-strip,
  .contact-detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .estimate-stage {
    margin-top: -5rem;
  }

  .project-card-wide {
    grid-row: auto;
  }
}

@media (max-width: 920px) {
  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    justify-items: stretch;
    text-align: left;
    gap: 0.9rem;
    min-height: 3.8rem;
    padding: 0.34rem 0;
  }

  .header-actions {
    justify-content: flex-end;
    gap: 0.75rem;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo-shell {
    padding: 0;
  }

  .brand-logo {
    width: min(41vw, 15rem);
  }

  .header-estimate {
    min-height: 2.45rem;
    padding: 0.64rem 0.92rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 9.8rem;
    padding-bottom: 10rem;
  }

  .hero-scroll-cue {
    top: calc(100svh - 4.45rem);
  }

  .hero-content-shell {
    gap: 1.5rem;
  }

  .estimate-layout {
    padding: 0 1.5rem;
  }
}

@media (max-width: 760px) {
  .hero-stack {
    padding-bottom: 1.5rem;
  }

  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.2rem;
    padding: 0.22rem 0;
  }

  .header-nav {
    display: none;
  }

  .header-support {
    display: none;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-logo-shell {
    padding: 0;
  }

  .brand-logo {
    width: min(50vw, 10.8rem);
  }

  .hero-section {
    min-height: 100svh;
    padding-top: 7.4rem;
    padding-bottom: 9.8rem;
  }

  .hero-scroll-cue {
    left: 50%;
    right: auto;
    top: calc(100svh - 4.05rem);
    transform: translateX(-50%);
    padding: 0;
  }

  .hero-scroll-cue:hover,
  .hero-scroll-cue:focus-visible {
    transform: translateX(-50%) translateY(-2px);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 11.2vw, 4rem);
  }

  .lead {
    font-size: 1.1rem;
    line-height: 1.42;
  }

  .cta-row,
  .hero-highlights,
  .estimate-support-list {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .header-estimate {
    width: auto;
    min-height: 2.2rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .estimate-stage {
    margin-top: -6.8rem;
  }

  #estimate-form-fields {
    scroll-margin-top: 3.75rem;
  }

  .services-stage {
    margin-top: 1rem;
  }

  .estimate-surface,
  .services-surface,
  .testimonial-card,
  .areas-copy-panel,
  .form-shell {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .estimate-layout {
    padding: 0 0.82rem;
  }

  .form-shell {
    padding-top: 0.92rem;
    padding-bottom: 0.92rem;
  }

  .form-shell::before {
    height: 3px;
  }

  form {
    gap: 0.5rem;
  }

  label {
    gap: 0.22rem;
    font-size: 0.76rem;
    line-height: 1.15;
  }

  input,
  select,
  textarea {
    min-height: 2.35rem;
    padding: 0.52rem 0.68rem;
    border-radius: 12px;
    font-size: 0.9rem;
  }

  select {
    background-position:
      calc(100% - 16px) calc(50% - 2px),
      calc(100% - 10px) calc(50% - 2px);
    padding-right: 2.2rem;
  }

  textarea {
    min-height: 3.65rem;
    max-height: 3.65rem;
    resize: vertical;
  }

  .form-shell .button {
    min-height: 2.55rem;
    padding: 0.62rem 1rem;
  }

  .form-note {
    display: none;
  }

  .area-callout {
    position: static;
    max-width: none;
    margin-top: 0.9rem;
  }

  .footer {
    padding-bottom: 6rem;
  }

  .floating-estimate-button {
    left: 0.85rem;
    bottom: 0.85rem;
    min-height: 2.7rem;
    padding: 0.65rem 0.92rem;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .hero-image,
  .cinematic .media-image,
  [data-reveal].is-visible .media-image {
    transform: none !important;
  }

  .hero-scroll-arrow {
    animation: none !important;
  }
}
