:root {
  --ink: #0c0d0c;
  --black: #050505;
  --white: #ffffff;
  --paper: #f7f7f4;
  --muted: #636963;
  --line: #dfe3dc;
  --green: #1f4d2e;
  --green-dark: #12331e;
  --green-soft: #e5efe8;
  --gold: #c69a3c;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--white);
  color: var(--black);
  padding: 10px 12px;
  border-radius: 4px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 44px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

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

.brand strong {
  font-size: 14px;
  line-height: 1.1;
}

.brand small {
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
}

.nav {
  display: none;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a:hover {
  color: var(--white);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  color: var(--black);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 44%, rgba(198, 154, 60, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(12, 26, 18, 0.76) 45%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(180deg, rgba(4, 8, 7, 0.08), rgba(0, 0, 0, 0.78)),
    url("../images/hero-storm-emergency.jpeg"),
    linear-gradient(135deg, #161a16 0%, #050505 62%);
  background-position: center center;
  background-size: cover;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(110deg, transparent 0 43%, rgba(255, 255, 255, 0.12) 44% 45%, transparent 46%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 84px);
}

.emergency-banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 76px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(31, 77, 46, 0.92);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.emergency-banner span {
  color: rgba(255, 255, 255, 0.78);
}

.emergency-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, calc(100% - 32px));
  min-height: 760px;
  margin-inline: auto;
  padding: 150px 0 80px;
  align-items: center;
  gap: 34px;
}

.hero-copy {
  max-width: 780px;
}

.urgency-card {
  display: grid;
  gap: 12px;
  max-width: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.78), rgba(31, 77, 46, 0.84));
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(14px);
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffdc73;
  box-shadow: 0 0 0 0 rgba(255, 220, 115, 0.72);
  animation: pulse 1.6s infinite;
}

.urgency-card p,
.urgency-card strong {
  margin: 0;
}

.urgency-card p {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.urgency-card strong {
  font-size: 26px;
  line-height: 1.04;
}

.urgency-card ul {
  display: grid;
  gap: 8px;
  margin: 4px 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.84);
}

.urgency-card a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(255, 220, 115, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 220, 115, 0);
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 850px;
  font-size: clamp(44px, 12vw, 96px);
}

h2 {
  font-size: clamp(34px, 8vw, 62px);
}

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.12;
}

.hero-subhead {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 4vw, 23px);
}

.hero-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background: var(--white);
  color: var(--black);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.proof-strip {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.proof-item {
  padding: 22px;
  border-top: 1px solid var(--line);
}

.proof-item strong,
.proof-item span {
  display: block;
}

.proof-item strong {
  font-size: 17px;
}

.proof-item span {
  margin-top: 4px;
  color: var(--muted);
}

.smart-section {
  display: grid;
  gap: 26px;
  align-items: start;
}

.smart-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.smart-widget {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: var(--shadow);
}

.widget-step {
  display: grid;
  gap: 12px;
}

.widget-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.widget-step strong {
  font-size: 18px;
}

.choice-grid {
  display: grid;
  gap: 8px;
}

.choice-grid button {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  padding: 12px;
  font-size: 13px;
  font-weight: 900;
  text-align: left;
  transition: border 180ms ease, background 180ms ease, color 180ms ease;
}

.choice-grid button:hover,
.choice-grid button.is-selected {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.widget-result {
  border-left: 4px solid var(--green);
  border-radius: 6px;
  background: var(--green-soft);
  padding: 14px;
}

.widget-result strong {
  display: block;
  margin-bottom: 4px;
}

.widget-result p {
  margin: 0;
  color: var(--green-dark);
}

.widget-actions {
  display: grid;
  gap: 10px;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.card-grid,
.feature-grid,
.reviews-grid,
.gallery-grid {
  display: grid;
  gap: 16px;
}

.service-grid {
  grid-template-columns: 1fr;
}

.service-card,
.review-card,
.feature-card,
.estimate-form,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.service-card {
  padding: 24px;
  transition: transform 180ms ease, border 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 77, 46, 0.35);
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.service-card p,
.review-card p,
.faq-list p {
  color: var(--muted);
}

.dark-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1120px) / 2));
  background: var(--black);
  color: var(--white);
}

.dark-section .eyebrow {
  color: var(--gold);
}

.feature-grid {
  grid-template-columns: 1fr;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.feature-card b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
}

.feature-card span {
  font-weight: 900;
}

.gallery-grid {
  grid-template-columns: 1fr;
}

.gallery-card {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--black);
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.gallery-card img,
.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.78));
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  pointer-events: none;
}

.gallery-card:hover {
  transform: translateY(-4px);
}

.gallery-card figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}

.before-after div {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 170px;
  place-items: end start;
  border-radius: 8px;
  padding: 18px;
  background: var(--black);
}

.before-after div::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
}

.before-after span {
  position: relative;
  z-index: 1;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.reviews-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-card {
  padding: 24px;
}

.stars {
  color: var(--gold);
  font-size: 18px;
  letter-spacing: 0.08em;
}

.review-card strong {
  display: block;
  margin-top: 16px;
}

.centered {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.service-area {
  display: grid;
  gap: 30px;
  align-items: center;
}

.area-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.area-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  padding: 9px 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.coverage-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 77, 46, 0.16);
  border-radius: 8px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.coverage-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 34%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 42%);
  pointer-events: none;
}

.coverage-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.coverage-badge,
.coverage-stats,
.coverage-card > a {
  position: relative;
  z-index: 2;
}

.coverage-badge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 98px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.82);
  color: var(--white);
  padding: 14px;
  backdrop-filter: blur(12px);
}

.coverage-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.coverage-badge strong,
.coverage-badge span {
  display: block;
}

.coverage-badge strong {
  font-size: 17px;
  line-height: 1.1;
}

.coverage-badge span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.coverage-stats {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.coverage-stats div {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px 8px;
  text-align: center;
}

.coverage-stats strong,
.coverage-stats span {
  display: block;
}

.coverage-stats strong {
  color: var(--green);
  font-size: 20px;
  line-height: 1;
}

.coverage-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.coverage-card > a {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(31, 77, 46, 0.94);
  color: var(--white);
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.form-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1120px) / 2));
  background: var(--green-soft);
}

.estimate-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

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

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

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

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

.cta-section {
  padding: 80px 16px;
  background:
    linear-gradient(135deg, rgba(31, 77, 46, 0.92), rgba(5, 5, 5, 0.92)),
    var(--green);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 760px;
  margin-inline: auto;
}

.cta-section .eyebrow {
  color: var(--gold);
}

.cta-section h2 {
  margin-bottom: 26px;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 46px 16px 112px;
  background: var(--black);
  color: var(--white);
}

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

.site-footer span {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
}

.floating-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 12;
  display: none;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.9);
  padding: 7px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-dock a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-dock a:first-child {
  background: var(--green);
}

.mobile-sticky-call {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 13;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow);
  font-weight: 900;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 640px) {
  .hero-actions,
  .before-after,
  .widget-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .feature-grid,
  .reviews-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .estimate-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 26px;
  }

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

@media (min-width: 860px) {
  .nav {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.28fr);
  }

  .smart-section {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .proof-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-item {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 28px clamp(22px, 4vw, 52px);
  }

  .proof-item:first-child {
    border-left: 0;
  }

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

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

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

  .service-area {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .site-footer {
    grid-template-columns: 1.6fr 0.7fr 1fr 0.7fr;
    padding-inline: max(32px, calc((100vw - 1120px) / 2));
  }

  .footer-bottom {
    grid-column: 1 / -1;
  }

  .floating-dock {
    display: flex;
  }

  .mobile-sticky-call {
    display: none;
  }
}

@media (max-width: 440px) {
  .site-header {
    gap: 10px;
  }

  .brand strong {
    max-width: 142px;
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .header-call {
    padding-inline: 10px;
  }

  .emergency-banner {
    top: 70px;
    flex-direction: column;
    gap: 2px;
  }

  .hero-inner {
    padding-top: 164px;
  }
}
