/*
Theme Name: Maximir Modern
Theme URI: https://maximir.com.ua/
Author: Maximir
Description: Швидка авторська тема для онлайн-курсів Maximir без Elementor та обов'язкових плагінів.
Version: 1.2.3
Requires at least: 6.2
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: maximir
*/

:root {
    --ink: #17213a;
    --muted: #647087;
    --paper: #f3f8ff;
    --white: #fff;
    --line: #d9ddd8;
    --blue: #1a73e8;
    --blue-dark: #1258b5;
    --green: #8ed1fc;
    --yellow: #dcefff;
    --coral: #ff775f;
    --max: 1180px;
    --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Exo 2", sans-serif; font-size: 17px; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.9rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.5vw, 3.55rem); font-weight: 850; }
h3 { font-size: 1.35rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 850px; }
.section { padding: 110px 0; }
.kicker { margin-bottom: 16px; color: var(--blue); font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; color: var(--white); background: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(17,19,21,.1); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; text-decoration: none; font-size: 1.4rem; font-weight: 900; }
.brand img, .custom-logo { width: 174px; height: auto; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; margin-right: 10px; border-radius: 8px; color: var(--white); background: var(--blue); font-size: 1.05rem; font-weight: 900; }
.brand-word { color: var(--ink); font-size: 1.2rem; font-weight: 900; letter-spacing: .08em; }
.custom-logo-link { display: flex; }
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { position: relative; font-size: .9rem; font-weight: 750; text-decoration: none; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--blue); transition: right .2s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item a::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; gap: 4px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.menu-toggle span { width: 20px; height: 2px; display: block; background: var(--ink); }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 12px 22px; border: 2px solid var(--blue); border-radius: var(--radius); color: var(--white); background: var(--blue); font-size: .92rem; font-weight: 850; text-align: center; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 9px 17px; }
.button-ghost { border-color: rgba(255,255,255,.56); color: var(--white); background: rgba(17,19,21,.24); }
.button-ghost:hover { background: rgba(17,19,21,.5); }
.button-dark { border-color: var(--ink); background: var(--ink); }
.button-light { border-color: var(--white); color: var(--ink); background: var(--white); }
.button-outline-light { border-color: rgba(255,255,255,.7); background: transparent; }
.text-link { color: var(--ink); font-weight: 850; text-decoration: none; white-space: nowrap; }
.text-link span { color: var(--blue); }

.hero { position: relative; min-height: min(760px, calc(100vh - 76px)); overflow: hidden; display: flex; align-items: flex-end; color: var(--white); background: var(--blue); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,62,132,.9) 0%, rgba(18,82,170,.64) 45%, rgba(26,115,232,.08) 74%); }
.hero-content { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; align-items: end; padding-block: 90px 54px; }
.hero-copy { max-width: 780px; }
.hero .kicker { color: var(--green); }
.hero h1 { max-width: 780px; margin-bottom: 24px; font-size: clamp(2.8rem, 5.6vw, 5rem); }
.hero h1 span { color: var(--green); }
.hero-lead { max-width: 700px; margin-bottom: 30px; color: rgba(255,255,255,.84); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: grid; gap: 10px; padding: 12px; border: 1px solid rgba(255,255,255,.34); border-radius: var(--radius); background: rgba(255,255,255,.15); box-shadow: 0 20px 50px rgba(20,62,120,.18); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.hero-proof div { display: grid; grid-template-columns: 25px 78px 1fr; gap: 10px; align-items: center; padding: 13px 9px; border-bottom: 1px solid rgba(255,255,255,.24); }
.hero-proof div:last-child { border: 0; }
.hero-proof svg { width: 21px; height: 21px; color: #c7e9ff; }
.hero-proof strong { font-size: 1.65rem; }
.hero-proof span { color: rgba(255,255,255,.7); font-size: .8rem; }
.trust-strip { color: var(--ink); background: var(--green); }
.trust-items { min-height: 66px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.trust-items span { padding: 0 18px; border-right: 1px solid rgba(17,19,21,.25); font-size: .84rem; font-weight: 850; text-align: center; }
.trust-items span:last-child { border: 0; }

.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 45px; }
.section-heading h2 { margin: 0; }
.section-heading.compact { max-width: 850px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.course-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px rgba(17,19,21,.1); }
.course-cover, .single-cover, .social-cover { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 4/3; padding: 23px; color: var(--white); text-decoration: none; background: var(--blue); }
.course-cover img, .single-cover img, .social-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-cover-default::before { content: ""; position: absolute; width: 55%; aspect-ratio: 1; right: -15%; bottom: -25%; border: 34px solid var(--green); border-radius: 50%; opacity: .95; }
.course-cover-default::after { content: ""; position: absolute; width: 110px; height: 22px; right: 28px; top: 32px; background: var(--yellow); transform: rotate(-8deg); }
.course-cover strong, .single-cover strong, .social-cover strong { position: relative; z-index: 2; max-width: 90%; margin: auto 0 20px; font-size: clamp(1.65rem, 2.5vw, 2.4rem); line-height: 1.03; }
.cover-brand, .cover-index { position: relative; z-index: 2; font-size: .68rem; font-weight: 900; letter-spacing: .12em; }
.cover-index { align-self: flex-end; }
.course-card-body { padding: 22px; }
.course-card-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 13px; color: var(--muted); font-size: .74rem; font-weight: 800; text-transform: uppercase; }
.course-card h2 { margin-bottom: 12px; font-size: 1.65rem; }
.course-card h2 a { text-decoration: none; }
.course-card p { min-height: 76px; color: var(--muted); font-size: .94rem; }
.course-card-footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.course-card-footer > strong { font-size: 1.14rem; }

.about { color: var(--ink); background: #eaf5ff; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 80px; align-items: center; }
.about-visual { position: relative; margin: 0; }
.about-visual img { width: 100%; aspect-ratio: 1.05; object-fit: cover; border-radius: var(--radius); }
.about-visual figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; justify-content: space-between; gap: 20px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); background: rgba(17,19,21,.8); backdrop-filter: blur(10px); }
.about-visual figcaption span { color: rgba(255,255,255,.7); font-size: .85rem; }
.about .kicker { color: var(--blue); }
.about h2 { margin-bottom: 28px; }
.about-copy > p:not(.kicker) { color: var(--muted); }
.about-copy .large-copy { color: var(--ink); font-size: 1.2rem; }
.check-list { display: grid; gap: 12px; margin: 28px 0 34px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

.method { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin: 50px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; counter-reset: steps; }
.steps li { min-height: 245px; padding: 26px 24px; border-right: 1px solid var(--line); }
.steps li:first-child { border-left: 1px solid var(--line); }
.steps span { display: block; margin-bottom: 55px; color: var(--blue); font-size: .76rem; font-weight: 900; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--muted); font-size: .9rem; }
.faq-section { background: var(--yellow); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq-grid > div:first-child > p:last-child { max-width: 470px; }
.faq-list { border-top: 1px solid rgba(17,19,21,.35); }
.faq-list details { border-bottom: 1px solid rgba(17,19,21,.35); }
.faq-list summary { position: relative; padding: 22px 45px 22px 0; cursor: pointer; font-weight: 850; list-style: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; font-size: 1.5rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding-right: 35px; color: #4c4530; }
.cta-band { padding: 68px 0; color: var(--white); background: var(--blue); }
.cta-band .kicker { color: var(--green); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.cta-inner h2 { max-width: 720px; margin: 0; font-size: clamp(2.2rem, 4vw, 4rem); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer { padding: 70px 0 22px; color: rgba(255,255,255,.82); background: #155ebf; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.15fr 1fr; gap: 42px; }
.footer-grid h2 { margin-bottom: 18px; color: var(--white); font-size: .85rem; text-transform: uppercase; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 10px; font-size: .88rem; text-decoration: none; }
.footer-grid a:hover { color: var(--green); }
.footer-brand .brand { margin-bottom: 20px; color: var(--white); font-size: 1.8rem; }
.footer-brand .brand-word { color: var(--white); }
.footer-brand .brand-mark { color: var(--blue); background: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .75rem; }

.page-hero { padding: 110px 0 70px; border-bottom: 1px solid var(--line); background: var(--white); }
.page-hero h1 { margin-bottom: 25px; font-size: clamp(3.1rem, 6vw, 6rem); }
.page-hero p:last-child { max-width: 740px; color: var(--muted); font-size: 1.12rem; }
.archive-section { padding-top: 45px; }
.archive-toolbar { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.archive-toolbar strong { color: var(--ink); }
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; }
.page-numbers.current { color: var(--white); background: var(--blue); }

.course-hero { padding: 65px 0 80px; background: var(--white); }
.course-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 80px; align-items: center; }
.back-link { display: inline-block; margin-bottom: 40px; color: var(--muted); font-size: .85rem; font-weight: 800; text-decoration: none; }
.course-hero h1 { margin-bottom: 25px; font-size: clamp(3rem, 5.5vw, 5.8rem); }
.course-intro { max-width: 700px; color: var(--muted); font-size: 1.12rem; }
.course-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 35px; border-top: 1px solid var(--line); }
.course-facts div { display: grid; gap: 5px; padding: 16px 15px 0 0; }
.course-facts span { color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.purchase-panel { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(17,19,21,.12); }
.single-cover { aspect-ratio: 4/3; }
.purchase-body { display: grid; gap: 13px; padding: 24px; background: var(--paper); }
.purchase-body > span, .purchase-body small { color: var(--muted); font-size: .8rem; }
.purchase-price { font-size: 2rem; }
.course-content-section { background: var(--paper); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 80px; align-items: start; }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin: 48px 0 20px; font-size: 2.3rem; }
.entry-content h3 { margin-top: 32px; }
.entry-content p, .entry-content li { color: #484d52; }
.entry-content a { color: var(--blue); }
.author-note { padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.author-note img { width: 100%; aspect-ratio: 1; margin-bottom: 20px; object-fit: cover; object-position: 64% center; border-radius: 5px; }
.author-note h2 { font-size: 1.5rem; }
.author-note p:last-child { color: var(--muted); font-size: .88rem; }
.video-section { background: var(--white); }
.video-frame { aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.contact-list { display: grid; border-top: 1px solid var(--line); }
.contact-list > * { display: grid; gap: 4px; padding: 23px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-list span { color: var(--blue); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.contact-list strong { font-size: 1.12rem; overflow-wrap: anywhere; }
.contact-list small { color: var(--muted); }
.contact-visual { position: relative; overflow: hidden; min-height: 550px; border-radius: var(--radius); background: var(--ink); }
.contact-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.contact-visual > div { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 24px; color: var(--white); background: rgba(17,19,21,.84); backdrop-filter: blur(10px); }
.contact-visual h2 { font-size: 2rem; }

.social-catalog { background: #f1f3f5; }
.social-hero { color: var(--white); background: var(--blue); }
.social-hero-inner { min-height: 490px; display: grid; grid-template-columns: 1fr 440px; gap: 60px; align-items: center; }
.social-hero h1 { margin-bottom: 22px; font-size: clamp(3rem, 6vw, 6rem); }
.social-hero p:last-child { max-width: 650px; color: rgba(255,255,255,.7); }
.social-hero img { width: 100%; height: 420px; object-fit: cover; object-position: 62% center; align-self: end; }
.social-list { display: grid; gap: 24px; padding-block: 65px; }
.social-course { overflow: hidden; display: grid; grid-template-columns: 390px 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.social-cover { aspect-ratio: 1; }
.social-course-copy { display: flex; flex-direction: column; justify-content: center; padding: 35px 45px; }
.social-course-copy h2 { margin-bottom: 14px; font-size: clamp(2rem, 3.3vw, 3.4rem); }
.social-course-copy > p:not(.kicker) { max-width: 650px; color: var(--muted); }
.social-course-copy > div { display: flex; justify-content: space-between; align-items: center; gap: 25px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.social-course-copy > div > strong { font-size: 1.35rem; }

@media (max-width: 1024px) {
    .header-cta { display: none; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-proof { grid-template-columns: repeat(3, 1fr); }
    .hero-proof div { grid-template-columns: 1fr; }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .faq-grid, .course-hero-grid, .content-grid, .contact-grid { gap: 45px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .social-hero-inner { grid-template-columns: 1fr 340px; }
    .social-course { grid-template-columns: 320px 1fr; }
}

@media (max-width: 760px) {
    body { font-size: 16px; }
    .container { width: min(calc(100% - 28px), var(--max)); }
    .section { padding: 76px 0; }
    .header-inner { min-height: 66px; }
    .brand img, .custom-logo { width: 145px; }
    .menu-toggle { display: grid; margin-left: auto; }
    .primary-nav { position: fixed; top: 66px; left: 0; right: 0; bottom: 0; display: none; padding: 25px 20px; background: var(--white); }
    .primary-nav.is-open { display: block; }
    .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
    .primary-nav li { border-bottom: 1px solid var(--line); }
    .primary-nav a { display: block; padding: 18px 5px; font-size: 1.2rem; }
    .hero { min-height: 760px; align-items: flex-end; }
    .hero-image { object-position: 62% center; }
    .hero-shade { background: linear-gradient(0deg, rgba(8,10,12,.95) 0%, rgba(8,10,12,.68) 55%, rgba(8,10,12,.14) 100%); }
    .hero-content { gap: 35px; padding-block: 220px 35px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 5.3rem); }
    .hero-proof { grid-template-columns: 1fr 1fr 1fr; }
    .hero-proof div { padding-right: 8px; }
    .trust-items { grid-template-columns: 1fr 1fr; padding: 8px 0; }
    .trust-items span { padding: 9px; border-right: 0; }
    .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
    .course-grid, .about-grid, .faq-grid, .course-hero-grid, .content-grid, .contact-grid { grid-template-columns: 1fr; }
    .course-card p { min-height: 0; }
    .about-grid { gap: 40px; }
    .about-visual figcaption { flex-direction: column; gap: 2px; }
    .steps { grid-template-columns: 1fr; }
    .steps li { min-height: 0; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .steps span { margin-bottom: 25px; }
    .cta-inner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
    .page-hero { padding: 80px 0 55px; }
    .course-hero { padding-top: 35px; }
    .back-link { margin-bottom: 25px; }
    .course-facts { grid-template-columns: 1fr 1fr 1fr; }
    .purchase-panel { max-width: 480px; }
    .contact-visual { min-height: 440px; }
    .social-hero-inner { min-height: 0; grid-template-columns: 1fr; padding-top: 70px; }
    .social-hero img { height: 360px; }
    .social-course { grid-template-columns: 1fr; }
    .social-cover { aspect-ratio: 4/3; }
    .social-course-copy { padding: 28px 22px; }
}

/* 2026 refinement: centered hero, icon navigation and compact price directory */
.primary-nav a { display: inline-flex; align-items: center; gap: 7px; }
.primary-nav .menu-icon, .primary-nav a > svg { width: 16px; height: 16px; color: var(--blue); }
.header-inner { gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 7px; color: #33435e; font-size: .78rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 17px; height: 17px; color: var(--blue); }
.header-phone:hover { color: var(--blue); }
.header-phone-label { display: none; }
.mobile-menu-actions { display: none; }
.hero { align-items: center; }
.hero-shade { background: rgba(15, 78, 165, .46); }
.hero-content { align-items: center; padding-block: 44px; transform: translateY(-3%); }
.hero-copy { max-width: 780px; margin-inline: auto; text-align: center; }
.hero h1 { max-width: 760px; margin-inline: auto; font-size: clamp(2.65rem, 4.8vw, 4.35rem); }
.hero-lead { margin-inline: auto; }
.hero-actions { justify-content: center; }

.price-page-hero { padding: 90px 0 58px; }
.price-page-hero h1 { max-width: 760px; font-size: clamp(2.7rem, 4.7vw, 4.5rem); }
.price-table-section { padding-top: 38px; }
.price-table-head { display: grid; grid-template-columns: minmax(0, 1.6fr) .65fr .38fr 138px; gap: 22px; padding: 0 20px 13px; border-bottom: 1px solid #c8dced; color: var(--muted); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.price-course-list { display: grid; }
.price-course-row { display: grid; grid-template-columns: minmax(0, 1.6fr) .65fr .38fr 138px; gap: 22px; align-items: center; padding: 22px 20px; border-bottom: 1px solid #c8dced; transition: background .2s ease, transform .2s ease; }
.price-course-row:hover { background: rgba(255,255,255,.74); transform: translateX(3px); }
.price-course-main { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.price-course-number { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #b9d5ef; border-radius: 7px; color: var(--blue); background: #eaf5ff; font-size: .72rem; font-weight: 900; }
.price-course-main h2 { margin: 0 0 5px; font-size: 1.18rem; line-height: 1.25; }
.price-course-main h2 a { text-decoration: none; }
.price-course-main p { max-width: 560px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.price-course-format { display: grid; gap: 4px; }
.price-course-format span { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 800; }
.price-course-format svg { width: 17px; height: 17px; color: var(--blue); }
.price-course-format small { color: var(--muted); line-height: 1.25; }
.price-course-value { font-size: 1.08rem; white-space: nowrap; }
.price-course-row .button { width: 100%; gap: 7px; }
.price-course-row .button svg { width: 17px; height: 17px; }
.price-help { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 38px; padding: 28px; border: 1px solid #bdd8f1; border-radius: var(--radius); background: #e5f3ff; }
.price-help > div { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.price-help > div > svg { width: 34px; height: 34px; color: var(--blue); }
.price-help h2 { margin-bottom: 5px; font-size: 1.35rem; }
.price-help p { margin: 0; color: var(--muted); }

@media (max-width: 1180px) {
    .header-phone span { display: none; }
    .header-phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
    .primary-nav ul { gap: 18px; }
}

@media (max-width: 900px) {
    .price-table-head { display: none; }
    .price-course-list { grid-template-columns: 1fr 1fr; gap: 14px; }
    .price-course-row { display: flex; align-items: stretch; flex-direction: column; gap: 17px; padding: 20px; border: 1px solid #c8dced; border-radius: var(--radius); background: rgba(255,255,255,.72); }
    .price-course-row:hover { transform: translateY(-2px); }
    .price-course-format { padding-top: 14px; border-top: 1px solid #d4e4f2; }
    .price-course-value { margin-top: auto; font-size: 1.35rem; }
}

@media (max-width: 760px) {
    .header-phone { margin-left: auto; }
    .menu-toggle { margin-left: 0; }
    .hero { align-items: center; min-height: calc(100svh - 66px); }
    .hero-shade { background: rgba(14, 72, 154, .58); }
    .hero-content { gap: 17px; padding-block: 76px 82px; transform: translateY(-2%); }
    .hero-copy { text-align: center; }
    .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3.15rem); }
    .hero .kicker { margin-bottom: 10px; font-size: .65rem; }
    .hero-lead { margin-bottom: 20px; font-size: .92rem; }
    .hero-actions { justify-content: center; }
    .hero-actions .button { min-height: 46px; }
    .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 4px; padding: 7px; }
    .hero-proof div { display: flex; align-items: center; flex-direction: column; gap: 3px; padding: 8px 3px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 0; text-align: center; }
    .hero-proof div:last-child { border-right: 0; }
    .hero-proof svg { width: 17px; height: 17px; }
    .hero-proof strong { font-size: 1.25rem; line-height: 1; }
    .hero-proof span { font-size: .58rem; line-height: 1.15; }
    .price-course-list { grid-template-columns: 1fr; }
    .price-help { align-items: stretch; flex-direction: column; }
    .price-help .button { width: 100%; }
}

@media (max-width: 460px) {
    .hero-actions, .hero-actions .button, .cta-actions, .cta-actions .button { width: 100%; }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-proof div { grid-template-columns: 70px 1fr; }
    .course-grid { grid-template-columns: 1fr; }
    .course-facts { grid-template-columns: 1fr; }
    .course-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .social-course-copy > div { align-items: stretch; flex-direction: column; }
}

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

/* Sales sections and interactive UI */
.heading-note { max-width: 390px; margin: 0; color: var(--muted); }
.section-heading > div:first-child { width: min(100%, 820px); }
.format-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.format-panel { border: 1px solid #d4e5f7; border-radius: var(--radius); background: var(--white); }
.format-online { padding: 34px; }
.format-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 35px; border-radius: var(--radius); color: var(--blue); background: #e4f3ff; }
.format-icon svg { width: 28px; height: 28px; }
.format-panel h3 { max-width: 540px; font-size: 2rem; }
.format-panel p, .format-panel li { color: var(--muted); }
.format-panel ul { display: grid; gap: 8px; margin: 24px 0; padding-left: 20px; }
.format-offline { position: relative; min-height: 560px; overflow: hidden; display: flex; align-items: flex-end; color: var(--white); background: var(--blue); }
.format-offline::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, rgba(12,66,145,.96), rgba(12,66,145,0)); }
.format-offline img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.format-offline > div { position: relative; z-index: 2; padding: 34px; }
.format-offline .kicker, .format-offline p { color: rgba(255,255,255,.82); }

.outcomes-section { background: #e9f5ff; }
.outcomes-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.outcomes-grid > div:first-child { position: sticky; top: 115px; }
.outcomes-grid > div:first-child > p:last-child { max-width: 520px; color: var(--muted); }
.outcome-list { border-top: 1px solid #bdd8f1; }
.outcome-list article { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid #bdd8f1; }
.outcome-list svg { width: 28px; height: 28px; color: var(--blue); }
.outcome-list h3 { margin-bottom: 6px; }
.outcome-list p { margin: 0; color: var(--muted); }

.pricing-section { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { display: flex; flex-direction: column; min-height: 510px; padding: 28px; border: 1px solid #cbdff4; border-radius: var(--radius); background: #f8fbff; }
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 22px 60px rgba(26,115,232,.14); background: #eff7ff; }
.price-label { align-self: flex-start; margin-bottom: 30px; padding: 6px 9px; border-radius: 5px; color: var(--blue-dark); background: #ddecff; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.price-card h3 { font-size: 1.65rem; }
.price-card > p { min-height: 105px; color: var(--muted); }
.price-card > strong { margin-bottom: 20px; font-size: 1.8rem; }
.price-card ul { display: grid; gap: 10px; margin: 0 0 28px; padding: 20px 0 0; border-top: 1px solid #cbdff4; list-style: none; }
.price-card li { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: .9rem; }
.price-card li svg { width: 18px; color: var(--blue); }
.price-card .button { width: 100%; margin-top: auto; }
.button-soft { border-color: #c3ddf7; color: var(--blue-dark); background: #e3f2ff; }
.button-soft:hover { color: var(--white); background: var(--blue); }
.button-dark { border-color: var(--blue); background: var(--blue); }
.video-frame, .contact-visual { background: #dcefff; }

.testimonials-section { background: #f7fbff; }
.rating-summary { display: flex; gap: 12px; align-items: center; }
.rating-summary strong { color: var(--blue); font-size: 2.5rem; }
.rating-summary span { color: var(--muted); font-size: .78rem; line-height: 1.25; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.reviews-grid blockquote { display: flex; flex-direction: column; min-height: 330px; margin: 0; padding: 27px; border: 1px solid #d2e3f5; border-radius: var(--radius); background: var(--white); }
.review-stars { margin-bottom: 28px; color: #f6b73c; letter-spacing: .12em; }
.reviews-grid blockquote > p { color: #45516a; font-size: 1.02rem; }
.reviews-grid blockquote footer { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.review-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue); font-weight: 900; }
.reviews-grid footer div { display: grid; }
.reviews-grid footer small { color: var(--muted); }

.course-result { display: grid; grid-template-columns: 20px 1fr; gap: 9px; margin: 16px 0; padding: 12px; border-radius: 6px; color: #31567e; background: #eef7ff; font-size: .78rem; line-height: 1.35; }
.course-result svg { width: 18px; height: 18px; color: var(--blue); }
.course-value-section { padding: 35px 0; background: #eaf5ff; }
.course-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.course-value-grid article { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px; border: 1px solid #c8def3; border-radius: var(--radius); background: rgba(255,255,255,.7); }
.course-value-grid article > svg { width: 31px; height: 31px; color: var(--blue); }
.course-value-grid h2 { margin: 0; font-size: 1.12rem; line-height: 1.45; }

.course-cover-default { background: #163c72; }
.course-cover-default::before { width: 62%; right: -20%; bottom: -28%; border-color: rgba(142,209,252,.68); }
.course-cover-default::after { width: 88px; height: 6px; right: 25px; top: 29px; background: rgba(255,255,255,.65); transform: none; }
.course-tone-0 { color: #f7fbff; background: #163c72; }
.course-tone-1 { color: #102b50; background: #b9e3ff; }
.course-tone-1::before { border-color: rgba(26,115,232,.45); }
.course-tone-1::after { background: #1a73e8; }
.course-tone-2 { color: #f7fbff; background: #356da8; }
.course-tone-2::before { border-color: rgba(220,239,255,.62); }
.course-tone-3 { color: #17365c; background: #e7f3fc; }
.course-tone-3::before { border-color: rgba(74,144,210,.42); }
.course-tone-3::after { background: #4a90d2; }
.course-cover-default .cover-brand { padding-bottom: 12px; border-bottom: 1px solid currentColor; opacity: .78; }
.course-cover-default strong { max-width: 78%; font-size: clamp(1.45rem, 2.2vw, 2.1rem); }

.course-cover.course-cover-default,
.single-cover.course-cover-default,
.social-cover.course-cover-default { aspect-ratio: 3 / 2; padding: 0; color: var(--ink); background: #f8fbff; container-type: inline-size; }
.course-cover-default::before,
.course-cover-default::after { display: none; }
.premium-cover-art { position: absolute; inset: 0; overflow: hidden; display: block; color: #101b32; background: #f8fbff; }
.premium-cover-art::before { content: ""; position: absolute; right: -8%; top: 3%; width: 52%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.78); border-radius: 50%; background: #236ff0; box-shadow: 0 0 0 10px rgba(224,238,255,.8), 0 0 0 12px rgba(255,255,255,.9); }
.premium-cover-art::after { content: ""; position: absolute; left: -5%; bottom: -19%; width: 31%; height: 35%; border-radius: 0 22px 0 0; background: #1a73e8; transform: skewX(10deg); }
.premium-cover-top { position: absolute; z-index: 4; top: 7%; left: 7%; right: 41%; display: flex; justify-content: space-between; align-items: center; }
.premium-mini-logo { display: flex; gap: 7px; align-items: center; font-size: clamp(7px, 2.4cqi, 13px); font-weight: 700; white-space: nowrap; }
.premium-mini-logo b { width: clamp(19px, 6cqi, 34px); height: clamp(19px, 6cqi, 34px); display: grid; place-items: center; border-radius: 5px; color: var(--white); background: var(--blue); font-size: clamp(10px, 3.4cqi, 18px); }
.premium-dots { width: 35px; height: 25px; opacity: .8; background-image: radial-gradient(circle, var(--blue) 1.5px, transparent 2px); background-size: 9px 9px; }
.premium-cover-badge { position: absolute; z-index: 4; top: 23%; left: 7%; padding: 4px 10px; border-radius: 999px; color: var(--white); background: var(--blue); font-size: clamp(7px, 2.2cqi, 12px); font-weight: 900; letter-spacing: .1em; }
.premium-cover-title { position: absolute !important; z-index: 4 !important; top: 35%; left: 7%; width: 48%; max-width: 48% !important; margin: 0 !important; color: #111b30; font-size: clamp(18px, 6.1cqi, 38px) !important; font-weight: 900; line-height: .96 !important; overflow-wrap: anywhere; }
.premium-cover-benefit { position: absolute; z-index: 4; left: 7%; bottom: 11%; width: 34%; display: grid; grid-template-columns: clamp(22px, 7cqi, 38px) 1fr; gap: 8px; align-items: center; color: #283750; font-size: clamp(6px, 2.1cqi, 11px); font-weight: 650; line-height: 1.25; }
.premium-cover-benefit > svg { width: clamp(22px, 7cqi, 38px); height: clamp(22px, 7cqi, 38px); padding: 6px; border-radius: 50%; color: var(--white); background: var(--blue); }
.premium-cover-number { position: absolute; z-index: 5; left: 5%; bottom: -2%; color: var(--white); font-size: clamp(24px, 10cqi, 58px); font-weight: 900; line-height: 1; }
.premium-cover-photo { position: absolute; z-index: 2; right: -1%; bottom: 0; width: 47%; height: 94%; overflow: hidden; border-radius: 50% 50% 0 0; }
.premium-cover-photo img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 18% !important; filter: grayscale(1) contrast(1.06); mix-blend-mode: luminosity; }
.premium-cover-seal { position: absolute; z-index: 5; right: 39%; bottom: 6%; width: 17%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 3px solid #a9c9f7; border-radius: 50%; color: #1c3150; background: rgba(255,255,255,.96); box-shadow: 0 5px 13px rgba(32,91,170,.16); font-size: clamp(5px, 1.65cqi, 9px); font-weight: 700; line-height: 1.1; text-align: center; }
.premium-cover-seal svg { width: clamp(14px, 4.2cqi, 24px); height: clamp(14px, 4.2cqi, 24px); margin-bottom: 3px; color: var(--blue); }
.course-tone-1 .premium-cover-art::before { background: #438eea; }
.course-tone-2 .premium-cover-art::before { background: #1459b8; }
.course-tone-3 .premium-cover-art::before { background: #76bdf0; }
.course-tone-2 .premium-cover-art::after { background: #1459b8; }
.course-tone-3 .premium-cover-art::after { background: #4a90d2; }

.lead-modal { position: fixed; inset: 0; z-index: 400; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.lead-modal.is-open { visibility: visible; opacity: 1; }
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(19,54,98,.5); backdrop-filter: blur(8px); }
.lead-dialog { position: absolute; top: 50%; left: 50%; width: min(94vw, 680px); max-height: 92vh; overflow: auto; padding: 34px; border: 1px solid rgba(255,255,255,.72); border-radius: var(--radius); background: rgba(255,255,255,.94); box-shadow: 0 30px 90px rgba(14,65,130,.28); transform: translate(-50%, -48%); transition: transform .2s ease; }
.lead-modal.is-open .lead-dialog { transform: translate(-50%, -50%); }
.lead-dialog h2 { max-width: 570px; margin-bottom: 12px; font-size: 2rem; }
.lead-dialog > p:not(.kicker) { color: var(--muted); }
.lead-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 1px solid #cbdff4; border-radius: var(--radius); color: var(--blue); background: #eef7ff; font-size: 1.6rem; cursor: pointer; }
.lead-form { display: grid; gap: 13px; margin-top: 22px; }
.lead-form label { display: grid; gap: 6px; color: var(--ink); font-size: .78rem; font-weight: 800; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #c7d9eb; border-radius: 6px; color: var(--ink); background: var(--white); outline: 0; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,115,232,.12); }
.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form .consent { grid-template-columns: 18px 1fr; align-items: start; font-weight: 500; }
.lead-form .consent input { width: 18px; min-height: 18px; }
.lead-form .consent a { color: var(--blue); }
.honeypot { position: absolute !important; left: -9999px; }
.form-status { margin: 0; font-size: .85rem; }
.form-status.is-success { color: #146c43; }
.form-status.is-error { color: #b42318; }
.modal-open { position: fixed; width: 100%; overflow: hidden; touch-action: none; }

.mobile-bottom-nav { display: none; }
.mobile-bottom-nav svg { width: 21px; height: 21px; }
.reveal-ready { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
    .format-grid, .outcomes-grid { grid-template-columns: 1fr; }
    .outcomes-grid > div:first-child { position: static; }
    .pricing-grid { grid-template-columns: 1fr 1fr; }
    .price-card:last-child { grid-column: 1 / -1; min-height: 430px; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    body { padding-bottom: 72px; }
    .site-header { top: 0; }
    .header-inner { justify-content: space-between; }
    .menu-toggle { margin-left: 0; }
    .primary-nav { z-index: 120; padding-bottom: 100px; background: rgba(244,249,255,.98); backdrop-filter: blur(18px); }
    .primary-nav a { display: flex; align-items: center; min-height: 58px; }
    .hero { min-height: calc(100svh - 66px); }
    .hero-image { content: url("assets/images/olena-mobile.png"); object-position: center 24%; }
    .hero-shade { background: linear-gradient(0deg, rgba(13,76,163,.96) 0%, rgba(22,99,196,.74) 50%, rgba(26,115,232,.08) 82%); }
    .hero-content { gap: 22px; padding-block: 260px 24px; }
    .hero h1 { max-width: 100%; font-size: clamp(2.55rem, 12vw, 3.6rem); }
    .hero-lead { font-size: 1rem; }
    .hero-proof { grid-template-columns: 1fr; }
    .hero-proof div { grid-template-columns: 24px 70px 1fr; }
    .heading-note { max-width: 100%; }
    .format-offline { min-height: 510px; }
    .pricing-grid, .reviews-grid, .course-value-grid { grid-template-columns: 1fr; }
    .price-card, .price-card:last-child { min-height: 0; grid-column: auto; }
    .price-card > p { min-height: 0; }
    .reviews-grid blockquote { min-height: 290px; }
    .lead-dialog { top: auto; left: 0; bottom: 0; width: 100%; max-height: 90svh; padding: 28px 18px 22px; border-radius: 8px 8px 0 0; transform: translateY(102%); }
    .lead-modal.is-open .lead-dialog { transform: translateY(0); }
    .lead-form-row { grid-template-columns: 1fr; }
    .mobile-bottom-nav { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 250; height: 64px; display: grid; grid-template-columns: repeat(5, 1fr); padding: 5px 4px; border: 1px solid rgba(255,255,255,.72); border-radius: 8px; background: rgba(255,255,255,.94); box-shadow: 0 14px 40px rgba(30,78,130,.24); backdrop-filter: blur(18px); }
    .mobile-bottom-nav a, .mobile-bottom-nav button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 2px; min-width: 0; padding: 2px; border: 0; color: #53627a; background: transparent; font-size: .62rem; font-weight: 700; text-decoration: none; }
    .mobile-bottom-nav a:hover, .mobile-bottom-nav button:hover { color: var(--blue); }
    .mobile-bottom-nav button { position: relative; color: var(--blue); }
    .mobile-action-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-top: -22px; border: 4px solid var(--white); border-radius: 50%; color: var(--white); background: var(--blue); box-shadow: 0 8px 20px rgba(26,115,232,.3); }
    .mobile-action-icon svg { width: 20px; height: 20px; }
    .site-footer { padding-bottom: 85px; }
}

@media (max-width: 760px) {
    h1, h2, h3 { max-width: 100%; overflow-wrap: anywhere; text-wrap: balance; }
    h1, .page-hero h1, .course-hero h1, .social-hero h1 { font-size: clamp(2.05rem, 9vw, 2.65rem); line-height: 1.02; }
    h2, .section h2, .cta-inner h2 { font-size: clamp(1.65rem, 7.4vw, 2.15rem); line-height: 1.08; }
    h3, .format-panel h3 { font-size: clamp(1.18rem, 5.8vw, 1.55rem); line-height: 1.15; }
    .section-heading > div:first-child { width: 100%; }
    .lead-dialog { overflow-x: hidden; overscroll-behavior: contain; }
    .lead-dialog h2 { padding-right: 34px; font-size: 1.65rem; }
    .lead-form input, .lead-form select, .lead-form textarea { font-size: 16px; touch-action: manipulation; }
    .lead-form input[type="tel"] { font-size: 16px; }
    .hero { align-items: center; min-height: calc(100svh - 66px); }
    .hero-shade { background: rgba(14, 72, 154, .58); }
    .hero-content { gap: 17px; padding-block: 76px 82px; transform: translateY(-2%); }
    .hero-copy { text-align: center; }
    .hero h1 { font-size: clamp(2.2rem, 9.5vw, 2.75rem); line-height: 1.01; }
    .hero .kicker { margin-bottom: 10px; font-size: .65rem; }
    .hero-lead { margin-bottom: 20px; font-size: .92rem; }
    .hero-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 7px; }
    .hero-proof div { display: flex; align-items: center; flex-direction: column; gap: 3px; padding: 8px 3px; border-right: 1px solid rgba(255,255,255,.2); border-bottom: 0; text-align: center; }
    .hero-proof div:last-child { border-right: 0; }
    .hero-proof svg { width: 17px; height: 17px; }
    .hero-proof strong { font-size: 1.25rem; line-height: 1; }
    .hero-proof span { font-size: .58rem; line-height: 1.15; }
    body.menu-open { overflow: hidden; }
    .primary-nav { position: fixed; inset: 0; z-index: 500; overflow-y: auto; display: none; margin: 0; padding: 82px 18px 22px; color: var(--ink); background: #f4f9ff; backdrop-filter: none; }
    .primary-nav.is-open { display: flex; flex-direction: column; }
    .primary-nav::before { content: "MAXIMIR"; position: absolute; top: 22px; left: 20px; color: var(--blue); font-size: 1rem; font-weight: 900; letter-spacing: .1em; }
    .menu-toggle { position: relative; z-index: 520; }
    .menu-open .menu-toggle { position: fixed; top: 11px; right: 14px; }
    .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .primary-nav ul { width: 100%; display: grid; gap: 0; }
    .primary-nav li { border-bottom: 1px solid #d4e3f2; }
    .primary-nav a { min-height: 60px; display: flex; gap: 13px; align-items: center; padding: 12px 4px; font-size: 1.08rem; }
    .primary-nav a::after { display: none; }
    .primary-nav .menu-icon, .primary-nav a > svg { width: 21px; height: 21px; }
    .mobile-menu-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
    .mobile-menu-actions > a { min-height: 60px; display: flex; gap: 12px; align-items: center; padding: 10px 13px; border: 1px solid #cbdff1; border-radius: var(--radius); background: var(--white); }
    .mobile-menu-actions > a svg { width: 22px; color: var(--blue); }
    .mobile-menu-actions > a span { display: grid; font-size: .95rem; font-weight: 850; }
    .mobile-menu-actions > a small { color: var(--muted); font-size: .64rem; text-transform: uppercase; }
    .mobile-menu-actions .button { width: 100%; }
    .hero { min-height: calc(100svh - 66px); display: block; color: var(--white); background: #1766ca; }
    .hero-image { position: absolute; top: 0; bottom: auto; height: 38%; object-position: center 24%; }
    .hero-shade { top: 0; bottom: auto; height: 38%; background: rgba(24, 87, 169, .18); }
    .hero-content { min-height: calc(100svh - 66px); display: flex; justify-content: flex-end; flex-direction: column; gap: 14px; padding-block: calc(38svh + 12px) 80px; transform: none; }
    .hero-copy { width: 100%; text-align: center; }
    .hero h1 { max-width: 390px; margin: 0 auto 10px; font-size: clamp(2rem, 8.7vw, 2.45rem); }
    .hero-lead { max-width: 420px; margin: 0 auto 15px; font-size: .84rem; line-height: 1.38; }
    .hero-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero-actions .button { width: 100%; min-height: 43px; padding: 8px 10px; font-size: .72rem; line-height: 1.15; }
    .hero-proof { margin-top: 0; }
}

@media (max-width: 390px) {
    .hero-content { padding-top: calc(35svh + 10px); }
    .hero-image, .hero-shade { height: 35%; }
    .hero h1 { font-size: 1.9rem; }
    .hero-lead { font-size: .79rem; }
    .hero-actions { grid-template-columns: 1fr; }
    .hero-actions .button { min-height: 39px; }
}

/* Responsive purchase block in /price/ */
@media (max-width: 900px) {
    .price-course-buy {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 190px;
        grid-template-areas:
            "label button"
            "price button"
            "details details";
        gap: 3px 18px;
        align-items: center;
        padding: 17px 20px;
        border-top: 1px solid #d5e4f2;
        border-left: 0;
    }
    .price-course-buy > span { grid-area: label; display: block; margin: 0; }
    .price-course-value { grid-area: price; margin: 0; overflow-wrap: anywhere; white-space: normal; }
    .price-course-buy .button { grid-area: button; align-self: stretch; min-height: 48px; }
    .price-details-link { grid-area: details; display: block; margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #d5e4f2; text-align: left; overflow-wrap: anywhere; }
}

@media (max-width: 560px) {
    .price-course-buy { grid-template-columns: minmax(0, 1fr) 150px; gap: 3px 12px; padding: 16px; }
    .price-course-value { font-size: 1.3rem; }
    .price-course-buy .button { padding-inline: 10px; font-size: .78rem; }
}

@media (max-width: 380px) {
    .price-course-buy {
        grid-template-columns: 1fr;
        grid-template-areas: "label" "price" "button" "details";
        gap: 5px;
    }
    .price-course-buy .button { width: 100%; margin-top: 9px; }
}

.site-footer { color: rgba(255,255,255,.76); background: #0b0e14; }
.site-footer .footer-grid h2, .site-footer .brand-word { color: var(--white); }
.site-footer .footer-grid a:hover { color: #8ed1fc; }
.site-footer .footer-bottom { border-top-color: rgba(255,255,255,.14); }

/* Equal-height course cards */
.course-grid { align-items: stretch; }
.course-card { display: flex; flex-direction: column; height: 100%; }
.course-card-body { flex: 1; display: flex; flex-direction: column; }
.course-card h2 { min-height: 2.55em; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.course-card-body > p { min-height: 4.5em; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.course-result { min-height: 68px; align-content: start; }
.course-result span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.course-card-footer { width: 100%; margin-top: auto; }

/* Left-aligned hero and restaurant-style price menu */
.hero-copy { margin-inline: 0; text-align: left; }
.hero h1, .hero-lead { margin-left: 0; margin-right: 0; }
.hero-actions { justify-content: flex-start; }
.primary-nav .menu-icon, .primary-nav a > svg, .header-phone svg { color: var(--ink); }
.price-course-list { display: grid; gap: 18px; }
.price-course-row { display: grid; grid-template-columns: 210px minmax(0, 1fr) 205px; gap: 26px; align-items: stretch; padding: 0; overflow: hidden; border: 1px solid #c8dced; border-radius: var(--radius); background: rgba(255,255,255,.82); }
.price-course-row:hover { background: var(--white); transform: translateY(-2px); box-shadow: 0 18px 42px rgba(33,90,150,.09); }
.price-course-media { position: relative; width: 100%; min-height: 210px; overflow: hidden; background: #dcefff; }
.price-course-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.82); transition: transform .35s ease; }
.price-course-row:hover .price-course-media > img { transform: scale(1.025); }
.price-course-media > span { position: absolute; right: 14px; bottom: 14px; width: 45px; height: 45px; display: grid; place-items: center; border: 3px solid var(--white); border-radius: 50%; color: var(--white); background: var(--blue); box-shadow: 0 8px 22px rgba(20,75,145,.25); }
.price-course-media > span svg { width: 22px; height: 22px; }
.price-course-main { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 15px; align-content: center; padding: 24px 0; }
.price-course-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 11px; }
.price-course-tags span { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 5px; color: #345578; background: #eaf5ff; font-size: .68rem; font-weight: 850; text-transform: uppercase; }
.price-course-tags svg { width: 14px; height: 14px; }
.price-course-main h2 { margin-bottom: 9px; font-size: clamp(1.3rem, 2vw, 1.75rem); }
.price-course-summary { max-width: 650px; margin-bottom: 9px; color: var(--muted); font-size: .9rem; line-height: 1.45; }
.price-course-audience { margin: 0; color: #455875; font-size: .78rem; line-height: 1.4; }
.price-course-buy { display: flex; justify-content: center; align-items: stretch; flex-direction: column; padding: 24px 22px; border-left: 1px solid #d5e4f2; background: #f5faff; }
.price-course-buy > span { margin-bottom: 4px; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.price-course-value { margin-bottom: 17px; font-size: 1.5rem; }
.price-course-buy .button { width: 100%; }
.price-details-link { margin-top: 11px; color: #48617f; font-size: .7rem; font-weight: 750; text-align: center; text-decoration: none; }
.price-details-link:hover { color: var(--blue); }

@media (max-width: 900px) {
    .price-course-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 0; }
    .price-course-media { min-height: 100%; }
    .price-course-main { padding: 22px; }
    .price-course-buy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 190px; gap: 16px; align-items: center; padding: 16px 20px; border-top: 1px solid #d5e4f2; border-left: 0; }
    .price-course-buy > span { display: none; }
    .price-course-value { margin: 0; }
    .price-details-link { display: none; }
}

@media (max-width: 760px) {
    .course-card h2, .course-card-body > p, .course-result { min-height: 0; }
    .hero-copy { text-align: left; }
    .hero-actions { justify-content: flex-start; }
    .price-course-row { display: flex; flex-direction: column; }
    .price-course-media { width: 100%; min-height: 0; aspect-ratio: 1 / 1; }
    .price-course-main { padding: 20px; }
    .price-course-buy { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 17px 20px 20px; }
    .price-course-buy > span { display: block; }
    .price-course-buy .button { min-height: 46px; }
    .price-details-link { display: block; }
}

/* Unified mobile hero and call-only header */
@media (max-width: 760px) {
    .header-inner { min-height: 64px; }
    .menu-toggle, .primary-nav { display: none !important; }
    .header-phone { width: auto; height: 40px; display: inline-flex; gap: 7px; margin-left: auto; padding: 0 12px; border-color: #bdd4ea; color: var(--ink); background: #edf7ff; }
    .header-phone .header-phone-label { display: inline; font-size: .76rem; }
    .header-phone .header-phone-number { display: none; }
    .header-phone svg { width: 17px; height: 17px; }
    .hero { position: relative; min-height: calc(100svh - 64px); display: flex; align-items: center; background: #155fbd; }
    .hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
    .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(12, 67, 145, .62); }
    .hero-content { min-height: calc(100svh - 64px); display: grid; grid-template-columns: 1fr; align-content: center; gap: 18px; padding-block: 48px 88px; transform: none; }
    .hero-copy { width: min(100%, 440px); text-align: left; }
    .hero .kicker { max-width: 340px; margin-bottom: 12px; color: #d7efff; }
    .hero h1 { max-width: 410px; margin: 0 0 13px; color: var(--white); font-size: clamp(2.15rem, 10vw, 2.8rem); line-height: 1; }
    .hero h1 span { color: #bfe6ff; }
    .hero-lead { max-width: 410px; margin: 0 0 19px; color: rgba(255,255,255,.9); font-size: .91rem; line-height: 1.42; }
    .hero-actions { max-width: 410px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .hero-actions .button { min-height: 45px; padding: 9px 10px; font-size: .72rem; }
    .hero-proof { width: min(100%, 440px); grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 8px; border-color: rgba(255,255,255,.38); background: rgba(255,255,255,.14); backdrop-filter: blur(18px); }
}

@media (max-width: 390px) {
    .brand-word { font-size: 1rem; }
    .brand-mark { width: 31px; height: 31px; }
    .hero-content { padding-top: 34px; }
    .hero h1 { font-size: 2.05rem; }
    .hero-actions { grid-template-columns: 1fr; }
    .hero-actions .button { min-height: 40px; }
}
