
:root {
  --bg: #f7fbff;
  --card: #ffffff;
  --ink: #12304f;
  --apex-blue: #0a66c2;
  --apex-blue-2: #12a4dd;
  --apex-deep: #0b3f8a;
  --line: #dbe8f5;
  --muted: #5d7692;
  --shadow: 0 18px 45px rgba(15, 72, 134, .10);
  --radius: 28px;
  --rehab-pink: #e9198f;
  --rehab-navy: #1d1a63;
  --denta-dark: #5a2b90;
  --denta-light: #b98ad1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: #fff; color: var(--apex-blue); padding: 10px 14px; z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }
.container { width: min(100% - 40px, 1180px); margin-inline: auto; }
.section-pad { padding: 90px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; color: var(--apex-blue);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--apex-blue), var(--apex-blue-2)); }
h1, h2, h3 { margin: 0 0 14px; line-height: 1.08; letter-spacing: -.03em; }
h1 { font-size: clamp(2.9rem, 6vw, 5rem); font-weight: 950; max-width: 12ch; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 920; max-width: 15ch; }
h3 { font-size: 1.34rem; font-weight: 880; }
p { margin: 0 0 16px; }
.site-header {
  position: sticky; top: 0; z-index: 80; backdrop-filter: blur(18px);
  background: rgba(255,255,255,.84); border-bottom: 1px solid rgba(219,232,245,.8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 950; }
.brand-mark { width: 28px; height: 28px; }
.brand-text { font-size: 1.35rem; color: var(--apex-deep); }
.brand-text span { color: var(--apex-blue); }
.site-nav { display: flex; align-items: center; gap: 14px; }
.site-nav a { font-weight: 820; color: var(--muted); padding: 10px 14px; border-radius: 999px; }
.site-nav a:hover { background: #f2f8ff; color: var(--apex-blue); }
.nav-cta { background: linear-gradient(135deg, var(--apex-blue), var(--apex-blue-2)); color: #fff !important; }
.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: #eff7ff; border-radius: 16px; padding: 12px; }
.nav-toggle span { display: block; height: 2px; background: var(--apex-blue); margin: 5px 0; border-radius: 999px; }
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f8fbff, #ffffff 60%); padding-top: 96px; }
.hero-bg::before,
.hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(4px); z-index: 0; }
.hero-bg::before { width: 400px; height: 400px; right: -120px; top: -100px; background: radial-gradient(circle, rgba(18,164,221,.15), transparent 60%); }
.hero-bg::after { width: 340px; height: 340px; left: -120px; top: 120px; background: radial-gradient(circle, rgba(10,102,194,.08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 34px; position: relative; z-index: 1; align-items: center; }
.hero-lead { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 900; transition: .2s ease; border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--apex-blue), var(--apex-blue-2)); color: #fff; box-shadow: 0 16px 30px rgba(8, 114, 201, .25); }
.btn-secondary { background: #fff; color: var(--apex-blue); border-color: var(--line); box-shadow: 0 12px 26px rgba(21, 62, 99, .08); }
.btn-rehab { background: linear-gradient(135deg, var(--rehab-pink), #8b207e); color: #fff; box-shadow: 0 16px 30px rgba(234,19,143,.3); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.btn-denta { background: linear-gradient(135deg, var(--denta-dark), var(--denta-light)); color: #fff; box-shadow: 0 16px 30px rgba(90,43,144,.24); }
.btn-denta-outline { color: var(--denta-dark); border-color: rgba(90,43,144,.15); background: #fff; }
.hero-meta, .footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-weight: 760; }
.hero-meta { margin-top: 24px; }
.hero-meta a:hover, .footer-links a:hover { color: var(--apex-blue); }
.brand-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.brand-strip span {
  padding: 10px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--apex-deep); font-weight: 900; box-shadow: 0 10px 24px rgba(15,72,134,.06);
}
.hero-visual { display: grid; gap: 18px; }
.hero-photo { padding: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 420px; object-fit: cover; object-position: center; }
.glass-card, .program-card, .quiz-card, .final-card, .image-card, .rehab-benefits article, .gallery-grid figure, .denta-class-card {
  background: rgba(255,255,255,.94); border: 1px solid rgba(219,232,245,.94); box-shadow: var(--shadow); border-radius: var(--radius);
}
.hero-card { position: relative; }
.stats-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px; }
.stats-card div { padding: 18px 14px; border-radius: 20px; background: linear-gradient(180deg, #f7fbff, #fff); border: 1px solid var(--line); }
.stat-number { display: block; color: var(--apex-blue); font-size: 2rem; font-weight: 950; line-height: 1; letter-spacing: -.05em; }
.stat-label { display: block; color: var(--muted); font-weight: 800; margin-top: 8px; font-size: .92rem; }
.mini-programs { display: grid; gap: 12px; margin-top: 14px; }
.mini-programs article {
  padding: 18px 20px; border-radius: 22px; background: linear-gradient(135deg, var(--apex-blue), var(--apex-blue-2)); color: #fff;
  display: flex; justify-content: space-between; gap: 18px; align-items: center; box-shadow: 0 14px 32px rgba(7,95,179,.18);
}
.mini-programs span { opacity: .92; font-weight: 800; }
.mini-programs strong { text-align: right; font-size: 1.03rem; }
.section-head { text-align: center; margin-bottom: 46px; }
.narrow { max-width: 780px; margin-inline: auto; }
.section-head p:not(.eyebrow), .quiz-card p, .proof-copy p, .rehab-copy p, .denta-copy p { color: var(--muted); font-size: 1.05rem; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.program-card { padding: 26px; display: flex; flex-direction: column; min-height: 100%; position: relative; overflow: hidden; }
.program-card.featured { grid-column: span 2; background: linear-gradient(180deg, #ffffff, #f4faff); }
.program-card::after { content: ""; position: absolute; inset: auto -30px -40px auto; width: 140px; height: 140px; background: rgba(8,168,215,.08); border-radius: 50%; }
.program-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: #eff8ff; color: var(--apex-blue); font-weight: 950; margin-bottom: 18px; }
.tag { display: inline-flex; width: fit-content; color: #fff; background: linear-gradient(135deg, var(--apex-blue), var(--apex-blue-2)); border-radius: 999px; padding: 6px 12px; font-size: .78rem; font-weight: 900; margin-bottom: 14px; }
.price { color: var(--apex-blue); font-size: 1.1rem; font-weight: 950; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: #31506e; font-weight: 650; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--apex-blue-2); font-weight: 950; }
.check-list.compact { gap: 8px; font-size: .96rem; }
.text-link { margin-top: auto; color: var(--apex-blue); font-weight: 950; display: inline-flex; }
.text-link:hover { color: var(--apex-blue-2); }
.soft-blue { background: linear-gradient(180deg, #f4faff, #fff); }
.proof-grid { display: grid; grid-template-columns: .95fr .75fr; gap: 44px; align-items: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.benefit-grid div { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.benefit-grid strong { display: block; color: var(--apex-deep); margin-bottom: 4px; }
.benefit-grid span { color: var(--muted); font-size: .95rem; }
.image-card { overflow: hidden; padding: 0; }
.image-card img { width: 100%; height: 540px; object-fit: cover; object-position: center; }
.portrait-card img { object-position: top center; }
.rehab-section { position: relative; overflow: hidden; color: #fff; }
.rehab-bg { position: absolute; inset: 0; background:
  radial-gradient(circle at 6% 4%, rgba(234,19,135,.36), transparent 30%),
  radial-gradient(circle at 90% 0%, rgba(98,59,181,.3), transparent 28%),
  linear-gradient(135deg, var(--rehab-navy), #342064 62%, #160e3f); z-index: -2; }
.rehab-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 24px 24px; opacity: .5; }
.rehab-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 42px; align-items: start; }
.rehab-logo { width: min(420px, 100%); margin-bottom: 28px; }
.rehab-badge {
  display: inline-flex; color: #fff !important; background: linear-gradient(135deg, var(--rehab-pink), #7d1c89);
  padding: 9px 15px; border-radius: 999px; font-weight: 950; margin-bottom: 20px;
}
.rehab-copy h2 { color: #fff; max-width: 12ch; }
.rehab-copy p { color: rgba(255,255,255,.8); }
.rehab-price { color: #fff; font-size: 1.5rem; margin: 18px 0 26px; }
.rehab-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rehab-benefits article { padding: 26px; background: rgba(255,255,255,.97); color: var(--ink); border-color: rgba(255,255,255,.28); }
.rehab-benefits h3 { color: var(--rehab-navy); }
.check-list.pink li::before { color: var(--rehab-pink); }
.denta-section { background: linear-gradient(180deg, #faf6fd, #fff); }
.denta-hero { display: grid; grid-template-columns: .98fr .72fr; gap: 34px; align-items: center; margin-bottom: 28px; }
.denta-logo { width: min(360px, 100%); margin-bottom: 18px; }
.denta-badge {
  display: inline-flex; padding: 9px 15px; border-radius: 999px; background: linear-gradient(135deg, var(--denta-dark), var(--denta-light));
  color: #fff !important; font-weight: 950; margin-bottom: 18px;
}
.denta-copy h2 { max-width: 12ch; }
.denta-meta { display: grid; gap: 6px; margin: 22px 0 0; }
.denta-price { color: var(--denta-dark); font-size: 1.34rem; font-weight: 950; }
.denta-note { color: var(--muted); font-weight: 680; }
.denta-photo img { height: 500px; object-position: top center; }
.denta-class-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; }
.denta-class-card { overflow: hidden; }
.denta-class-card img { width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover; object-position: top center; }
.denta-class-body { padding: 18px; border-top: 1px solid #efdef7; }
.denta-class-body h3 { color: var(--denta-dark); margin-bottom: 6px; font-size: 1.1rem; }
.denta-class-body p { margin: 0; color: #7b5d96; font-weight: 900; }
.quiz-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 34px; background: linear-gradient(135deg, #fff, #f4faff); }
.quiz-card div { max-width: 680px; }
.gallery-section { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid figure { margin: 0; overflow: hidden; }
.gallery-grid img { width: 100%; height: 420px; object-fit: cover; object-position: top center; }
.gallery-grid figcaption { padding: 16px 18px 20px; font-weight: 900; color: var(--apex-deep); }
.final-cta { padding-top: 10px; }
.final-card {
  text-align: center; padding: 52px 30px; background: radial-gradient(circle at 10% 5%, rgba(8,168,215,.18), transparent 20%), linear-gradient(135deg, #fff, #f3faff);
}
.final-card p { color: var(--muted); max-width: 720px; margin: 0 auto 26px; font-size: 1.08rem; }
.centered { justify-content: center; }
.site-footer { border-top: 1px solid var(--line); padding: 30px 0; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.footer-denta-logo { width: min(230px, 100%); margin-bottom: 12px; }
.floating-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  color: #fff; background: #19b85a; padding: 12px 18px 12px 12px; border-radius: 999px; box-shadow: 0 18px 36px rgba(17, 167, 80, .35); font-weight: 950;
}
.floating-wa span { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 50%; font-size: .83rem; }
@media (max-width: 1100px) {
  .program-grid { grid-template-columns: repeat(2, 1fr); }
  .program-card.featured { grid-column: span 2; }
  .denta-class-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 76px 20px auto 20px; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 12px; display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; }
  .nav-cta { text-align: center; margin-top: 6px; }
  .hero-grid, .proof-grid, .rehab-grid, .denta-hero { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr; }
  .rehab-benefits { grid-template-columns: 1fr; }
  .denta-class-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .section-pad { padding: 66px 0; }
  .hero { padding-top: 74px; }
  .header-inner { height: 68px; }
  .brand-text { font-size: 1.23rem; }
  h1 { font-size: clamp(2.45rem, 14vw, 3.55rem); }
  h2 { font-size: clamp(1.9rem, 9vw, 2.55rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions, .quiz-card { align-items: stretch; }
  .btn { width: 100%; }
  .mini-programs article { flex-direction: column; align-items: flex-start; }
  .mini-programs strong { text-align: left; }
  .program-grid, .denta-class-grid, .benefit-grid, .footer-grid { grid-template-columns: 1fr; }
  .program-card.featured { grid-column: span 1; }
  .hero-photo img { height: 320px; }
  .image-card img, .denta-photo img { height: auto; }
  .quiz-card { flex-direction: column; }
  .floating-wa { right: 14px; bottom: 14px; padding: 10px 14px 10px 10px; }
  .floating-wa strong { display: none; }
}


.clean-info-card {
  background: linear-gradient(180deg, #ffffff, #f4faff);
  border: 1px solid rgba(219,232,245,.94);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 30px;
}
.clean-info-card h3 { color: var(--apex-deep); font-size: 1.6rem; }
.clean-info-card .btn { margin-top: 8px; }
.denta-hero { grid-template-columns: 1fr !important; }
.denta-copy { max-width: 900px; }

.brand-apex {
  color: var(--apex-deep);
  font-weight: 950;
  letter-spacing: -0.04em;
  font-size: 1.65rem;
}
.footer-brand .brand-apex { font-size: 1.45rem; }


/* v8 branding fix */
.brand-logo-only { gap: 0 !important; }
.brand-full-logo {
  display: block;
  width: auto;
  height: 60px;
  object-fit: contain;
}
.footer-logo {
  height: 54px;
}
@media (max-width: 640px) {
  .brand-full-logo { height: 42px; }
  .footer-logo { height: 40px; }
}


/* FAQ accordion */
.faq-section {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  padding-top: 80px;
  padding-bottom: 70px;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 32px rgba(15, 72, 134, .07);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 58px 22px 24px;
  position: relative;
  color: var(--apex-deep);
  font-size: 1.05rem;
  font-weight: 900;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--apex-blue), var(--apex-blue-2));
  font-size: 1.2rem;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "–";
}
.faq-answer {
  border-top: 1px solid var(--line);
  padding: 18px 24px 22px;
  color: var(--muted);
}
.faq-answer p {
  margin: 0 0 10px;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}
@media (max-width: 640px) {
  .faq-section {
    padding-top: 64px;
    padding-bottom: 56px;
  }
  .faq-item summary {
    padding: 18px 54px 18px 18px;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 16px 18px 18px;
  }
}

.free-to-section{background:linear-gradient(180deg,#fff,#f7fbff)}.free-to-section .quiz-card{border:1px solid rgba(10,102,194,.14)}
