/* =========================================================
   ROOFGUARD — Marketing Site
   Aesthetic: editorial-trade. Type-driven. Confident, not loud.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --charcoal: #1C1F24;
  --charcoal-2: #24272D;
  --copper: #C46A2D;
  --copper-deep: #A4561F;
  --sandstone: #E7D8C9;
  --sandstone-2: #F1E6DA;
  --slate: #4A6A7F;
  --slate-deep: #3A5567;
  --signal: #3FA34D;
  --signal-deep: #2F8A3C;

  --paper: #FAFAF7;
  --ink: #2A2D33;
  --ink-mute: #5A5E66;
  --rule: rgba(28, 31, 36, 0.12);
  --rule-light: rgba(255, 255, 255, 0.16);

  --container: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', 'Arial', sans-serif;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  width: 100%;
}

/* ---------- Type system ---------- */
.section-eyebrow,
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-eyebrow { color: var(--copper-deep); }
.eyebrow-light { color: rgba(255,255,255,0.85); }
.eyebrow-rule {
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-top: 0.85rem;
}
.section-head { margin-bottom: 3.5rem; max-width: 880px; }
.section-head--narrow { max-width: 720px; }

.copper-em { color: var(--copper); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 1rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
  cursor: pointer;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--signal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--signal-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper);
}
.btn-ghost:hover {
  background: var(--copper);
  color: #fff;
}
.btn-lg { padding: 1.25rem 2.25rem; font-size: 16px; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: transparent;
  transition: background 220ms var(--ease), padding 220ms var(--ease), border-color 220ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(28, 31, 36, 0.96);
  padding: 0.7rem 0;
  border-bottom-color: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--charcoal);
  transition: color 200ms var(--ease);
}
.site-header.is-scrolled .brand { color: #fff; }
.brand-mark {
  width: 32px;
  height: 32px;
  transition: filter 200ms var(--ease);
}
.site-header.is-scrolled .brand-mark { filter: invert(1); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: inherit;
}
.header-nav {
  display: flex;
  gap: 2rem;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.header-nav a {
  color: rgba(28, 31, 36, 0.72);
  text-decoration: none;
  transition: color 160ms var(--ease);
  position: relative;
  padding: 0.25rem 0;
}
.site-header.is-scrolled .header-nav a { color: rgba(255,255,255,0.78); }
.header-nav a:hover { color: var(--charcoal); }
.site-header.is-scrolled .header-nav a:hover { color: #fff; }
.header-nav a:hover::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--copper);
}
.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--charcoal);
  line-height: 1.1;
  gap: 2px;
  transition: color 200ms var(--ease);
}
.site-header.is-scrolled .header-phone { color: #fff; }
.phone-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}
.phone-number {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (max-width: 800px) {
  .header-nav { display: none; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  background: var(--paper);
  color: var(--charcoal);
  padding: 9.5rem 0 0;
  position: relative;
  overflow: hidden;
}
/* Subtle warmth — barely-there copper + slate radials on paper */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(196, 106, 45, 0.07), transparent 60%),
    radial-gradient(ellipse 55% 45% at 5% 90%, rgba(74, 106, 127, 0.06), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  padding-bottom: 5rem;
}
.hero-copy .eyebrow {
  color: var(--copper-deep);
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(2.75rem, 6.5vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 1.25rem 0 1.75rem;
  color: var(--charcoal);
}
.hero-figure {
  color: var(--copper);
  font-weight: 700;
  font-size: 1.06em;
  letter-spacing: -0.025em;
  position: relative;
  display: inline-block;
}
.hero-sub {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(28, 31, 36, 0.72);
  max-width: 540px;
  margin-bottom: 2.25rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(28, 31, 36, 0.55);
  font-weight: 500;
}
.hero-trust .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
}

/* Hero photo treatment */
.hero-media {
  position: relative;
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    linear-gradient(135deg, rgba(196,106,45,0.20), transparent 55%),
    linear-gradient(180deg, #2E2A26 0%, #161719 100%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  isolation: isolate;
}
/* Diagonal placeholder pattern — only visible when photo is missing */
.hero-photo > .hero-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255,255,255,0.03) 0 1px,
      transparent 1px 14px
    );
  color: rgba(255,255,255,0.18);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
/* Photo layer — covers placeholder when image loads; transparent when missing */
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: url('assets/hero-roof.jpg');
  background-size: cover;
  background-position: center;
}
/* Faint diagonal texture only — no darkening */
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.012) 0px,
      rgba(255,255,255,0.012) 1px,
      transparent 1px,
      transparent 5px
    );
  pointer-events: none;
}
.hero-photo-overlay { z-index: 4; }
.hero-photo-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 3;
}
.photo-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  padding: 0.4rem 0.75rem;
  background: rgba(28,31,36,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-photo-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.85rem;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(28, 31, 36, 0.5);
  font-weight: 500;
}
.hero-photo-meta span:first-child {
  color: var(--copper-deep);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* Hero marquee strip */
.hero-marquee {
  border-top: 1px solid rgba(28, 31, 36, 0.14);
  border-bottom: 1px solid rgba(28, 31, 36, 0.14);
  background: var(--paper);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 2.25rem;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(28, 31, 36, 0.4);
}
.marquee-track span:nth-child(odd) { color: var(--charcoal); }
.marquee-track span:nth-child(even) { color: var(--copper); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 7rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-photo { aspect-ratio: 4 / 3; }
}

/* ===========================================================
   SECTIONS — shared
   =========================================================== */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
}

/* ---------- COST ---------- */
.section-cost { background: var(--sandstone); }
.cost-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}
.cost-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 2.5rem 2rem 2.25rem;
  display: flex;
  flex-direction: column;
}
.cost-card--featured {
  border-color: var(--copper);
  border-width: 2px;
  background: #fff;
  box-shadow: 0 24px 60px -28px rgba(196, 106, 45, 0.4);
  transform: translateY(-4px);
}
.cost-card-tab {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--copper);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
}
.cost-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.5rem;
}
.cost-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.cost-card-figure {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--charcoal);
  margin: 1.75rem 0 1.5rem;
  display: flex;
  align-items: flex-start;
  line-height: 1;
}
.cost-prefix {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-right: 0.15em;
  color: var(--copper);
  margin-top: 0.3em;
}
.cost-amount {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
}
.cost-card--featured .cost-prefix,
.cost-card--featured .cost-amount {
  color: var(--copper);
}
.cost-card-list {
  border-top: 1px solid var(--rule);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--ink);
  margin-top: auto;
}
.cost-card-list li {
  position: relative;
  padding-left: 1.25rem;
}
.cost-card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--ink-mute);
}
.cost-card--featured .cost-card-list li::before {
  color: var(--copper);
}
.cost-footnote {
  margin-top: 2.5rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}

@media (max-width: 760px) {
  .cost-cards { grid-template-columns: 1fr; }
  .cost-card--featured { transform: none; }
}

/* ---------- PROBLEM ---------- */
.section-problem {
  background: var(--paper);
  position: relative;
}
.section-problem .container { position: relative; }
.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(28,31,36,0.18);
}
.problem-list li {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 1.75rem 2.5rem 0;
  border-right: 1px solid rgba(28,31,36,0.12);
}
.problem-list li:last-child { border-right: none; padding-right: 0; }
.problem-list li:not(:first-child) { padding-left: 1.75rem; }
.problem-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--copper);
}
.problem-list h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.problem-list p {
  color: var(--ink);
  font-size: 0.98rem;
}
.problem-closing {
  margin-top: 3.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--charcoal);
  font-weight: 600;
}

@media (max-width: 800px) {
  .problem-list { grid-template-columns: 1fr; }
  .problem-list li {
    border-right: none;
    border-bottom: 1px solid rgba(28,31,36,0.12);
    padding: 2rem 0 !important;
  }
  .problem-list li:last-child { border-bottom: none; }
}

/* ---------- PROCESS ---------- */
.section-process { background: var(--sandstone-2); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(28, 31, 36, 0.12);
  margin-top: 3rem;
  border: 1px solid rgba(28, 31, 36, 0.12);
}
.process-step {
  background: #fff;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.process-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--copper);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}
.process-step p {
  color: var(--ink);
  font-size: 0.97rem;
}

@media (max-width: 800px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---------- QUALIFY ---------- */
.section-qualify {
  background: var(--charcoal);
  color: #fff;
}
.section-qualify .section-title { color: #fff; }
.section-qualify .section-eyebrow { color: var(--copper); }
.qualify-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
  align-items: start;
}
.qualify-intro {
  margin-top: 1.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 380px;
}
.qualify-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.qualify-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: start;
}
.qualify-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--copper);
  color: var(--copper);
  font-size: 16px;
  font-weight: 600;
}
.qualify-list h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  margin-bottom: 0.4rem;
}
.qualify-list p {
  color: rgba(255,255,255,0.65);
  font-size: 0.97rem;
}
.qualify-cta {
  grid-column: 1 / -1;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}
.qualify-cta-note {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.qualify-cta-note a {
  color: var(--copper);
  text-decoration: none;
  font-weight: 600;
}
.qualify-cta-note a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .qualify-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- TRUST ---------- */
.section-trust { background: var(--paper); }
.trust-head { max-width: 880px; margin-bottom: 3.5rem; }
.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.trust-stat {
  padding: 2.5rem 1.5rem 2.5rem 0;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.trust-stat:last-child { border-right: none; }
.trust-stat:not(:first-child) { padding-left: 1.5rem; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0;
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
}
.trust-line {
  margin-top: 2.5rem;
  font-size: 1.1rem;
  color: var(--ink);
  max-width: 640px;
}

@media (max-width: 760px) {
  .trust-stats { grid-template-columns: 1fr; }
  .trust-stat {
    border-right: none;
    border-bottom: 1px solid var(--rule);
    padding: 2rem 0 !important;
  }
  .trust-stat:last-child { border-bottom: none; }
}

/* ---------- FAQ ---------- */
.section-faq { background: var(--sandstone-2); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.faq-intro {
  margin-top: 1.5rem;
  color: var(--ink-mute);
  max-width: 320px;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid rgba(28,31,36,0.18);
}
.faq-item:last-child { border-bottom: 1px solid rgba(28,31,36,0.18); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--charcoal);
  transition: color 160ms var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--copper); }
.faq-icon {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
  border: 1.5px solid var(--copper);
  border-radius: 50%;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--copper);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 220ms var(--ease);
}
.faq-icon::before { width: 9px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 9px; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-body {
  padding: 0 0 1.75rem;
  max-width: 640px;
  color: var(--ink);
}

@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- QUOTE FORM ---------- */
.section-quote { background: var(--paper); position: relative; }
.section-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 90% 10%, rgba(196, 106, 45, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 90%, rgba(74, 106, 127, 0.05), transparent 60%);
  pointer-events: none;
}
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
}
.quote-intro {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 460px;
}
.quote-steps {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
}
.quote-steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.quote-steps li:last-child { border-bottom: 1px solid var(--rule); }
.quote-step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--copper);
  letter-spacing: 0;
  line-height: 1;
}
.quote-steps h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}
.quote-steps p {
  color: var(--ink);
  font-size: 0.95rem;
}

/* Form panel */
.quote-form-wrap {
  background: var(--charcoal);
  color: #fff;
  padding: 2.75rem 2.25rem;
  border-top: 4px solid var(--copper);
  position: relative;
  box-shadow: 0 30px 60px -30px rgba(28, 31, 36, 0.45);
}
.quote-form { display: flex; flex-direction: column; gap: 1.1rem; }
.quote-form-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}
.quote-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.field-hint {
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3px;
  padding: 0.85rem 0.95rem;
  width: 100%;
  transition: border-color 160ms var(--ease), background 160ms var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(255,255,255,0.06);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--copper) 50%),
                    linear-gradient(135deg, var(--copper) 50%, transparent 50%);
  background-position: calc(100% - 18px) center, calc(100% - 13px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field textarea { resize: vertical; min-height: 80px; }

.btn-block { width: 100%; margin-top: 0.5rem; }

.quote-form-fine {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-top: 0.25rem;
}

.honeypot { display: none !important; }

@media (max-width: 900px) {
  .quote-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .quote-form-wrap { padding: 2rem 1.5rem; }
}

/* ---------- FINAL CTA ---------- */
.section-final {
  background: var(--slate);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.section-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(255,255,255,0.08), transparent 60%),
    linear-gradient(180deg, var(--slate) 0%, var(--slate-deep) 100%);
  pointer-events: none;
}
.final-inner {
  position: relative;
  text-align: left;
  max-width: 880px;
}
.final-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: #fff;
  margin: 1rem 0 1.75rem;
}
.final-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.final-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.final-phone {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.phone-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 600;
}
.phone-big {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: 0.01em;
  font-weight: 600;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  padding: 4.5rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  width: 88px;
  filter: invert(1);
  margin-bottom: 1.25rem;
}
.footer-tag {
  max-width: 260px;
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--copper);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.footer-col a:hover { color: var(--copper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-credit {
  font-family: var(--font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Thanks page ---------- */
.thanks-body {
  background: var(--charcoal);
  color: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.thanks-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(196, 106, 45, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(74, 106, 127, 0.10), transparent 60%);
  pointer-events: none;
}
.thanks-inner {
  position: relative;
  max-width: 720px;
}
.thanks-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 4rem;
}
.thanks-brand .brand-mark { filter: invert(1); width: 28px; height: 28px; }
.thanks-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 0.95;
  color: #fff;
  margin: 1rem 0 1.75rem;
}
.thanks-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 3rem;
}
.thanks-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 2.5rem;
}
.thanks-meta-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.4rem;
}
.thanks-meta-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
}
.thanks-meta-value:hover { color: var(--copper); }
.thanks-back {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.thanks-back:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}
@media (max-width: 600px) {
  .thanks-meta { grid-template-columns: 1fr; gap: 1.25rem; }
  .thanks-brand { margin-bottom: 2.5rem; }
}

/* ---------- Tap target sizing for buttons on mobile ---------- */
@media (max-width: 480px) {
  .btn { width: 100%; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .final-cta-row { flex-direction: column; align-items: flex-start; }
}
