/* ============ RESET & TOKENS ============ */
*,*::before,*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, video, iframe { display: block; max-width: 100%; }
button { font: inherit; }
a { color: inherit; }

:root {
  --cream:        #FFF1D7;
  --cream-soft:   #FFE9C2;
  --cream-line:   #ecd9aa;
  --ink:          #1a1a1a;
  --ink-soft:     #404040;
  --ink-mute:     #6b6b6b;

  --teal:         #599a9f;
  --teal-deep:    #467f84;
  --teal-soft:    #7eb3b7;

  --radius:    14px;
  --radius-lg: 22px;

  --shadow-soft: 0 30px 80px -40px rgba(20,20,20,0.30);
  --shadow-pop:  0 50px 110px -30px rgba(20,20,20,0.45);

  --t-fast: 220ms;
  --t-med:  420ms;
  --t-slow: 800ms;
  --easing: cubic-bezier(0.22, 0.61, 0.36, 1);

  --display: 'Montserrat', system-ui, sans-serif;
  --sans:    'Inter', 'Montserrat', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { width: min(1180px, 92vw); margin: 0 auto; }
p { margin: 0; }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 100px;
  background: var(--cream);
  text-align: center;
}
.hero__inner {
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  max-width: 1000px;
}
.hero__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}
.hero__sub {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ============ VIDEO FRAME ============ */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  border: 1px solid rgba(0,0,0,0.06);
  transform: translateZ(0);
}
.video-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.45));
  pointer-events: none;
  opacity: 0; transition: opacity var(--t-med) var(--easing);
}
.video-frame.is-playing::after { opacity: 1; }
.video-frame__media { width: 100%; height: 100%; object-fit: cover; }

.video-frame__sound {
  position: absolute; bottom: 18px; right: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-med) var(--easing), transform var(--t-med) var(--easing), background var(--t-fast);
  font-family: var(--display);
}
.video-frame.is-playing .video-frame__sound { opacity: 1; transform: translateY(0); }
.video-frame__sound:hover { background: rgba(0,0,0,0.78); }
.video-frame__sound-icon { width: 18px; height: 18px; display: inline-flex; }
.video-frame__sound-icon svg { width: 18px; height: 18px; }
.video-frame__sound-label {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.video-frame.is-unmuted .video-frame__sound { display: none; }

.video-frame__play {
  position: absolute; inset: 0; margin: auto;
  width: 96px; height: 96px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal);
  color: #fff;
  border: none; cursor: pointer;
  box-shadow: 0 25px 60px -10px rgba(89,154,159,0.7);
  transition: transform var(--t-fast) var(--easing), opacity var(--t-med) var(--easing), background var(--t-fast);
  z-index: 2;
}
.video-frame__play svg { width: 38px; height: 38px; margin-left: 4px; }
.video-frame__play:hover { transform: scale(1.06); background: var(--teal-deep); }
.video-frame.is-playing .video-frame__play { opacity: 0; pointer-events: none; transform: scale(0.85); }

/* ============ BUTTONS ============ */
.btn {
  --pad-y: 16px;
  --pad-x: 36px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  transition: transform var(--t-fast) var(--easing),
              box-shadow var(--t-fast) var(--easing),
              background var(--t-fast) var(--easing);
  cursor: pointer;
  border: 1px solid transparent;
  will-change: transform;
}
.btn--lg { --pad-y: 18px; --pad-x: 42px; font-size: 1rem; }
.btn--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 40px -14px rgba(89,154,159,0.65);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--teal-deep);
  box-shadow: 0 18px 50px -12px rgba(89,154,159,0.8);
}

/* ============ SECTION HEAD ============ */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.005em;
  line-height: 1.15;
}
.section-head__sub { color: var(--ink-soft); font-size: 1rem; }

/* ============ BOOK ============ */
.book {
  padding: 80px 0 100px;
  background: var(--cream);
}
.book__frame {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  min-height: 720px;
  border: 1px solid rgba(0,0,0,0.05);
}
.book__frame iframe { width: 100%; min-height: 720px; }
@media (max-width: 720px) { .book__frame, .book__frame iframe { min-height: 900px; } }

/* ============ FAQ ============ */
.faq { padding: 100px 0; background: var(--cream); }
.faq__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 620px) { .faq__grid { grid-template-columns: 1fr; } }

.tile {
  position: relative;
  background: var(--cream-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--cream-line);
  cursor: pointer;
  transition: transform var(--t-med) var(--easing),
              border-color var(--t-fast),
              box-shadow var(--t-med);
  display: flex; flex-direction: column;
}
.tile:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: var(--shadow-soft);
}
.tile__media { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.tile__media video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow) var(--easing), filter var(--t-med);
  filter: brightness(0.85);
}
.tile:hover .tile__media video { transform: scale(1.04); filter: brightness(0.98); }
.tile__play {
  position: absolute; inset: 0; margin: auto;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  border: none; pointer-events: none;
  transition: transform var(--t-fast), opacity var(--t-med);
  box-shadow: 0 12px 30px -8px rgba(89,154,159,0.7);
}
.tile__play svg { width: 22px; height: 22px; margin-left: 2px; }
.tile.is-playing .tile__play { opacity: 0; transform: scale(0.85); }
.tile.is-playing .tile__media video { filter: brightness(1); }
.tile__body {
  padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 6px;
}
.tile__q {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.3;
}
.tile__hint {
  color: var(--ink-mute);
  font-size: 0.78rem;
}

/* ============ FEEDBACK ============ */
.feedback {
  padding: 100px 0;
  background: var(--cream-soft);
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
}
.feedback__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.feedback__card {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid var(--cream-line);
  box-shadow: var(--shadow-soft);
  transition: transform var(--t-med) var(--easing), box-shadow var(--t-med);
}
.feedback__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.feedback__card img {
  width: 100%; height: auto;
  border-radius: 8px;
  display: block;
}

/* ============ CERTIFICATIONS (2-up below reviews) ============ */
.certs {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 620px) { .certs { grid-template-columns: 1fr; max-width: 420px; } }

.certs__card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--cream-line);
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-med) var(--easing), box-shadow var(--t-med);
}
.certs__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.certs__card img {
  width: 100%; height: auto;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

/* ============ FOOTER CTA ============ */
.footer-cta { padding: 80px 0 60px; background: var(--cream); }
.footer-cta__inner {
  text-align: center;
  display: flex; flex-direction: column; gap: 22px; align-items: center;
}
.footer-cta__inner h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--ink);
  margin: 0;
}

.foot {
  border-top: 1px solid var(--cream-line);
  padding: 24px 0;
  color: var(--ink-mute);
  font-size: 0.82rem;
  background: var(--cream);
  font-family: var(--display);
}
.foot__inner {
  display: flex; align-items: center; justify-content: center; text-align: center;
}

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--easing), transform var(--t-slow) var(--easing);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
