:root {
  --navy: #0c1730;
  --navy-soft: #162445;
  --navy-mid: #1c2e52;
  --gold: #c9a46a;
  --gold-bright: #e0c48a;
  --gold-dim: #a07d42;
  --cream: #f6f1e8;
  --ivory: #fbf8f3;
  --ink: #1a1a1a;
  --muted: #5c6170;
  --line: rgba(201, 164, 106, 0.28);
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(12, 23, 48, 0.12);
  --radius: 18px;
  --max: 1180px;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold-dim);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 23, 48, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 164, 106, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
}

.brand img.logo-mark {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #0b1528;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  letter-spacing: 0.03em;
}

.brand-name span {
  color: var(--gold);
}

.brand-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 3px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

nav a {
  color: #d8d4cb;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

nav a:hover {
  color: var(--gold-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  border: 1px solid rgba(201, 164, 106, 0.4);
  border-radius: 999px;
  overflow: hidden;
}

.lang-switch button {
  background: transparent;
  border: 0;
  color: #cfc8ba;
  padding: 6px 11px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lang-switch button.active {
  background: var(--gold);
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(201, 164, 106, 0.5);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 23, 48, 0.55) 0%, rgba(12, 23, 48, 0.72) 45%, rgba(12, 23, 48, 0.94) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-poster {
  margin: 0;
}

.hero-poster img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  max-width: 16ch;
  margin: 14px 0 18px;
}

.hero p.lead {
  max-width: 46ch;
  font-size: 1.12rem;
  color: #ece6d8;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: #d9d0be;
  font-size: 0.92rem;
}

.hero-meta strong {
  display: block;
  color: var(--gold-bright);
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
}

/* Sections */
section {
  padding: 92px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  margin: 8px 0 14px;
  color: var(--navy);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.checklist {
  list-style: none;
  margin-top: 22px;
}

.checklist li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 18px;
}

/* Cards */
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid rgba(12, 23, 48, 0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 8px 30px rgba(12, 23, 48, 0.04);
}

.card h3 {
  font-size: 1.55rem;
  color: var(--navy);
  margin: 10px 0 10px;
}

.icon-line {
  color: var(--gold-dim);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* How */
.how {
  background: var(--navy);
  color: var(--cream);
}

.how .section-head h2,
.how .section-head p {
  color: var(--cream);
}

.how .section-head p {
  color: #d7d0c3;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step {
  border: 1px solid rgba(201, 164, 106, 0.22);
  border-radius: var(--radius);
  padding: 26px 22px;
  background: rgba(255, 255, 255, 0.03);
}

.step-num {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 2rem;
}

.step h3 {
  margin: 10px 0 8px;
  font-size: 1.4rem;
}

.step p {
  color: #cfc7b8;
  font-size: 0.95rem;
}

/* Teacher */
.teacher-wrap {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: center;
}

.teacher-photo {
  margin: 0;
}

.teacher-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.teacher-body h3 {
  font-size: 2.2rem;
  color: var(--navy);
  margin: 8px 0 6px;
}

.teacher-body .role {
  color: var(--gold-dim);
  margin-bottom: 16px;
}

.form-error {
  display: none;
  background: #f8e8e6;
  color: #6b221c;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
}

/* Pricing */
.price-card {
  padding: 32px 26px;
  position: relative;
}

.price-card.featured {
  background: var(--navy);
  color: var(--cream);
  transform: translateY(-8px);
}

.price-card .amount {
  font-family: var(--font-serif);
  font-size: 3rem;
  margin: 8px 0;
}

.price-card .amount span {
  font-size: 1rem;
  opacity: 0.75;
}

.price-card ul {
  list-style: none;
  margin: 18px 0 24px;
  color: var(--muted);
}

.price-card.featured ul {
  color: #d8d2c6;
}

.price-card li {
  padding: 7px 0;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Testimonials */
.quote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--navy);
}

.quote-author {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

.form {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  margin-bottom: 6px;
  color: var(--navy);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #ddd6c8;
  background: #fff;
  border-radius: 12px;
  padding: 12px 13px;
  font-size: 0.95rem;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
}

.success {
  display: none;
  background: #eef6ea;
  color: #23401c;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.contact-aside h3 {
  font-size: 2rem;
  color: var(--navy);
  margin: 8px 0 12px;
}

.info-list {
  list-style: none;
  margin-top: 22px;
}

.info-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(12, 23, 48, 0.08);
}

/* Footer */
footer {
  background: var(--navy);
  color: #cfc8ba;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
}

footer h3 {
  color: var(--cream);
  margin-bottom: 12px;
}

.legal {
  border-top: 1px solid rgba(201, 164, 106, 0.18);
  padding-top: 16px;
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Modal legal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(12, 23, 48, 0.62);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.modal-card {
  background: var(--ivory);
  max-width: 680px;
  max-height: 80vh;
  overflow: auto;
  border-radius: 20px;
  padding: 28px;
}

.modal-card h3 {
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  nav {
    display: none;
  }

  nav.open {
    display: block;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 18px 22px 24px;
  }

  nav.open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .split,
  .grid-3,
  .grid-4,
  .steps,
  .contact-wrap,
  .footer-grid,
  .form-grid,
  .teacher-wrap,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster img {
    max-height: 52vh;
    margin: 0 auto;
  }

  .hero-grid {
    padding: 28px 0 48px;
  }

  .teacher-photo img {
    height: 380px;
  }

  .split img {
    height: 340px;
  }

  .price-card.featured {
    transform: none;
  }

  .header-actions .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding-bottom: 56px;
  }
}
