:root {
  --ink: #17202a;
  --ink-2: #24313f;
  --orange: #e6652e;
  --orange-dark: #c94b19;
  --paper: #ffffff;
  --soft: #f4f2ef;
  --line: #d9dde0;
  --muted: #5c6670;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(16, 28, 38, .13);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 999; padding: 10px 14px; background: #fff; }

.topbar { background: var(--ink); color: #fff; font-size: 14px; }
.topbar .wrap { display: flex; justify-content: center; align-items: center; min-height: 36px; gap: 20px; text-align: center; }
.topbar strong { color: #ff8958; }
.topbar a { font-weight: 750; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,32,42,.1);
}
.header-row { min-height: 84px; display: flex; align-items: center; gap: 34px; }
.brand { width: 305px; max-width: 34vw; flex: 0 0 auto; }
.brand img { height: auto; }
.nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 760; color: #303b45; }
.nav a:hover, .nav a.active { color: var(--orange); }
.header-cta { margin-left: 8px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); padding: 9px; font-weight: 800; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--orange);
  color: #fff;
  font-weight: 850;
  letter-spacing: .01em;
  box-shadow: 0 13px 28px rgba(230,101,46,.22);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--orange-dark); box-shadow: 0 16px 34px rgba(230,101,46,.3); }
.btn:disabled { opacity: .62; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-dark:hover { background: #263341; }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(23,32,42,.25); box-shadow: none; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.text-link { color: var(--orange-dark); font-weight: 850; }

.rain-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 590px;
  background: #10171e;
  color: #fff;
}
.rain-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,14,20,.93) 0%, rgba(8,14,20,.78) 38%, rgba(8,14,20,.32) 72%, rgba(8,14,20,.16) 100%);
}
.rain-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.rain-hero-inner { width: 100%; padding-block: 95px; }
.rain-hero-content { max-width: 730px; }
.rain-hero .eyebrow { color: #ff986d; }
.rain-hero .hero-copy { color: #e0e5e9; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.rain-hero .trust-row { color: #edf1f4; }
.rain-hero .trust-row span::before { background: var(--orange); }
.rain-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.52); }
.rain-hero .btn-outline:hover { background: #fff; color: var(--ink); }
.home-hero { min-height: 700px; }
.home-hero .rain-hero-media { object-position: center; }
.eyebrow { margin: 0 0 15px; color: var(--orange-dark); font-size: 13px; line-height: 1.2; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.06; letter-spacing: -.035em; }
h1 { margin-bottom: 22px; font-size: clamp(46px, 6.1vw, 76px); max-width: 760px; }
h2 { margin-bottom: 18px; font-size: clamp(35px, 4.3vw, 56px); }
h3 { margin-bottom: 10px; font-size: 23px; }
.hero-copy { max-width: 640px; color: var(--muted); font-size: 19px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin: 30px 0 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; color: #39434c; font-size: 14px; font-weight: 760; }
.trust-row span::before { content: "✓"; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 8px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; }
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .muted { color: #b9c1c8; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 43px; }
.section-heading > div:first-child { max-width: 760px; }
.section-heading p { max-width: 450px; margin: 0; color: var(--muted); }
.muted { color: var(--muted); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; overflow: hidden; min-height: 410px; padding: 30px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; }
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, transparent 25%, rgba(10,16,22,.93) 100%); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -3; background-image: var(--bg); background-size: cover; background-position: center; transition: transform .35s ease; }
.service-card:hover::after { transform: scale(1.04); }
.service-card p { margin: 0 0 14px; color: #d8dde1; }
.service-card .text-link { color: #ff8f60; }
.service-number { position: absolute; top: 25px; right: 27px; color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .1em; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.split-media { position: relative; }
.split-media img { aspect-ratio: 1.18; object-fit: cover; border-radius: 8px 40px 8px 40px; }
.split-media::after { content: ""; position: absolute; inset: 22px -20px -20px 22px; border: 3px solid var(--orange); z-index: -1; border-radius: 8px 40px 8px 40px; }
.split-media-dark::after { border-color: rgba(255,255,255,.2); }
.check-list { list-style: none; padding: 0; margin: 27px 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px 25px; }
.check-list li { position: relative; padding-left: 27px; color: #39434c; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange-dark); font-weight: 950; }
.section-dark .check-list li { color: #edf0f2; }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.product { padding: 38px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.045); border-radius: var(--radius); }
.product-label { display: inline-block; margin-bottom: 24px; padding: 7px 10px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product p { color: #c1c8ce; }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.step { counter-increment: step; background: #fff; padding: 31px 23px; min-height: 230px; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 47px; color: var(--orange-dark); font-size: 14px; font-weight: 900; letter-spacing: .12em; }
.step h3 { font-size: 19px; }
.step p { margin-bottom: 0; font-size: 15px; color: var(--muted); }

.area-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.counties { display: flex; flex-wrap: wrap; gap: 11px; }
.counties span { padding: 11px 15px; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-weight: 750; font-size: 14px; }

.quote-section { padding: 82px 0; background: var(--orange); color: #fff; }
.quote-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: center; }
.quote-section h2 { color: #fff; }
.quote-section p { color: rgba(255,255,255,.83); }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.quote-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-height: 54px; border: 1px solid #d7dce0; border-radius: 7px; padding: 0 15px; color: var(--ink); background: #fff; }
.quote-form textarea { min-height: 112px; padding: 15px; resize: vertical; }
.quote-form .wide { grid-column: 1 / -1; }
.quote-form .btn { width: 100%; }
.form-note { grid-column: 1 / -1; margin: 1px 4px 0; color: #78818a !important; font-size: 12px; text-align: center; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 75px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { padding: 21px 45px 21px 0; cursor: pointer; list-style: none; font-weight: 830; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 16px; color: var(--orange); font-size: 28px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: -5px 35px 24px 0; color: var(--muted); }

.page-hero { min-height: 590px; }
.page-hero h1 { max-width: 900px; margin-bottom: 20px; }
.page-hero .hero-copy { max-width: 680px; font-size: 19px; }
.rain-hero--leaf .rain-hero-media { transform: scaleX(-1); object-position: center; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.problem { padding: 29px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.problem small { color: var(--orange-dark); font-weight: 900; letter-spacing: .1em; }
.problem p { margin-bottom: 0; color: var(--muted); }

.site-footer { padding: 62px 0 85px; background: #10171e; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .6fr; gap: 60px; }
.footer-logo { width: 320px; margin-bottom: 20px; }
.footer-copy { max-width: 460px; color: #aeb7bf; }
.footer-title { margin-bottom: 14px; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; color: #c2c9ce; }
.copyright { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: #84909a; font-size: 13px; }
.mobile-bar { display: none; }

@media (max-width: 980px) {
  .header-row { min-height: 74px; }
  .brand { width: 270px; max-width: 62vw; }
  .menu-toggle { display: block; margin-left: auto; }
  .nav { display: none; position: absolute; inset: 74px 0 auto; padding: 22px 20px 28px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; box-shadow: 0 20px 40px rgba(23,32,42,.1); }
  .nav.open { display: flex; }
  .header-cta { display: none; }
  .split, .quote-grid, .faq, .area-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:last-child { grid-column: 1 / -1; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(100% - 28px, var(--max)); }
  .topbar .wrap { justify-content: center; }
  .topbar span:first-child { display: none; }
  .brand { width: 240px; }
  .rain-hero, .home-hero, .page-hero { min-height: 620px; }
  .rain-hero-inner { padding-block: 72px 88px; }
  .rain-hero::after { background: linear-gradient(90deg, rgba(8,14,20,.94) 0%, rgba(8,14,20,.78) 60%, rgba(8,14,20,.42) 100%); }
  .rain-hero-media { object-position: 62% center; }
  .rain-hero--leaf .rain-hero-media { object-position: 45% center; }
  h1 { font-size: clamp(42px, 13vw, 60px); }
  h2 { font-size: 38px; }
  .hero-copy { font-size: 17px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .section { padding: 72px 0; }
  .service-grid, .product-grid, .problem-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .check-list, .quote-form { grid-template-columns: 1fr; }
  .quote-form .wide { grid-column: auto; }
  .process { grid-template-columns: 1fr; }
  .step, .step:last-child { grid-column: auto; min-height: auto; }
  .step::before { margin-bottom: 25px; }
  .split { gap: 45px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; min-height: 64px; box-shadow: 0 -10px 30px rgba(0,0,0,.18); }
  .mobile-bar a { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 900; }
  .mobile-bar a:last-child { background: var(--orange); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
