/* ===== VARIABLES ===== */
:root {
  --navy: #1e2d5a;
  --navy-light: #2a3f7e;
  --amber: #d98527;
  --amber-light: #e8962a;
  --bg: #faf8f4;
  --bg-alt: #f0ece3;
  --text: #1c1c1c;
  --text-secondary: #636363;
  --border: #ddd8cf;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 2px 20px rgba(30,45,90,0.09);
  --shadow-lg: 0 8px 40px rgba(30,45,90,0.14);
  --max: 1100px;
  --pad: clamp(1rem, 4vw, 1.5rem);
  --font-h: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ===== NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,248,244,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
  position: relative;
}
.nav-logo {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--amber); }
.nav-links {
  display: flex;
  gap: 1.75rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--amber);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--amber-light) !important; color: var(--white) !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('./images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}
.hero-content {
  position: relative;
  max-width: 680px;
  padding: 5rem var(--pad);
}
.hero-tag {
  display: inline-block;
  background: rgba(232,150,42,0.18);
  color: #f5ac47;
  border: 1px solid rgba(232,150,42,0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: normal; color: #f5ac47; }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  padding: 0.9rem 2.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }
.hero-note { font-size: 0.85rem; color: rgba(255,255,255,0.45); }

/* ===== SECTION BASE ===== */
section { padding: 5rem 0; }
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 3rem;
}

/* ===== FOR WHOM ===== */
.for-whom { background: var(--bg-alt); }
.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.for-whom-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.for-whom-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.for-whom-card h3 {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.for-whom-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== PROBLEM / SOLUTION ===== */
.problems { display: flex; flex-direction: column; gap: 1.25rem; max-width: 800px; }
.problem-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.problem-q {
  padding: 1.5rem;
  background: var(--bg-alt);
  border-right: 1px solid var(--border);
}
.problem-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.problem-a { padding: 1.5rem; }
.problem-a-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.problem-q p, .problem-a p { font-size: 0.925rem; color: var(--text); line-height: 1.65; }

/* ===== COURSE FORMAT ===== */
.course-format { background: var(--bg-alt); }
.format-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.format-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.format-image img { width: 100%; height: 420px; object-fit: cover; }
.format-list { display: flex; flex-direction: column; gap: 1.75rem; }
.format-item { display: flex; gap: 1rem; }
.format-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 3px;
}
.format-text h4 { font-size: 0.975rem; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.format-text p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ===== CURRICULUM ===== */
.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 1.25rem;
}
.curriculum-module {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.module-num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
}
.curriculum-module h3 {
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.curriculum-module p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== OUTCOMES ===== */
.outcomes { background: var(--navy); }
.outcomes .section-title { color: var(--white); }
.outcomes .section-lead { color: rgba(255,255,255,0.6); }
.outcomes-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.outcome-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.outcome-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(232,150,42,0.18);
  border: 1px solid rgba(232,150,42,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #f5ac47;
  margin-top: 3px;
}
.outcome-item p { font-size: 0.925rem; color: rgba(255,255,255,0.82); line-height: 1.6; }

/* ===== PRICING ===== */
.pricing { background: var(--bg-alt); }
.pricing .section-tag,
#faq .section-tag,
.lead-form-section .section-tag {
  display: block;
  text-align: center;
}
.pricing .section-title,
#faq .section-title,
.lead-form-section .section-title { text-align: center; }
.pricing .section-lead,
#faq .section-lead,
.lead-form-section .section-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.pricing-card {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.pricing-card-title {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.pricing-card-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.pricing-features { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.925rem;
  color: var(--text);
}
.pricing-feature-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: rgba(30,45,90,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--navy);
}
.pricing-cta-note { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.75rem; }

/* ===== FAQ ===== */
#faq .section-tag,
#faq .section-title,
#faq .section-lead { text-align: center; }
.faq-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-item { background: var(--white); border-top: 1px solid var(--border); }
.faq-item:first-child { border-top: none; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.15s;
  cursor: pointer;
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--navy);
  transition: transform 0.25s;
  user-select: none;
}
.faq-item.open .faq-question-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 1.5rem 1.25rem; }

/* ===== LEAD FORM ===== */
.lead-form-section { background: var(--navy); }
.lead-form-section .section-title { color: var(--white); }
.lead-form-section .section-lead { color: rgba(255,255,255,0.6); }
.lead-form-section .section-tag,
.lead-form-section .section-title,
.lead-form-section .section-lead { text-align: center; }
.lead-form {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.5rem;
}
.form-group input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  font-size: 0.925rem;
  color: var(--white);
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus { outline: none; border-color: var(--amber); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--amber);
}
.form-check label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
}
.form-check label a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.form-check label a:hover { color: #f5ac47; }
.form-error { display: none; font-size: 0.825rem; color: #ff8a8a; margin-top: 0.35rem; }

/* ===== FOOTER ===== */
.footer {
  background: #16223f;
  color: rgba(255,255,255,0.6);
  padding: 3.5rem 0 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-brand-name {
  font-family: var(--font-h);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.footer-brand-name span { color: var(--amber); }
.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  max-width: 260px;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}
.footer-col-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col-links a:hover { color: #f5ac47; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-requisites { font-size: 0.75rem; color: rgba(255,255,255,0.3); line-height: 1.75; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: right; }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 740px;
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  z-index: 1000;
  flex-wrap: wrap;
  transition: opacity 0.3s;
}
.cookie-banner.hidden { display: none; }
.cookie-text { flex: 1; font-size: 0.875rem; line-height: 1.55; min-width: 200px; }
.cookie-text a { color: #f5ac47; text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--amber);
  color: var(--white);
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s;
}
.cookie-accept:hover { background: var(--amber-light); }
.cookie-decline {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: background 0.2s;
}
.cookie-decline:hover { background: rgba(255,255,255,0.14); }

/* ===== LEGAL PAGES ===== */
.legal-header {
  background: var(--navy);
  padding: 2rem 0;
}
.legal-header .nav-logo { color: var(--white); }
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem var(--pad);
}
.legal-page h1 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.legal-date { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 2.5rem; }
.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.legal-page p { font-size: 0.925rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 0.75rem; }
.legal-page ul, .legal-page ol { list-style: disc; margin-left: 1.5rem; margin-bottom: 1rem; }
.legal-page li { font-size: 0.925rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 0.25rem; }
.legal-footer { background: var(--navy); padding: 2rem 0; }
.legal-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.legal-footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.legal-footer-links a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.legal-footer-links a:hover { color: #f5ac47; }

/* ===== SUCCESS PAGE ===== */
.success-page {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem var(--pad);
}
.success-box { max-width: 460px; }
.success-icon {
  width: 72px;
  height: 72px;
  background: rgba(30,45,90,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}
.success-box h1 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.success-box p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.btn-secondary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--navy-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem var(--pad);
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .format-split { grid-template-columns: 1fr; gap: 2.5rem; }
  .format-image img { height: 280px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .hero { min-height: 80vh; }
  .hero-content { padding: 3.5rem var(--pad); }
  .problem-item { grid-template-columns: 1fr; }
  .problem-q { border-right: none; border-bottom: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-copy { text-align: left; }
  .pricing-card { padding: 1.75rem; }
  .lead-form { padding: 1.75rem; }
}
