@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #16213e;
  --navy-deep: #0e1628;
  --cream:   #f6f0e4;
  --cream-soft: #fdf9f3;
  --gold:    #c4882c;
  --gold-light: #e0a84a;
  --red-berry: #b53630;
  --text:    #1e1e2e;
  --text-muted: #5c5c74;
  --white:   #ffffff;
  --border:  #ddd4c0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --section-pad: clamp(48px, 8vw, 96px);
  --container:   1120px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
}

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

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(22, 33, 62, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.25); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo span { color: var(--gold-light); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--navy-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 64px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,22,40,0.92) 40%, rgba(14,22,40,0.6) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: var(--section-pad) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196,136,44,0.18);
  border: 1px solid rgba(196,136,44,0.4);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.hero-badge::before { content: '✦'; font-size: 11px; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-desc {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.hero-trust-item .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}

.form-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-card-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream-soft);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196,136,44,0.15);
  background: var(--white);
}
.form-group input::placeholder { color: #b0a898; }

.form-consent {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 12px;
}
.form-consent a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
.form-consent a:hover { text-decoration-color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  width: 100%;
  margin-top: 20px;
  font-size: 16px;
  padding: 15px;
}
.btn-primary:hover {
  background: #b87d25;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,136,44,0.4);
}
.btn-primary:active { transform: translateY(0); }

.section-why { padding: var(--section-pad) 0; background: var(--cream-soft); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.why-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(22,33,62,0.1); }
.why-icon { font-size: 32px; margin-bottom: 16px; line-height: 1; }
.why-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.section-gallery { padding: var(--section-pad) 0; background: var(--navy); }
.section-gallery .section-title { color: var(--white); }
.section-gallery .section-subtitle { color: rgba(255,255,255,0.6); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.gallery-item { border-radius: 12px; overflow: hidden; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.tall { grid-row: span 2; min-height: 400px; }
.gallery-item:not(.tall) { min-height: 190px; }
.gallery-label {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

.section-format { padding: var(--section-pad) 0; background: var(--cream-soft); }

.format-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 48px;
}
.format-img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(22,33,62,0.15); }
.format-img img { width: 100%; height: 460px; object-fit: cover; }
.format-steps { display: flex; flex-direction: column; gap: 28px; }

.format-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.step-content p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.section-program { padding: var(--section-pad) 0; background: var(--white); }

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.program-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--cream-soft);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.program-item:hover { border-color: var(--gold); }
.program-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 36px;
}
.program-item h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.program-item p { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

.section-instructor { padding: var(--section-pad) 0; background: var(--navy); }

.instructor-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.instructor-photo {
  width: 280px; height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  flex-shrink: 0;
}
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; }
.instructor-name {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.instructor-role { font-size: 15px; color: var(--gold-light); font-weight: 500; margin-bottom: 20px; }
.instructor-bio { font-size: 15px; color: rgba(255,255,255,0.7); line-height: 1.75; max-width: 560px; margin-bottom: 28px; }

.instructor-facts { display: flex; gap: 32px; flex-wrap: wrap; }
.instructor-fact { display: flex; flex-direction: column; gap: 2px; }
.instructor-fact strong { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--gold-light); }
.instructor-fact span { font-size: 13px; color: rgba(255,255,255,0.5); }

.section-faq { padding: var(--section-pad) 0; background: var(--cream-soft); }

.faq-list { max-width: 720px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--gold); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
  font-size: 12px;
  color: var(--navy);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--gold); color: var(--white); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-answer p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.section-lead { padding: var(--section-pad) 0; background: var(--navy-deep); position: relative; overflow: hidden; }
.lead-bg-deco {
  position: absolute; inset: 0;
  background-image: radial-gradient(ellipse at 70% 50%, rgba(196,136,44,0.12) 0%, transparent 65%),
                    radial-gradient(ellipse at 20% 80%, rgba(181,54,48,0.08) 0%, transparent 50%);
}
.lead-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lead-copy .section-title { color: var(--white); }
.lead-copy .section-subtitle { color: rgba(255,255,255,0.6); }

.lead-features { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.lead-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}
.lead-feature::before {
  content: '✓';
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 1px;
}
.lead-form-card { background: var(--white); border-radius: 16px; padding: 40px; box-shadow: 0 24px 80px rgba(0,0,0,0.4); }

.footer { background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,0.08); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer-brand span { color: var(--gold-light); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65; max-width: 280px; margin-bottom: 20px; }
.footer-details { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.8; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }

.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(0);
  transition: transform 0.4s ease;
}
.cookie-banner.hidden { transform: translateY(110%); }
.cookie-text { font-size: 13px; color: rgba(255,255,255,0.7); max-width: 600px; line-height: 1.55; }
.cookie-text a { color: var(--gold-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--gold); color: var(--white); border: none;
  padding: 9px 20px; border-radius: 6px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-decline {
  background: transparent; color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 9px 20px; border-radius: 6px; font-size: 13px;
  cursor: pointer; transition: color 0.2s;
}
.btn-cookie-decline:hover { color: rgba(255,255,255,0.75); }

.legal-hero { background: var(--navy); padding: 100px 0 56px; }
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); color: var(--white); font-weight: 700; }
.legal-hero p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 8px; }
.legal-body { padding: 64px 0 96px; background: var(--cream-soft); }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--navy); margin: 36px 0 12px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; margin-bottom: 12px; }
.legal-content ul li { list-style: disc; font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--gold); text-decoration: underline; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gold); margin-bottom: 40px; transition: gap 0.2s; }
.legal-back:hover { gap: 12px; }

.success-page { min-height: 100vh; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; }
.success-card { background: var(--white); border-radius: 20px; padding: clamp(40px, 6vw, 72px); max-width: 520px; width: 100%; box-shadow: 0 40px 100px rgba(0,0,0,0.4); }
.success-icon { font-size: 52px; margin-bottom: 24px; }
.success-title { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.success-desc { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.success-note { font-size: 13px; color: rgba(100,100,120,0.6); margin-top: 24px; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy-deep); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-cta { width: 100%; justify-content: center; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-card { display: none; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: auto; }
  .gallery-item { min-height: 160px !important; }
  .format-wrap { grid-template-columns: 1fr; }
  .format-img { display: none; }
  .program-grid { grid-template-columns: 1fr; }
  .instructor-wrap { grid-template-columns: 1fr; text-align: center; }
  .instructor-photo { margin: 0 auto; }
  .instructor-bio { margin: 0 auto; }
  .instructor-facts { justify-content: center; }
  .lead-inner { grid-template-columns: 1fr; }
  .lead-form-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cookie-actions { width: 100%; }
  .btn-cookie-accept, .btn-cookie-decline { flex: 1; text-align: center; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
