/* ==========================================================
   Devi Education Center — main stylesheet
   Brand colours taken from the DEC logo (green + red)
   ========================================================== */

:root {
  --green: #15913a;
  --green-dark: #0b5e24;
  --green-deep: #073d18;
  --green-soft: #e8f5ec;
  --red: #e5261c;
  --red-dark: #b81a12;
  --gold: #f4b400;
  --ink: #152319;
  --muted: #5b6b60;
  --bg: #fbfdf9;
  --surface: #ffffff;
  --line: #e3ebe5;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 94, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 94, 36, 0.15);

  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Fraunces", Georgia, serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--soft { background: var(--green-soft); }

.section__head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section__head p { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section--soft .eyebrow { background: #fff; }
.eyebrow--light { background: rgba(255,255,255,.15); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(21,145,58,.3); }
.btn--primary:hover { background: var(--green-dark); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(229,38,28,.3); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { border-color: var(--green); color: var(--green-dark); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--white { background: #fff; color: var(--green-dark); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--green-dark); }

/* ---------- Top bar ---------- */
.topbar { background: var(--green-deep); color: #d9f0e0; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar p { margin: 0; }
.topbar__links { display: flex; gap: 20px; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.06); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 62px; height: 62px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--green-dark); }
.brand__text small { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 14px;
  font-weight: 500;
  font-size: .97rem;
  color: var(--ink);
  border-radius: 8px;
  transition: color .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav__link:hover, .nav__link.active { color: var(--green); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }
.nav__cta { margin-left: 12px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span { width: 24px; height: 2.5px; background: var(--green-dark); border-radius: 2px; transition: transform .3s, opacity .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 100px);
  background:
    radial-gradient(circle at 90% 10%, rgba(21,145,58,.12), transparent 45%),
    radial-gradient(circle at 5% 90%, rgba(229,38,28,.07), transparent 40%),
    var(--bg);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); margin-bottom: 20px; }
.hl { color: var(--green); white-space: nowrap; }
.hl--red { color: var(--red); }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }

.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem; font-weight: 600;
}

.hero__media { position: relative; min-height: 480px; }
.hero__img { position: absolute; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--green-soft); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { inset: 0 0 60px 60px; border: 6px solid #fff; }
.hero__img--small { width: 44%; aspect-ratio: 1; left: 0; bottom: 0; border: 6px solid #fff; }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 12px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; }
.float-card small { color: var(--muted); font-size: .78rem; }
.float-card__icon { font-size: 1.6rem; }
.float-card--top { top: 30px; left: 10px; }
.float-card--bottom { right: -10px; bottom: 30px; animation-delay: 1.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Inner page banner ---------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 8vw, 96px);
  background: var(--green-deep) center / cover no-repeat;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,61,24,.95) 0%, rgba(11,94,36,.82) 50%, rgba(21,145,58,.45) 100%);
  z-index: -1;
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.page-hero p { max-width: 580px; font-size: 1.08rem; opacity: .92; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .88rem; margin-bottom: 14px; opacity: .85; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Features ---------- */
.features { margin-top: -40px; position: relative; z-index: 2; }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.feature { padding: 30px 26px; border-right: 1px solid var(--line); transition: background .3s; }
.feature:last-child { border-right: 0; }
.feature:hover { background: var(--green-soft); }
.feature__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  font-size: 1.5rem;
  background: var(--green-soft);
  border-radius: 14px;
  margin-bottom: 16px;
}
.feature:hover .feature__icon { background: #fff; }
.feature h3 { font-size: 1.08rem; }
.feature p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: 28px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); background: var(--green-soft); }
.split__media--dash::before {
  content: "";
  position: absolute;
  inset: -18px 18px 18px -18px;
  border: 3px dashed rgba(21,145,58,.35);
  border-radius: 32px;
  z-index: -1;
}
.split__content h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.split__content > p { color: var(--muted); }

.media-badge {
  position: absolute;
  right: -20px; bottom: 40px;
  display: flex; align-items: center; gap: 12px;
  background: var(--red);
  color: #fff;
  padding: 16px 22px;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(229,38,28,.35);
  font-weight: 600;
  line-height: 1.3;
}
.media-badge span { font-size: 1.8rem; }

.checklist { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  font-size: .75rem; font-weight: 700;
  color: #fff;
  background: var(--green);
  border-radius: 50%;
}
.checklist--light li::before { background: #fff; color: var(--green-dark); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.mv > div { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius-sm); padding: 18px 20px; }
.mv > div:last-child { border-left-color: var(--red); }
.mv h4 { font-size: 1rem; }
.mv p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Course cards ---------- */
.courses__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.course {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-soft); }
.course__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.course:hover .course__img img { transform: scale(1.06); }
.tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--green); color: #fff;
  font-size: .75rem; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
}
.tag--red { background: var(--red); }
.tag--gold { background: var(--gold); color: var(--ink); }
.course__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.course__body h3 { font-size: 1.2rem; }
.course__body p { color: var(--muted); font-size: .93rem; }
.course__meta { list-style: none; padding: 14px 0 0; margin: auto 0 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.course__link { font-weight: 700; color: var(--green); }
.course__link:hover { color: var(--red); }

/* ---------- Course detail (courses page) ---------- */
.course-detail + .course-detail { margin-top: clamp(64px, 9vw, 110px); }
.course-detail .split__media img { aspect-ratio: 4 / 3; }
.course-detail__num {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--red);
  letter-spacing: .1em;
  display: block;
  margin-bottom: 6px;
}
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 26px; }
.info-grid div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.info-grid small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.info-grid strong { font-size: .95rem; }
.section--soft .info-grid div { border-color: #d3e6d8; }

/* ---------- Highlights band ---------- */
.band {
  background:
    linear-gradient(120deg, rgba(7,61,24,.94), rgba(21,145,58,.88)),
    url("../images/photos/class-uniform.jpg") center / cover;
  color: #fff;
  padding: 64px 0;
}
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.band__item span { font-size: 2rem; display: block; margin-bottom: 6px; }
.band__item strong { display: block; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.2; }
.band__item small { opacity: .85; font-size: .92rem; }

/* ---------- Why us ---------- */
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.why__item {
  display: flex; gap: 14px;
  background: var(--surface);
  padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .3s;
}
.why__item:hover { border-color: var(--green); box-shadow: var(--shadow); }
.why__num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--red); line-height: 1; }
.why__item h4 { font-size: 1rem; margin-bottom: 4px; }
.why__item p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow);
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  margin-bottom: 16px;
}
.step:nth-child(even)::before { background: var(--red); }
.step h4 { font-size: 1.05rem; }
.step p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.g { margin: 0; border-radius: var(--radius); overflow: hidden; background: #d5ead9; position: relative; cursor: zoom-in; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g:hover img { transform: scale(1.08); }
.g figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  color: #fff; font-size: .85rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  opacity: 0; transition: opacity .3s;
}
.g:hover figcaption { opacity: 1; }
.g--tall { grid-row: span 2; }
.g--wide { grid-column: span 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  background: rgba(5,20,10,.9);
  padding: 20px;
}
.lightbox.open { display: grid; }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: min(1100px, 100%); }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 12px; user-select: none; transition: opacity .25s; }
.lightbox img.fading { opacity: 0; }
.lightbox__caption {
  display: flex; justify-content: space-between; gap: 16px;
  width: 100%; margin-top: 12px;
  color: #fff; font-weight: 600; font-size: .95rem;
}
.lightbox__caption span:last-child { opacity: .7; font-weight: 500; white-space: nowrap; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: #fff; color: var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
  z-index: 1;
}
.lightbox__close { top: 16px; right: 20px; width: 44px; height: 44px; font-size: 1.6rem; }
.lightbox__nav { top: 50%; width: 52px; height: 52px; font-size: 2.2rem; line-height: 1; padding-bottom: 4px; transform: translateY(-50%); }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--green); color: #fff; }

@media (max-width: 640px) {
  .lightbox__nav { top: auto; bottom: 20px; transform: none; width: 46px; height: 46px; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
  .lightbox__figure { margin-bottom: 60px; }
}

/* ---------- CTA ---------- */
.cta {
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.08), transparent 40%),
    linear-gradient(135deg, var(--green-deep), var(--green));
  color: #fff;
  border-radius: 28px;
  padding: clamp(36px, 6vw, 60px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  flex-wrap: wrap;
}
.cta h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 8px; }
.cta p { margin: 0; opacity: .9; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 56px; }
.contact__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.contact__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact__icon {
  display: inline-grid; place-items: center;
  width: 58px; height: 58px;
  font-size: 1.5rem;
  background: var(--green-soft);
  border-radius: 50%;
  margin-bottom: 14px;
}
.contact__card h4 { font-size: 1.05rem; }
.contact__card p { color: var(--muted); font-size: .95rem; margin: 0; }
.contact__card a { color: var(--green-dark); font-weight: 600; }
.contact__card a:hover { color: var(--red); }

.contact__main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
.map { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--green-soft); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.form { background: #fff; color: var(--ink); padding: 34px; border-radius: 22px; box-shadow: var(--shadow-lg); }
.form h3 { font-family: var(--font-head); font-size: 1.5rem; margin-bottom: 6px; }
.form__note { color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; margin-bottom: 16px; }
.form input, .form select, .form textarea {
  font: inherit;
  font-weight: 400;
  font-size: .95rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fafcfa;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(21,145,58,.12); }
.form .invalid { border-color: var(--red); }
.form__status { margin: 12px 0 0; font-size: .9rem; font-weight: 600; text-align: center; min-height: 1.2em; }
.form__status.ok { color: var(--green); }
.form__status.err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: #0b1f12; color: #b8c9bd; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__logo { width: 120px; background: #fff; border-radius: 16px; padding: 6px; margin-bottom: 16px; }
.footer__brand p { max-width: 300px; font-size: .92rem; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .85rem; text-align: center; }

/* ---------- Floating buttons ---------- */
.to-top, .wa-float {
  position: fixed; right: 20px;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  z-index: 90;
}
.wa-float { bottom: 20px; background: #25d366; box-shadow: 0 10px 24px rgba(37,211,102,.4); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.to-top {
  bottom: 82px;
  background: var(--red);
  font-size: 1.2rem; font-weight: 700;
  box-shadow: 0 10px 24px rgba(229,38,28,.35);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

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

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .courses__grid { grid-template-columns: repeat(2, 1fr); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .menu-toggle { display: flex; position: relative; z-index: 101; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; height: 100dvh;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 96px 24px 24px;
    background: #fff;
    box-shadow: -20px 0 40px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav.open { transform: none; }
  .nav__link { padding: 12px 14px; font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__link.active { background: var(--green-soft); }
  .nav__cta { margin: 12px 0 0; }

  .hero__inner, .split, .contact__main { grid-template-columns: 1fr; gap: 48px; }
  .split--rev .split__media { order: 0; }
  .hero__media { min-height: 420px; max-width: 560px; width: 100%; margin: 0 auto; }
  .split__media { max-width: 600px; width: 100%; margin: 0 auto; }
  .band__grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__links { display: none; }
  .header__inner { height: 70px; }
  .brand__logo { width: 50px; height: 50px; }
  .brand__text strong { font-size: 1.25rem; }
  .brand__text small { font-size: .64rem; }

  .hero__actions .btn { flex: 1 1 100%; }
  .hero__media { min-height: 340px; }
  .hero__img--main { inset: 0 0 50px 30px; }
  .float-card { padding: 10px 14px; }
  .float-card--bottom { right: 0; }

  .features { margin-top: -24px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }

  .media-badge { right: 10px; bottom: 16px; padding: 12px 16px; }
  .split__media--dash::before { display: none; }
  .mv, .why__list, .form__row, .steps { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .form { padding: 24px 20px; }
  .info-grid { grid-template-columns: 1fr 1fr; }

  .courses__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-auto-rows: 140px; gap: 10px; }
  .g figcaption { opacity: 1; font-size: .75rem; padding: 20px 10px 8px; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
}
