/* The Roofing Closer — static site styles. Navy + gold, mobile-first. */

:root {
  --navy: #0b1e3a;
  --navy-deep: #071426;
  --navy-soft: #12294d;
  --gold: #c9a227;
  --gold-bright: #e3b93c;
  --ink: #1a2433;
  --paper: #ffffff;
  --paper-soft: #f5f2ea;
  --muted: #5b6b82;
  --muted-on-dark: #a9b8cf;
  --radius: 12px;
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: min(var(--maxw), 92%); margin: 0 auto; }
.wrap.narrow { width: min(760px, 92%); }
.center { text-align: center; }

.gold { color: var(--gold-bright); }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 0.6rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section { padding: 4.5rem 0; }
.section-alt { background: var(--paper-soft); }
.section-lede { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin: 0.4rem 0 2rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { box-shadow: 0 8px 26px rgba(201, 162, 39, 0.5); }
.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: rgba(201, 162, 39, 0.12); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 20, 38, 0.97);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.brand img { border-radius: 8px; }
.brand-name { color: #fff; font-weight: 800; letter-spacing: 0.06em; font-size: 0.95rem; }
.site-nav { display: none; gap: 1.4rem; }
.site-nav a { color: var(--muted-on-dark); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--gold-bright); }
@media (min-width: 760px) { .site-nav { display: flex; } }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 50% -10%, var(--navy-soft), var(--navy-deep));
  color: #fff;
  padding: 5.5rem 0 4.5rem;
  text-align: center;
}
.hero-inner { max-width: 820px; }
.hero h1 { margin-bottom: 1.1rem; }
.lede { font-size: 1.15rem; color: var(--muted-on-dark); max-width: 640px; margin: 0 auto 2rem; }
.lede strong { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 1.4rem; }
.hero-note { font-size: 0.85rem; color: var(--muted-on-dark); letter-spacing: 0.04em; }

/* Objections */
.objection-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .objection-grid { grid-template-columns: 1fr 1fr; } }
.objection-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.6rem;
  border-top: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(11, 30, 58, 0.18);
}
.objection-quote { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.7rem; }
.objection-quote::before { content: "\201C"; color: var(--gold); margin-right: 0.15rem; }
.objection-quote::after { content: "\201D"; color: var(--gold); margin-left: 0.15rem; }
.objection-answer { color: var(--muted-on-dark); font-size: 0.98rem; }
.center-note { text-align: center; margin-top: 2rem; color: var(--muted); font-weight: 600; }

/* Book */
.book-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .book-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.book-cover img {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(11, 30, 58, 0.35);
  width: 100%; max-width: 420px; margin: 0 auto;
}
.check-list { list-style: none; margin: 1.4rem 0; display: grid; gap: 0.6rem; }
.check-list li { padding-left: 1.8rem; position: relative; font-weight: 500; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 800;
}
.price-row { display: flex; align-items: baseline; gap: 0.9rem; margin: 1.4rem 0 1.2rem; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--navy); }
.price-note { color: var(--muted); font-size: 0.95rem; }
.fine-print { margin-top: 0.8rem; font-size: 0.85rem; color: var(--muted); }

/* Course list */
.course-list {
  list-style: none;
  display: grid; gap: 0.7rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.2rem;
}
@media (min-width: 760px) { .course-list { grid-template-columns: 1fr 1fr; } }
.course-list li {
  background: #fff;
  border: 1px solid #e6e0d2;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 0.9rem;
}
.course-list .num {
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--navy-deep); background: var(--gold);
  border-radius: 6px; padding: 0.25rem 0.5rem; flex-shrink: 0;
}

/* Contact */
.contact-email {
  display: inline-block;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: 800; color: var(--navy);
  margin: 1rem 0 0.6rem;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}
.contact-email:hover { color: var(--navy-soft); }
.official-home { color: var(--muted); font-weight: 600; margin-top: 0.6rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--muted-on-dark); padding: 2.6rem 0 1.6rem; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
  margin-bottom: 1.6rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-brand img { border-radius: 8px; }
.footer-name { color: #fff; font-weight: 800; letter-spacing: 0.06em; font-size: 0.95rem; }
.footer-tag { font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.4rem; }
.footer-links a { color: var(--muted-on-dark); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-base { border-top: 1px solid rgba(201, 162, 39, 0.2); padding-top: 1.2rem; font-size: 0.85rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
