:root {
  --bg: #f4f5f2;
  --paper: #ffffff;
  --ink: #1f2a2d;
  --muted: #57656a;
  --line: #d9dfdc;
  --brand: #e26d38;
  --brand-deep: #b85024;
  --accent: #0f766e;
  --accent-soft: #d9f3f0;
  --shadow: 0 14px 36px rgba(13, 30, 28, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 8%, #ffffff 0%, transparent 30%),
    radial-gradient(circle at 93% 90%, #ffffff 0%, transparent 32%),
    linear-gradient(180deg, #eef2ef, var(--bg));
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  font-family: "Archivo", "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(7px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff, #f2f7f5);
  border: 1px solid #d8e3df;
  box-shadow: 0 8px 20px rgba(13, 30, 28, 0.08);
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 94px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.05rem;
  color: #20383d;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--ink);
  font-weight: 700;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  text-decoration: none;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: var(--accent-soft);
  color: #0f4f49;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-weight: 700;
}

.hero {
  padding: 4.2rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: start;
}

.eyebrow {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  margin-bottom: 0.8rem;
}

.lead {
  font-size: clamp(1.04rem, 2.3vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.hero-panel {
  background: var(--paper);
  border: 1px solid #e3e9e5;
  border-radius: 18px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.hero-panel ul {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
}

.hero-panel li {
  margin-bottom: 0.3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.17s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(226, 109, 56, 0.35);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-outline {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  background: #f2f7f6;
}

.btn-small {
  padding: 0.6rem 0.9rem;
}

.section {
  padding: 2.6rem 0;
}

.section-alt {
  background: #eef7f5;
  border-top: 1px solid #d7e7e4;
  border-bottom: 1px solid #d7e7e4;
}

.section-intro {
  color: var(--muted);
  max-width: 70ch;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--paper);
  border: 1px solid #e1e6e3;
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 8px 18px rgba(16, 36, 34, 0.06);
}

.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1rem;
  align-items: start;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tick-list li {
  margin-bottom: 0.65rem;
  padding-left: 1.8rem;
  position: relative;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #0b5a53);
  box-shadow: 0 0 0 3px #c6ebe6;
}

.mini-testimonials {
  background: #ffffff;
  border: 1px solid #dce9e6;
  border-radius: 16px;
  padding: 1.2rem;
}

blockquote {
  margin: 0;
  font-size: 1.02rem;
}

.quote-meta {
  color: var(--muted);
  margin-top: 0.9rem;
  font-size: 0.92rem;
}

.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-tile {
  min-height: 140px;
  border-radius: 14px;
  border: 1px dashed #b6c8c3;
  background: linear-gradient(140deg, #e8f1ef, #f8fdfc);
  display: grid;
  place-items: center;
  padding: 0.9rem;
  text-align: center;
  color: #34534f;
  font-weight: 700;
}

.gallery-photo {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d4e2de;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 36, 34, 0.08);
}

.gallery-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-photo figcaption {
  padding: 0.65rem 0.75rem;
  border-top: 1px solid #deebe7;
  background: #f6fbf9;
  font-size: 0.9rem;
  font-weight: 700;
  color: #315651;
}

.video-feature {
  padding: 1.25rem;
}

.video-feature-head {
  margin-bottom: 0.9rem;
}

.video-feature-head .section-intro {
  margin-bottom: 0;
}

.video-frame {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d4e2de;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 36, 34, 0.08);
  display: grid;
}

.video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  background: #102422;
  object-fit: contain;
}

.video-frame figcaption {
  padding: 0.65rem 0.75rem;
  border-top: 1px solid #deebe7;
  background: #f6fbf9;
  font-size: 0.9rem;
  font-weight: 700;
  color: #315651;
}

.map-frame {
  margin: 1rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #d4e2de;
  background: #f8fbfa;
  box-shadow: 0 10px 22px rgba(16, 36, 34, 0.08);
}

.map-frame img {
  width: 100%;
  height: auto;
}

.cta-band {
  padding-top: 1.9rem;
}

.cta-band-wrap {
  background: linear-gradient(130deg, #114840, #0d5b51);
  color: #e9f8f5;
  border-radius: 20px;
  padding: 1.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-band-wrap .btn {
  white-space: nowrap;
  background: #f7f8f6;
  color: #16302c;
}

.site-footer {
  margin-top: 2.2rem;
  border-top: 1px solid #ccd6d2;
  background: #f5faf8;
  padding-top: 1.5rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-title {
  font-weight: 800;
}

.copyright {
  margin: 1rem 0 0;
  text-align: center;
  padding: 0.9rem 1rem 1.1rem;
  border-top: 1px solid #d8e1de;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-card {
  background: #ffffff;
  border: 1px solid #d6e2de;
  border-radius: 18px;
  padding: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.33rem;
}

label {
  font-weight: 700;
  font-size: 0.95rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #bfd0cb;
  border-radius: 10px;
  padding: 0.72rem 0.8rem;
  font: inherit;
  background: #fbfefd;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.alert {
  margin-top: 0.75rem;
  border-radius: 10px;
  padding: 0.75rem;
  border: 1px solid #b9d9d2;
  background: #e9f7f4;
  color: #18544d;
}

.alert[hidden] {
  display: none;
}

.contact-banner-row {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d5e1dd;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 36, 34, 0.1);
}

.contact-banner-row img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(420px, calc(100% - 2rem));
  background: #ffffff;
  border: 1px solid #c8d7d2;
  box-shadow: var(--shadow);
  border-radius: 14px;
  padding: 0.95rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner[hidden] {
  display: none;
}

.page-title {
  padding: 2.4rem 0 1rem;
}

.page-title p {
  color: var(--muted);
  max-width: 70ch;
}

.pulse-in {
  animation: rise 0.65s ease both;
}

.delay-1 {
  animation-delay: 0.08s;
}

.delay-2 {
  animation-delay: 0.15s;
}

.delay-3 {
  animation-delay: 0.22s;
}

.roofing-data-section {
  background: linear-gradient(180deg, #f5faf9, #edf6f4);
  border-top: 1px solid #d8e8e4;
  border-bottom: 1px solid #d8e8e4;
}

.roofing-data-intro {
  margin-bottom: 1rem;
}

.roofing-chart-grid {
  align-items: stretch;
}

.roofing-chart-card {
  display: grid;
  gap: 0.65rem;
}

.roofing-chart-copy {
  color: var(--muted);
  margin-bottom: 0;
}

.roofing-chart-wrap {
  border: 1px solid #d8e4e1;
  border-radius: 12px;
  background: #fcfefd;
  padding: 0.6rem;
  min-height: 240px;
}

.roofing-chart-wrap canvas {
  width: 100%;
  height: 220px;
}

.roofing-chart-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .card-grid.three,
  .gallery-grid,
  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-frame video {
    aspect-ratio: 16 / 9;
  }

  .roofing-chart-wrap canvas {
    height: 210px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .site-nav.open {
    display: flex;
  }

  .brand img {
    height: 74px;
  }

  .brand-text {
    display: inline;
    font-size: 0.95rem;
  }

  .brand {
    padding-right: 0.6rem;
  }

  .hero,
  .section {
    padding: 2rem 0;
  }

  .hero-grid,
  .split,
  .card-grid.three,
  .gallery-grid,
  .footer-wrap,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .video-feature {
    padding: 1rem;
  }

  .video-frame video {
    aspect-ratio: 4 / 3;
  }

  .roofing-chart-wrap {
    min-height: 220px;
  }

  .roofing-chart-wrap canvas {
    height: 185px;
  }
}
