:root {
  --ink: #1F2933;
  --muted: #52606D;
  --terra: #C2532B;
  --terra-dark: #A8441F;
  --gray: #F5F6F8;
  --line: #E4E7EB;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.15;
  font-weight: 800;
}

h1 {
  font-size: 34px;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  border: 2px solid transparent;
  background: var(--terra);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover,
.btn:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
}

.btn-light {
  background: var(--white);
  color: var(--terra);
}

.btn-light:hover {
  background: #fff4ef;
  border-color: #fff4ef;
  color: var(--terra-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--terra);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 76px;
  padding: 0.45rem 1.1rem;
  background: var(--white);
  box-shadow: 0 1px 8px rgba(31, 41, 51, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.logo img {
  height: 64px;
  width: auto;
}

.logo-text {
  display: grid;
  line-height: 1.05;
}

.logo-text strong {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.logo-text small {
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-left: auto;
  font-weight: 600;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--terra);
}

.header-call {
  white-space: nowrap;
  min-height: 44px;
  padding-inline: 0.9rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.hero {
  background:
    linear-gradient(90deg, rgba(15, 23, 32, 0.72) 0%, rgba(15, 23, 32, 0.5) 38%, rgba(15, 23, 32, 0.12) 66%, rgba(15, 23, 32, 0) 85%),
    url("images/hero.jpg") center 40% / cover no-repeat;
  color: var(--white);
}

.hero-copy {
  text-shadow: 0 1px 3px rgba(15, 23, 32, 0.55), 0 2px 14px rgba(15, 23, 32, 0.35);
}

.hero-grid {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 3.2rem 0 3.4rem;
  display: grid;
  gap: 1.6rem;
}

.subhead {
  margin-top: 0.85rem;
  font-size: 1.15rem;
  max-width: 34rem;
}

.checks {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-weight: 600;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.checks li::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  background: var(--terra);
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.estimate-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 12px;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 18px 40px rgba(15, 23, 32, 0.22);
  display: grid;
  gap: 0.7rem;
}

.estimate-card h2 {
  font-size: 1.45rem;
  margin-bottom: 0.2rem;
}

.estimate-card label {
  display: grid;
  gap: 0.28rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.estimate-card input,
.estimate-card select,
.estimate-card textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #D5DAE0;
  border-radius: 8px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}

.estimate-card textarea {
  min-height: 96px;
  resize: vertical;
}

.estimate-card button {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.trust {
  background: var(--gray);
  border-bottom: 1px solid var(--line);
}

.trust ul {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 1rem 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1rem;
}

.trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.trust svg,
.step-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--terra);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section {
  padding: 4rem 0;
}

.section-gray {
  background: var(--gray);
}

.section h2,
.reviews h2,
.cta-band h2 {
  text-align: center;
}

.lead {
  max-width: 40rem;
  margin: 0.7rem auto 1.6rem;
  text-align: center;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1.15rem;
}

.photo-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.08);
}

.photo-card img,
.gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card-body {
  padding: 1rem 1.05rem 1.15rem;
}

.card-body p {
  margin: 0.4rem 0 0.8rem;
  color: var(--muted);
}

.card-body a {
  color: var(--terra);
  font-weight: 700;
  text-decoration: none;
}

.card-body a:hover {
  color: var(--terra-dark);
}

.steps {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  background: var(--white);
  border-radius: 12px;
  padding: 1.25rem 1.15rem 1.3rem;
  box-shadow: 0 8px 24px rgba(31, 41, 51, 0.06);
}

.step-icon {
  display: inline-flex;
}

.step-num {
  display: block;
  margin: 0.35rem 0 0.25rem;
  color: var(--terra);
  font-size: 1.7rem;
  font-weight: 800;
}

.steps p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.gallery img {
  height: 180px;
  border-radius: 10px;
}

.gallery .focus-low {
  object-position: center 80%;
}

.reviews {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 3.6rem 0;
}

.stars {
  margin: 0 0 0.6rem;
  color: #F5C451;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
}

.reviews h2 {
  margin-bottom: 1.15rem;
}

.pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pills li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
}

.cta-band {
  background: var(--terra);
  color: var(--white);
  text-align: center;
  padding: 3.4rem 0;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.site-footer {
  background: #172028;
  color: #E8EDF2;
  padding: 2.4rem 0 1.6rem;
}

.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.footer-logo {
  width: 120px;
  height: auto;
}

.footer-name {
  margin-top: 0.7rem;
  font-weight: 800;
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.site-footer p + p {
  margin-top: 0.35rem;
}

.copy {
  width: min(1120px, calc(100% - 2.4rem));
  margin: 1.4rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #B7C0C8;
  font-size: 0.95rem;
}

.callbar {
  display: none;
}

.btn:focus-visible,
.logo:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.estimate-card input:focus,
.estimate-card select:focus,
.estimate-card textarea:focus,
.card-body a:focus-visible {
  outline: 3px solid #F0B429;
  outline-offset: 2px;
}

@media (min-width: 760px) {
  .trust ul {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery img {
    height: 210px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 52px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 2.5rem;
    padding: 4.5rem 0;
  }

  .cards,
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 979px) {
  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .header-call {
    order: 2;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0.4rem 1rem 0.9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    background: var(--white);
    box-shadow: 0 10px 18px rgba(31, 41, 51, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 0.7rem 0;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }

  .site-header {
    gap: 1rem;
    padding-inline: 1rem;
  }

  .logo img {
    height: 56px;
  }

  .header-call {
    display: none;
  }

  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
  }

  .callbar a {
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    color: var(--white);
    background: var(--ink);
    padding: 0.95rem 0.5rem;
  }

  .callbar a + a {
    background: var(--terra);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
