@font-face { font-family: "Lora"; src: url("fonts/lora.woff") format("woff"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --bg: #f5f3ee;
  --paper: #fffdf8;
  --ink: #1e2b25;
  --muted: #56645d;
  --green: #2f4a3e;
  --green-dark: #233a30;
  --sage: #b4c19b;
  --warm: #c8995c;
  --line: #e2ddd2;
  --radius: 14px;
  --serif: "Lora", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* Buttons */
.btn { display: inline-block; background: var(--green); color: #fff; text-decoration: none; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem; transition: background .2s, transform .2s; border: 2px solid var(--green); }
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: #fff; }
.btn-light { background: var(--paper); color: var(--green); border-color: var(--paper); }
.btn-light:hover { background: #fff; }
.btn-small { padding: 8px 18px; font-size: .9rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,243,238,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; text-decoration: none; color: var(--green); }
.logo span { color: var(--warm); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { background: none; border: 0; padding: 6px 10px; font: 600 .78rem var(--sans); color: var(--muted); cursor: pointer; }
.lang button.active { background: var(--green); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--green); }

/* Hero */
.hero { background: #ebe6dc; }
.hero-img { width: 100%; max-height: 72vh; object-fit: cover; object-position: center 30%; }

/* Ticker */
.ticker { background: var(--green); color: #f1ede3; overflow: hidden; white-space: nowrap; height: 44px; display: flex; align-items: center; font-size: .92rem; }
.ticker-track { display: inline-flex; animation: ticker 60s linear infinite; padding-left: 100%; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { padding: 0 2.5rem; font-style: italic; }
.ticker-item b { font-style: normal; font-weight: 600; color: var(--sage); margin-left: .5em; }
.ticker-item::after { content: "✦"; margin-left: 2.5rem; color: var(--warm); font-style: normal; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation-duration: 240s; } }

/* Intro */
.intro { text-align: center; padding: 72px 24px 80px; }
.intro .lead { margin: 0 auto 32px; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .8rem; font-weight: 600; color: var(--warm); margin: 0 0 12px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Areas */
.areas { padding: 24px 24px 96px; }
.areas h2 { text-align: center; margin-bottom: 40px; }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.area-card { display: grid; grid-template-columns: 180px 1fr; gap: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.area-card:hover { box-shadow: 0 12px 30px rgba(30,43,37,.08); transform: translateY(-2px); }
.area-card img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: 10px; }
.area-card p { color: var(--muted); font-size: .97rem; margin: 0 0 12px; }
.more { color: var(--green); font-weight: 600; font-size: .92rem; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; background: var(--paper); }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-text { padding: clamp(40px, 6vw, 88px); align-self: center; max-width: 620px; }
.split-text p { color: var(--muted); }
.split.reverse .split-img { order: 2; }
.split-green { background: var(--sage); }
.split-green p { color: var(--ink); }
.checks { list-style: none; padding: 0; margin: 0 0 32px; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--warm); font-weight: 700; }

/* Booking */
.book { padding: 96px 24px; text-align: center; }
.book .lead { margin: 0 auto 40px; }
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 24px; justify-content: center; margin-bottom: 48px; }
.offer { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 24px; }
.offer .meta { color: var(--muted); margin: 0 0 20px; }
.calendar { max-width: 960px; margin: 0 auto; min-height: 120px; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.calendar.live { border-style: solid; min-height: 640px; display: block; }
.calendar .placeholder { color: var(--muted); margin: 0; padding: 32px; }

/* Footer */
.site-footer { background: var(--green-dark); color: #d9d4c7; font-size: .9rem; padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Simple content pages (legal, portal) */
.page { padding: 64px 24px 96px; max-width: 860px; }
.page h2 { font-size: 1.6rem; margin-top: 48px; }
.notice { background: #fff6e3; border: 1px solid #f0dcae; padding: 14px 18px; border-radius: 10px; font-size: .92rem; }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-top: 32px; }
.module { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--green), #4d6b5b); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2rem; }
.module div.body { padding: 18px 20px 22px; }
.module p { color: var(--muted); font-size: .92rem; margin: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--warm); margin-bottom: 6px; }

/* Mobile */
@media (max-width: 900px) {
  .area-grid, .split { grid-template-columns: 1fr; }
  .split.reverse .split-img { order: 0; }
  .split-img img { max-height: 380px; }
  .area-card { grid-template-columns: 1fr; }
  .area-card img { min-height: 0; aspect-ratio: 16/10; }
  .offer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 18px; background: var(--bg); padding: 24px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .hero-img { max-height: 48vh; }
  .intro { padding: 48px 20px 56px; }
}
