/* Landing page — flat theme: black, dark blue, white and red (no gradients, no blur). Overrides at the end of the file. */
:root {
  --black: #07080c;
  --bg: #07080c;
  --navy: #121319;      /* charcoal panels (was navy) */
  --navy-2: #1c1d26;
  --line: #262833;
  --line-hi: #3a3d4b;
  --glass: #121319;
  --glass-hi: #1c1d26;
  --white: #fff;
  --muted: #b4b7c3;
  --red: #e3101c;
  --red-dark: #b80d17;
  --cyan: #3fd0ea;      /* poster "One Step Ahead" cyan */
  --blue: #3a47e8;      /* poster royal blue */
  --red-glow: transparent;
  --blur: none;
  --radius: 18px;
  --serif: 'Playfair Display', Georgia, serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--sans); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
p { margin: 0 0 1em; color: var(--muted); }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #ff6b75; margin-bottom: 16px; padding: 6px 14px; border-radius: 99px; background: rgba(229, 32, 46, .12); border: 1px solid rgba(229, 32, 46, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 12px; font-weight: 600; font-size: .9rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: linear-gradient(135deg, #ff3b48, var(--red) 60%, #c3121e); color: #fff; border-color: rgba(255, 255, 255, .16); box-shadow: 0 8px 24px var(--red-glow); }
.btn-red:hover { box-shadow: 0 12px 32px rgba(229, 32, 46, .55); }
.btn-line { border-color: rgba(255, 255, 255, .3); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-line:hover { border-color: #fff; background: rgba(255, 255, 255, .12); }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 14px; }
.btn-block { width: 100%; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* nav — floating glass pill */
.nav { position: fixed; z-index: 50; top: 14px; left: 50%; translate: -50% 0; width: min(1220px, 100% - 24px); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px 10px 18px; border-radius: 20px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s, top .3s; }
.nav.scrolled { top: 10px; background: rgba(10, 16, 36, .6); border-color: var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 14px 40px rgba(0, 0, 0, .4); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 1.08rem; min-width: 0; }
.brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand img { height: 40px; width: auto; border-radius: 10px; }
.brand-mark { display: grid; place-items: center; flex: none; width: 40px; height: 40px; background: linear-gradient(135deg, #ff4d5a, var(--red) 55%, #9b0f1a); border-radius: 12px; font-family: var(--serif); font-style: italic; box-shadow: 0 6px 18px var(--red-glow); }
.nav-links { display: flex; align-items: center; gap: 6px; font-size: .92rem; font-weight: 500; }
.nav-links > a:not(.btn) { padding: 8px 14px; border-radius: 10px; color: #ffffff; transition: background .2s, color .2s; }
.nav-links > a:not(.btn):hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-links .btn { padding: 9px 18px; margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; justify-content: center; width: 44px; height: 44px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 2.5px auto; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.on span:nth-child(2) { opacity: 0; }
.nav-toggle.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hero slider */
.hero { position: relative; display: grid; min-height: max(100vh, 640px); min-height: max(100svh, 640px); overflow: hidden; background: radial-gradient(120% 90% at 80% 10%, var(--navy-2) 0%, var(--navy) 40%, var(--black) 85%); }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: 1; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -120px; background: rgba(229, 32, 46, .32); }
.hero::after { width: 480px; height: 480px; left: -160px; bottom: -180px; background: rgba(37, 99, 235, .3); }
.hero-grid { position: absolute; inset: -20% 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 34px; mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent); -webkit-mask-image: radial-gradient(70% 60% at 70% 40%, #000, transparent); opacity: .5; }
/* slides share one grid cell, so the hero is as tall as the tallest slide and nothing can spill under the controls */
.slide { position: relative; grid-area: 1 / 1; z-index: 2; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; z-index: 3; }
.slide-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) saturate(130%); opacity: .55; transform: scale(1.08); transition: transform 8s linear; }
.slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4, 6, 11, .92) 25%, rgba(10, 21, 48, .7) 60%, rgba(10, 21, 48, .55)); }
.slide.is-active .slide-bg { transform: scale(1); }
.slide-inner { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin-inline: auto; padding: 120px 0 170px; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 48px; }
.slide.with-media .slide-inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
.slide-text > * { max-width: 660px; opacity: 0; transform: translateY(28px); transition: opacity .7s, transform .7s; }
.slide.is-active .slide-text > * { opacity: 1; transform: none; }
.slide.is-active .slide-text > :nth-child(2) { transition-delay: .15s; }
.slide.is-active .slide-text > :nth-child(3) { transition-delay: .3s; }
.slide.is-active .slide-text > :nth-child(4) { transition-delay: .45s; }
.slide .slide-title { font-size: clamp(2.1rem, 5.2vw, 4rem); }
.slide p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: #ffffff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
/* any image shape fits: the photo is contained, a blurred copy fills the frame */
.slide-media { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-hi); background: var(--navy); box-shadow: 0 30px 70px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12); opacity: 0; transform: translateX(30px) scale(.97); transition: opacity .9s .2s, transform .9s .2s; }
.slide.is-active .slide-media { opacity: 1; transform: none; }
.slide-media-bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(22px) brightness(.6); }
.slide-media img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.hero.has-media .ledger { display: none; }

.ledger { position: absolute; z-index: 3; right: clamp(20px, 6vw, 110px); top: 24%; width: 370px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-hi); border-radius: var(--radius); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); font-size: .85rem; box-shadow: 0 40px 80px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .12); animation: bob 7s ease-in-out infinite; overflow: hidden; }
.ledger::before { content: ''; position: absolute; inset: 0 20% auto; height: 2px; background: linear-gradient(90deg, transparent, var(--red), transparent); }
.ledger-title { text-align: center; font-family: var(--serif); padding: 14px; font-size: 1.05rem; }
.ledger-head, .ledger-body { display: grid; grid-template-columns: 1fr 1fr; }
.ledger-head span { padding: 6px 14px; font-weight: 700; color: #ff6b75; border-block: 1px solid var(--line); }
.ledger-head span:last-child { text-align: right; }
.ledger-body > div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 14px; color: var(--muted); }
.ledger-body > div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .25); }
.ledger-body b { color: #fff; font-variant-numeric: tabular-nums; }
.ledger-body .red { color: #ff6b75; }
.ledger-body .total { justify-content: flex-end; }
.ledger-body .total b { border-top: 1px solid #fff; border-bottom: 3px double #fff; padding: 2px 0; }
.float { position: absolute; z-index: 1; font-family: var(--serif); font-style: italic; color: rgba(255, 255, 255, .07); pointer-events: none; }
.f1 { font-size: 12rem; right: 4%; bottom: 6%; }
.f2 { font-size: 8rem; left: 46%; top: 12%; color: rgba(229, 32, 46, .18); }
.f3 { font-size: 6rem; left: 4%; bottom: 10%; }
@keyframes bob { 50% { translate: 0 -14px; } }

.slider-ui { position: absolute; z-index: 4; left: 50%; translate: -50% 0; bottom: 84px; display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.btn-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.btn:hover .btn-ico { transform: translateX(3px); }
.arrow, .pager button { display: inline-grid; place-items: center; }
.arrow .btn-ico { width: 18px; height: 18px; }
.arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.arrow:hover { background: var(--red); border-color: var(--red); }
.dots { display: flex; gap: 6px; }
.dots button { width: 22px; height: 5px; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.dots button { position: relative; overflow: hidden; }
.dots button.on { width: 40px; background: rgba(255, 255, 255, .3); }
.dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--red); border-radius: inherit; transform-origin: left; animation: dotFill var(--slide-delay, 5s) linear both; }
@keyframes dotFill { from { transform: scaleX(0); } }

/* stats — glass strip overlapping the hero */
.stats { position: relative; z-index: 5; width: min(1180px, 100% - 32px); margin: -56px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(14, 22, 48, .6); border: 1px solid var(--line-hi); border-radius: 22px; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .1); }
.stat { padding: 28px 18px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border: 0; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.7rem); font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #c9d3ea); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 6vw, 80px); align-items: center; padding-block: clamp(70px, 10vw, 130px); }
.about-photo { position: relative; }
.photo-frame { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, var(--navy-2), var(--black)); border: 1px solid var(--line-hi); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 9rem; color: rgba(255, 255, 255, .15); }
.about-photo::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid rgba(229, 32, 46, .6); border-radius: 24px; z-index: -1; }
.photo-tag { position: absolute; left: -14px; bottom: 30px; padding: 12px 18px; border-radius: 16px; font-size: .85rem; background: rgba(229, 32, 46, .75); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 30px rgba(0, 0, 0, .4); }
.photo-tag b { font-family: var(--display); font-size: 1.5rem; margin-right: 6px; }
.lead { color: #fff; font-weight: 500; }
.about-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 14px; }

/* social buttons */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.social-btn { --c: #fff; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform .25s, background .25s, border-color .25s, box-shadow .25s, color .25s; }
.social-btn:hover { transform: translateY(-4px); background: var(--c); border-color: var(--c); box-shadow: 0 10px 24px color-mix(in srgb, var(--c) 45%, transparent); }
:is(.social-btn, .contact-card).facebook { --c: #1877f2; }
:is(.social-btn, .contact-card).youtube { --c: #ff0033; }
.social-btn.tiktok { --c: #111; }
.tiktok.social-btn:hover { box-shadow: -3px -3px 0 #25f4ee, 3px 3px 0 #fe2c55; }
:is(.social-btn, .contact-card).telegram { --c: #229ed9; }
:is(.social-btn, .contact-card).instagram { --c: #e1306c; }
.instagram.social-btn:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
:is(.social-btn, .contact-card).whatsapp { --c: #25d366; }

/* classes */
.classes { position: relative; padding-block: clamp(70px, 10vw, 120px); background: linear-gradient(180deg, transparent, rgba(10, 21, 48, .7) 50%, transparent); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.class-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.class-grid > .class-card { flex: 1 1 260px; max-width: 370px; }
.class-grid > .empty { width: 100%; }
@media (min-width: 1000px) { .class-grid > .class-card { flex-basis: 300px; } }
.class-card { display: flex; flex-direction: column; background: var(--glass); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 14px 40px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .07); transition: translate .35s, border-color .35s, box-shadow .35s; }
.class-card:hover { translate: 0 -8px; border-color: rgba(229, 32, 46, .55); box-shadow: 0 28px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(229, 32, 46, .2); }
.class-card.pg-hide { display: none; }
.class-card.pg-in { animation: cardIn .45s ease both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.class-img { position: relative; height: 180px; margin: 10px 10px 0; border-radius: 16px; background: linear-gradient(135deg, var(--navy-2), #06102a), var(--navy); background-size: cover; background-position: center; overflow: hidden; }
.class-img:not([style])::after { content: 'Dr │ Cr'; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 2.4rem; color: rgba(255, 255, 255, .12); }
.chip { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 12px; border-radius: 99px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; background: rgba(229, 32, 46, .8); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.class-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.class-body h3 { font-size: 1.3rem; }
.class-body p { font-size: .93rem; }
.class-body dl { margin: auto 0 18px; padding: 4px 14px; border-radius: 14px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line); }
.class-body dl div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; font-size: .88rem; }
.class-body dl div + div { border-top: 1px solid var(--line); }
.class-body dt { color: var(--muted); }
.class-body dd { margin: 0; text-align: right; }
.fee { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.empty { text-align: center; grid-column: 1 / -1; }

/* pagination */
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pager[hidden] { display: none; }
.pager button { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .2s, border-color .2s, transform .2s; }
.pager button:hover:not(:disabled) { border-color: var(--line-hi); background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.pager button.on { background: linear-gradient(135deg, #ff3b48, var(--red)); border-color: transparent; box-shadow: 0 8px 22px var(--red-glow); }
.pager button:disabled { opacity: .35; cursor: default; }
.pager .pg-info { width: 100%; text-align: center; font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* parallax band */
.band { position: relative; overflow: hidden; text-align: center; padding-block: clamp(90px, 14vw, 170px); }
.band-bg { position: absolute; inset: -30% 0; background: radial-gradient(60% 60% at 50% 50%, var(--navy-2), var(--black)), var(--navy); background-size: cover; background-position: center; }
.band-bg::after { content: ''; position: absolute; inset: 0; background: rgba(4, 6, 11, .72); }
.band .wrap { position: relative; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 40px); border-radius: 28px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-hi); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); max-width: 900px; }
.equation { font-family: var(--serif); font-size: clamp(1.6rem, 5vw, 3.4rem); color: #fff; margin-bottom: .3em; }
.equation i { color: var(--red); font-style: normal; padding-inline: .15em; }
.band-sub { margin-bottom: 30px; font-size: 1.05rem; }

/* contact */
.contact { padding-block: clamp(70px, 10vw, 120px); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; }
.contact-card { --c: var(--red); display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transition: translate .25s, background .25s, border-color .25s; min-width: 0; }
a.contact-card:hover { translate: 0 -5px; background: var(--glass-hi); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.c-ico { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; color: #fff; background: color-mix(in srgb, var(--c) 22%, transparent); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); transition: background .25s; }
a.contact-card:hover .c-ico { background: var(--c); }
.c-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.c-ico .sico { fill: currentColor; stroke: none; }
.contact-card.tiktok { --c: #fe2c55; }
.c-txt { min-width: 0; }
.c-txt small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.c-txt b { font-weight: 600; overflow-wrap: anywhere; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; font-size: .86rem; color: var(--muted); background: rgba(4, 6, 11, .6); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-about { margin: 4px 0 6px; max-width: 460px; font-size: .84rem; }
.footer-brand b { display: block; font-family: var(--display); color: #fff; font-size: 1.05rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a:hover { color: #fff; }
.footer .social-btn { width: 40px; height: 40px; border-radius: 12px; }

.wa-float { position: fixed; z-index: 40; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .25s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .sico { width: 28px; height: 28px; }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s, transform .8s; }
.js .reveal.in { opacity: 1; transform: none; }
.class-grid .reveal:nth-child(3n+2), .contact-grid .reveal:nth-child(2), .stats .reveal:nth-child(2) { transition-delay: .1s; }
.class-grid .reveal:nth-child(3n), .contact-grid .reveal:nth-child(3), .stats .reveal:nth-child(3) { transition-delay: .2s; }
.contact-grid .reveal:nth-child(4), .stats .reveal:nth-child(4) { transition-delay: .3s; }

@media (max-width: 1050px) {
  .ledger { display: none; }
}
@media (max-width: 900px) {
  .nav-toggle { display: flex; position: relative; z-index: 2; }
  .nav { background: rgba(10, 16, 36, .6); border-color: var(--line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
  .nav-links { position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; border-radius: 20px; background: rgba(10, 16, 36, .92); border: 1px solid var(--line-hi); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transition: opacity .25s, transform .25s, visibility .25s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links > a:not(.btn) { padding: 12px 14px; }
  .nav-links .btn { margin: 4px 0 0; padding: 12px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -40px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about { grid-template-columns: 2fr 3fr; gap: 34px; }
  .about-photo { width: calc(100% - 16px); }
  .about-photo::before { inset: 14px -14px -14px 14px; }
  .photo-tag { left: 10px; }
}
@media (max-width: 700px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; width: calc(100% - 22px); }
  .about-photo::before { inset: 22px -22px -22px 22px; }
}
@media (max-width: 600px) {
  .nav { top: 8px; width: calc(100% - 16px); padding: 8px 8px 8px 12px; border-radius: 18px; }
  .brand { font-size: .95rem; gap: 10px; }
  .brand img, .brand-mark { height: 36px; width: 36px; }
  .brand img { width: auto; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stat { padding: 20px 10px; }
  .class-img { height: 160px; }
  .contact-card { padding: 16px; }
  .footer { padding-bottom: 90px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
  .wa-float { width: 50px; height: 50px; right: 14px; opacity: 0; pointer-events: none; transform: scale(.7); transition: opacity .3s, transform .3s; }
  body.past-hero .wa-float { opacity: 1; pointer-events: auto; transform: none; }
}
@media (max-width: 900px) {
  .slide.with-media .slide-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 96px 0 150px; }
  .slide-media { order: -1; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 4 / 3; border-radius: 20px; transform: translateY(16px); }
  .slide-text > * { max-width: none; }
  .hero { min-height: 0; }
  .slider-ui { bottom: 64px; }
}
@media (max-width: 600px) {
  .slide-inner, .slide.with-media .slide-inner { padding: 86px 0 136px; gap: 20px; }
  /* phones: big square frame, centred, photo fills it (cropped evenly from the centre) */
  .slide-media { max-width: 440px; aspect-ratio: 1 / 1; border-radius: 22px; }
  .slide-media img { object-fit: cover; object-position: center; }
  .slide-text { text-align: center; }
  .slide-text .eyebrow { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .slide .slide-title { font-size: clamp(1.75rem, 8vw, 2.3rem); }
  .slide p { font-size: .98rem; margin-bottom: 0; }
  .hero-cta { margin-top: 20px; }
  .slider-ui { bottom: 58px; gap: 10px; padding: 6px 8px; }
  .arrow { width: 34px; height: 34px; font-size: 1.15rem; }
}
@media (max-height: 520px) and (orientation: landscape) and (min-width: 600px) {
  .slide.with-media .slide-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); padding: 100px 0 130px; }
  .slide-media { order: 0; max-width: none; aspect-ratio: 4 / 3; }
  .slide-media img { object-fit: contain; }
  .slide-text { text-align: left; }
  .hero-cta { justify-content: flex-start; }
  .slide .slide-title { font-size: clamp(1.6rem, 4vw, 2.3rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ===== Flat theme overrides: solid black / dark blue / white / red only ===== */
.hero { background: var(--black); }
.hero::before, .hero::after, .hero-grid, .slide-bg, .float, .ledger::before { display: none; }
.slide-media { background: var(--navy); box-shadow: none; }
.slide-media-bg { display: none; }
.eyebrow { background: var(--red); border-color: var(--red); color: var(--white); }
.eyebrow::before { background: var(--white); box-shadow: none; }
.btn-red, .pager button.on { background: var(--red); border-color: var(--red); box-shadow: none; }
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); box-shadow: none; }
.btn-line { background: transparent; border-color: var(--white); }
.btn-line:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.nav, .nav.scrolled { background: var(--navy); border-color: var(--line); box-shadow: none; }
.nav-links { background: var(--navy); }
.nav-links > a:not(.btn):hover { background: var(--navy-2); }
.nav-toggle, .arrow { background: var(--navy-2); border-color: var(--line-hi); }
.arrow:hover { background: var(--red); border-color: var(--red); }
.slider-ui { background: var(--navy); border-color: var(--line); }
.dots button { background: var(--line-hi); }
.dots button.on { background: var(--navy-2); }
.ledger { background: var(--navy); border-color: var(--line); border-top: 4px solid var(--red); box-shadow: none; }
.stats { background: var(--navy); border-color: var(--line); box-shadow: none; }
.stat b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--white); }
.photo-frame { background: var(--navy); box-shadow: none; }
.about-photo::before { border-color: var(--red); }
.photo-tag { background: var(--red); border-color: var(--red); box-shadow: none; }
.social-btn { background: var(--navy-2); border-color: var(--line-hi); }
.social-btn:hover, .instagram.social-btn:hover, .tiktok.social-btn:hover { background: var(--red); border-color: var(--red); box-shadow: none; }
.classes { background: var(--navy); }
.class-card { background: var(--black); border-color: var(--line); box-shadow: none; }
.class-card:hover { border-color: var(--red); box-shadow: none; }
.class-img { background: var(--navy-2); }
.class-body dl { background: var(--navy); }
.chip { background: var(--red); border-color: var(--red); }
.pager button { background: var(--black); border-color: var(--line-hi); }
.pager button:hover:not(:disabled) { background: var(--navy-2); }
.band-bg { background: var(--black); }
.band-bg::after { display: none; }
.band .wrap { background: var(--navy); border-color: var(--line); border-top: 4px solid var(--red); }
.contact-card { --c: var(--red); background: var(--navy); }
a.contact-card:hover { background: var(--navy-2); border-color: var(--red); }
.c-ico { background: var(--red); border-color: var(--red); }
.footer { background: var(--black); }
.wa-float { background: var(--red); box-shadow: none; }
*, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ---- balanced palette: mostly black & white, red for action, royal blue only as a small accent ---- */
.hero { background: var(--black); }
.eyebrow { background: var(--red); border-color: var(--red); color: #fff; }
.eyebrow::before { background: #fff; }
.slide-media { background: var(--navy); }
.slider-ui { background: var(--navy); border-color: var(--line); }
.dots button { background: var(--line-hi); }
.dots button.on::after { background: var(--red); }
.arrow:hover { background: var(--red); border-color: var(--red); }

.stats { background: #ffffff; border-color: #ffffff; }
.stat { border-color: #e6e7ee; }
.stat b { color: var(--red); }
.stat span { color: #4a4e5c; }

/* classes: a white section so the page is not all dark */
.classes { background: #ffffff; color: #0b0d14; }
.classes h2, .classes h3 { color: #0b0d14; }
.classes .section-head p, .classes .class-body p { color: #4a4e5c; }
.class-card { background: #ffffff; border-color: #e3e5ec; box-shadow: 0 2px 10px rgba(11, 13, 20, .06); }
.class-card:hover { border-color: var(--red); box-shadow: 0 10px 28px rgba(11, 13, 20, .12); }
.class-img { background: #f1f2f6; }
.class-img:not([style])::after { color: rgba(11, 13, 20, .14); }
.class-body dl { background: #f6f7fa; border-color: #e3e5ec; }
.class-body dl div + div { border-top-color: #e3e5ec; }
.class-body dt { color: #6a6f80; }
.class-body dd, .fee { color: #0b0d14; }
.chip { background: var(--red); border-color: var(--red); color: #fff; }
.pager button { background: #ffffff; color: #0b0d14; border-color: #d9dbe4; }
.pager button:hover:not(:disabled) { background: #f1f2f6; border-color: #0b0d14; }
.pager .pg-info { color: #6a6f80; }

/* equation band: solid red */
.band-bg { background: var(--red) !important; } /* solid red: the banner photo from Site Settings is not shown here */
.band .wrap { background: transparent; border: 0; }
.band .equation, .band .band-sub { color: #fff; }
.equation i { color: #0b0d14; }
.band .btn-red { background: #0b0d14; border-color: #0b0d14; }
.band .btn-red:hover { background: #000; border-color: #000; }

.photo-tag { background: var(--red); }
.about-photo::before { border-color: var(--red); }
.contact-card { background: var(--navy); }
a.contact-card:hover { border-color: var(--red); background: var(--navy-2); }
.nav-links > a:not(.btn):hover { color: #fff; }
.footer a:hover { color: var(--blue); }
.wa-float { background: var(--red); box-shadow: 0 0 0 3px #ffffff, 0 6px 18px rgba(0, 0, 0, .35); }

/* ---- hero: a measured touch of royal blue (red stays the action colour) ---- */
.hero { background: #070a2a; }
.hero .eyebrow { background: var(--blue); border-color: var(--blue); color: #fff; }
.hero .eyebrow::before { background: #fff; }
.hero .slide-media { border: 2px solid var(--blue); box-shadow: 16px 16px 0 var(--blue); background: #0b0f3d; }
.hero .slider-ui { background: #0b0f3d; border-color: #1f2a8f; }
.hero .arrow { background: #121860; border-color: #2a37b8; }
.hero .arrow:hover { background: var(--blue); border-color: var(--blue); }
.hero .dots button { background: #2a37b8; }
@media (max-width: 900px) {
  .hero .slide-media { box-shadow: 10px 10px 0 var(--blue); width: calc(100% - 10px); }
}
