/* Haventons — base stylesheet */

:root {
  --green-deep: #3F5443;
  --green-darker: #2E3F31;
  --clay: #C97B52;
  --clay-light: #F2A773;
  --clay-dark: #AD6440;
  --cream: #FBF6EE;
  --cream-dark: #F1E8D8;
  --gold: #E3A869;
  --ink: #2A3328;
  --ink-muted: #5B6B57;
  --white: #FFFFFF;
  --border: #E4DCCB;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(42, 51, 40, 0.08);
  --shadow-md: 0 14px 40px rgba(42, 51, 40, 0.14);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--green-darker);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-deep);
  color: var(--white);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--clay); color: var(--white); }
.btn-primary:hover { background: var(--clay-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; border-color: var(--green-deep); color: var(--green-deep); }
.btn-outline:hover { background: var(--green-deep); color: var(--white); }
.btn-light { background: var(--cream); color: var(--green-darker); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }
.btn-block { display: block; width: 100%; text-align: center; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { border-radius: 50%; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; color: var(--green-darker); }
.brand-sub { font-size: 0.65rem; letter-spacing: 0.18em; color: var(--clay); text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav > ul { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.site-nav > ul > li > a:hover,
.site-nav > ul > li > a.active { color: var(--clay-dark); border-bottom-color: var(--clay); }
.nav-cta { white-space: nowrap; }

.has-dropdown { display: flex; align-items: center; }
.has-dropdown > a::after { content: ' \25BE'; font-size: 0.7em; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 230px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.15s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink);
}
.dropdown li a:hover, .dropdown li a.active { background: var(--cream); color: var(--clay-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--green-darker); display: block; }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46,63,49,0.88), rgba(46,63,49,0.55));
}
.hero-content { position: relative; z-index: 1; padding: 130px 0 110px; max-width: 680px; }
.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 600;
}
.hero h1 { color: var(--white); }
.hero p.lead { font-size: 1.15rem; color: rgba(255,255,255,0.9); max-width: 560px; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--gold); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.85); }

.page-hero {
  background: var(--green-deep);
  color: var(--white);
  padding: 90px 0 64px;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.88); max-width: 640px; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: 0.85rem; color: var(--gold); margin-bottom: 14px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--gold); }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-tint { background: var(--cream-dark); }
.section-dark { background: var(--green-deep); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clay);
}
.section-head.align-left { margin-left: 0; text-align: left; }

/* Grids & cards */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.card h3 { margin-bottom: 10px; }
.icon-badge {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--cream-dark);
  color: var(--clay-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-split.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.feature-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}
.feature-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}

/* Program cards */
.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}
.program-card img { height: 210px; object-fit: cover; width: 100%; }
.program-card-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program-card-body .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--cream-dark);
  color: var(--clay-dark);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.program-card-body .meta { font-size: 0.85rem; color: var(--ink-muted); margin-top: auto; }

/* Team / instructors */
.team-card { text-align: center; }
.team-card img { border-radius: var(--radius-md); aspect-ratio: 4/5; object-fit: cover; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.team-card .role { color: var(--clay-dark); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }

/* Testimonials */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border);
}
.testimonial p { font-style: italic; color: var(--ink); }
.testimonial .by { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial .by strong { font-family: var(--font-serif); font-size: 1.05rem; }
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }

/* Pricing */
.price-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--clay); box-shadow: var(--shadow-md); transform: translateY(-10px); position: relative; }
.price-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--clay); color: var(--white); font-size: 0.72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase;
}
.price-amount { font-family: var(--font-serif); font-size: 2.6rem; color: var(--green-darker); margin: 14px 0; }
.price-amount span { font-size: 1rem; color: var(--ink-muted); font-family: var(--font-sans); }
.price-card ul { text-align: left; margin: 22px 0; flex: 1; }
.price-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 0.92rem; }
.price-card ul li:last-child { border-bottom: none; }

/* FAQ */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--green-darker);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--clay); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--ink-muted); }

/* Schedule table */
.schedule-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.schedule-table th, .schedule-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 0.92rem; }
.schedule-table th { background: var(--green-deep); color: var(--white); font-weight: 600; }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td.level { color: var(--clay-dark); font-weight: 600; }

/* Forms */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--clay); outline-offset: 1px; }
.form-note { font-size: 0.82rem; color: var(--ink-muted); margin-top: 6px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-row input { width: auto; margin-top: 4px; }
.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.95rem; }
.alert-success { background: #E7F0E3; color: var(--green-darker); border: 1px solid #BFD7B6; }
.alert-error { background: #FBE9E3; color: #8A3B20; border: 1px solid #EFC2AC; }

/* CTA banner */
.cta-banner {
  background: linear-gradient(120deg, var(--green-deep), var(--green-darker));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { background: var(--green-darker); color: rgba(255,255,255,0.82); padding-top: 70px; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 50px; }
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-sub { color: var(--gold); }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; color: rgba(255,255,255,0.72); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; font-size: 0.85rem; }
.footer-col h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-contact ul li { color: rgba(255,255,255,0.78); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 10px; padding: 22px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.footer-disclaimer { max-width: 560px; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-muted); }
.badge-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.badge-list span { background: var(--cream-dark); color: var(--green-darker); padding: 6px 14px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; }
.divider { height: 1px; background: var(--border); margin: 50px 0; }
.legal-content h2 { margin-top: 2em; }
.legal-content h3 { margin-top: 1.4em; }
.legal-content ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal-content ul li { margin-bottom: 0.4em; }
.legal-meta { color: var(--ink-muted); font-size: 0.9rem; margin-bottom: 30px; }
.table-wrap { overflow-x: auto; }

/* Responsive */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-split { grid-template-columns: 1fr; }
  .feature-split.reverse .feature-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .has-dropdown { flex-direction: column; align-items: stretch; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; display: none; padding-left: 14px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { align-self: flex-start; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .hero-content { padding: 90px 0 70px; }
  .footer-bottom-inner { flex-direction: column; }
}
