@font-face { font-family: "Cormorant"; src: url("../img/CormorantGaramond-Variable.ttf") format("truetype"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../img/DMSans-Variable.ttf") format("truetype"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root { --cream: #f7f1e9; --cream-dark: #ede2d6; --copper: #be653b; --copper-dark: #a94f2d; --brown: #2b180f; --brown-soft: #6d594f; --white: #fffdf9; --line: #e6d8ca; --max: 1256px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--brown); background: var(--cream); font-family: "DM Sans", Arial, sans-serif; line-height: 1.5; }
body, button, a { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 8px 12px; color: var(--white); background: var(--brown); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 10; top: 0; background: rgba(247, 241, 233, .96); border-bottom: 1px solid rgba(43, 24, 15, .1); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; gap: 30px; }
.brand img { display: block; width: 222px; height: auto; }
.site-nav { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 60px); font-size: .94rem; font-weight: 700; }
.site-nav > a:not(.button) { position: relative; padding: 8px 0; }
.site-nav > a:not(.button)::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--copper); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav > a:not(.button):hover::after, .site-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.site-nav > a.active { color: var(--copper); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 22px; color: var(--white); background: var(--copper); border: 1px solid var(--copper); border-radius: 9px; font-size: .87rem; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--copper-dark); transform: translateY(-2px); }
.button-small { min-height: 48px; padding: 0 18px; white-space: nowrap; }
.whatsapp-icon { width: 21px; height: 21px; flex: 0 0 auto; fill: currentColor; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--brown); }

.hero { position: relative; min-height: min(560px, calc(100vh - 88px)); color: var(--white); background: var(--brown); overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { display: flex; align-items: center; overflow: hidden; opacity: 0; transition: opacity .6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(43, 24, 15, .9) 0%, rgba(43, 24, 15, .62) 38%, rgba(43, 24, 15, .24) 74%, rgba(43, 24, 15, .12) 100%), linear-gradient(0deg, rgba(43, 24, 15, .65), transparent 48%); }
.hero-content { position: relative; z-index: 1; padding-top: 20px; padding-bottom: 112px; }
.eyebrow { margin: 0 0 14px; color: var(--copper); font-size: .78rem; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.eyebrow-light { color: #edbf9e; }
h1, h2, h3 { margin: 0; font-family: "Cormorant", Georgia, serif; font-weight: 600; letter-spacing: -.025em; line-height: .92; }
.hero h1, .hero h2 { max-width: 710px; font-size: clamp(3.5rem, 7vw, 6.5rem); }
.hero h1 span, .hero h2 span { color: var(--white); }
.hero h1 em, .hero h2 em { color: #d98b65; font-style: italic; font-weight: 600; }
.hero-copy { max-width: 560px; margin: 32px 0 0; color: rgba(255, 253, 249, .9); font-size: 1.05rem; }
.hero-meta { position: absolute; right: 0; bottom: 38px; left: 0; z-index: 2; display: flex; align-items: end; justify-content: end; gap: 13px; color: #e8c6ae; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.hero-meta strong { color: var(--white); font-size: .8rem; }
.slider-controls { display: flex; gap: 10px; margin-left: 2px; }
.slider-dot { width: 10px; height: 10px; padding: 0; background: rgba(255, 253, 249, .75); border: 0; border-radius: 50%; cursor: pointer; }
.slider-dot.is-active { background: var(--copper); }

.section { padding: 94px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.section-heading h2, .academy-section h2, .contact-section h2 { font-size: clamp(3rem, 5.5vw, 5.25rem); }
.section-intro { max-width: 430px; margin: 0 0 3px; color: var(--brown-soft); font-size: 1rem; }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
.course-card { display: flex; min-height: 208px; flex-direction: column; justify-content: space-between; padding: 26px 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 15px; }
.course-card-featured { color: var(--white); background: var(--copper); border-color: var(--copper); }
.course-type { margin: 0 0 15px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.course-card:not(.course-card-featured) .course-type { color: var(--copper); }
.course-card h3 { margin-bottom: 18px; font-size: clamp(2rem, 3.4vw, 3rem); line-height: .92; }
.course-card p:not(.course-type) { max-width: 560px; margin: 0; color: rgba(255, 253, 249, .92); font-size: .9rem; }
.course-card:not(.course-card-featured) p:not(.course-type) { color: var(--brown-soft); }
.text-link { align-self: flex-start; margin-top: 22px; color: inherit; font-size: .8rem; font-weight: 800; }
.text-link span { margin-left: 5px; }
.course-card .text-link { opacity: .85; }
.course-card .text-link:hover { opacity: 1; text-decoration: underline; }

.programs-section { padding-top: 24px; background: var(--cream-dark); }
.section-heading-tight { margin-bottom: 34px; }
.program-list { border-top: 1px solid var(--line); }
.program { display: grid; grid-template-columns: 64px minmax(0, 1fr) 180px; gap: 28px; align-items: center; padding: 29px 0; border-bottom: 1px solid var(--line); }
.program-number { color: var(--copper); font-size: .78rem; font-weight: 800; }
.program h3 { margin-bottom: 9px; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: .95; }
.program p { max-width: 690px; margin: 0; color: var(--brown-soft); font-size: .92rem; }
.program-meta { display: grid; gap: 4px; color: var(--brown-soft); font-size: .78rem; text-align: right; }
.program-meta strong { color: var(--brown); font-size: 1.05rem; }

.academy-section { padding: 100px 0; color: var(--white); background: var(--brown); }
.academy-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: end; }
.academy-section h2 { max-width: 630px; }
.academy-copy { max-width: 510px; color: #e3cbbc; font-size: 1.02rem; }
.academy-copy p { margin: 0 0 18px; }
.academy-copy p:last-child { margin-bottom: 0; }
.contact-section { color: var(--white); background: #20110a; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 42px; padding-bottom: 42px; }
.contact-section h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
.contact-section p:last-child { margin: 16px 0 0; color: #d8b9a5; }
.button-light { color: var(--brown); background: #f0d3be; border-color: #f0d3be; }
.button-light:hover { background: var(--white); }
.site-footer { color: #8b766b; background: var(--cream); border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; padding: 21px 0; font-size: .78rem; }

@media (max-width: 900px) {
  .header-inner { min-height: 75px; }
  .brand img { width: 190px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 75px; right: 24px; left: 24px; display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(43, 24, 15, .12); }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.button) { padding: 12px 4px; }
  .site-nav .button { margin-top: 6px; }
  .hero { min-height: 560px; }
  .hero-content { padding-bottom: 110px; }
  .section { padding: 72px 0; }
  .section-heading, .academy-grid { gap: 32px; }
  .academy-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .container { width: min(calc(100% - 34px), var(--max)); }
  .brand img { width: 170px; }
  .hero { min-height: 600px; }
  .hero-image { object-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(43, 24, 15, .85), rgba(43, 24, 15, .38)); }
  .hero h1, .hero h2 { font-size: clamp(3.35rem, 15vw, 5rem); }
  .hero-copy { margin-top: 24px; font-size: .98rem; }
  .hero-meta { right: 17px; bottom: 26px; left: 17px; justify-content: start; }
  .section-heading, .contact-inner { align-items: flex-start; flex-direction: column; }
  .section-heading h2, .academy-section h2, .contact-section h2 { font-size: clamp(3rem, 15vw, 4.4rem); }
  .course-grid { grid-template-columns: 1fr; gap: 14px; }
  .course-card { min-height: 196px; padding: 24px; }
  .program { grid-template-columns: 38px minmax(0, 1fr); gap: 12px 18px; padding: 25px 0; }
  .program-meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 7px 14px; text-align: left; }
  .academy-grid { grid-template-columns: 1fr; }
  .academy-section { padding: 76px 0; }
  .contact-inner { padding-top: 38px; padding-bottom: 38px; }
  .contact-inner .button { width: 100%; }
  .footer-inner { gap: 10px; flex-direction: column; }
}
