@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Noto+Serif:wght@400;600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --yellow: #ffe300;
  --red: #e43b2c;
  --red-dark: #b91a1a;
  --ink: #111;
  --black: #000;
  --white: #fff;
  --glass: rgba(255, 255, 255, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
img { max-width: 100%; height: auto; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
body.modal-open { overflow: hidden; }

.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.container--narrow { max-width: 820px; }

h1, h2, h3 { font-family: 'Noto Serif', serif; line-height: 1.2; }

/* Hero */
.hero { background: #fff; color: #2f2f2f; font-family: 'Noto Serif', serif; }
.hero__tag { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 20px; background: var(--yellow); color: #111; font: 700 clamp(18px, 2.6vw, 26px)/1.3 'Poppins', sans-serif; text-align: center; }
.hero__icon { flex: none; width: 1em; height: 1em; }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px 0; }
.hero__sifu { display: block; width: 100%; height: auto; border: 2px solid #444; border-radius: 8px; background: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
.hero__copy { text-align: center; }
.hero h1 { margin: 0; color: #2f2f2f; font-size: clamp(24px, 3.2vw, 32px); line-height: 1.3; }
.hero__sub { margin: 16px 0 0; font-size: clamp(16px, 2vw, 18px); line-height: 1.5; }
.hero .cta { margin-top: 30px; }
.hero .cta__note { color: #2f2f2f; }
/* Call to action */
.cta { margin: 32px 0 0; text-align: center; }
.cta__note { margin: 10px 0 0; font-size: 15px; font-weight: 600; }
.btn { display: inline-block; padding: 18px 40px; border: 0; border-radius: 6px; background: var(--red); color: #fff; font: 700 20px/1.2 'Noto Serif', serif; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn--block { display: block; width: 100%; margin-top: 22px; padding: 16px 18px; font-size: 18px; }

/* Sections */
.section { padding: 64px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--light { background: var(--white); color: var(--ink); }
.section--yellow { background: var(--yellow); color: var(--ink); }
.section__title { margin: 0 auto 28px; max-width: 900px; color: var(--yellow); font-size: clamp(26px, 4vw, 40px); text-align: center; }
.section__title--ink { color: var(--ink); }
.section__kicker { margin: -10px 0 32px; font-size: 22px; font-weight: 700; text-align: center; }
.section__note { max-width: 760px; margin: 32px auto 0; font-size: 20px; font-weight: 600; text-align: center; }

.photo { display: block; width: 100%; margin: 0 auto 32px; border-radius: 12px; }
.photo--wide { margin: 40px auto 0; }

/* Problems */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem-card { margin: 0; overflow: hidden; border-radius: 12px; background: var(--glass); }
.problem-card img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.problem-card figcaption { padding: 16px 18px 20px; font-size: 17px; font-weight: 600; text-align: center; }

/* Lists */
.check-list { margin: 0 0 32px; padding: 0; list-style: none; }
.check-list li { position: relative; margin: 14px 0; padding-left: 40px; font-weight: 500; }
.check-list li::before { position: absolute; left: 0; content: '\2705'; }
.mission { margin: 0 0 48px; padding: 22px 26px; border-left: 6px solid var(--red); background: #f5f5f5; font-weight: 600; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about__images { display: grid; gap: 16px; }
.about__images img { display: block; width: 100%; border-radius: 12px; }
.about__copy p { margin: 0 0 16px; font-weight: 600; }
.media-title { margin: 44px 0 20px; font-size: clamp(20px, 3vw, 28px); text-align: center; }
.media-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.media-row img { display: block; width: 100%; max-height: 260px; object-fit: contain; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.testimonial { margin: 0; }
.testimonial figcaption { margin-top: 10px; color: var(--yellow); font-weight: 700; text-align: center; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #171717; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.closing p { margin: 0 0 18px; font-weight: 500; }

/* FAQ */
.faq__item { margin-bottom: 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 36px; background: var(--glass); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 32px; font: 600 18px/1.3 'Poppins', sans-serif; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { color: #3d73ff; content: '+'; font-size: 28px; line-height: 1; }
.faq__item[open] summary::after { content: '\2212'; }
.faq__item p { margin: 0; padding: 0 32px 22px; }

/* Footer */
.footer { padding: 36px 0; background: #111; color: rgba(255, 255, 255, .75); font-size: 13px; text-align: center; }
.footer p { margin: 0 0 12px; }
.footer__legal { max-width: 960px; margin-right: auto !important; margin-left: auto !important; font-size: 12px; line-height: 1.6; }

/* Registration popup */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; overflow-y: auto; background: rgba(0, 0, 0, .7); }
.modal.is-visible { display: flex; }
.modal__panel { position: relative; width: min(460px, 100%); margin: auto; padding: 36px 30px 30px; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.modal__panel h2 { margin: 0 0 6px; font-size: 28px; text-align: center; }
.modal__sub { margin: 0 0 12px; color: var(--red); font-weight: 700; text-align: center; }
.modal__close { position: absolute; top: 10px; right: 14px; width: 36px; height: 36px; border: 0; background: none; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.form-field { margin-top: 16px; }
.form-field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 700; }
.form-field input { display: block; width: 100%; height: 50px; padding: 0 14px; border: 1px solid #c9c9c9; border-radius: 6px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
.form-field input:focus { border-color: var(--red); outline: 3px solid rgba(224, 38, 38, .25); }
.form-error { min-height: 20px; margin: 10px 0 0; color: var(--red-dark); font-size: 14px; font-weight: 600; text-align: center; }

/* Thank-you page */
.thanks { display: flex; min-height: 100vh; align-items: center; padding: 40px 0; text-align: center; }
.thanks h1 { color: var(--yellow); font-size: clamp(32px, 6vw, 52px); }
.thanks__event { display: inline-block; margin: 8px 0 20px; padding: 14px 28px; border: 2px solid var(--yellow); border-radius: 12px; font-size: 20px; }
.thanks__links { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 12px; }
.thanks__links .btn { width: 100%; max-width: 360px; }
.btn--whatsapp { background: #25d366; color: #0b2e18; }
.btn--whatsapp:hover { background: #1ebe5a; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .section { padding: 48px 0; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about, .testimonial-grid, .hero__inner { grid-template-columns: 1fr; }
  .hero__inner { gap: 24px; padding: 24px 0 36px; }
  .hero__sifu { max-width: 460px; margin: 0 auto; }
  .media-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .problem-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; padding: 16px 20px; font-size: 18px; }
  .faq__item summary { padding: 18px 22px; font-size: 16px; }
  .faq__item p { padding: 0 22px 20px; }
}
