:root {
  /* Ryve brand - forest green */
  --forest: #2e7d32;
  --forest-deep: #1b5e20;
  --forest-darker: #0f3d12;
  --forest-bright: #4caf50;
  --forest-light: #a5d6a7;
  --forest-pale: #e8f5e9;
  --forest-tint: #f3faf3;
  --green: #2e7d32;

  /* Neutrals */
  --paper: #ffffff;
  --paper-2: #f7f8f7;
  --paper-3: #eef1ee;
  --ink: #131613;
  --ink-2: #1f2420;
  --muted: #5e655f;
  --line: rgba(19, 22, 19, 0.1);
  --line-strong: rgba(19, 22, 19, 0.2);

  /* Legacy aliases - remap warm tokens to the green palette so existing rules pick up the new colors */
  --basalt: #131613;
  --basalt-2: #1f2420;
  --basalt-3: #2a302b;
  --ash: #ffffff;
  --ash-2: #f7f8f7;
  --ash-3: #ffffff;
  --gold: #2e7d32;
  --gold-2: #4caf50;
  --gold-3: #a5d6a7;
  --cinder: #1b5e20;
  --cinder-2: #2e7d32;
  --moss: #4caf50;

  --shadow-sm: 0 6px 18px rgba(19, 22, 19, 0.06);
  --shadow: 0 24px 60px rgba(19, 22, 19, 0.14);
  --shadow-lg: 0 40px 100px rgba(19, 22, 19, 0.22);
  --shadow-gold: 0 14px 34px rgba(46, 125, 50, 0.34);
  --shadow-forest: 0 14px 34px rgba(46, 125, 50, 0.34);

  --max: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ash);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

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

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

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

button {
  cursor: pointer;
}

::selection {
  background: var(--gold-2);
  color: var(--basalt);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold-2);
  color: var(--basalt);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}
.skip-link:focus {
  top: 1rem;
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 22px rgba(19, 22, 19, 0.06);
}

.notice-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  padding: 0.65rem clamp(1rem, 3vw, 2rem);
  color: var(--ash);
  background: linear-gradient(90deg, var(--basalt) 0%, var(--basalt-2) 100%);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}
.notice-bar > * {
  white-space: nowrap;
}
.notice-pulse {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notice-pulse svg {
  color: var(--gold-2);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}
.notice-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-2);
  transition: color 180ms ease;
}
.notice-call:hover {
  color: var(--gold-3);
}

.notice-bar svg,
.footer-actions svg,
.trust-item svg,
.button svg,
.nav-cta svg,
.nav-call svg,
.warranty-list svg,
.service-card svg,
.solar-stack svg,
.estimator-perks svg,
.quote-perks svg,
.form-foot svg,
.inline-cta svg,
.service-link svg,
.mobile-call svg,
.hero-tags svg,
.hero-scroll svg,
.eyebrow svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  flex: 0 0 auto;
}
.ryve-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3.5px solid var(--forest);
  border-radius: 6px;
  padding: 5px 8px 3px;
  background: var(--paper);
  line-height: 0.85;
  transition: transform 220ms var(--ease), border-color 220ms ease, box-shadow 220ms ease;
}
.ryve-mark span {
  font-family: "Anton", "Arial Black", "Helvetica Bold", sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.06em;
  color: var(--forest);
  text-transform: uppercase;
  line-height: 1;
  display: inline-block;
}
.brand:hover .ryve-mark {
  transform: translateY(-1px);
  border-color: var(--forest-deep);
  box-shadow: 0 8px 18px rgba(46, 125, 50, 0.22);
}
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-text strong,
.brand strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-text small,
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}
.footer-brand .ryve-mark {
  border-width: 4px;
}
.footer-brand .ryve-mark span {
  font-size: 1.45rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-links > a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease;
}
.nav-links > a:not(.nav-cta):not(.nav-call)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 220ms var(--ease);
}
.nav-links > a:not(.nav-cta):not(.nav-call):hover {
  color: var(--basalt);
}
.nav-links > a:not(.nav-cta):not(.nav-call):hover::after {
  width: 100%;
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
  color: var(--basalt);
  font-weight: 900;
}
.nav-call svg {
  color: var(--cinder);
}

.nav-cta,
.button {
  min-height: 44px;
  border-radius: var(--radius-sm);
}
.nav-cta {
  padding: 0.7rem 0.9rem;
  background: var(--basalt);
  color: var(--ash);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  white-space: nowrap;
  transition: background 200ms ease, transform 200ms var(--ease);
}
.nav-cta:hover {
  background: var(--basalt-2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  isolation: isolate;
  color: var(--ash);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: -10% 0 -10%;
  z-index: -2;
  background:
    url("hero-home.jpg") center / cover;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 60ms linear;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(95deg, rgba(11, 30, 13, 0.94) 0%, rgba(15, 61, 18, 0.78) 38%, rgba(27, 94, 32, 0.32) 78%, rgba(11, 30, 13, 0.6) 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 60% at 90% 10%, rgba(76, 175, 80, 0.28), transparent 55%),
    linear-gradient(180deg, transparent 60%, rgba(11, 30, 13, 0.95) 100%),
    repeating-linear-gradient(135deg, rgba(165, 214, 167, 0.08) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: var(--max);
  min-height: 92vh;
  margin: 0 auto;
  padding: clamp(7rem, 14vw, 11rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem);
}
.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow.light {
  color: var(--gold-2);
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 165, 32, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

p {
  overflow-wrap: break-word;
  letter-spacing: -0.005em;
}
h1, h2, h3 {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: normal;
  color: inherit;
}
.hero h1,
.hero-copy,
.warranty-section h2,
.warranty-section h3,
.parallax-content h2,
.quote h2,
.quote-copy {
  color: #ffffff;
}
h1 {
  font-family: "Anton", "Arial Black", "Inter", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 6.4rem);
  letter-spacing: -0.025em;
  line-height: 0.92;
}
.hero-accent {
  background: linear-gradient(110deg, var(--forest-bright) 0%, var(--forest-light) 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
h2 {
  font-size: clamp(1.9rem, 3.8vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  font-weight: 800;
}
h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-lede {
  max-width: 580px;
  margin: 1.6rem 0 0;
  color: rgba(245, 241, 231, 0.82);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  color: rgba(245, 241, 231, 0.85);
  font-size: 0.85rem;
  font-weight: 700;
}
.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.hero-tags svg {
  color: var(--gold-2);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(245, 241, 231, 0.35);
  color: var(--ash);
  background: rgba(21, 19, 15, 0.35);
  backdrop-filter: blur(6px);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid transparent;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 220ms var(--ease), background 200ms ease, border-color 200ms ease, box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: translateX(-120%);
  transition: transform 600ms var(--ease);
}
.button:hover {
  transform: translateY(-2px);
}
.button:hover::before {
  transform: translateX(120%);
}
.button-primary {
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-bright) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-forest);
}
.button-primary:hover {
  box-shadow: 0 22px 50px rgba(46, 125, 50, 0.5);
  filter: brightness(1.05);
}
.button-ghost {
  color: var(--ash);
  border-color: rgba(245, 241, 231, 0.42);
  background: rgba(245, 241, 231, 0.06);
  backdrop-filter: blur(6px);
}
.button-ghost:hover {
  background: rgba(245, 241, 231, 0.14);
  border-color: var(--gold-2);
}

.inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
  color: var(--basalt);
  font-weight: 900;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.2rem;
  transition: gap 220ms var(--ease), color 200ms ease;
}
.inline-cta:hover {
  gap: 0.8rem;
  color: var(--cinder);
}

/* ---------- Hero panel ---------- */
.hero-panel {
  display: grid;
  gap: 1px;
  background: rgba(245, 241, 231, 0.16);
  border: 1px solid rgba(245, 241, 231, 0.18);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.hero-panel div {
  padding: 1.3rem 1.4rem;
  background: rgba(21, 19, 15, 0.72);
  transition: background 220ms ease;
}
.hero-panel div:hover {
  background: rgba(21, 19, 15, 0.85);
}
.metric {
  display: block;
  color: var(--forest-bright);
  font-family: "Anton", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-panel p {
  margin: 0.55rem 0 0;
  color: rgba(245, 241, 231, 0.78);
  font-size: 0.86rem;
  font-weight: 600;
}

/* ---------- Trust band ---------- */
.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--forest-tint), var(--paper));
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 100px;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
  font-size: 0.92rem;
  transition: background 220ms ease;
}
.trust-item:last-child {
  border-right: 0;
}
.trust-item:hover {
  background: rgba(255, 255, 255, 0.5);
}
.trust-item svg {
  color: var(--cinder);
  width: 1.4rem;
  height: 1.4rem;
}

/* ---------- Sections ---------- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
}

.split-intro,
.estimator,
.solar-section,
.warranty-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.intro-copy p,
.estimator-copy p,
.areas-copy p,
.solar-copy p,
.warranty-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.section-heading h2 {
  max-width: 820px;
}
.compact {
  display: block;
  max-width: 760px;
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.service-card {
  background: var(--ash-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease), border-color 220ms ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 165, 32, 0.35);
}
.service-image {
  position: relative;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.service-card:hover .service-image img {
  transform: scale(1.06);
}
.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.75rem;
  background: var(--ink);
  color: var(--forest-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.service-badge.urgent {
  background: var(--forest);
  color: #ffffff;
}
.service-badge.solar {
  background: linear-gradient(135deg, var(--forest-deep), var(--forest));
  color: #ffffff;
}
.service-body {
  padding: 1.5rem 1.4rem 1.6rem;
}
.service-card svg {
  color: var(--cinder);
  margin-bottom: 0.8rem;
  width: 1.4rem;
  height: 1.4rem;
}
.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.service-card p,
.timeline p,
.gallery figcaption,
.solar-stack p,
.review-card p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--basalt);
  font-weight: 900;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: gap 220ms var(--ease), color 200ms ease;
}
.service-link:hover {
  gap: 0.7rem;
  color: var(--cinder);
}

/* ---------- Parallax banner ---------- */
.parallax-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ash);
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 3vw, 2rem);
}
.parallax-bg {
  position: absolute;
  inset: -15% 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(11, 30, 13, 0.7) 0%, rgba(15, 61, 18, 0.55) 100%),
    url("parallax-storm.jpg") center / cover;
  will-change: transform;
}
.parallax-content {
  max-width: 760px;
  margin: 0 auto;
}
.parallax-content h2 {
  margin-bottom: 1.6rem;
}
.parallax-content .button {
  margin-top: 0.6rem;
}

/* ---------- Solar section ---------- */
.solar-section,
.warranty-section {
  max-width: none;
  margin: 0;
  padding: clamp(4rem, 8vw, 7rem) max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--max)) / 2 + 2rem));
}
.solar-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(76, 175, 80, 0.22), transparent 32%),
    radial-gradient(circle at 12% 80%, rgba(46, 125, 50, 0.12), transparent 30%),
    linear-gradient(135deg, var(--forest-tint), var(--paper-2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.solar-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.solar-stack article {
  min-height: 220px;
  padding: 1.5rem;
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease), background 220ms ease;
}
.solar-stack article:hover {
  transform: translateY(-4px);
  background: var(--ash-3);
  box-shadow: var(--shadow-sm);
}
.solar-stack svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--cinder);
  margin-bottom: 0.7rem;
}
.solar-stack h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

/* ---------- Warranty section ---------- */
.warranty-section {
  position: relative;
  background: var(--basalt);
  color: var(--ash);
  overflow: hidden;
}
.warranty-section {
  background: var(--forest-darker);
}
.warranty-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(76, 175, 80, 0.18), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(27, 94, 32, 0.4), transparent 60%);
  pointer-events: none;
}
.warranty-image {
  position: relative;
  min-height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 30, 13, 0.05), rgba(11, 30, 13, 0.45)),
    url("warranty-shingles.jpg") center / cover;
  background-size: 110%;
  background-position: center;
  will-change: background-position;
}
.warranty-copy {
  position: relative;
}
.warranty-copy p {
  color: rgba(245, 241, 231, 0.75);
}
.warranty-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.8rem;
}
.warranty-list div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(245, 241, 231, 0.06);
  border: 1px solid rgba(245, 241, 231, 0.14);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 220ms ease, transform 220ms var(--ease);
}
.warranty-list div:hover {
  background: rgba(245, 241, 231, 0.1);
  transform: translateX(4px);
}
.warranty-list svg {
  color: var(--gold-2);
  width: 1.2rem;
  height: 1.2rem;
}

/* ---------- Reviews ---------- */
.reviews {
  background: linear-gradient(180deg, var(--ash) 0%, var(--ash-2) 100%);
  max-width: none;
  margin: 0;
  padding: clamp(4rem, 8vw, 7rem) max(clamp(1rem, 3vw, 2rem), calc((100vw - var(--max)) / 2 + 2rem));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.review-card {
  background: var(--ash-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
  position: relative;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: -0.8rem;
  right: 1.2rem;
  font-family: "Anton", "Arial Black", sans-serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--forest);
  opacity: 0.28;
}
.stars {
  display: inline-flex;
  gap: 0.2rem;
  color: var(--gold);
}
.stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}
.review-card p {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}
.review-card footer {
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}
.review-card footer strong {
  color: var(--basalt);
  font-weight: 800;
}

/* ---------- Process timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.timeline article {
  min-height: 280px;
  padding: 1.5rem 1.4rem;
  background: var(--ash-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 220ms ease, transform 220ms var(--ease);
  position: relative;
}
.timeline article:hover {
  background: #fff;
}
.timeline article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cinder));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease);
}
.timeline article:hover::before {
  transform: scaleX(1);
}
.timeline span {
  color: var(--forest);
  font-family: "Anton", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.timeline h3 {
  margin: 0.6rem 0 0.5rem;
  font-size: 1.15rem;
}

/* ---------- Estimator ---------- */
.estimator {
  align-items: stretch;
}
.estimator-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
}
.estimator-perks span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.estimator-perks svg {
  color: var(--moss);
}

.roof-check,
.quote-form,
.area-panel {
  background: var(--ash-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 3vw, 1.8rem);
}
.roof-check,
.quote-form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  padding: 0.95rem 1rem;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  font-weight: 600;
}
select:focus,
input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 165, 32, 0.18);
}
textarea {
  resize: vertical;
  min-height: 110px;
}

.recommendation {
  display: block;
  min-height: 92px;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(135deg, var(--basalt) 0%, var(--basalt-2) 100%);
  color: var(--ash);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.55;
  border-left: 3px solid var(--gold);
  transition: border-left-color 220ms ease;
}
.recommendation.is-active {
  border-left-color: var(--cinder-2);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1.2rem;
}
.gallery figure {
  margin: 0;
  background: var(--basalt);
  color: var(--ash);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 360ms var(--ease), box-shadow 360ms var(--ease);
}
.gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.gallery img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 360ms ease;
}
.gallery figure:hover img {
  transform: scale(1.05);
  filter: brightness(0.78);
}
.gallery figure:first-child img {
  height: 540px;
}
.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(21, 19, 15, 0.92));
  color: var(--ash);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.gallery figcaption strong {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.gallery figcaption span {
  font-size: 0.82rem;
  color: rgba(245, 241, 231, 0.78);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.6rem;
  max-width: 880px;
}
.faq-list details {
  background: var(--ash-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.3rem;
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.faq-list details[open] {
  border-color: rgba(201, 165, 32, 0.45);
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  font-size: 1rem;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--cinder);
  transition: transform 300ms var(--ease);
}
.faq-list details[open] summary svg {
  transform: rotate(45deg);
}
.faq-list details p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ---------- Areas ---------- */
.areas {
  position: relative;
}
.areas-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}
.areas-heading h2 {
  margin-top: 0.4rem;
}
.areas-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
}
.areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin-bottom: 3rem;
}
.areas-controls {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Region switcher (Northern Utah / Southern Utah / Las Vegas) */
.area-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.region-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ash-3);
  padding: 0.7rem 1.3rem 0.7rem 0.95rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease), box-shadow 220ms ease;
}
.region-tab .filter-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.18);
  transition: background 220ms ease, box-shadow 220ms ease;
}
.region-tab:hover {
  color: var(--basalt);
  border-color: var(--forest);
  transform: translateY(-1px);
}
.region-tab.active {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
  box-shadow: var(--shadow-forest);
}
.region-tab.active .filter-dot {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.region-panel {
  display: none;
}
.region-panel.is-active {
  display: block;
}
.dot-south { background: var(--forest); box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2); }
.dot-vegas { background: var(--forest-bright); box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.22); }

.area-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.area-filters button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--ash-3);
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: -0.005em;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}
.area-filters .filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 165, 32, 0.18);
  transition: background 220ms ease, box-shadow 220ms ease;
}
.area-filters button[data-area-filter="salt-lake"] .filter-dot { background: var(--cinder); box-shadow: 0 0 0 3px rgba(176, 74, 53, 0.18); }
.area-filters button[data-area-filter="utah"] .filter-dot { background: var(--moss); box-shadow: 0 0 0 3px rgba(111, 132, 101, 0.22); }
.area-filters button[data-area-filter="wasatch"] .filter-dot { background: var(--gold); }
.area-filters button:hover {
  color: var(--basalt);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.area-filters button.active {
  background: var(--basalt);
  color: var(--ash);
  border-color: var(--basalt);
}
.area-filters button.active .filter-dot {
  box-shadow: 0 0 0 3px rgba(245, 241, 231, 0.18);
}

.area-hint {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}
.area-hint svg {
  color: var(--cinder);
}
.area-hint a {
  color: var(--basalt);
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  transition: color 200ms ease;
}
.area-hint a:hover {
  color: var(--cinder);
}

.area-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 70% 30%, rgba(240, 207, 78, 0.14), transparent 60%),
    linear-gradient(160deg, var(--ash-3) 0%, var(--ash-2) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1rem 1rem 0;
  align-self: stretch;
}
.area-map svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: "Inter", sans-serif;
}
.corridor-map {
  padding: 1rem;
  background:
    radial-gradient(90% 70% at 68% 42%, rgba(76, 175, 80, 0.16), transparent 64%),
    linear-gradient(160deg, #ffffff 0%, var(--ash-2) 100%);
}
.corridor-map svg {
  min-height: 360px;
}
.coverage-halo {
  pointer-events: none;
}
.range-line {
  fill: none;
  stroke: var(--green);
  stroke-opacity: 0.28;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i15-route {
  pointer-events: none;
}
.i15-route-shadow,
.i15-route-core {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.i15-route-shadow {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 9;
  filter: drop-shadow(0 8px 14px rgba(19, 22, 19, 0.12));
}
.i15-route-core {
  stroke: var(--green);
  stroke-width: 3;
  opacity: 0.72;
}
.i15-badge rect {
  fill: var(--green);
}
.i15-badge text {
  fill: #fff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.02em;
}
.map-title text:first-child {
  font-family: "Anton", "Arial Black", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  fill: var(--ink);
}
.map-title text:nth-child(2) {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
  fill: var(--green);
  text-transform: uppercase;
}
.map-title line,
.response-callout line {
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.response-callout text:first-child {
  font-family: "Anton", "Arial Black", sans-serif;
  font-size: 38px;
  fill: var(--green);
}
.response-callout text:first-child tspan {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.response-callout text:nth-child(2) {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.22em;
  fill: var(--ink);
  text-transform: uppercase;
}
.response-callout text:nth-child(n+4) {
  font-size: 9px;
  font-weight: 500;
  fill: var(--muted);
}
.state-shape {
  filter: drop-shadow(0 8px 18px rgba(21, 19, 15, 0.14));
}
.state-border {
  fill: none;
  stroke: rgba(38, 35, 29, 0.42);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.state-clip {
  stroke: rgba(38, 35, 29, 0.32);
  stroke-width: 1.4;
  stroke-dasharray: 4 5;
}
.state-halo {
  fill: url(#halo);
  pointer-events: none;
}
.ridge {
  fill: none;
  stroke: rgba(176, 74, 53, 0.38);
  stroke-width: 1.6;
  stroke-dasharray: 3 4;
  stroke-linecap: round;
}
.map-label {
  font-family: "Anton", "Arial Black", sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.16em;
  fill: rgba(46, 125, 50, 0.45);
}
.map-sub {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: rgba(38, 35, 29, 0.46);
}
.border-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
  fill: rgba(38, 35, 29, 0.42);
  text-transform: uppercase;
}
.border-label.rot {
  transform: rotate(90deg);
  transform-origin: 295px 220px;
}
.continues-hint line {
  stroke: rgba(38, 35, 29, 0.45);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.continues-hint text {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.06em;
  fill: rgba(38, 35, 29, 0.55);
  text-anchor: middle;
}

.map-pin {
  cursor: pointer;
  transition: transform 220ms var(--ease), opacity 280ms ease;
  transform-box: fill-box;
  transform-origin: center;
}
.pin-pulse {
  fill: var(--gold);
  opacity: 0.18;
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-breathe 2.6s ease-in-out infinite;
}
.pin-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  opacity: 0.7;
}
.pin-dot {
  fill: var(--gold);
  stroke: var(--basalt);
  stroke-width: 1;
  transition: fill 220ms ease, r 220ms var(--ease), stroke-width 220ms ease;
}
.pin-label {
  font-size: 9px;
  font-weight: 700;
  fill: var(--basalt);
  letter-spacing: 0.02em;
  pointer-events: none;
  opacity: 0.78;
  transition: opacity 220ms ease, font-size 220ms ease, fill 220ms ease;
}
.pin-label.end {
  text-anchor: end;
}
.map-pin.major .pin-label {
  font-size: 11px;
  font-weight: 800;
  opacity: 1;
}

.map-pin[data-county="salt-lake"] .pin-pulse,
.map-pin[data-county="salt-lake"] .pin-dot,
.map-pin[data-county="salt-lake"] .pin-ring {
  fill: var(--cinder);
}
.map-pin[data-county="salt-lake"] .pin-pulse { fill: var(--cinder); }
.map-pin[data-county="salt-lake"] .pin-ring { stroke: var(--cinder); fill: none; }

.map-pin[data-county="utah"] .pin-pulse,
.map-pin[data-county="utah"] .pin-dot {
  fill: var(--moss);
}
.map-pin[data-county="utah"] .pin-ring { stroke: var(--moss); fill: none; }

.map-pin:hover,
.map-pin:focus-visible {
  outline: none;
}
.map-pin:hover .pin-dot,
.map-pin:focus-visible .pin-dot {
  stroke-width: 2;
  r: 6.5;
}
.map-pin:hover .pin-label,
.map-pin:focus-visible .pin-label {
  opacity: 1;
  font-size: 11px;
  fill: var(--cinder-2);
}
.map-pin:hover .pin-pulse,
.map-pin:focus-visible .pin-pulse {
  opacity: 0.4;
  animation-duration: 1.4s;
}

.map-pin.is-dim {
  opacity: 0.18;
}
.map-pin.is-active .pin-dot {
  r: 6.5;
  stroke-width: 2;
}
.map-pin.is-active .pin-pulse {
  opacity: 0.42;
  animation-duration: 1.4s;
}
.map-pin.is-active .pin-label {
  opacity: 1;
  font-size: 11px;
}

@keyframes pin-breathe {
  0%, 100% { transform: scale(0.7); opacity: 0.16; }
  50% { transform: scale(1.25); opacity: 0.05; }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  padding: 0.9rem 0.6rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.map-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot-slc { background: var(--cinder); box-shadow: 0 0 0 3px rgba(176, 74, 53, 0.18); }
.dot-utah { background: var(--moss); box-shadow: 0 0 0 3px rgba(111, 132, 101, 0.22); }
.dot-wasatch { background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 32, 0.22); }

/* City chips */
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.area-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem 0.6rem 0.8rem;
  background: var(--ash-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms var(--ease), color 240ms ease, opacity 280ms ease;
  cursor: default;
}
.area-chips li svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--gold);
  transition: color 220ms ease, transform 240ms var(--ease);
}
.area-chips li[data-county="salt-lake"] svg { color: var(--cinder); }
.area-chips li[data-county="utah"] svg { color: var(--moss); }
.area-chips li:hover {
  background: #fff;
  border-color: var(--gold);
  transform: translateY(-2px);
  color: var(--basalt);
}
.area-chips li:hover svg {
  transform: rotate(-12deg) scale(1.15);
}
.area-chips li.hidden {
  display: none;
}

/* Expansion strip */
.expansion-strip {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--line-strong);
}
.expansion-strip .eyebrow {
  margin-bottom: 1rem;
}
.state-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.state-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.95rem;
  background: linear-gradient(180deg, rgba(245, 241, 231, 0.5), rgba(236, 229, 211, 0.5));
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}
.state-pills li svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--gold);
  opacity: 0.7;
}
.state-pills li:hover {
  color: var(--basalt);
  border-color: var(--gold);
  border-style: solid;
  background: var(--ash-3);
  transform: translateY(-2px);
}

/* ---------- Quote (final CTA) ---------- */
.quote {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ash);
}
.quote-bg {
  position: absolute;
  inset: -15% 0;
  z-index: -2;
  background:
    linear-gradient(95deg, rgba(11, 30, 13, 0.92) 0%, rgba(15, 61, 18, 0.74) 50%, rgba(27, 94, 32, 0.58) 100%),
    url("quote-aerial.jpg") center / cover;
  will-change: transform;
}
.quote::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(70% 60% at 80% 20%, rgba(76, 175, 80, 0.22), transparent 60%);
  pointer-events: none;
}
.quote-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 3vw, 2rem);
  align-items: center;
}
.quote-copy p {
  color: rgba(245, 241, 231, 0.82);
  font-size: 1.05rem;
}
.quote-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin: 1.6rem 0 1.6rem;
  color: rgba(245, 241, 231, 0.7);
  font-weight: 700;
  font-size: 0.92rem;
}
.quote-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: rgba(245, 241, 231, 0.85);
}
.quote-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.quote-perks svg {
  color: var(--gold-2);
}
.quote-form {
  background: rgba(255, 250, 240, 0.97);
  box-shadow: var(--shadow-lg);
}
.form-status {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.5;
}
.form-status:empty {
  display: none;
}
.form-status.is-sending {
  color: var(--muted);
}
.form-status.is-success {
  color: var(--forest-deep);
}
.form-status.is-error {
  color: #b3261e;
}
.form-foot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 700;
}
.form-foot svg {
  color: var(--moss);
}

/* ---------- Footer ---------- */
.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem clamp(1rem, 3vw, 2rem);
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer p {
  color: var(--muted);
  font-weight: 600;
  margin: 0;
  font-size: 0.9rem;
}
.footer-fine {
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.8;
}
.footer-actions {
  display: grid;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
}
.footer-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 200ms ease;
}
.footer-actions a:hover {
  color: var(--cinder);
}
.footer-actions svg {
  color: var(--cinder);
}

/* ---------- Mobile sticky call ---------- */
.mobile-call {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-bright) 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.01em;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(46, 125, 50, 0.45);
  animation: bob-call 2.6s ease-in-out infinite;
}
@keyframes bob-call {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: absolute;
    left: clamp(1rem, 3vw, 2rem);
    right: clamp(1rem, 3vw, 2rem);
    top: calc(100% - 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: var(--ash);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > a:not(.nav-cta):not(.nav-call)::after {
    display: none;
  }

  .hero-grid,
  .split-intro,
  .estimator,
  .areas-grid,
  .quote-inner,
  .solar-section,
  .warranty-section {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    align-items: center;
  }
  .hero-panel {
    grid-template-columns: repeat(3, 1fr);
  }
  .trust-band,
  .service-grid,
  .timeline,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-heading {
    display: block;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery figure:first-child {
    grid-column: 1 / -1;
  }
  .gallery figure:first-child img {
    height: 400px;
  }
}

@media (max-width: 680px) {
  .notice-bar {
    display: none;
  }
  .brand-logo {
    width: 56px;
    height: 32px;
  }
  .hero {
    min-height: auto;
  }
  .hero-grid {
    min-height: auto;
    padding-top: 6rem;
  }
  .hero-scroll {
    display: none;
  }
  .hero-panel,
  .trust-band,
  .service-grid,
  .timeline,
  .solar-stack,
  .gallery-grid,
  .area-list,
  .review-grid {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    grid-template-columns: 1fr;
  }
  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .warranty-image {
    min-height: 320px;
  }
  .gallery img,
  .gallery figure:first-child img {
    height: 280px;
  }
  .footer {
    flex-direction: column;
  }
  .mobile-call {
    display: inline-flex;
  }
  body {
    padding-bottom: 5rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }
}

@media (max-width: 480px) {
  .nav-shell {
    gap: 0.6rem;
    padding: 0.75rem 1rem;
  }
  .brand {
    gap: 0.6rem;
  }
  .brand-text small {
    display: none;
  }
  .brand-text strong,
  .brand strong {
    font-size: 0.92rem;
  }
  .ryve-mark {
    border-width: 3px;
    padding: 4px 7px 3px;
  }
  .ryve-mark span {
    font-size: 1.12rem;
  }
  .nav-toggle {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
  }
  .nav-toggle span {
    display: none;
  }
}
