/* ============ Dorothy Joy Guides — warm, faith-and-family Southwestern ============ */

:root {
  --cream: #F5F0E6;
  --cream-card: #FFFDF8;
  --brown-deep: #4A2F1B;
  --brown: #8B5E3C;
  --brown-dark: #6B4428;
  --gold: #E8C87A;
  --gold-deep: #A67C2E;
  --terracotta: #B0563A;
  --terracotta-dark: #94452D;
  --sage: #9CAF88;
  --sage-dark: #6F7A5E;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(74, 47, 27, 0.10);
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Nunito Sans', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--brown-deep);
  line-height: 1.7;
  font-size: 17px;
}

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

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

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 2px 18px rgba(74, 47, 27, 0.12);
  padding: 8px 0;
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  min-width: 0;
}
.brand-mark {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--gold);
  border-radius: 50%;
  overflow: hidden;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.brand-name {
  font-family: var(--font-head);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  color: #FFFDF8;
  text-align: center;
  transition: color 0.3s ease;
}
.site-header.scrolled .brand-name { color: var(--brown-deep); }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  color: #FFFDF8;
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  transition: color 0.2s ease;
}
.site-header.scrolled .site-nav a { color: var(--brown-deep); }
.site-nav a:hover { color: var(--gold); }
.site-header.scrolled .site-nav a:hover { color: var(--terracotta); }
.site-nav .nav-cta {
  background: var(--terracotta);
  color: #FFFDF8 !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.site-nav .nav-cta:hover { background: var(--terracotta-dark); color: #FFFDF8 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 60;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: #FFFDF8;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.3s ease;
}
.site-header.scrolled .nav-toggle span,
.nav-toggle.open span { background: var(--brown-deep); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(45, 26, 12, 0.55) 0%, rgba(45, 26, 12, 0.38) 55%, rgba(45, 26, 12, 0.6) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 140px 24px 80px;
  text-align: center;
  color: #FFFDF8;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  font-weight: 600;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 34px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(74, 47, 27, 0.15);
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--brown-deep); }
.btn-gold:hover { background: #F0D494; }
.btn-outline {
  background: rgba(255, 253, 248, 0.08);
  color: #FFFDF8;
  border: 2px solid #FFFDF8;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.btn-outline:hover { background: rgba(255, 253, 248, 0.18); }
.btn-terracotta { background: var(--terracotta); color: #FFFDF8; }
.btn-terracotta:hover { background: var(--terracotta-dark); }
.btn-brown { background: var(--brown); color: #FFFDF8; }
.btn-brown:hover { background: var(--brown-dark); }
.btn-full { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.eyebrow {
  font-size: 13.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 12px;
}
.section h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-lede { max-width: 640px; font-size: 17.5px; color: #5C4128; margin-bottom: 8px; }

/* ---------- Two paths ---------- */
.two-paths { background: var(--cream); }
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}
.path-card {
  background: var(--cream-card);
  border: 1px solid rgba(232, 200, 122, 0.6);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
}
.path-card h3 { font-size: 1.55rem; margin: 16px 0 12px; }
.path-card p { color: #5C4128; margin-bottom: 26px; }
.path-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.badge-finder { background: rgba(176, 86, 58, 0.14); color: var(--terracotta-dark); }
.badge-self { background: rgba(139, 94, 60, 0.14); color: var(--brown-dark); }

/* ---------- How it works ---------- */
.how-it-works { background: var(--brown-deep); color: var(--cream); }
.how-it-works h2 { color: #FFFDF8; }
.how-it-works .eyebrow { color: var(--gold); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  counter-reset: step;
}
.step {
  background: rgba(245, 240, 230, 0.06);
  border: 1px solid rgba(232, 200, 122, 0.35);
  border-radius: var(--radius);
  padding: 34px 28px;
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-deep);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 18px;
}
.step h3 { color: var(--gold); font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: rgba(245, 240, 230, 0.85); font-size: 16px; }

/* ---------- Product sections ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
}
.product-alt { background: #EFE7D6; }
.product-cover img {
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(74, 47, 27, 0.22);
  border: 6px solid #FFFDF8;
  width: 100%;
  height: auto;
}
.product-info h2 { margin: 14px 0 12px; }
.product-info .section-lede { margin-bottom: 26px; }

.buy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.buy-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--cream-card);
  border: 1px solid rgba(139, 94, 60, 0.22);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 4px 16px rgba(74, 47, 27, 0.07);
  flex-wrap: wrap;
}
.buy-item h3 { font-size: 1.15rem; margin-bottom: 2px; }
.buy-item p { font-size: 15px; color: #6B5236; }
.buy-note { margin-top: 18px; font-size: 14.5px; color: var(--brown); font-style: italic; }

/* ---------- About ---------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text p { margin-bottom: 16px; color: #5C4128; }
.about-quote {
  border-left: 4px solid var(--gold);
  padding-left: 18px;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown-dark) !important;
}
.about-photo img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

/* ---------- Contact ---------- */
.contact { background: #EFE7D6; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-intro p { margin-bottom: 20px; color: #5C4128; }
.contact-intro img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-top: 12px;
  width: 100%;
  height: auto;
}
.contact-form {
  background: var(--cream-card);
  border: 1px solid rgba(232, 200, 122, 0.6);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  margin-bottom: 6px;
  color: var(--brown-dark);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(139, 94, 60, 0.35);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--brown-deep);
  background: #FFFDF8;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(176, 86, 58, 0.15);
}
.contact-form textarea { resize: vertical; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown-deep);
  color: rgba(245, 240, 230, 0.85);
  padding: 56px 0 40px;
  text-align: center;
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer-tag { margin-bottom: 20px; }
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.footer-nav a {
  color: rgba(245, 240, 230, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.footer-nav a:hover { color: var(--gold); }
.site-footer p { font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .paths-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 36px; }
  .product-cover { max-width: 420px; margin: 0 auto; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 14px 28px rgba(74, 47, 27, 0.16);
    padding: 16px 24px 22px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    color: var(--brown-deep) !important;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(139, 94, 60, 0.15);
    font-size: 17px;
  }
  .site-nav .nav-cta {
    border-bottom: none;
    margin-top: 10px;
    text-align: center;
  }
  .site-header { background: rgba(255, 253, 248, 0.97); padding: 10px 0; }
  .brand-name { color: var(--brown-deep); }
  .nav-toggle span { background: var(--brown-deep); }
  .hero { min-height: 88vh; }
  .section { padding: 64px 0; }
  .buy-list li { flex-direction: column; align-items: stretch; text-align: left; }
  .buy-list .btn { width: 100%; }
}
