/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark: #1B3A2D;
  --green-mid: #2B5740;
  --green-light: #3D7A57;
  --cream: #FAF7F2;
  --cream-dark: #F0EAE0;
  --burgundy: #7A1A1A;
  --burgundy-light: #9E2525;
  --gold: #C9A84C;
  --gold-light: #E2C97B;
  --charcoal: #1A1A1A;
  --text-muted: #5C5C5C;
  --white: #FFFFFF;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(27, 58, 45, 0.12);
  --shadow-lg: 0 8px 48px rgba(27, 58, 45, 0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--green-dark);
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-family: 'Playfair Display', serif;
  color: var(--green-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

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

section { padding: 80px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(122, 26, 26, 0.35);
}
.btn-primary:hover {
  background: var(--burgundy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(122, 26, 26, 0.45);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(201, 168, 76, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}
.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-lg { padding: 18px 48px; font-size: 1.1rem; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(27, 58, 45, 0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  font-style: italic;
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--gold); }
.nav-cta .btn { padding: 10px 28px; font-size: 0.9rem; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: var(--green-dark);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,58,45,0.85) 40%, rgba(122,26,26,0.3) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.18);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.5rem;
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-top: 1.25rem;
}

/* ===== FOR WHOM ===== */
.for-whom { background: var(--cream); }
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}
.for-whom-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--cream-dark);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}
.for-whom-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.for-whom-card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.for-whom-card h3 {
  font-size: 1.05rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.for-whom-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== EXAMPLES ===== */
.examples { background: var(--green-dark); }
.examples .section-title { color: var(--white); }
.examples .section-label { color: var(--gold); }
.examples .section-subtitle { color: rgba(255,255,255,0.7); }
.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
}
.examples-main {
  grid-column: span 3;
}
.example-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  position: relative;
}
.example-img.wide { aspect-ratio: 4/3; }
.example-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.example-img:hover img { transform: scale(1.05); }
.example-caption {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

/* ===== PROGRAM ===== */
.program { background: var(--cream-dark); }
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 3rem;
}
.program-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.program-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
}
.program-list { list-style: none; }
.program-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(27,58,45,0.1);
}
.program-list li:last-child { border-bottom: none; }
.program-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--green-dark);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.program-item-title {
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}
.program-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.how { background: var(--cream); }
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 3rem;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--green-light), var(--gold));
  z-index: 0;
}
.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.how-step-num {
  width: 56px;
  height: 56px;
  background: var(--green-dark);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--green-dark);
}
.how-step h3 {
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.how-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== TRUST / AUTHOR ===== */
.trust { background: var(--cream-dark); }
.trust-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}
.trust-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.trust-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.trust-img::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid var(--gold);
  border-radius: calc(var(--radius-lg) + 8px);
  z-index: -1;
  opacity: 0.5;
}
.trust-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2rem 0;
}
.trust-fact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 3px solid var(--gold);
}
.trust-fact-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--green-dark);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.trust-fact-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.trust-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--green-light);
  padding-left: 1.25rem;
  line-height: 1.7;
  margin-top: 1.5rem;
}

/* ===== LEAD FORM ===== */
.form-section {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
}
.form-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
}
.form-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(201,168,76,0.05);
}
.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.form-left .section-title { color: var(--white); }
.form-left .section-label { color: var(--gold); }
.form-left .section-subtitle { color: rgba(255,255,255,0.72); }
.form-perks {
  list-style: none;
  margin-top: 2rem;
}
.form-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  padding: 8px 0;
}
.form-perks li::before {
  content: '✦';
  color: var(--gold);
  flex-shrink: 0;
}
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.form-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #D9D5CE;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: #FAFAF9;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(61,122,87,0.12);
}
.form-consent {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.form-consent a { color: var(--green-light); text-decoration: underline; }
.form-card .btn { width: 100%; margin-top: 1.25rem; }

/* ===== FAQ ===== */
.faq { background: var(--cream); }
.faq-list { margin-top: 3rem; max-width: 760px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid var(--cream-dark);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: left;
  gap: 16px;
}
.faq-question:hover { color: var(--green-light); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  color: var(--green-dark);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--green-dark);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--cream-dark);
  text-align: center;
  padding: 80px 0;
}
.final-cta .section-title { margin-bottom: 1rem; }
.final-cta p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.65);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--white);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.footer-brand span { color: var(--gold); }
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-legal {
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 560px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--charcoal);
  color: rgba(255,255,255,0.85);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-text {
  font-size: 0.875rem;
  line-height: 1.6;
  flex: 1;
  min-width: 280px;
}
.cookie-text a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: 'Lato', sans-serif;
  transition: all 0.2s ease;
}
.cookie-btn-accept {
  background: var(--gold);
  color: var(--green-dark);
}
.cookie-btn-accept:hover { background: var(--gold-light); }
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.25);
}
.cookie-btn-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ===== LEGAL PAGES ===== */
.legal-header {
  background: var(--green-dark);
  padding: 120px 0 60px;
}
.legal-header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}
.legal-header p {
  color: rgba(255,255,255,0.6);
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}
.legal-body h2 {
  font-size: 1.35rem;
  color: var(--green-dark);
  margin: 2.5rem 0 1rem;
}
.legal-body h3 {
  font-size: 1.1rem;
  color: var(--green-dark);
  margin: 1.75rem 0 0.75rem;
}
.legal-body p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.legal-body ul {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}
.legal-body ul li { margin-bottom: 0.4rem; }
.legal-nav {
  background: var(--green-dark);
  padding: 16px 0;
}
.legal-nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.legal-nav a {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--white);
  font-style: italic;
}
.legal-nav a span { color: var(--gold); }
.legal-nav-back {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.legal-nav-back:hover { color: var(--white); }
.legal-divider { margin: 0 8px; color: rgba(255,255,255,0.3); }

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 100vh;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}
.success-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.success-content {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}
.success-content h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.success-content p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.success-content .btn { margin: 0 auto; }

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  section { padding: 60px 0; }
  .program-grid { grid-template-columns: 1fr; }
  .program-img { order: -1; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-img { max-width: 320px; margin: 0 auto; }
  .form-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .how-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .examples-grid { grid-template-columns: 1fr; }
  .examples-main { grid-column: span 1; }
  .how-steps { grid-template-columns: 1fr; }
  .trust-facts { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .form-card { padding: 28px 20px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
  .nav-cta { display: none; }
}
