/* 7ONLINE public landing page (index.php only). Self-contained: no Bootstrap needed. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
    --navy: #0B1F44;
    --navy-2: #13306B;
    --ink: #13213F;
    --muted: #525E78;
    --line: #E2E7F0;
    --soft: #F5F8FB;
    --emerald: #047857;
    --emerald-dark: #065F46;
    --emerald-bright: #10B981;
    --emerald-soft: #E6F6EF;
    --blue: #2457D6;
    --yellow: #F5B82E;
    --orange: #EA6A12;
    --radius: 18px;
    --shadow: 0 10px 28px rgba(11, 31, 68, .07);
    --shadow-lg: 0 20px 50px rgba(11, 31, 68, .14);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0; letter-spacing: -.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--emerald); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 12px; border: 2px solid transparent; font: 600 15px/1.2 "Inter", sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 8px 18px rgba(4, 120, 87, .22); }
.btn-primary:hover { background: var(--emerald-dark); transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: #C9D3E3; color: var(--navy); }
.btn-outline:hover { border-color: var(--navy); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #FFC94D; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn .bi { font-size: 1.05em; }

/* Icon tiles */
.ic { flex: none; width: 46px; height: 46px; border-radius: 13px; display: inline-grid; place-items: center; font-size: 21px; }
.c-emerald { background: var(--emerald-soft); color: var(--emerald); }
.c-blue { background: #E8EFFE; color: var(--blue); }
.c-violet { background: #F0EAFE; color: #6D3FD6; }
.c-sky { background: #E3F4FB; color: #0B78A8; }
.c-amber { background: #FEF4DC; color: #A86A00; }
.c-rose { background: #FDE8EF; color: #C42B5F; }
.c-orange { background: #FDEBDD; color: #C2540C; }
.c-slate { background: #E9EDF4; color: #334A6E; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); box-shadow: 0 4px 16px rgba(11, 31, 68, .05); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.logo img { height: 40px; width: auto; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-2), var(--navy)); color: #fff; font-weight: 700; font-size: 22px; }
.logo-name { font-weight: 700; font-size: 20px; letter-spacing: .04em; color: var(--navy); }
.logo-name span { color: var(--yellow); }
.logo-light .logo-name { color: #fff; }
.site-menu { display: flex; align-items: center; gap: 18px; flex: 1; }
.nav-list { display: flex; gap: 2px; margin-left: auto; }
.nav-list a { display: block; padding: 9px 11px; border-radius: 9px; color: #2C3A5C; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav-list a:hover { color: var(--emerald); background: var(--emerald-soft); }
.header-actions { display: flex; gap: 10px; }
.btn-sm { min-height: 44px; padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.header-register { display: none; margin-left: auto; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 26px; cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(800px 420px at 88% 18%, rgba(16, 185, 129, .12), transparent 62%), radial-gradient(520px 360px at 0% 100%, rgba(245, 184, 46, .12), transparent 60%), linear-gradient(180deg, #F3F7FB, #fff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: #2C3A5C; font-size: 14px; font-weight: 600; }
.hero-kicker .bi { color: var(--emerald); }
.hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.03em; margin: 20px 0 16px; }
.hero h1 span { display: block; color: var(--emerald); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 580px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-register { margin-top: 14px; color: var(--muted); font-size: 15px; }
.hero-register a { font-weight: 700; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; max-width: 600px; }
.benefits li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); font-size: 14.5px; font-weight: 600; color: #22304F; line-height: 1.35; }
.benefits .ic { width: 38px; height: 38px; font-size: 18px; border-radius: 11px; }

/* Hero illustration (pure CSS, decorative) */
.hero-art { position: relative; }
.scene { position: relative; height: 520px; border-radius: 28px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: linear-gradient(180deg, #DDE9F5 0%, #EAF2F8 70%, #C79F78 70%, #B48A62 100%); }
.shelf { position: absolute; left: 26px; top: 30px; width: 140px; height: 50px; display: flex; align-items: flex-end; gap: 3px; padding-left: 14px; border-bottom: 8px solid #8B6B4A; }
.shelf i { display: block; width: 12px; border-radius: 2px; }
.shelf i:nth-child(1) { height: 30px; background: var(--emerald); } .shelf i:nth-child(2) { height: 36px; background: var(--orange); }
.shelf i:nth-child(3) { height: 26px; background: var(--blue); } .shelf i:nth-child(4) { height: 34px; background: var(--navy); } .shelf i:nth-child(5) { height: 24px; background: var(--yellow); }
.window { position: absolute; left: 26px; top: 100px; width: 80px; height: 130px; border-radius: 10px; border: 6px solid #fff; background: linear-gradient(180deg, #A4D3F5, #D5EAF8); }
.window::before, .window::after { content: ""; position: absolute; background: #fff; }
.window::before { left: 50%; top: 0; bottom: 0; width: 5px; transform: translateX(-50%); }
.window::after { top: 50%; left: 0; right: 0; height: 5px; }
.board { position: absolute; right: 22px; top: 22px; width: 172px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 18px rgba(11, 31, 68, .1); font-size: 11.5px; font-weight: 600; color: #2C3A5C; padding-bottom: 8px; }
.board b { display: block; background: var(--orange); color: #fff; font-size: 10.5px; letter-spacing: .05em; padding: 7px 8px; text-align: center; margin-bottom: 6px; }
.board span { display: flex; gap: 6px; padding: 2px 12px; }
.board .bi { color: var(--emerald); }
.monitor { position: absolute; left: 50%; top: 130px; width: 370px; transform: translateX(-50%); }
.screen { display: grid; grid-template-columns: 92px 1fr; height: 214px; overflow: hidden; border: 10px solid #111827; border-radius: 14px; background: #F5F7FB; box-shadow: 0 20px 40px rgba(11, 31, 68, .3); }
.s-side { background: var(--navy); padding: 8px 6px; color: #C9D3EA; font-size: 7.5px; }
.s-brand { display: flex; align-items: center; gap: 4px; color: #fff; font-weight: 700; font-size: 9px; margin-bottom: 8px; }
.s-brand span { width: 14px; height: 14px; border-radius: 4px; background: var(--emerald); display: grid; place-items: center; font-size: 8px; }
.s-item { display: flex; gap: 4px; align-items: center; padding: 4px 5px; border-radius: 4px; margin-bottom: 2px; }
.s-item.done .bi { color: #34D399; }
.s-item.on { background: rgba(255, 255, 255, .13); color: #fff; }
.s-main { padding: 8px 9px; }
.s-title { display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 700; color: var(--navy); }
.s-title em { font-style: normal; font-size: 6.5px; background: var(--emerald-soft); color: var(--emerald); padding: 2px 5px; border-radius: 4px; }
.s-video { position: relative; display: block; height: 104px; margin-top: 6px; border-radius: 6px; background: linear-gradient(135deg, var(--navy-2), #0F7B5F); }
.s-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--emerald); font-size: 16px; box-shadow: 0 0 0 7px rgba(255, 255, 255, .2); }
.s-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.s-bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-radius: 3px; background: var(--yellow); }
.s-prog { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 6.5px; font-weight: 600; color: var(--muted); }
.s-prog span { flex: 1; height: 5px; border-radius: 5px; background: #E2E7F0; overflow: hidden; }
.s-prog i { display: block; width: 64%; height: 100%; background: var(--emerald-bright); }
.s-btns { display: flex; gap: 5px; margin-top: 6px; }
.s-btns span { font-size: 6.5px; font-weight: 700; padding: 4px 7px; border-radius: 4px; background: var(--emerald); color: #fff; }
.s-btns span.g { background: #FEF4DC; color: #A86A00; }
.neck { width: 54px; height: 28px; margin: 0 auto; background: linear-gradient(90deg, #C5CCDA, #E6EAF2, #C5CCDA); }
.foot { width: 140px; height: 10px; margin: 0 auto; border-radius: 6px 6px 2px 2px; background: #C5CCDA; }
.desk { position: absolute; left: 0; right: 0; top: 70%; height: 16px; background: #7A5536; box-shadow: 0 6px 0 #5E3F27; }
.kbd { position: absolute; left: 50%; top: calc(70% - 14px); width: 210px; height: 13px; transform: translateX(-50%); border-radius: 5px; background: #E8ECF4; box-shadow: inset 0 -3px 0 #C3CADA; }
.printer { position: absolute; left: 16px; top: calc(70% - 44px); width: 96px; height: 44px; border-radius: 9px; background: linear-gradient(180deg, #4B5563, #374151); }
.printer::before { content: ""; position: absolute; left: 14px; top: -16px; width: 68px; height: 18px; border-radius: 3px; background: #fff; }
.printer::after { content: ""; position: absolute; left: 12px; top: 10px; width: 24px; height: 5px; border-radius: 3px; background: #34D399; }
.plant { position: absolute; right: 22px; top: calc(70% - 86px); width: 64px; height: 86px; }
.plant span { position: absolute; bottom: 0; left: 13px; width: 38px; height: 32px; border-radius: 4px 4px 12px 12px; background: var(--orange); }
.plant i { position: absolute; bottom: 26px; width: 24px; height: 44px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #1F9D5A; }
.plant i:nth-child(1) { left: 5px; transform: rotate(-28deg); } .plant i:nth-child(2) { left: 20px; height: 52px; } .plant i:nth-child(3) { left: 35px; transform: rotate(28deg); }
.chair { position: absolute; left: 50%; bottom: -30px; width: 240px; height: 100px; transform: translateX(-50%); border-radius: 30px 30px 0 0; background: linear-gradient(180deg, #1D2B52, var(--navy)); }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); font-size: 13px; font-weight: 700; color: var(--ink); }
.chip small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.chip .ic { width: 34px; height: 34px; font-size: 17px; border-radius: 10px; }
.chip-a { left: -22px; bottom: 70px; }
.chip-b { right: -22px; bottom: 70px; }

/* Sections */
.section { padding: 84px 0; }
.section-soft { background: var(--soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2, .about-grid h2, .faq-grid h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; margin-top: 6px; }
.section-head p:not(.eyebrow) { margin-top: 10px; color: var(--muted); max-width: 640px; }
.section-head.center { justify-content: center; text-align: center; }
.section-head.center p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--emerald); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--yellow); }

/* Courses */
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.course-thumb { aspect-ratio: 16 / 9; overflow: hidden; }
.course-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding: 18px; color: #fff; position: relative; overflow: hidden; }
.thumb-fallback .bi { position: absolute; right: 10px; top: 0; font-size: 96px; opacity: .2; }
.thumb-fallback b { position: relative; font-size: 19px; line-height: 1.2; max-width: 85%; }
.tone-0 { background: linear-gradient(135deg, var(--navy), #1B4FA8); }
.tone-1 { background: linear-gradient(135deg, #065F46, #10A774); }
.tone-2 { background: linear-gradient(135deg, #4C1D95, #7C4DDB); }
.tone-3 { background: linear-gradient(135deg, #0C4A6E, #0E8FC7); }
.tone-4 { background: linear-gradient(135deg, #9A3412, #E8781F); }
.course-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px; }
.course-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.course-levels span { font-size: 11px; font-weight: 700; letter-spacing: .05em; padding: 3px 9px; border-radius: 999px; background: var(--emerald-soft); color: var(--emerald-dark); }
.course-body h3 { font-size: 19px; }
.course-desc { color: var(--muted); font-size: 15px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 14px; color: #33415F; font-weight: 500; }
.course-meta li { display: flex; align-items: center; gap: 6px; }
.course-meta .bi { color: var(--emerald); }
.course-actions { margin-top: auto; padding-top: 6px; display: grid; gap: 10px; justify-items: center; }
.text-link { font-weight: 600; font-size: 14.5px; padding: 4px; }
.empty-state { max-width: 640px; margin: 0 auto; text-align: center; padding: 44px 28px; background: #fff; border: 1px dashed #C9D3E3; border-radius: var(--radius); }
.empty-state h3 { font-size: 22px; margin: 14px 0 8px; }
.empty-state p { color: var(--muted); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* Categories */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-grid li { display: flex; }
.category-card { display: flex; flex-direction: column; gap: 12px; width: 100%; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #BFE6D5; }
.category-card .ic { width: 52px; height: 52px; font-size: 24px; border-radius: 14px; }
.category-card h3 { font-size: 18px; }
.category-card p { flex: 1; color: var(--muted); font-size: 14.5px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald); font-weight: 600; font-size: 14.5px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Levels */
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: lvl; }
.level-card { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.level-card h3 { font-size: 20px; margin: 16px 0 8px; }
.level-card p { color: var(--muted); }
.level-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.lv-basic { background: var(--emerald-soft); color: var(--emerald-dark); }
.lv-pro { background: #E8EFFE; color: #1D47B8; }
.lv-master { background: var(--navy); color: var(--yellow); }
.level-card:not(:last-child)::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; right: -19px; top: 50%; transform: translateY(-50%); z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--emerald); font-size: 15px; }
.level-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* About / why */
.about-grid { display: grid; gap: 36px; }
.about-grid > div { max-width: 760px; margin: 0 auto; text-align: center; }
.about-grid .lead { margin-top: 16px; font-size: 17px; color: var(--muted); }
.why-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.why-grid li { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.why-grid h3 { font-size: 16.5px; margin: 14px 0 6px; }
.why-grid p { font-size: 14.5px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { position: relative; text-align: center; padding: 0 6px; }
.step-icon { position: relative; display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid #CBE9DC; box-shadow: var(--shadow); color: var(--emerald); font-size: 30px; }
.step-icon b { position: absolute; top: -4px; right: -4px; width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; background: var(--orange); color: #fff; font-size: 13px; display: grid; place-items: center; }
.steps li.last .step-icon { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.steps li:not(:last-child)::after { content: "\F138"; font-family: "bootstrap-icons"; position: absolute; top: 28px; right: -22px; color: #8FCDB3; font-size: 22px; }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* FAQ + contact */
.faq-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 44px; align-items: start; }
.faq-list { margin-top: 26px; display: grid; gap: 12px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 4px 12px rgba(11, 31, 68, .04); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 17px 20px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16px; color: var(--navy); border-radius: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .bi { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--emerald-soft); color: var(--emerald); }
.faq summary .bi::before { transition: transform .2s; }
.faq[open] summary .bi { background: var(--emerald); color: #fff; }
.faq[open] summary .bi::before { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.contact-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); }
.contact-card h2 { font-size: 26px; margin: 8px 0 8px; }
.contact-card > p { color: var(--muted); }
.contact-list { margin-top: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.contact-list b { display: block; font-size: 14px; color: var(--navy); }
.contact-list a, .contact-list span span { font-size: 15px; word-break: break-word; }
.contact-actions { display: grid; gap: 10px; margin-top: 20px; }

/* Final CTA */
.final-cta-wrap { padding: 0 0 84px; }
.final-cta { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; padding: 56px 60px; border-radius: 28px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); box-shadow: var(--shadow-lg); }
.final-cta::before { content: ""; position: absolute; left: -90px; bottom: -130px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(245, 184, 46, .12); }
.final-cta h2 { position: relative; color: #fff; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; }
.final-cta h2 span { color: var(--yellow); }
.final-cta p { position: relative; margin: 14px 0 28px; color: #C9D3EA; font-size: 17px; max-width: 540px; }
.cta-buttons { position: relative; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-art { position: relative; display: flex; justify-content: center; padding: 26px 0 10px; }
.lap { width: 290px; }
.lap-screen { height: 180px; padding: 12px; border: 9px solid #111827; border-bottom-width: 12px; border-radius: 12px 12px 0 0; background: #fff; }
.cert { height: 100%; padding: 10px; border: 3px double #C9A24A; border-radius: 4px; text-align: center; background: linear-gradient(180deg, #FFFDF5, #fff); }
.cert small { display: block; font-size: 7.5px; font-weight: 700; letter-spacing: .18em; color: var(--emerald); }
.cert b { display: block; margin: 6px 0; font-size: 16px; color: var(--navy); }
.cert > i { display: block; width: 60%; height: 5px; margin: 6px auto; border-radius: 3px; background: #E2E7F0; }
.cert > i.s { width: 40%; }
.cert span { display: grid; place-items: center; width: 30px; height: 30px; margin: 8px auto 0; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 15px; }
.lap-base { width: 340px; height: 13px; margin-left: -25px; border-radius: 0 0 14px 14px; background: linear-gradient(180deg, #D5DBE7, #AEB8CC); }
.cap { position: absolute; right: 14px; top: 0; width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font-size: 32px; transform: rotate(10deg); box-shadow: 0 12px 24px rgba(0, 0, 0, .25); }

/* Footer */
.site-footer { background: #071331; color: #B4BFD9; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 40px; }
.site-footer p { font-size: 14.5px; margin: 16px 0 20px; max-width: 340px; }
.site-footer h2 { color: #fff; font-size: 16px; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.site-footer a { color: #D7DEEE; text-decoration: none; }
.site-footer ul a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-actions .btn { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 20px; padding-bottom: 20px; background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)) top / calc(100% - 48px) 1px no-repeat; }
.footer-bottom p { margin: 0; font-size: 14px; max-width: none; }

/* ---------- Laptop / tablet ---------- */
@media (max-width: 1180px) {
    .js .menu-toggle { display: grid; place-items: center; margin-left: 0; }
    .js .header-register { display: inline-flex; }
    .js .header-row { gap: 10px; }
    .js .site-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 24px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(11, 31, 68, .12); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
    .js .site-menu.is-open { display: flex; }
    .js .nav-list { flex-direction: column; margin: 0; }
    .js .nav-list a { padding: 13px 12px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .js .header-actions { flex-direction: column; }
    .site-header .wrap { position: relative; }
    html:not(.js) .header-row { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
    html:not(.js) .site-menu { flex-wrap: wrap; flex-basis: 100%; }
    html:not(.js) .nav-list { flex-wrap: wrap; margin-left: 0; }
    html:not(.js) .header-actions { flex-wrap: wrap; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
    .hero-art { max-width: 620px; width: 100%; margin: 0 auto; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .faq-grid { grid-template-columns: 1fr; }
    .contact-card { position: static; }
    .final-cta { grid-template-columns: 1fr; padding: 44px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; gap: 0; max-width: 560px; margin: 0 auto; }
    .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; }
    .steps .step-icon { grid-row: span 2; width: 68px; height: 68px; margin: 0; font-size: 26px; }
    .steps h3 { align-self: end; margin: 0; }
    .steps li:not(:last-child)::after { top: 76px; right: auto; left: 22px; transform: rotate(90deg); font-size: 20px; }
    .level-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .level-card:not(:last-child)::after { right: 50%; top: auto; bottom: -19px; transform: translateX(50%) rotate(90deg); }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
    :root { --header-h: 66px; }
    body { font-size: 15.5px; }
    .wrap { padding: 0 16px; }
    .js .site-menu { padding: 10px 16px 20px; }
    .logo-mark { width: 36px; height: 36px; font-size: 20px; }
    .logo-name { font-size: 18px; }
    .hero-grid { padding-top: 26px; padding-bottom: 44px; gap: 30px; }
    .hero-kicker { font-size: 12.5px; border-radius: 14px; }
    .hero .lead { font-size: 16px; }
    .hero-ctas .btn { flex: 1 1 100%; }
    .benefits { gap: 10px; }
    .benefits li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 13.5px; }
    .hero-art { display: none; }
    .scene { height: 300px; border-radius: 22px; }
    .monitor { top: 34px; transform: translateX(-50%) scale(.68); transform-origin: top center; }
    .shelf, .window, .board, .chair, .chip { display: none; }
    .printer { transform: scale(.7); transform-origin: bottom left; left: 10px; top: calc(70% - 44px); }
    .plant { transform: scale(.7); transform-origin: bottom right; right: 10px; }
    .kbd { width: 150px; }
    .section { padding: 60px 0; }
    .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
    .section-head.center { align-items: center; }
    .section-head > .btn { width: 100%; }
    .course-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; gap: 14px; }
    .category-card { display: grid; grid-template-columns: 46px 1fr; gap: 6px 14px; padding: 18px; }
    .category-card .ic { width: 46px; height: 46px; font-size: 21px; }
    .category-card h3 { align-self: center; font-size: 17px; }
    .category-card p, .category-card .card-link { grid-column: 1 / -1; }
    .category-card .card-link { padding-top: 10px; }
    .why-grid { grid-template-columns: 1fr; gap: 12px; }
    .why-grid li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; padding: 18px; }
    .why-grid .ic { grid-row: span 2; }
    .why-grid h3 { margin: 0 0 4px; }
    .about-grid > div { text-align: left; }
    .level-cta .btn, .empty-actions .btn { flex: 1 1 100%; }
    .contact-card { padding: 22px; }
    .final-cta-wrap { padding-bottom: 60px; }
    .final-cta { padding: 34px 22px; border-radius: 22px; }
    .cta-buttons .btn { flex: 1 1 100%; }
    .cta-art { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 370px) {
    .logo { gap: 6px; }
    .logo-mark { width: 32px; height: 32px; font-size: 18px; }
    .logo-name { font-size: 16px; }
    .header-register { padding: 8px 10px; font-size: 13px; }
    .menu-toggle { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Hero animation (2026-10-14). Hero only; CSS only; transform + opacity only. ----------
   Content is visible without JavaScript. Loops are finite. prefers-reduced-motion (rule above) turns it all off. */
@keyframes hero-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hero-art-in { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hero-float-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes hero-shadow { 0%, 100% { transform: scaleX(1); opacity: .55; } 50% { transform: scaleX(.9); opacity: .35; } }
@keyframes hero-chip-left { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes hero-chip-right { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hero-pop { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.15); } 100% { opacity: 1; transform: scale(1); } }
@keyframes hero-ring { from { opacity: .8; transform: scale(.85); } to { opacity: 0; transform: scale(1.6); } }

/* Soft background accents (static after a one-time fade-in) */
.hero::before { content: ""; position: absolute; right: -160px; top: -180px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, .16), transparent 65%); pointer-events: none; animation: hero-fade 1.2s ease-out both; }
.hero::after { content: ""; position: absolute; left: -130px; bottom: -170px; width: 340px; height: 340px; border-radius: 50%; border: 44px solid rgba(245, 184, 46, .09); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; }

/* Text entrance: short, staggered; headline and main buttons are visible within about 0.8 s */
.hero-text > * { animation: hero-up .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > .hero-kicker { animation-delay: 0s; }
.hero-text > h1 { animation-delay: .06s; }
.hero-text > .lead { animation-delay: .14s; }
.hero-text > .hero-ctas { animation-delay: .2s; }
.hero-text > .hero-register { animation-delay: .26s; }
.hero-text > .benefits { animation: none; }
.benefits li { animation: hero-up .55s cubic-bezier(.2, .7, .2, 1) both; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.benefits li:nth-child(1) { animation-delay: .3s; } .benefits li:nth-child(2) { animation-delay: .36s; }
.benefits li:nth-child(3) { animation-delay: .42s; } .benefits li:nth-child(4) { animation-delay: .48s; }
.benefits li:hover { transform: translateY(-2px); border-color: #BFE6D5; box-shadow: 0 14px 28px rgba(11, 31, 68, .09); }

/* Illustration: fade-in, then a gentle float (5 slow cycles, then it rests) with a matching soft shadow */
.hero-art { isolation: isolate; animation: hero-art-in .8s .15s cubic-bezier(.2, .7, .2, 1) both; }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: 6% -3% -4% 8%; border-radius: 40px; background: radial-gradient(closest-side, rgba(16, 185, 129, .22), transparent); filter: blur(22px); pointer-events: none; }
.hero-art::after { content: ""; position: absolute; z-index: -1; left: 12%; right: 12%; bottom: -22px; height: 26px; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 31, 68, .28), transparent); pointer-events: none; animation: hero-shadow 6s 1s ease-in-out 5; opacity: .55; }
.scene { animation: hero-float 6s 1s ease-in-out 5; will-change: transform; }

/* Dashboard details (decorative only): checks pop in, progress bars fill once, play button ring pulses a few times */
.s-item.done .bi { display: inline-block; animation: hero-pop .45s both; }
.s-item.done:nth-of-type(2) .bi { animation-delay: .9s; }
.s-item.done:nth-of-type(3) .bi { animation-delay: 1.05s; }
.s-prog i { transform-origin: left center; animation: hero-grow 1.1s 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.s-bar::after { transform-origin: left center; animation: hero-grow 1.4s 1.2s ease-out both; }
.s-play::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: hero-ring 2.4s 1.4s ease-out 4 both; pointer-events: none; }
.board { animation: hero-up .6s .55s cubic-bezier(.2, .7, .2, 1) both; }

/* Floating cards: slide in, then float slightly out of step with the illustration */
.chip-a { animation: hero-chip-left .6s .8s cubic-bezier(.2, .7, .2, 1) both, hero-float-sm 5s 1.6s ease-in-out 6; }
.chip-b { animation: hero-chip-right .6s 1s cubic-bezier(.2, .7, .2, 1) both, hero-float-sm 5.5s 2.4s ease-in-out 5; }

/* Hero buttons: lift on hover, press on click, clear focus ring. Labels and links unchanged. */
.hero .btn { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.hero .btn .bi { transition: transform .2s ease; }
.hero .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(4, 120, 87, .3); }
.hero .btn-outline:hover { transform: translateY(-2px); border-color: var(--emerald); color: var(--emerald-dark); box-shadow: 0 10px 22px rgba(11, 31, 68, .09); }
.hero .btn:hover .bi { transform: scale(1.1); }
.hero .btn:active { transform: translateY(0) scale(.98); box-shadow: 0 4px 10px rgba(11, 31, 68, .12); }
.hero .btn:focus-visible { box-shadow: 0 0 0 6px rgba(245, 184, 46, .28); }

@media (max-width: 640px) {
    .hero-text > *, .benefits li { animation-duration: .45s; }
    .hero::before { width: 360px; height: 360px; right: -140px; top: -140px; }
    .hero::after { display: none; }
}

/* ---------- Hero photo (2026-10-14): real photo replaces the CSS illustration. Fade-up entrance only, the photo does not float. ---------- */
.hero-photo picture { display: block; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 62% 50%; border-radius: 28px; border: 6px solid #fff; box-shadow: var(--shadow-lg); background: #E6EDF5; }
.hero-photo::after { animation: none; }
.hero-photo .chip-a { left: -22px; right: auto; top: 28px; bottom: auto; }
.hero-photo .chip-b { right: -22px; left: auto; bottom: -18px; }
.hero-photo .chip-a { animation: hero-chip-left .6s .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-photo .chip-b { animation: hero-chip-right .6s 1s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- Course price (2026-10-15): price from the admin course form, shown above the Register button. ---------- */
.course-price { font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--navy); }
