:root {
  --bg: #fafaf8;
  --bg-soft: #f3f0ea;
  --bg-card: #ffffff;
  --text: #0e0d0b;
  --text-muted: rgba(14, 13, 11, 0.58);
  --accent: #c8a97e;
  --accent-dim: rgba(200, 169, 126, 0.45);
  --border: rgba(14, 13, 11, 0.1);
  --container: 1280px;
  --section-pad: clamp(80px, 12vw, 120px);
  --gutter: clamp(20px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Jost", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.font-display {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.font-accent {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.section-divider {
  width: 60%;
  height: 1px;
  margin: 0 auto;
  background: var(--text);
  opacity: 0.2;
  border: none;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-desktop a:hover {
  color: var(--accent);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.btn-link .arrow {
  display: inline-block;
  transition: transform 0.3s;
}

.btn-link:hover {
  color: var(--accent);
}

.btn-link:hover .arrow {
  transform: translateX(4px);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 28px;
  height: 28px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    flex: 1;
    justify-content: center;
    padding-inline: 1.5rem;
    min-width: 0;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 899px) {
  .header-actions .btn-outline {
    display: none;
  }
}

/* Mobile menu overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(250, 250, 248, 0.98);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--text);
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* Hero */
.hero {
  padding-top: calc(var(--section-pad) + 60px);
  padding-bottom: var(--section-pad);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: 0.06em;
  margin: 0 0 1.75rem;
  color: var(--text);
}

.hero-text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 28rem;
  margin: 0 0 2.5rem;
}

.hero-visual-wrap {
  order: -1;
}

@media (min-width: 900px) {
  .hero-visual-wrap {
    order: 2;
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
  border-radius: 0.125rem;
}

@media (min-width: 900px) {
  .hero-visual {
    height: 80vh;
    max-height: 820px;
  }
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--accent-dim);
  pointer-events: none;
  z-index: 1;
  border-radius: 0.125rem;
}

@media (min-width: 900px) {
  .hero-content {
    order: 1;
  }
}

/* Quote */
.quote-section {
  padding-block: var(--section-pad);
  position: relative;
  background: var(--bg-soft);
}

.quote-inner {
  position: relative;
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

.quote-mark {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(5rem, 12vw, 6.25rem);
  line-height: 1;
  color: var(--text);
  opacity: 0.15;
  pointer-events: none;
  user-select: none;
}

.quote-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0 0 2rem;
  position: relative;
  z-index: 1;
}

.quote-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 36rem;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Services */
.services {
  padding-block: var(--section-pad);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 0;
}

.section-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.4s;
}

.service-card:hover {
  border-color: var(--accent);
}

.service-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
}

.service-duration {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-desc {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.service-list-wrap {
  flex: 1;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-bottom: 2rem;
}

.service-list-title {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 1px;
  background: var(--accent);
}

.service-card--featured {
  background: var(--bg-soft);
  border-color: var(--accent-dim);
}

/* Education */
.education {
  padding-block: var(--section-pad);
}

.education-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 900px) {
  .education-grid {
    grid-template-columns: 5fr 6fr;
    gap: 5rem;
    align-items: start;
  }
}

.education-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.75rem, 10vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem;
}

.education-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0 0 2.5rem;
}

.course-for-title {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.course-for-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.course-for-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 15px;
}

.course-for-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 1px;
  margin-top: 0.85em;
  background: var(--accent);
}

.course-benefits-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
}

.course-benefits-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
}

.course-benefits-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--accent);
  font-size: 13px;
}

.stats {
  display: flex;
  gap: 3rem;
}

.stat-value {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
}

.program-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
}

.program-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.accordion-item {
  border: 1px solid var(--border);
  margin-bottom: 0.75rem;
  transition: border-color 0.3s;
}

.accordion-item.is-open,
.accordion-item:hover {
  border-color: var(--accent-dim);
}

.accordion-item.is-open {
  border-color: var(--accent);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.accordion-trigger .day-label {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: var(--accent);
  margin-right: 0.5rem;
}

.accordion-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--text-muted);
  transition: transform 0.3s, opacity 0.3s;
}

.accordion-icon::before {
  width: 14px;
  height: 1px;
  top: 6.5px;
  left: 0;
}

.accordion-icon::after {
  width: 1px;
  height: 14px;
  top: 0;
  left: 6.5px;
}

.accordion-item.is-open .accordion-icon::after {
  opacity: 0;
  transform: rotate(90deg);
}

.accordion-panel {
  display: none;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.accordion-panel p {
  margin: 0 0 1rem;
}

.accordion-panel p:last-child {
  margin-bottom: 0;
}

.panel-subtitle {
  margin-top: 0.5rem !important;
  font-size: 14px;
  color: var(--text);
}

.panel-note {
  margin-top: 1.25rem !important;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.panel-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.875rem;
}

.panel-list li:last-child {
  margin-bottom: 0;
}

.panel-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.panel-list li strong {
  color: var(--text);
  font-weight: 500;
}

.panel-list--dash li::before {
  content: "—";
}

/* Takeaway */
.takeaway {
  padding-top: var(--section-pad);
  padding-bottom: 3rem;
  background: var(--bg-soft);
}

.takeaway-inner {
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.takeaway .section-label {
  display: block;
  margin-bottom: 1rem;
}

.takeaway-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 0 0 3rem;
}

.takeaway-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  max-width: 36rem;
}

.takeaway-list li {
  position: relative;
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

.takeaway-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.takeaway-cta {
  margin-top: 3rem;
  text-align: center;
}

.takeaway-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 1.35rem;
  color: var(--accent);
}

/* Footer */
.site-footer {
  padding-top: 0;
  padding-bottom: var(--section-pad);
  background: var(--bg-soft);
}

.footer-line {
  width: 60%;
  height: 1px;
  margin: 0 auto 4rem;
  background: var(--text);
  opacity: 0.2;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.footer-name {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-legal {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.5rem;
  opacity: 0.85;
}

.footer-legal a {
  color: inherit;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: var(--accent);
}

.footer-tagline {
  color: var(--text-muted);
  max-width: 22rem;
  margin: 0 0 2rem;
}

.social-links {
  display: flex;
  gap: 1.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color 0.3s, color 0.3s;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-meta {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-links {
    justify-content: flex-end;
  }
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.25rem;
  padding: 0 0.625rem;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.lang-dropdown__toggle:hover,
.lang-dropdown.is-open .lang-dropdown__toggle {
  border-color: var(--accent);
  color: var(--accent);
}

.lang-dropdown__icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.lang-dropdown__code {
  min-width: 1.25rem;
  text-align: center;
}

.lang-dropdown__chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.lang-dropdown.is-open .lang-dropdown__chevron {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 300;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.375rem;
  list-style: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(14, 13, 11, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
}

.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  font-size: 13px;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}

.lang-dropdown__option:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.lang-dropdown__option.is-active {
  color: var(--accent);
  background: rgba(200, 169, 126, 0.08);
}

.lang-dropdown__option-code {
  min-width: 1.5rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lang-dropdown__option-name {
  font-size: 13px;
}

.footer-lang {
  margin-bottom: 1.5rem;
}

.footer-lang .lang-dropdown__menu {
  top: auto;
  bottom: calc(100% + 0.5rem);
  transform: translateY(4px);
}

.footer-lang .lang-dropdown.is-open .lang-dropdown__menu {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .footer-lang {
    display: flex;
    justify-content: flex-end;
  }
}

@media (max-width: 899px) {
  .header-actions {
    gap: 0.75rem;
  }
}

@media (min-width: 900px) and (max-width: 1120px) {
  .header-inner {
    gap: 1rem;
  }

  .nav-desktop {
    gap: 1.25rem;
  }

  .nav-desktop a {
    font-size: 13px;
  }

  .header-actions {
    gap: 0.875rem;
  }

  .header-actions .btn-outline {
    padding: 0.75rem 1.25rem;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* Legal pages */
.legal-page {
  padding-top: calc(var(--section-pad) + 40px);
  padding-bottom: var(--section-pad);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.legal-back:hover {
  color: var(--accent);
}

.legal-back .arrow {
  transition: transform 0.3s;
}

.legal-back:hover .arrow {
  transform: translateX(-4px);
}

.legal-header {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.legal-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 0 0 1rem;
}

.legal-date {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: var(--accent);
  margin: 0 0 1.5rem;
}

.legal-intro {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.legal-content {
  max-width: 40rem;
}

.legal-content h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.legal-content p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding: 0 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-contact {
  margin-top: 0.5rem;
  line-height: 1.85;
}

.legal-contact a {
  color: var(--accent);
  transition: opacity 0.3s;
}

.legal-contact a:hover {
  opacity: 0.8;
}
