/* 1. Variables — poster palette */
:root {
  --navy: #001933;
  --deep-navy: #001933;
  --gold: #D9A52E;
  --light-gold: #D9A52E;
  --white: #FFFFFF;
  --light-blue: #E7F0F8;
  --dark-text: #101828;
  --muted: rgba(255, 255, 255, 0.72);
  --wa-green: #128C7E;
  --radius: 22px;
  --nav-h: 74px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Segoe UI", system-ui, sans-serif;
  --script: Caveat, "Segoe Script", cursive, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--gold);
  color: var(--navy);
  padding: 8px 12px;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* 3. Typography */
h1, h2, h3 {
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
  color: var(--white);
}
h1 { font-size: clamp(2.15rem, 5vw, 4.1rem); margin: 0 0 18px; }
h1 span { display: block; color: var(--gold); font-size: 0.62em; margin-top: 10px; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); margin: 0 0 12px; }
h3 { font-size: 1.08rem; margin: 0 0 8px; }
p { margin: 0 0 12px; color: var(--muted); }
.eyebrow, .section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-lead { max-width: 680px; margin: 0 auto 8px; }
.script-tagline {
  font-family: var(--script);
  font-size: 1.75rem;
  color: var(--gold);
  margin: 0 0 12px;
}
.script-tagline.light { color: var(--gold); }

.on-light h2,
.on-light h3,
.about h2,
.about h3,
.contact h2,
.contact h3 {
  color: var(--dark-text);
}
.on-light p,
.about p,
.contact p,
.about .section-lead {
  color: #334155;
}

/* 4. Navbar — frosted glass */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 25, 51, 0.62);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(217, 165, 46, 0.18);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.navbar.scrolled {
  background: rgba(0, 25, 51, 0.88);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.navbar-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: var(--white);
  border-radius: 14px;
  padding: 4px;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; color: var(--white); letter-spacing: 0.04em; }
.brand-sub { font-size: 0.72rem; color: var(--muted); }
.nav-links { display: flex; gap: 22px; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -7px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--white); }
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }
.navbar-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 165, 46, 0.4);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  padding: 10px 9px;
}
.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.25s var(--ease);
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5. Hero */
.hero {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 25, 51, 0.92) 8%, rgba(0, 25, 51, 0.55) 55%, rgba(0, 25, 51, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 25, 51, 0.2), rgba(0, 25, 51, 0.92));
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 165, 46, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 165, 46, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
  pointer-events: none;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  z-index: 1;
}
.hero-support { font-weight: 600; color: var(--white); }
.hero-desc { max-width: 540px; color: rgba(255,255,255,0.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-actions.center { justify-content: center; }
.hero-visual { position: relative; min-height: 460px; }
.lab-stage {
  position: relative;
  height: 460px;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(217, 165, 46, 0.35);
  background: rgba(0, 25, 51, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.04) inset;
  transform-style: preserve-3d;
  transition: transform 0.45s var(--ease);
}
.visual {
  position: absolute;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(217, 165, 46, 0.28);
}
.visual.fingerprint { width: 52%; left: 6%; top: 10%; height: 58%; }
.visual.dna { width: 38%; right: 7%; top: 8%; height: 42%; }
.visual.microscope { width: 46%; right: 10%; bottom: 8%; height: 38%; }
.visual.print-mark {
  width: 28%;
  left: 8%;
  bottom: 8%;
  object-fit: contain;
  opacity: 0.55;
  border: 0;
  box-shadow: none;
}
.gold-ring {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(217, 165, 46, 0.28);
  border-radius: 24px;
  pointer-events: none;
  animation: pulseGold 4.5s ease-in-out infinite;
}
.price-card {
  position: absolute;
  right: -6px;
  bottom: -18px;
  width: min(250px, 86%);
  border: 1px solid rgba(217, 165, 46, 0.55);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  z-index: 2;
}
.price-kicker, .price-cycle {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--white);
}
.price-cycle { color: var(--gold); margin-bottom: 8px; }
.price-enroll { margin: 0; font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.price-amount {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
  letter-spacing: -0.05em;
}

.glass {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* 5. Course Units & Curriculum */
.units {
  padding: 68px 0 88px;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.units::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -120px;
  right: -150px;
  background: radial-gradient(circle, rgba(217, 165, 46, 0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.units-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 38px;
  position: relative;
  z-index: 1;
}
.unit-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(217, 165, 46, 0.28);
  color: var(--muted);
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.unit-tab-btn:hover {
  color: var(--white);
  border-color: var(--gold);
  background: rgba(217, 165, 46, 0.12);
  transform: translateY(-2px);
}
.unit-tab-btn.is-active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(217, 165, 46, 0.35);
  transform: translateY(-2px);
}
.units-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  position: relative;
  z-index: 1;
}
.unit-card {
  background: linear-gradient(145deg, rgba(0, 25, 51, 0.88), rgba(0, 16, 35, 0.95));
  border: 1px solid rgba(217, 165, 46, 0.24);
  border-radius: 22px;
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.3s var(--ease);
}
.unit-card.is-hidden {
  display: none;
}
.unit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 165, 46, 0.7), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.unit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 165, 46, 0.65);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4), 0 0 24px rgba(217, 165, 46, 0.12);
}
.unit-card:hover::before {
  opacity: 1;
}
.unit-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.unit-badge {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(217, 165, 46, 0.12);
  border: 1px solid rgba(217, 165, 46, 0.32);
  padding: 4px 12px;
  border-radius: 999px;
}
.unit-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(217, 165, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  border: 1px solid rgba(217, 165, 46, 0.18);
}
.unit-icon svg {
  width: 20px;
  height: 20px;
}
.unit-card h3 {
  font-size: 1.18rem;
  font-weight: 650;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.unit-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}
.unit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.unit-tag {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  transition: border-color 0.25s, background 0.25s;
}
.unit-card:hover .unit-tag {
  border-color: rgba(217, 165, 46, 0.25);
  background: rgba(217, 165, 46, 0.06);
}

/* 6. Sections */
.section { padding: 92px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 44px; }
.about, .contact {
  background: var(--light-blue);
}
.benefits, .why, .instructor, .course { background: var(--navy); }
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pillar {
  background: var(--white);
  padding: 0 0 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(217, 165, 46, 0.35);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 25, 51, 0.16);
}
.pillar-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 18px;
}
.pillar h3, .pillar p { padding-inline: 22px; }
.pillar-line {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 0 22px 12px;
}
.instructor-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: center;
}
.avatar-ring {
  width: 300px;
  height: 300px;
  margin: auto;
  border-radius: 50%;
  border: 2px solid var(--gold);
  position: relative;
  background: #000;
  overflow: hidden;
  box-shadow: 0 0 0 12px rgba(217, 165, 46, 0.08), 0 20px 60px rgba(0,0,0,0.35);
  animation: ringGlow 5s ease-in-out infinite;
}
.mentor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.mentor-name { font-size: 1.6rem; margin-top: 8px; color: var(--white); }
.mentor-role { font-weight: 600; color: var(--white); }
.credentials { margin-top: 18px; }
.credentials li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--muted);
}
.mentor-copy .instagram-link { margin-top: 22px; }
.credentials li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.why-item {
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(217, 165, 46, 0.22);
  background: rgba(255,255,255,0.04);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.why-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}
.why-item span {
  display: block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.why-item h3 { margin: 0; font-size: 1.02rem; }

/* 7. Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.feature-card {
  grid-column: span 2;
  background: var(--white);
  border: 1px solid rgba(217, 165, 46, 0.35);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.feature-card:nth-child(4) { grid-column: 2 / span 2; }
.feature-card:nth-child(5) { grid-column: 4 / span 2; }
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}
.feature-card h3 { color: var(--dark-text); }
.feature-card p { color: #334155; }
.icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(217, 165, 46, 0.12);
  margin-bottom: 14px;
}
.icon-wrap svg { width: 24px; height: 24px; }
.course-card {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid rgba(217, 165, 46, 0.45);
  position: relative;
  overflow: hidden;
}
.course-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 220px;
  height: 220px;
  background: url("assets/forensic-dna.png") center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
}
.course-card::before {
  content: "";
  position: absolute;
  left: 0; top: 28px; bottom: 28px;
  width: 3px;
  background: var(--gold);
  border-radius: 3px;
}
.course-meta { display: grid; gap: 12px; margin-top: 18px; position: relative; z-index: 1; }
.course-meta dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.course-meta dd { margin: 0; font-weight: 600; color: var(--white); }
.fee { font-size: 1.8rem; color: var(--gold); }

/* 8. CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn:hover { transform: scale(1.03); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; font-size: 0.78rem; }
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--gold);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-secondary-light {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn-secondary-light:hover {
  background: var(--gold);
  color: var(--navy);
}
.btn-whatsapp {
  background: var(--white);
  color: var(--navy);
  border-color: var(--wa-green);
}
.btn-whatsapp:hover {
  background: var(--wa-green);
  color: var(--white);
}
.btn-nav { min-height: 40px; padding-inline: 16px; }
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(217, 165, 46, 0.22);
  border-bottom: 1px solid rgba(217, 165, 46, 0.22);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/lab-hero.png") center/cover no-repeat;
  opacity: 0.18;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.75); }
.cta-inner { position: relative; max-width: 760px; }

/* 9. Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-card {
  background: var(--white);
  border: 1px solid rgba(217, 165, 46, 0.35);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: transform 0.4s var(--ease);
}
.contact-card:hover { transform: translateY(-6px); }
.contact-card a { color: var(--navy); font-weight: 600; }
.contact-card .btn { margin-top: 10px; }
.instagram-link.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

/* 10. Footer */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 20px;
  border-top: 1px solid rgba(217, 165, 46, 0.22);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}
.footer-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  background: var(--white);
  border-radius: 16px;
  padding: 6px;
  margin-bottom: 12px;
}
.footer-name { color: var(--white); font-weight: 700; }
.positioning {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.footer a:hover { color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.copyright {
  text-align: center;
  border-top: 1px solid rgba(217, 165, 46, 0.16);
  padding-top: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* 11. Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.float-a { animation: floatY 7s ease-in-out infinite; }
.float-b { animation: floatY 8.5s ease-in-out infinite reverse; }
.float-c { animation: floatY 6.5s ease-in-out infinite 0.6s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes kenburns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-2%, -2%, 0); }
}
@keyframes pulseGold {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}
@keyframes ringGlow {
  0%, 100% { box-shadow: 0 0 0 12px rgba(217, 165, 46, 0.08), 0 20px 60px rgba(0,0,0,0.35); }
  50% { box-shadow: 0 0 0 18px rgba(217, 165, 46, 0.16), 0 20px 70px rgba(217, 165, 46, 0.18); }
}

/* 12. Responsive */
@media (max-width: 1023px) {
  .hero-layout,
  .instructor-layout,
  .course-card,
  .footer-grid,
  .units-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
  }
  .contact-grid,
  .pillars {
    grid-template-columns: 1fr;
  }
  .price-card { right: 16px; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 480px; }
  .gallery-card img { height: 200px; }
}

@media (max-width: 767px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand-text { display: none; }
  .brand-logo { width: 44px; height: 44px; }
  .btn-nav { min-height: 36px; font-size: 0.72rem; padding-inline: 12px; }
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: rgba(0, 25, 51, 0.96);
    display: none;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid rgba(217, 165, 46, 0.22);
    padding: 8px 0 16px;
  }
  .menu-open .nav-links { display: flex; }
  .nav-link { padding: 12px 20px; }
  .hero { padding: 28px 0 56px; }
  .hero-visual, .lab-stage { min-height: 340px; height: 340px; }
  .hero-actions .btn { width: 100%; }
  .feature-grid,
  .why-grid { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card:nth-child(4),
  .feature-card:nth-child(5) {
    grid-column: auto;
  }
  body.menu-open { overflow: hidden; }
  .section { padding: 60px 0; }
  .course-card { padding: 24px 20px 24px 24px; }
  .price-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .visual.print-mark { display: none; }
}

@media (max-width: 360px) {
  h1 { font-size: 1.75rem; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .feature-card, .navbar, .btn, .gallery-card img { transition: none; }
  .hero-bg-img, .float-a, .float-b, .float-c, .gold-ring, .avatar-ring { animation: none; }
}
