:root {
  --navy: #0C1929;
  --gold: #B8956A;
  --ivory: #FAF8F5;
  --navy-light: #1a2d42;
  --text: #2c3e50;
  --text-muted: #5a6b7d;
  --white: #ffffff;
  --border: #e8e4df;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ivory);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.02em;
}

.logo span { color: var(--gold); }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--ivory);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.main-nav a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ivory);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,25,41,0.92) 0%, rgba(12,25,41,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 4rem 1.5rem;
  margin: 0 auto 0 max(1.5rem, calc((100% - 1140px) / 2 + 1.5rem));
}

.hero-label {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
}

.hero h1 { color: var(--ivory); margin-bottom: 1rem; }

.hero p {
  color: rgba(250,248,245,0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--ivory);
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.trust-bar strong { color: var(--navy); }

/* Sections */
section { padding: 4.5rem 0; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-header { margin-bottom: 2.5rem; max-width: 720px; }

.bg-white { background: var(--white); }
.bg-navy { background: var(--navy); color: var(--ivory); }
.bg-navy h2, .bg-navy h3 { color: var(--ivory); }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.bg-navy .stat-item .label { color: rgba(250,248,245,0.7); }

/* Pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  border-top: 3px solid var(--gold);
}

.pillar-card .module-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

/* Method steps */
.method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.method-step {
  position: relative;
  padding: 1.5rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
}

.method-step::before {
  counter-increment: step;
  content: "Plenary " counter(step);
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

/* Image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.image-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s;
}

.image-card:hover img { transform: scale(1.03); }

.image-card figcaption {
  padding: 0.75rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Programs preview */
.programs-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 1.75rem;
}

.program-card h3 { font-size: 1.2rem; }

.program-card .duration {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* FAQ mini */
.faq-list { max-width: 800px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.faq-item h3 { font-size: 1.05rem; font-family: 'Inter', sans-serif; font-weight: 600; }

/* Disclaimer box */
.disclaimer-box {
  background: #f0ece6;
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 2rem 0;
}

/* Clarification banner */
.clarification-banner {
  background: var(--navy-light);
  color: var(--ivory);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  margin: 2rem 0;
}

.clarification-banner h2 { color: var(--gold); font-size: 1.3rem; }

/* Page header */
.page-header {
  background: var(--navy);
  padding: 3.5rem 0;
  text-align: center;
}

.page-header h1 { color: var(--ivory); }
.page-header p { color: rgba(250,248,245,0.8); margin-top: 0.75rem; }

/* Content prose */
.prose { max-width: 800px; }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 1rem 0 1.25rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; }

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.content-grid img {
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(12,25,41,0.12);
}

/* Program detail */
.program-detail {
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.program-detail:not(:has(img)),
.program-detail.program-detail-full {
  grid-template-columns: 1fr;
}

.program-detail:not(:has(img)) > div,
.program-detail.program-detail-full > div {
  max-width: none;
}

.program-detail img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 2px;
}

.program-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.85rem;
}

.program-meta span {
  background: var(--ivory);
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--border);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body { padding: 1.5rem; }

.service-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.checkbox-group input { width: auto; margin-top: 0.25rem; }

.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

.contact-info {
  background: var(--navy);
  color: var(--ivory);
  padding: 2rem;
}

.contact-info h3 { color: var(--gold); }
.contact-info p { margin-bottom: 0.75rem; font-size: 0.95rem; }
.contact-info a { color: var(--gold); }

.contact-info img {
  margin-top: 1.5rem;
  border-radius: 2px;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(250,248,245,0.75);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo { display: block; margin-bottom: 1rem; }

.footer-grid h4 {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: rgba(250,248,245,0.75); }
.footer-grid a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(184,149,106,0.3);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.footer-disclaimer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: rgba(250,248,245,0.55);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--ivory);
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: none;
}

.cookie-banner.active { display: block; }

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cookie-inner p { font-size: 0.9rem; flex: 1; min-width: 280px; }

.cookie-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.cookie-buttons button {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
}

.cookie-buttons .btn-accept { background: var(--gold); color: var(--navy); }

.cookie-customise {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184,149,106,0.3);
}

.cookie-customise.active { display: block; }

.cookie-customise label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page h1 { margin-bottom: 1rem; }

/* Legal pages */
.legal-content { padding: 3rem 0 4rem; }
.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; font-size: 1.5rem; }
.legal-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 1.15rem; }

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-section h2 { color: var(--ivory); margin-bottom: 1rem; }
.cta-section p { color: rgba(250,248,245,0.8); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Responsive */
@media (max-width: 900px) {
  .content-grid, .contact-layout, .program-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
  .main-nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem;
  }
  .main-nav.open ul { flex-direction: column; gap: 0.75rem; }
  .nav-toggle { display: block; }
  .hero-content { margin: 0 auto; text-align: center; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
