:root {
  --ink: #182022;
  --muted-ink: #5d696d;
  --paper: #f7f3ed;
  --white: #fffdf9;
  --line: #ddd4c7;
  --accent: #b25b2a;
  --accent-dark: #773512;
  --deep: #263235;
  --soft: #efe6db;
  --shadow: 0 24px 60px rgba(30, 33, 32, 0.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(247, 243, 237, 0.94);
  border-bottom: 1px solid rgba(99, 84, 68, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 34px;
  border-left: 4px solid var(--accent);
  border-bottom: 4px solid var(--accent);
  transform: skewX(-28deg);
  box-shadow: inset 10px 0 0 rgba(178, 91, 42, 0.14);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted-ink);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 4px;
  color: var(--muted-ink);
  font-weight: 700;
  font-size: 0.93rem;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--soft);
}

.header-phone {
  padding: 11px 16px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  color: var(--accent-dark);
  font-weight: 800;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 8vw, 92px) clamp(18px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(24, 32, 34, 0.90), rgba(24, 32, 34, 0.72) 44%, rgba(24, 32, 34, 0.18)),
    linear-gradient(135deg, #3a4647, #d7c4ad);
  color: var(--white);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1,
.subpage-hero h1 {
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy,
.subpage-hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 253, 249, 0.86);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0b184;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 19px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  background: rgba(255, 253, 249, 0.12);
  border-color: rgba(255, 253, 249, 0.46);
  color: var(--white);
}

.button.light {
  background: var(--white);
  color: var(--accent-dark);
}

.hero-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 34px;
  border: 1px solid rgba(255, 253, 249, 0.24);
  background: rgba(255, 253, 249, 0.12);
}

.hero-summary div {
  padding: 16px;
  background: rgba(24, 32, 34, 0.24);
}

.hero-summary span,
.site-footer span,
.contact-box span,
.info-panel span {
  display: block;
  color: var(--muted-ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-summary span {
  color: rgba(255, 253, 249, 0.68);
}

.hero-summary strong {
  display: block;
  margin-top: 4px;
  line-height: 1.25;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.roof-line {
  position: absolute;
  right: -8vw;
  width: 58vw;
  height: 44vh;
  border-top: 10px solid rgba(255, 253, 249, 0.34);
  border-left: 10px solid rgba(255, 253, 249, 0.22);
  transform: skewY(-17deg);
}

.roof-line-one {
  top: 20%;
}

.roof-line-two {
  top: 38%;
  right: -2vw;
  opacity: 0.42;
}

.metal-sheet {
  position: absolute;
  right: 6vw;
  bottom: -16vh;
  width: 38vw;
  height: 74vh;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 2px, rgba(255,255,255,0.04) 2px 28px);
  transform: rotate(-8deg);
  opacity: 0.65;
}

.section {
  padding: clamp(58px, 8vw, 104px) clamp(18px, 6vw, 72px);
}

.section-grid,
.trust-band,
.quick-request,
.about-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--muted-ink);
}

.lead-block p,
.wide-copy {
  margin-top: 0;
  font-size: 1.1rem;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 900;
  border-bottom: 2px solid var(--accent);
}

.muted {
  background: var(--soft);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-card {
  min-height: 250px;
  padding: 28px;
  background: var(--white);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
}

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

.process-list article {
  padding: 26px;
  border-top: 4px solid var(--accent);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(28, 29, 27, 0.07);
}

.process-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  background: var(--deep);
  color: var(--white);
  border-radius: 50%;
}

.trust-band {
  align-items: center;
  background: var(--deep);
  color: var(--white);
}

.trust-band .eyebrow {
  color: #f0b184;
}

.trust-band p {
  color: rgba(255, 253, 249, 0.78);
  font-size: 1.12rem;
}

.quick-request {
  background: var(--paper);
}

.request-form,
.info-panel,
.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(31, 31, 29, 0.07);
}

.request-form {
  display: grid;
  gap: 15px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 13px 12px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.form-note a {
  color: var(--accent-dark);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 18px 20px;
}

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

details p {
  margin-bottom: 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 72px);
  background: var(--accent);
  color: var(--white);
}

.final-cta p {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.18;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(18px, 6vw, 72px);
  background: #151b1d;
  color: var(--white);
}

.site-footer p,
.site-footer span {
  color: rgba(255, 253, 249, 0.68);
}

.site-footer a {
  display: block;
  margin-top: 6px;
  color: var(--white);
}

.subpage-hero {
  padding: clamp(58px, 10vw, 116px) clamp(18px, 6vw, 72px);
  background: linear-gradient(135deg, rgba(24, 32, 34, 0.92), rgba(72, 80, 78, 0.78)), var(--deep);
  color: var(--white);
}

.subpage-hero .eyebrow {
  color: #f0b184;
}

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

.service-detail article {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px;
}

.service-detail ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted-ink);
}

.info-panel {
  padding: 28px;
}

.info-panel span,
.contact-box span {
  color: var(--accent-dark);
  margin-bottom: 14px;
}

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

.contact-box {
  padding: 24px;
}

.contact-box a,
.contact-box strong {
  display: block;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-phone {
    display: none;
  }

  .main-nav.is-open {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    gap: 4px;
    padding-top: 8px;
  }

  .main-nav.is-open a {
    background: var(--white);
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 28px;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.12rem, 10vw, 3.35rem);
    line-height: 1.02;
  }

  .hero-copy {
    margin-top: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-summary {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-summary div {
    padding: 12px 14px;
  }

  .roof-line,
  .metal-sheet {
    opacity: 0.25;
  }

  .section-grid,
  .trust-band,
  .quick-request,
  .about-layout {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list,
  .service-detail,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card span {
    margin-bottom: 22px;
  }

  .final-cta {
    display: grid;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand-mark {
    width: 34px;
    height: 28px;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero {
    padding: 24px 14px 22px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    gap: 9px;
  }

  .button {
    width: 100%;
    min-height: 46px;
  }

  .section,
  .subpage-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .service-card,
  .process-list article,
  .service-detail article,
  .request-form,
  .info-panel,
  .contact-box {
    padding: 20px;
  }
}
