/* ════════════════════════════════════════════════════════════════
   Yogi Consulting — shared styles for sub-pages
   (Business Financing, Privacy Policy, SMS Terms)
   Mirrors the design tokens and components used inline in index.html.
   ════════════════════════════════════════════════════════════════ */

:root {
  --brown-900: #2C1810;
  --brown-800: #3D2317;
  --brown-700: #4A2C1A;
  --brown-600: #5C3A22;
  --brown-500: #6B4226;
  --orange-700: #B8511A;
  --orange-600: #C75E1F;
  --orange-500: #D4722A;
  --orange-400: #E08A3E;
  --amber-500: #D4952B;
  --amber-400: #E5A93B;
  --amber-300: #F0C05E;
  --cream-100: #FDF8F0;
  --cream-200: #F8EFE0;
  --cream-300: #F0E2CC;
  --cream-400: #E6D3B3;
  --warm-white: #FFFBF5;
  --text-primary: #2C1810;
  --text-secondary: #5C3A22;
  --text-muted: #8B6B52;
  --ff-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --nav-height: 64px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: var(--nav-height);
}
body {
  font-family: var(--ff-body);
  color: var(--text-primary);
  background: var(--warm-white);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { color: var(--orange-600); }

/* ═══ NAVIGATION ═══ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  background: rgba(26, 14, 9, 0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224,138,62,0.12);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.nav__inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo-img { height: 36px; width: auto; flex-shrink: 0; object-fit: contain; }
.nav__name {
  font-family: var(--ff-heading); font-size: 1.1rem;
  font-weight: 600; color: var(--cream-100);
}
.nav__links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav__links a {
  font-family: var(--ff-body); font-size: 0.85rem; font-weight: 500;
  color: var(--cream-300); text-decoration: none; padding: 8px 14px;
  transition: color 0.2s ease; letter-spacing: 0.02em;
}
.nav__links a:hover { color: var(--orange-400); }
.nav__cta {
  font-size: 0.8rem !important; font-weight: 600 !important;
  color: var(--cream-100) !important; background: var(--orange-600);
  padding: 8px 20px !important; transition: background 0.3s ease;
  letter-spacing: 0.03em;
}
.nav__cta:hover { background: var(--brown-700) !important; color: var(--cream-100) !important; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--cream-200); margin: 5px 0; transition: all 0.3s ease;
}

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-block; font-family: var(--ff-body); font-weight: 600;
  font-size: 1rem; letter-spacing: 0.04em; color: var(--cream-100);
  background: var(--orange-600); border: none; padding: 16px 40px;
  cursor: pointer; text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
  background: var(--brown-700); transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(44,24,16,0.18);
}
.btn-primary:disabled {
  background: var(--cream-400); color: var(--text-muted);
  cursor: not-allowed; transform: none; box-shadow: none;
}
.section-label {
  font-family: var(--ff-body); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--orange-500); margin-bottom: 16px; display: block;
}

/* ═══ SUB-PAGE HERO ═══ */
.page-hero {
  background: var(--brown-900); color: var(--cream-100);
  padding: calc(var(--nav-height) + 80px) 0 80px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(199,94,31,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(212,114,42,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero__title {
  font-family: var(--ff-heading); font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.01em;
}
.page-hero__title em { font-style: normal; color: var(--orange-400); }
.page-hero__sub {
  font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--cream-300);
  max-width: 640px; line-height: 1.7; font-weight: 300;
}

/* ═══ CONTENT SECTIONS ═══ */
.section { padding: 90px 0; }
.section--cream { background: var(--cream-100); }
.section__title {
  font-family: var(--ff-heading); font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700; color: var(--brown-800); margin-bottom: 16px; line-height: 1.2;
}
.section__intro {
  font-size: 1.1rem; color: var(--text-secondary); max-width: 720px;
  line-height: 1.8; margin-bottom: 40px;
}

/* Feature grid for the financing page */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 16px;
}
.feature-card {
  padding: 36px 32px; background: var(--warm-white);
  border: 1px solid var(--cream-300);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(44,24,16,0.08); }
.feature-card__name {
  font-family: var(--ff-heading); font-size: 1.35rem; font-weight: 700;
  color: var(--brown-800); margin-bottom: 12px;
}
.feature-card__desc { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══ LEGAL / LONG-FORM CONTENT ═══ */
.legal { max-width: 820px; }
.legal h2 {
  font-family: var(--ff-heading); font-size: 1.6rem; font-weight: 700;
  color: var(--brown-800); margin: 44px 0 14px; line-height: 1.3;
}
.legal h3 {
  font-family: var(--ff-heading); font-size: 1.2rem; font-weight: 600;
  color: var(--brown-700); margin: 28px 0 10px;
}
.legal p { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 16px; }
.legal ul { margin: 0 0 16px 24px; }
.legal li { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 8px; }
.legal a { color: var(--orange-600); }
.legal__updated { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 8px; }
.legal__callout {
  background: var(--cream-200); border-left: 4px solid var(--orange-600);
  padding: 20px 24px; margin: 24px 0; font-size: 1.05rem;
  color: var(--brown-800); font-weight: 600; line-height: 1.6;
}

/* ═══ OPT-IN FORM ═══ */
.optin {
  max-width: 620px; background: var(--warm-white);
  border: 1px solid var(--cream-300); padding: 44px 40px;
  box-shadow: 0 16px 48px rgba(44,24,16,0.06);
}
.optin__title {
  font-family: var(--ff-heading); font-size: 1.6rem; font-weight: 700;
  color: var(--brown-800); margin-bottom: 8px;
}
.optin__lead { font-size: 1rem; color: var(--text-secondary); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--brown-700); margin-bottom: 6px;
}
.field input {
  width: 100%; font-family: var(--ff-body); font-size: 1rem;
  color: var(--text-primary); background: var(--cream-100);
  border: 1px solid var(--cream-400); padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus {
  outline: none; border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(212,114,42,0.15);
}
.consent {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 24px 0; padding: 18px 20px;
  background: var(--cream-100); border: 1px solid var(--cream-300);
}
.consent input[type="checkbox"] {
  margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0;
  accent-color: var(--orange-600); cursor: pointer;
}
.consent label { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; cursor: pointer; }
.consent label a { color: var(--orange-600); font-weight: 600; }
.optin__note { font-size: 0.8rem; color: var(--text-muted); margin-top: 16px; line-height: 1.6; }
.form-status { margin-top: 18px; font-size: 0.95rem; line-height: 1.6; min-height: 1.2em; }
.form-status--ok { color: #2E7D32; font-weight: 600; }
.form-status--err { color: var(--orange-700); font-weight: 600; }

/* ═══ FOOTER ═══ */
.footer { padding: 60px 0 40px; background: #1A0E09; text-align: center; }
.footer__brand {
  font-family: var(--ff-heading); font-size: 1.25rem; font-weight: 600;
  color: var(--cream-200); margin-bottom: 8px;
}
.footer__tagline {
  font-family: var(--ff-heading); font-style: italic; font-size: 0.95rem;
  color: var(--orange-400); margin-bottom: 24px;
}
.footer__links {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px; list-style: none;
}
.footer__links a {
  font-size: 0.85rem; color: var(--cream-300); text-decoration: none;
  transition: color 0.2s ease;
}
.footer__links a:hover { color: var(--orange-400); }
.footer__memorial {
  font-family: var(--ff-heading); font-style: italic; font-size: 0.9rem;
  color: var(--cream-400); opacity: 0.7; margin-bottom: 28px; line-height: 1.6;
}
.footer__line {
  width: 40px; height: 1px; background: rgba(224,138,62,0.3);
  border: none; margin: 0 auto 20px;
}
.footer__copy { font-size: 0.8rem; color: var(--text-muted); opacity: 0.5; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: 1fr; gap: 24px; max-width: 520px; }
}
@media (max-width: 768px) {
  .nav__links {
    display: none; flex-direction: column; position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: rgba(26,14,9,0.98); padding: 20px; gap: 4px;
    border-bottom: 1px solid rgba(224,138,62,0.12);
  }
  .nav__links a { padding: 12px 16px !important; font-size: 0.95rem !important; }
  .nav__toggle { display: block; }
  .nav:hover .nav__links,
  .nav__toggle:hover + .nav__links,
  .nav__links:hover { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .optin { padding: 32px 24px; }
}
