:root {
  --bg: #080808;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.13);
  --text: #ffffff;
  --soft: rgba(255, 255, 255, 0.76);
  --muted: rgba(255, 255, 255, 0.58);
  --orange: #f08a11;
  --orange-dark: #c96608;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(240, 138, 17, 0.12), transparent 28%),
    linear-gradient(180deg, #080808 0%, #0c0c0c 44%, #070707 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

a {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto;
  padding: 22px 0;
}

.nav-links {
  display: flex;
  justify-content: flex-start;
  gap: clamp(18px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a,
.header-call,
.btn,
.footer a,
.mobile-cta a {
  text-decoration: none;
}

.nav-links a {
  white-space: nowrap;
}

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ef7e07);
  box-shadow: 0 16px 36px rgba(240, 138, 17, 0.22);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.82) 30%, rgba(0, 0, 0, 0.36) 60%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.88));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 72px));
  margin: 66px auto 40px;
}

.hero-logo {
  display: block;
  width: min(560px, 48vw);
  height: 156px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 22px;
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.45));
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 560px;
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5.2vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.hero-copy {
  max-width: 430px;
  color: var(--soft);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #ef7e07);
  box-shadow: 0 16px 36px rgba(240, 138, 17, 0.24);
}

.btn-primary::after {
  content: "→";
  margin-left: 12px;
}

.btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.52);
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: min(1120px, calc(100% - 72px));
  margin: -32px auto 0;
}

.trust-strip article,
.service-card,
.process-grid article,
.faq-list details {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.trust-strip article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  min-height: 106px;
  padding: 24px;
  backdrop-filter: blur(12px);
}

.line-icon,
.card-icon {
  color: var(--orange);
  font-weight: 900;
  line-height: 1;
}

.line-icon {
  font-size: 2.4rem;
}

.trust-strip h2 {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.trust-strip p,
.section-intro,
.service-card p,
.why-panel span,
.process-grid p,
.quote-copy p,
.faq-list p,
.policy-section p,
.disclosure-section p,
.footer p,
.form-note {
  color: var(--soft);
}

.section {
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto;
  padding: 72px 0 0;
}

.services-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: start;
}

.services-main {
  padding-right: 34px;
  border-right: 1px solid var(--line);
}

.section-intro {
  max-width: 690px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.service-card {
  min-height: 124px;
  padding: 22px;
}

.card-icon {
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  width: 44px;
  height: 44px;
  position: relative;
  color: #111;
  background: linear-gradient(135deg, #ff9d1c, var(--orange));
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(240, 138, 17, 0.18);
}

.card-icon::before,
.card-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.roof-repair::before,
.process-install::before {
  width: 24px;
  height: 6px;
  left: 9px;
  top: 21px;
  border: 2px solid #111;
  transform: rotate(-45deg);
}

.roof-repair::after,
.process-install::after {
  width: 11px;
  height: 11px;
  left: 27px;
  top: 9px;
  border: 2px solid #111;
  border-radius: 50%;
}

.roof-home::before,
.roof-house::before {
  width: 25px;
  height: 20px;
  left: 10px;
  top: 17px;
  border: 2px solid #111;
  border-top: 0;
}

.roof-home::after,
.roof-house::after {
  width: 21px;
  height: 21px;
  left: 12px;
  top: 9px;
  border-left: 2px solid #111;
  border-top: 2px solid #111;
  transform: rotate(45deg);
}

.roof-storm::before {
  width: 29px;
  height: 17px;
  left: 8px;
  top: 9px;
  border: 2px solid #111;
  border-radius: 18px;
}

.roof-storm::after {
  left: 19px;
  top: 25px;
  width: 12px;
  height: 16px;
  border-left: 6px solid transparent;
  border-right: 4px solid transparent;
  border-top: 16px solid #111;
  transform: skewX(-14deg);
}

.roof-doc::before,
.process-estimate::before {
  width: 24px;
  height: 29px;
  left: 10px;
  top: 8px;
  border: 2px solid #111;
  border-radius: 2px;
}

.roof-doc::after,
.process-estimate::after {
  width: 14px;
  height: 9px;
  left: 16px;
  top: 19px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  transform: rotate(-45deg);
}

.roof-leak::before {
  width: 21px;
  height: 28px;
  left: 12px;
  top: 8px;
  border: 2px solid #111;
  border-radius: 50% 50% 55% 55%;
  transform: rotate(45deg);
}

.process-search::before {
  width: 23px;
  height: 23px;
  left: 8px;
  top: 8px;
  border: 2px solid #111;
  border-radius: 50%;
}

.process-search::after {
  width: 15px;
  height: 3px;
  left: 27px;
  top: 29px;
  background: #111;
  transform: rotate(45deg);
  transform-origin: left center;
}

.process-clean::before {
  width: 23px;
  height: 17px;
  left: 8px;
  top: 20px;
  border: 2px solid #111;
  border-top: 0;
  transform: skewX(-16deg);
}

.process-clean::after {
  width: 18px;
  height: 3px;
  left: 19px;
  top: 11px;
  background: #111;
  transform: rotate(45deg);
}

.why-panel h2 {
  font-size: clamp(2.05rem, 3vw, 3rem);
}

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

.why-panel li {
  position: relative;
  padding-left: 32px;
}

.why-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #111;
  background: var(--orange);
  border-radius: 50%;
  font-weight: 900;
}

.why-panel strong,
.why-panel span {
  display: block;
}

.process-section h2 {
  max-width: 780px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.process-grid article {
  position: relative;
  min-height: 126px;
  padding: 24px 24px 22px 92px;
}

.step-number {
  position: absolute;
  top: -14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-weight: 900;
}

.process-grid .card-icon {
  position: absolute;
  left: 26px;
  top: 44px;
}

.quote-band {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  align-items: center;
  margin-top: 72px;
  padding: 58px max(28px, calc((100vw - 1120px) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.9), rgba(8, 8, 8, 0.72)),
    url("./assets/roofing-hero.png") center 72% / cover;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-copy,
.quote-form {
  position: relative;
  z-index: 1;
}

.quote-copy h2 {
  max-width: 430px;
}

.demo-notice {
  margin-top: 22px;
  padding: 14px 16px;
  color: #ffe3bd;
  background: rgba(240, 138, 17, 0.12);
  border: 1px solid rgba(240, 138, 17, 0.34);
  border-radius: 6px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent > span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

select {
  color: rgba(255, 255, 255, 0.86);
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin: 6px 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--orange);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.87rem;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 44px;
}

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

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.policy-section,
.disclosure-section {
  padding-bottom: 58px;
}

.policy-section h2,
.disclosure-section h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
}

.policy-section p,
.disclosure-section p {
  max-width: 940px;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr 0.75fr 0.9fr 0.7fr;
  gap: 34px;
  padding: 28px max(28px, calc((100vw - 1120px) / 2)) 0;
  background: #0a0a0a;
  border-top: 1px solid var(--line);
}

.footer img {
  width: 320px;
  height: 150px;
  object-fit: contain;
}

.footer h2 {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 44px;
  padding: 14px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.social-row {
  display: flex;
  gap: 14px;
}

.social-row span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #111;
  background: #fff;
  border-radius: 50%;
  font-weight: 900;
}

.mobile-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-cta a {
  display: grid;
  place-items: center;
  min-height: 52px;
  color: #fff;
  background: var(--orange);
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

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

  .nav-links {
    display: none;
  }

  .trust-strip,
  .service-grid,
  .process-grid,
  .services-wrap,
  .quote-band,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .services-main {
    padding-right: 0;
    border-right: 0;
  }

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

@media (max-width: 640px) {
  .site-header {
    position: relative;
    display: block;
    width: calc(100% - 32px);
  }

  .header-call {
    width: 100%;
    justify-content: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-top: 24px;
  }

  .hero-logo {
    width: min(360px, 100%);
    height: 118px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.58));
  }

  .hero-actions,
  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .trust-strip {
    width: calc(100% - 32px);
    margin-top: -40px;
  }

  .section {
    width: calc(100% - 32px);
    padding-top: 58px;
  }

  .trust-strip,
  .service-grid,
  .process-grid,
  .quote-form,
  .footer {
    grid-template-columns: 1fr;
  }

  .process-grid article {
    padding-left: 86px;
  }

  .quote-band {
    margin-top: 58px;
    padding: 48px 16px;
  }

  .footer {
    padding-bottom: 76px;
  }

  .footer-bottom {
    display: grid;
    justify-items: start;
    gap: 8px;
  }

  .mobile-cta {
    display: grid;
  }
}
