/* ==========================================================================
   Living Loved / WeLiveLoved.org — CONTRAST VARIANT
   Palette: warm white, rich cream, deep forest green, terracotta, deep charcoal
   Same layout/structure as the primary sage-cream-gold version — palette only.
   ========================================================================== */

:root {
  --warm-white: #FBF7F1;
  --soft-cream: #EFE1CC;
  --sage: #4B6B45;
  --sage-dark: #33492E;
  --gold: #C1633D;
  --charcoal: #2E2A24;
  --charcoal-soft: #55503F;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: 'Lato', 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

h1 { font-size: 3.1rem; }
h2 { font-size: 2.35rem; }
h3 { font-size: 1.45rem; }

p { margin: 0 0 20px; }

a { color: var(--sage-dark); text-decoration: none; }
a:hover { color: var(--gold); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 100px 0;
}

.section--tight { padding: 70px 0; }

.section--cream { background: var(--soft-cream); }

.section--center { text-align: center; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section--center .eyebrow,
.text-center .eyebrow { justify-content: center; }

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 38px;
  height: 3px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ---------- Top bar (social + accent line) ---------- */

.top-bar {
  background: var(--charcoal);
  padding: 9px 0;
  position: relative;
}

.top-bar::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--sage) 55%, var(--sage-dark));
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
}

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: var(--soft-cream);
  opacity: 0.85;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.top-bar-social a:hover {
  background: var(--gold);
  color: var(--charcoal);
  opacity: 1;
  transform: translateY(-2px);
}

.top-bar-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 18px 44px;
  border-radius: 999px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border: 2px solid var(--sage);
  background: var(--sage);
  color: var(--warm-white);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  margin: 6px 10px 6px 0;
  box-shadow: 0 14px 28px rgba(51,73,46,0.32);
}

.btn:hover {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--warm-white);
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(51,73,46,0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--charcoal);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--warm-white);
  box-shadow: 0 16px 30px rgba(193,99,61,0.3);
}

.btn-row { margin-top: 12px; }

/* ---------- Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(46,42,36,0.08);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.wordmark span { color: var(--sage-dark); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--charcoal-soft);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding-bottom: 4px;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a.active:not(.nav-cta)::after,
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-links a.active,
.nav-links a:hover { color: var(--sage-dark); }

.nav-links a.nav-cta {
  background: var(--sage);
  color: var(--warm-white) !important;
  padding: 10px 24px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-links a.nav-cta:hover {
  background: var(--sage-dark);
  color: var(--warm-white) !important;
  transform: translateY(-2px);
}

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

@media (max-width: 820px) {
  .nav-toggle-label {
    display: block;
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--charcoal);
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--warm-white);
    padding: 10px 28px 24px;
    gap: 16px;
    display: none;
    border-bottom: 1px solid rgba(46,42,36,0.08);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 90px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 { font-size: 4.3rem; }

.hero-images {
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
}

.hero-images::before {
  content: '';
  position: absolute;
  top: -30px;
  right: 2%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--sage), var(--gold) 130%);
  opacity: 0.4;
  border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  z-index: 0;
}

.hero-images::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 4%;
  width: 160px;
  height: 160px;
  background: var(--gold);
  opacity: 0.22;
  border-radius: 60% 40% 35% 65% / 55% 45% 55% 45%;
  z-index: 0;
}

.hero-images img {
  position: relative;
  z-index: 1;
  border-radius: 6px;
  box-shadow: 0 24px 48px rgba(46,42,36,0.18);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-images { justify-content: center; }
}

/* ---------- Stat bar ---------- */

.stat-bar {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-soft) 140%);
  padding: 68px 0;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  text-align: center;
}

.stat-item { position: relative; }

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(193,99,61,0.35);
  display: none;
}

@media (min-width: 700px) {
  .stat-item:not(:last-child)::after { display: block; }
}

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 10px;
  line-height: 1.15;
}

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--soft-cream);
  opacity: 0.9;
}

/* ---------- Two column ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.two-col.reverse .col-img { order: 2; }

.col-img img {
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(46,42,36,0.10);
}

.cover-pair {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 10px 12%;
}

.cover-pair img {
  border-radius: 4px;
}

.cover-pair .cover-back {
  width: 52%;
  margin-right: -20%;
  box-shadow: 0 18px 36px rgba(46,42,36,0.14);
  position: relative;
  z-index: 1;
}

.cover-pair .cover-front {
  width: 58%;
  box-shadow: 0 26px 50px rgba(46,42,36,0.22);
  position: relative;
  z-index: 2;
}

@media (max-width: 860px) {
  .cover-pair { padding-left: 8%; }
}

@media (max-width: 860px) {
  .two-col, .two-col.reverse .col-img { grid-template-columns: 1fr; order: initial; }
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Longing / list ---------- */

.longing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sage-dark);
}

.longing-list li { margin-bottom: 10px; }

/* ---------- Scripture banner ---------- */

.scripture-banner {
  background: linear-gradient(120deg, var(--sage-dark) 0%, var(--sage) 100%);
  color: var(--warm-white);
  padding: 84px 0;
  text-align: center;
}

.scripture-banner .divider {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 30px;
}

.scripture-banner p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  max-width: 740px;
  margin: 0 auto 18px;
  line-height: 1.45;
}

.scripture-banner cite {
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--warm-white);
  border: 1px solid rgba(46,42,36,0.08);
  border-left: 6px solid var(--gold);
  border-radius: 6px;
  padding: 36px 32px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(46,42,36,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(46,42,36,0.16);
  border-left-color: var(--sage-dark);
}

.testimonial-card .quote-mark {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.testimonial-card p.quote {
  font-style: italic;
  color: var(--charcoal-soft);
  margin-bottom: 16px;
}

.testimonial-card .name {
  font-weight: 700;
  color: var(--charcoal);
}

.testimonial-card .role {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

/* ---------- Cards (resources / topics) ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

.resource-card {
  background: var(--warm-white);
  border-radius: 6px;
  border-top: 6px solid var(--sage);
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(46,42,36,0.08);
  text-align: center;
  padding: 40px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.resource-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 26px 48px rgba(46,42,36,0.18);
  border-top-color: var(--gold);
}

.resource-card img {
  margin: 0 auto 24px;
  max-width: 220px;
  transition: transform 0.35s ease;
}

.resource-card:hover img {
  transform: scale(1.05);
}

.resource-card .tag {
  display: inline-block;
  background: var(--soft-cream);
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.topic-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
}

.topic-list li {
  background: var(--warm-white);
  border: 1px solid rgba(46,42,36,0.1);
  border-left: 4px solid var(--sage);
  border-radius: 6px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--charcoal-soft);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.topic-list li:hover {
  transform: translateX(4px);
  border-left-color: var(--gold);
}

/* ---------- Credentials ---------- */

.credentials-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credentials-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(46,42,36,0.1);
}

.credentials-list li:last-child { border-bottom: none; }

/* ---------- Contact form ---------- */

.contact-form {
  max-width: 620px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(46,42,36,0.2);
  border-radius: 4px;
  background: var(--warm-white);
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.form-note {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  margin-top: -6px;
}

.social-row {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  justify-content: center;
}

.social-row a {
  font-weight: 700;
  color: var(--sage-dark);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--soft-cream);
  padding: 60px 0 36px;
  text-align: center;
}

.site-footer .footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--warm-white);
  margin-bottom: 18px;
}

.site-footer .footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0 0 20px;
}

.site-footer .footer-links a {
  color: var(--soft-cream);
  opacity: 0.85;
  font-size: 0.9rem;
}

.site-footer .footer-links a:hover { color: var(--gold); opacity: 1; }

.site-footer .footer-social {
  margin-bottom: 20px;
}

.site-footer .footer-social a {
  color: var(--gold);
  font-weight: 700;
  margin: 0 10px;
}

.site-footer .footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.max-prose { max-width: 720px; margin-left: auto; margin-right: auto; }
