/* ============================================================
   Liberty Ridge Preparedness Co. — Shared Stylesheet
   Palette: Navy #14253D | Cream #F6F2E9 | Gold #C8A24B | Brick #A6332E
   Typography sized generously for readability.
   ============================================================ */

:root {
  --navy: #14253d;
  --navy-deep: #0d1a2c;
  --cream: #f6f2e9;
  --cream-dark: #ece5d4;
  --gold: #c8a24b;
  --gold-light: #e3c87f;
  --brick: #a6332e;
  --brick-dark: #832722;
  --ink: #1e2530;
  --ink-soft: #4a5360;
  --white: #ffffff;
  --green: #3e6b48;
  --shadow: 0 4px 18px rgba(13, 26, 44, 0.14);
  --shadow-lg: 0 10px 36px rgba(13, 26, 44, 0.22);
  --radius: 10px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; }
h1 { font-size: 2.9rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; }

img { max-width: 100%; }
a { color: var(--brick); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 14px;
}

section { padding: 72px 0; }

.section-intro { max-width: 760px; margin: 14px auto 0; text-align: center; color: var(--ink-soft); }
.text-center { text-align: center; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--brick);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.announce strong { color: var(--gold-light); }

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1240px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 46px; height: 46px;
  flex: none;
}
.brand-name {
  font-family: var(--serif);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand-name span { color: var(--gold); }
.brand-tag {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aebacd;
  font-weight: 600;
}
nav.main-nav { display: flex; align-items: center; gap: 28px; }
nav.main-nav a {
  color: #dde4ee;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
}
nav.main-nav a:hover { color: var(--gold-light); }
nav.main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--brick);
  color: var(--white) !important;
  padding: 11px 22px !important;
  border-radius: 6px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--brick-dark); color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid #aebacd; color: #dde4ee;
  font-size: 1.4rem; padding: 4px 12px; border-radius: 6px; cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 16px 34px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-dark); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline:hover { background: rgba(200, 162, 75, 0.15); }
.btn-lg { font-size: 1.15rem; padding: 18px 42px; }

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(13, 26, 44, 0.88), rgba(13, 26, 44, 0.93)),
    repeating-linear-gradient(45deg, #16273f 0 14px, #12233a 14px 28px);
  color: var(--white);
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brick) 33%, var(--white) 33% 66%, var(--navy) 66%);
  opacity: 0.85;
}
.hero h1 { color: var(--white); max-width: 880px; margin: 0 auto 22px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede {
  font-size: 1.3rem;
  color: #cfd8e6;
  max-width: 720px;
  margin: 0 auto 38px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: #aebacd;
  font-size: 0.95rem;
  font-weight: 600;
}
.hero-trust span::before { content: "★ "; color: var(--gold); }

/* ---------- Stat band ---------- */
.stat-band { background: var(--navy); color: var(--white); padding: 56px 0; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  text-align: center;
}
.stat-num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label { margin-top: 10px; color: #cfd8e6; font-size: 1rem; }
.stat-src { display: block; margin-top: 6px; font-size: 0.78rem; color: #8494ab; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  margin-top: 48px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 30px;
  border-top: 5px solid var(--navy);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-soft); }
.card .icon { font-size: 2.2rem; margin-bottom: 16px; display: block; }

/* ---------- Pricing tiers ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 52px;
  align-items: stretch;
}
.tier {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px 34px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid transparent;
}
.tier.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.tier-flag {
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 99px;
  white-space: nowrap;
}
.tier h3 { font-size: 1.5rem; }
.tier .tier-for { color: var(--ink-soft); font-size: 0.95rem; margin: 6px 0 20px; }
.price { font-family: var(--serif); font-size: 3rem; color: var(--navy); font-weight: 700; }
.price .was {
  font-size: 1.2rem; color: #9aa3ae; text-decoration: line-through;
  font-weight: 400; margin-right: 10px;
}
.price-note { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 22px; }
.tier ul { list-style: none; margin: 0 0 28px; flex: 1; }
.tier ul li {
  padding: 9px 0 9px 32px;
  position: relative;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.98rem;
}
.tier ul li::before {
  content: "✔";
  position: absolute; left: 0;
  color: var(--green);
  font-weight: 700;
}
.tier ul li.no::before { content: "—"; color: #b8bec7; }
.tier ul li.no { color: #9aa3ae; }
.tier .btn { width: 100%; text-align: center; }

/* ---------- Quiz ---------- */
.quiz-section { background: var(--navy-deep); color: var(--white); }
.quiz-section h2, .quiz-section h3 { color: var(--white); }
.quiz-box {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 760px;
  margin: 44px auto 0;
  padding: 44px 40px;
}
.quiz-box h3 { color: var(--navy); }
.quiz-progress {
  height: 10px;
  background: var(--cream-dark);
  border-radius: 99px;
  margin: 18px 0 30px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--brick));
  border-radius: 99px;
  transition: width 0.35s ease;
}
.quiz-q { font-family: var(--serif); font-size: 1.35rem; color: var(--navy); margin-bottom: 24px; }
.quiz-opts { display: grid; gap: 14px; }
.quiz-opt {
  text-align: left;
  background: var(--cream);
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 1.02rem;
  font-family: var(--sans);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.quiz-opt:hover { border-color: var(--gold); background: #fdfbf5; }
.quiz-counter { font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.quiz-result-score {
  font-family: var(--serif);
  font-size: 4rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
}
.quiz-result-grade {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 10px 0 18px;
}
.score-low { color: var(--brick); }
.score-mid { color: #b07d18; }
.score-high { color: var(--green); }
.quiz-result-msg { color: var(--ink-soft); margin-bottom: 28px; text-align: center; }
.quiz-restart {
  background: none; border: none; color: var(--ink-soft);
  text-decoration: underline; cursor: pointer; font-size: 0.9rem;
  display: block; margin: 18px auto 0;
}
.quiz-box .btn { display: block; text-align: center; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 48px; }
.step { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 28px; position: relative; }
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 700;
  border-radius: 50%;
  margin-bottom: 18px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 30px; margin-top: 48px; }
.testimonial {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 28px;
}
.testimonial .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial blockquote { font-style: italic; color: var(--ink); margin-bottom: 18px; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--navy); display: block; }
.testimonial .loc { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  padding: 22px 56px 22px 26px;
  cursor: pointer;
  position: relative;
}
.faq-q::after {
  content: "+";
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
  color: var(--brick);
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { content: "–"; }
.faq-a { display: none; padding: 0 26px 24px; color: var(--ink-soft); }
.faq-item.open .faq-a { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(rgba(131, 39, 34, 0.94), rgba(131, 39, 34, 0.94)),
    repeating-linear-gradient(-45deg, #8d2b26 0 14px, #842621 14px 28px);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.cta-band h2 { color: var(--white); max-width: 760px; margin: 0 auto 16px; }
.cta-band p { color: #f3d9d2; max-width: 640px; margin: 0 auto 34px; font-size: 1.15rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 22px; max-width: 680px; margin: 40px auto 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
label { font-weight: 700; color: var(--navy); display: block; margin-bottom: 8px; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--sans);
  border: 2px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 140px; resize: vertical; }
.form-success {
  display: none;
  background: #eef5ef;
  border: 2px solid var(--green);
  color: var(--green);
  font-weight: 700;
  border-radius: 8px;
  padding: 18px 22px;
  text-align: center;
}

/* ---------- About page ---------- */
.about-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.about-split .photo-block {
  background:
    linear-gradient(rgba(13,26,44,0.25), rgba(13,26,44,0.25)),
    repeating-linear-gradient(45deg, var(--navy) 0 18px, #1a2f4d 18px 36px);
  border-radius: var(--radius);
  min-height: 380px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
  text-align: center;
  padding: 24px;
}
.values-list { list-style: none; margin-top: 30px; }
.values-list li { padding: 12px 0 12px 38px; position: relative; font-size: 1.05rem; }
.values-list li::before { content: "★"; position: absolute; left: 0; color: var(--gold); font-size: 1.2rem; }
.values-list li strong { color: var(--navy); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy-deep); color: #aebacd; padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 44px;
  margin-bottom: 44px;
}
.footer-grid h4 { color: var(--white); font-family: var(--sans); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer-grid a { color: #aebacd; text-decoration: none; display: block; padding: 5px 0; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand p { font-size: 0.92rem; margin-top: 12px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid #233650;
  padding-top: 24px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  padding: 12px 16px;
  z-index: 99;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}
.sticky-cta .btn { width: 100%; text-align: center; padding: 14px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    linear-gradient(rgba(13, 26, 44, 0.9), rgba(13, 26, 44, 0.92)),
    repeating-linear-gradient(45deg, #16273f 0 14px, #12233a 14px 28px);
  color: var(--white);
  text-align: center;
  padding: 72px 0 60px;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: #cfd8e6; max-width: 680px; margin: 16px auto 0; font-size: 1.15rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 22px;
    box-shadow: var(--shadow-lg);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 13px 2px; width: 100%; border-bottom: 1px solid #233650; }
  .nav-cta { margin-top: 14px; text-align: center; }
  .about-split { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: block; }
  body { padding-bottom: 70px; }
}
