/*
 * DESIGN INTENT
 * Tone: Refined luxury with spiritual warmth — sacred geometry, dark forest + cream + gold
 * Fonts: Cormorant Garamond 300/400/600 + Jost 300/400
 * Palette: #F4EEDD (Crema) #EAECD2 (Salvia) #22321E (Verde Bosque) #F4B45F (Oro Solar) #F4A0B2 (Rosa Lemuria)
 * Layout signature: Centered single-column with wide margins, full-bleed image breaks, hairline gold dividers
 * Memorable element: Sacred geometry SVG ornament dividers + gold-accented light-weight serif hero type
 */

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

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 300;
  color: #22321E;
  background: #F4EEDD;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

p { margin-bottom: 1.2rem; font-size: 1.05rem; }

a { color: #22321E; text-decoration: none; transition: color 0.4s ease; }
a:hover { color: #F4B45F; }

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

/* UTILITY */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 720px; }

.section { padding: 6rem 2rem; }
.section--salvia { background: #EAECD2; }
.section--tight { padding: 4rem 2rem; }

/* DIVIDER */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 3rem 0;
}
.divider::before, .divider::after {
  content: ''; height: 1px; background: #F4B45F; flex: 1; max-width: 80px;
}
.divider__symbol { width: 28px; height: 28px; opacity: 0.7; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244, 238, 221, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 180, 95, 0.2);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav__logo {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem; font-weight: 400; letter-spacing: 0.06em; color: #22321E;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links {
  display: flex; list-style: none; gap: 2.2rem;
  font-size: 0.85rem; font-weight: 400; letter-spacing: 0.05em; text-transform: uppercase;
}
.nav__links a { color: #22321E; opacity: 0.7; transition: opacity 0.4s ease, color 0.4s ease; }
.nav__links a:hover, .nav__links a.active { opacity: 1; color: #F4B45F; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; color: #22321E; }
.nav__toggle span { display: block; width: 24px; height: 1.5px; background: #22321E; margin: 5px 0; transition: all 0.3s ease; transform-origin: center; }
.nav__toggle.is-active span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.nav__toggle.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-active span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

/* BUTTONS */
.btn {
  display: inline-block; font-family: 'Jost', sans-serif;
  font-size: 0.8rem; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 2.2rem; border: 1px solid #F4B45F;
  background: transparent; color: #22321E; cursor: pointer;
  transition: all 0.5s ease; position: relative; overflow: hidden; z-index: 1;
}
.btn::before {
  content: ''; position: absolute; inset: 0; background: #F4B45F;
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease; z-index: -1;
}
.btn:hover { color: #22321E; }
.btn:hover::before { transform: scaleX(1); }
.btn--filled { background: #F4B45F; border-color: #F4B45F; }
.btn--filled:hover { background: #e6a44a; border-color: #e6a44a; }
.btn--light { color: #F4EEDD; border-color: #F4B45F; }
.btn--light:hover { color: #22321E; }

/* HERO */
.hero {
  min-height: 90vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8rem 2rem 6rem; position: relative; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0; opacity: 0.05;
  background-image: url('/logo_placeholder.png');
  background-size: 500px; background-position: center; background-repeat: no-repeat;
}
.hero__content { position: relative; z-index: 1; max-width: 720px; }
.hero__tagline {
  font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: #F4B45F; margin-bottom: 1.5rem;
}
.hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.5rem); line-height: 1.05; letter-spacing: 0.03em;
  margin-bottom: 1.5rem; color: #22321E;
}
.hero__title em { font-style: italic; color: #F4B45F; }
.hero__subtitle {
  font-size: 1.1rem; font-weight: 300; opacity: 0.7; margin-bottom: 2.5rem;
  max-width: 500px; margin-left: auto; margin-right: auto;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* SECTION HEADERS */
.section__header { text-align: center; margin-bottom: 4rem; }
.section__label {
  font-family: 'Jost', sans-serif; font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.2em; text-transform: uppercase; color: #F4B45F; margin-bottom: 0.75rem;
}
.section__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); color: #22321E;
}

/* PILLARS */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.pillar {
  text-align: center; padding: 2.5rem 1.5rem; background: #F4EEDD;
  transition: transform 0.5s ease;
}
.pillar:hover { transform: translateY(-4px); }
.pillar__icon { width: 48px; height: 48px; margin: 0 auto 1.5rem; opacity: 0.8; }
.pillar__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem;
  font-weight: 400; margin-bottom: 0.75rem; color: #22321E;
}
.pillar__desc { font-size: 0.9rem; opacity: 0.65; line-height: 1.6; }

/* COURSE CARDS */
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.course-card {
  background: #F4EEDD; overflow: hidden; transition: transform 0.5s ease;
}
.course-card:hover { transform: translateY(-4px); }
.course-card__image { width: 100%; height: 220px; object-fit: cover; }
.course-card__body { padding: 1.8rem; }
.course-card__category {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.15em;
  text-transform: uppercase; color: #F4A0B2; margin-bottom: 0.5rem;
}
.course-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.4rem;
  font-weight: 400; margin-bottom: 0.5rem; color: #22321E;
}
.course-card__teacher { font-size: 0.85rem; opacity: 0.6; margin-bottom: 1rem; }
.course-card__price {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem;
  font-weight: 400; color: #F4B45F;
}

/* FEATURED COURSE */
.featured-course { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.featured-course__image { width: 100%; height: 400px; object-fit: cover; }
.featured-course__label {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.15em;
  text-transform: uppercase; color: #F4A0B2; margin-bottom: 0.5rem;
}
.featured-course__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem;
}
.featured-course__desc { opacity: 0.65; margin-bottom: 1.5rem; line-height: 1.8; }
.featured-course__meta { display: flex; gap: 2rem; margin-bottom: 2rem; font-size: 0.85rem; opacity: 0.5; }

/* TEACHER CARDS */
.teachers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.teacher-card { text-align: center; }
.teacher-card__image {
  width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
  margin: 0 auto 1.2rem; border: 2px solid rgba(244, 180, 95, 0.3);
}
.teacher-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem;
  font-weight: 400; margin-bottom: 0.25rem;
}
.teacher-card__specialty {
  font-size: 0.8rem; opacity: 0.5; text-transform: uppercase; letter-spacing: 0.08em;
}

/* BLOG CARDS */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.blog-card { transition: transform 0.5s ease; }
.blog-card:hover { transform: translateY(-4px); }
.blog-card__image { width: 100%; height: 200px; object-fit: cover; margin-bottom: 1.2rem; }
.blog-card__date {
  font-size: 0.75rem; opacity: 0.45; text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.blog-card__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.3rem;
  font-weight: 400; margin-bottom: 0.5rem;
}
.blog-card__excerpt { font-size: 0.9rem; opacity: 0.6; line-height: 1.6; }

/* MEDIA LIST (podcast/events) */
.media-list { list-style: none; }
.media-list__item {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid rgba(34, 50, 30, 0.08);
}
.media-list__item:first-child { border-top: 1px solid rgba(34, 50, 30, 0.08); }
.media-list__thumb { width: 80px; height: 80px; object-fit: cover; flex-shrink: 0; }
.media-list__info { flex: 1; }
.media-list__label {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #F4A0B2; margin-bottom: 0.25rem;
}
.media-list__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; font-weight: 400;
}
.media-list__meta { font-size: 0.8rem; opacity: 0.5; }

/* CTA BANNER */
.cta-banner {
  text-align: center; padding: 5rem 2rem; background: #22321E; color: #F4EEDD;
}
.cta-banner__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem); margin-bottom: 1rem; color: #F4EEDD;
}
.cta-banner__text {
  opacity: 0.7; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto;
}

/* FOOTER */
.footer { background: #22321E; color: rgba(244, 238, 221, 0.7); padding: 5rem 2rem 2rem; }
.footer__grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem;
}
.footer__brand {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.6rem;
  color: #F4EEDD; margin-bottom: 0.75rem; letter-spacing: 0.04em;
}
.footer__desc { font-size: 0.9rem; line-height: 1.7; opacity: 0.6; }
.footer__heading {
  font-family: 'Jost', sans-serif; font-size: 0.75rem; font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; color: #F4B45F; margin-bottom: 1.2rem;
}
.footer__links { list-style: none; }
.footer__links li { margin-bottom: 0.6rem; }
.footer__links a { color: rgba(244, 238, 221, 0.6); font-size: 0.9rem; transition: color 0.4s ease; }
.footer__links a:hover { color: #F4B45F; }
.footer__bottom {
  max-width: 1100px; margin: 0 auto; padding-top: 2rem;
  border-top: 1px solid rgba(244, 238, 221, 0.1);
  display: flex; justify-content: space-between; font-size: 0.8rem; opacity: 0.4;
}

/* PAGE HEADER */
.page-header { padding: 9rem 2rem 4rem; text-align: center; background: #EAECD2; }
.page-header__title {
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem); margin-bottom: 0.75rem;
}
.page-header__subtitle { font-size: 1rem; opacity: 0.6; max-width: 500px; margin: 0 auto; }

/* FORMS */
.form { max-width: 560px; margin: 0 auto; }
.form__group { margin-bottom: 1.5rem; }
.form__label {
  display: block; font-size: 0.7rem; font-weight: 400; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 0.5rem; opacity: 0.7;
}
.form__input, .form__textarea, .form__select {
  width: 100%; padding: 0.85rem 0; font-family: 'Jost', sans-serif;
  font-size: 1rem; font-weight: 300; color: #22321E; background: transparent;
  border: none; border-bottom: 1px solid rgba(34, 50, 30, 0.2);
  outline: none; transition: border-color 0.4s ease;
}
.form__input:focus, .form__textarea:focus, .form__select:focus { border-bottom-color: #F4B45F; }
.form__textarea { min-height: 120px; resize: vertical; }

/* FAQ */
.faq { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid rgba(34, 50, 30, 0.1); }
.faq__question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.5rem 0; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem; font-weight: 400; color: #22321E; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__question::after {
  content: '+'; font-family: 'Jost', sans-serif; font-weight: 300;
  font-size: 1.4rem; color: #F4B45F; transition: transform 0.4s ease;
}
.faq__item.open .faq__question::after { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease, padding 0.5s ease; }
.faq__item.open .faq__answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq__answer p { font-size: 0.95rem; opacity: 0.65; line-height: 1.8; }

/* FILTER TAGS */
.filter-tags { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-tag {
  font-family: 'Jost', sans-serif; font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.5rem 1.2rem; background: transparent;
  border: 1px solid rgba(34, 50, 30, 0.15); color: #22321E;
  cursor: pointer; transition: all 0.4s ease;
}
.filter-tag:hover, .filter-tag.active { background: #F4B45F; border-color: #F4B45F; }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(15px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* SELECTION */
::selection { background: rgba(244, 180, 95, 0.25); color: #22321E; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F4EEDD; }
::-webkit-scrollbar-thumb { background: #F4B45F; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-course { grid-template-columns: 1fr; gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .nav__links {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
    background: rgba(244, 238, 221, 0.98); flex-direction: column;
    align-items: center; padding: 2rem; gap: 1.5rem;
    transform: translateY(-100%); opacity: 0;
    transition: all 0.4s ease; pointer-events: none;
  }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__toggle { display: block; }
}

@media (max-width: 600px) {
  .pillars, .courses-grid, .teachers-grid, .blog-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.5rem; }
  .section { padding: 4rem 1.25rem; }
  .media-list__item { flex-direction: column; align-items: flex-start; }
}