/* ============================================================
   familyrootsinfo.com — Styles
   Palette: Ivory | Burgundy | Sepia | Forest Green | Antique Gold
   ============================================================ */

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

:root {
  --ivory:     #F8F3E8;
  --ivory-dk:  #EFE7D4;
  --cream:     #FDFAF3;
  --burg:      #6B1B2A;
  --burg-lt:   #8E2438;
  --burg-dim:  #3D0F18;
  --sepia:     #7A5C3A;
  --sepia-lt:  #A07848;
  --forest:    #2A4A2E;
  --gold:      #B08A3A;
  --gold-lt:   #CCA84E;
  --text:      #2C2016;
  --text-mid:  #5C4830;
  --text-lt:   #8A7060;
  --border:    #D8CAA8;
  --border-dk: #C0AA7A;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.75;
}

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

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
  background: var(--burg);
  color: #f0d8d8;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  padding: 9px 20px;
  letter-spacing: 0.01em;
}
.disclaimer-bar a { color: #fdd; text-decoration: underline; }

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--burg-dim);
  border-bottom: 2px solid var(--gold);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-brand {
  font-size: 1.05rem;
  color: var(--gold-lt);
  letter-spacing: 0.06em;
  font-weight: normal;
}
.site-brand span { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-left: 4px; }
nav { display: flex; }
nav a {
  font-family: Arial, sans-serif;
  font-size: 0.81rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.65);
  padding: 22px 13px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
nav a:hover { color: var(--gold-lt); border-bottom-color: var(--gold-lt); }

/* ── HERO ── */
.hero {
  background: var(--burg-dim);
  padding: 96px 32px 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(176,138,58,0.06) 48px, rgba(176,138,58,0.06) 49px),
    repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(176,138,58,0.06) 48px, rgba(176,138,58,0.06) 49px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent, var(--ivory));
}
.hero-eyebrow {
  display: inline-block;
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 26px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '—';
  margin: 0 10px;
  opacity: 0.5;
}
.hero h1 {
  position: relative;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  color: var(--ivory);
  font-weight: normal;
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero h1 em { color: var(--gold-lt); font-style: normal; }
.hero-sub {
  position: relative;
  font-family: Arial, sans-serif;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.55);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.85;
}
.hero-ornament {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold);
  font-size: 1.1rem;
  opacity: 0.7;
}
.hero-ornament::before,
.hero-ornament::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

/* ── QUICK NAV ── */
.quick-nav {
  background: var(--ivory-dk);
  border-bottom: 1px solid var(--border);
  padding: 13px 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}
.quick-nav a {
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-mid);
  border: 1px solid var(--border-dk);
  padding: 5px 16px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.quick-nav a:hover {
  background: var(--burg);
  color: var(--gold-lt);
  border-color: var(--burg);
}

/* ── SECTION BASE ── */
section { padding: 84px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: normal;
  color: var(--burg);
  margin-bottom: 16px;
  line-height: 1.2;
}
.title-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 38px;
}
.title-rule::before {
  content: '';
  width: 44px;
  height: 2px;
  background: var(--gold);
}
.title-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── SPLIT ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split-text p {
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text-lt);
  margin-bottom: 18px;
  line-height: 1.85;
}

/* ── HERITAGE BOX ── */
.heritage-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-top: 4px solid var(--burg);
  padding: 36px 32px;
  position: relative;
}
.heritage-box::before {
  content: '';
  position: absolute;
  top: 10px; left: 10px; right: -10px; bottom: -10px;
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: -1;
}
.heritage-box h3 {
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--burg);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.heritage-box ul {
  list-style: none;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--text-mid);
}
.heritage-box ul li::before {
  content: '\2767  ';
  color: var(--gold);
  font-size: 0.75rem;
}

/* ── STAT ROW ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 52px;
}
.stat-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--burg);
  padding: 28px 18px;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat-card.visible { opacity: 1; transform: translateY(0); }
.stat-num {
  font-size: 2.5rem;
  color: var(--burg);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: normal;
}
.stat-num sup { font-size: 1.1rem; color: var(--gold); }
.stat-label {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--text-lt);
  text-transform: uppercase;
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.feature-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.feature-card.visible { opacity: 1; transform: translateY(0); }
.feature-num {
  font-size: 2.2rem;
  color: var(--border-dk);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: normal;
}
.feature-card h4 {
  font-size: 1rem;
  font-weight: normal;
  color: var(--burg);
  margin-bottom: 10px;
}
.feature-card p {
  font-family: Arial, sans-serif;
  font-size: 0.87rem;
  color: var(--text-lt);
  line-height: 1.75;
}

/* ── ALT BG ── */
.bg-dk { background: var(--burg-dim); }
.bg-dk .section-title { color: var(--gold-lt); }
.bg-dk .section-eyebrow { color: var(--gold); }
.bg-dk .title-rule::before { background: var(--gold); }
.bg-dk .title-rule::after { background: rgba(255,255,255,0.1); }
.bg-dk .split-text p { color: rgba(255,255,255,0.6); }

.bg-warm { background: var(--ivory-dk); }

/* ── RECORDS GRID ── */
.records-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.record-item {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(176,138,58,0.25);
  border-left: 4px solid var(--gold);
  padding: 24px 22px;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.record-item.visible { opacity: 1; transform: translateX(0); }
.record-item h4 {
  font-size: 0.96rem;
  color: var(--ivory);
  margin-bottom: 8px;
  font-weight: normal;
}
.record-item p {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}

/* ── STEPS ── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 52px;
  position: relative;
}
.steps-row::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
}
.step-item {
  text-align: center;
  padding: 0 12px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step-item.visible { opacity: 1; transform: translateY(0); }
.step-circle {
  width: 52px;
  height: 52px;
  border: 2px solid var(--border-dk);
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--burg);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
  font-weight: normal;
}
.step-item h4 {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.step-item p {
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-lt);
  line-height: 1.65;
}

/* ── TIPS ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.tip-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 28px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tip-card.visible { opacity: 1; transform: translateY(0); }
.tip-tag {
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.tip-card h4 {
  font-size: 1rem;
  font-weight: normal;
  color: var(--burg);
  margin-bottom: 10px;
}
.tip-card p {
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
  color: var(--text-lt);
  line-height: 1.75;
}

/* ── THREE COL ── */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.col-block {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.col-block.visible { opacity: 1; transform: translateY(0); }
.col-block h3 {
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burg);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.col-block ul { list-style: none; font-family: Arial, sans-serif; font-size: 0.87rem; }
.col-block ul li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.col-block ul li a { color: var(--text-lt); transition: color 0.2s; }
.col-block ul li a:hover { color: var(--burg); }
.col-block p { font-family: Arial, sans-serif; font-size: 0.87rem; color: var(--text-lt); line-height: 1.8; }

/* ── FORM ── */
.form-section {
  background: var(--cream);
  border-top: 3px solid var(--burg);
}
.form-section .section-inner { max-width: 660px; }
.form-title {
  font-size: 1.9rem;
  font-weight: normal;
  color: var(--burg);
  margin-bottom: 8px;
}
.form-sub {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text-lt);
  margin-bottom: 36px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-family: Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group input {
  padding: 13px 15px;
  border: 1px solid var(--border-dk);
  background: var(--ivory);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--burg); }
.form-btn {
  margin-top: 6px;
  padding: 14px 44px;
  background: var(--burg);
  color: var(--gold-lt);
  border: none;
  font-family: Arial, sans-serif;
  font-size: 0.87rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.25s;
}
.form-btn:hover { background: var(--burg-lt); }

/* ── FOOTER ── */
footer {
  background: var(--burg-dim);
  border-top: 2px solid var(--gold);
  color: rgba(255,255,255,0.55);
  padding: 60px 32px 28px;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-size: 1rem;
  color: var(--gold-lt);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer-desc {
  font-family: Arial, sans-serif;
  font-size: 0.83rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.footer-contact {
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  line-height: 2;
}
.footer-contact a { color: var(--gold-lt); }
.footer-col h4 {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; font-family: Arial, sans-serif; font-size: 0.85rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--gold-lt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
}
.footer-bottom a { color: rgba(255,255,255,0.4); margin-left: 16px; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold-lt); }

/* ── ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .feature-grid, .tips-grid { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .steps-row::before { display: none; }
  .records-grid { grid-template-columns: 1fr; }
  .three-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  section { padding: 56px 20px; }
  .stat-row, .form-grid, .feature-grid, .tips-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 20px 56px; }
  .steps-row { grid-template-columns: 1fr; }
}
