:root {
  --navy: #0B1B31;
  --ink: #12263F;
  --cyan: #21BFE3;
  --cyan-dark: #17A6C8;
  --magenta: #C42BA6;
  --muted: #5B7189;
  --bg: #F4F7FA;
  --line: #E6EDF3;
  --card-border: #E9EFF5;
  --circle-border: #C9D6E2;
  --heading: Poppins, "Helvetica Neue", Helvetica, sans-serif;
  --hero-h: clamp(200px, 55vw, 720px);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: Barlow, "Helvetica Neue", Helvetica, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--cyan-dark); text-decoration: none; }
a:hover { color: #0E8AA8; }
h1, h2, h3, h4 { font-family: var(--heading); margin: 0; }
img { display: block; }
.wrap { max-width: 1280px; margin: 0 auto; }
.wrap-narrow { max-width: 1180px; margin: 0 auto; }
.hl { color: var(--cyan); }

/* Header */
.hdr { position: relative; z-index: 40; background: var(--navy); }
.hdr-bar { max-width: 1280px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 10px 18px; }
.hdr-logo { display: flex; align-items: center; flex: 0 0 auto; }
.hdr-logo img { height: clamp(42px, 10vw, 52px); width: auto; }

.nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link { display: flex; align-items: center; gap: 7px; padding: 10px 12px; white-space: nowrap; border-radius: 8px; font-family: var(--heading); font-weight: 600; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.nav-link:hover, .nav-link.is-active, .nav-item:hover > .nav-link, .nav-item:focus-within > .nav-link { background: rgba(33, 191, 227, .14); color: var(--cyan); }
.dd { position: absolute; top: 100%; left: 0; padding-top: 10px; min-width: 290px; display: none; }
.nav-item:hover .dd, .nav-item:focus-within .dd { display: block; }
.dd-box { background: #fff; border-radius: 14px; box-shadow: 0 24px 50px rgba(11, 27, 49, .22); padding: 10px; border-top: 3px solid var(--cyan); }
.dd-link { display: block; padding: 10px 14px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--ink); }
.dd-link:hover { background: #F0F8FB; color: var(--cyan-dark); }
.dd-all { display: block; margin-top: 4px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--cyan-dark); }
.dd--pink .dd-box { border-top-color: var(--magenta); }
.dd--pink .dd-link:hover { background: #FBF0F8; color: var(--magenta); }
.dd--pink .dd-all, .dd--pink .dd-all:hover { color: var(--magenta); }

.hdr-actions { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.cart { position: relative; width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; }
.cart:hover { border-color: var(--cyan); }
.cart-badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--magenta); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.btn-reg { padding: 13px 24px; border-radius: 10px; background: var(--cyan); color: var(--navy); font-family: var(--heading); font-weight: 700; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.btn-reg:hover { background: #fff; color: var(--navy); }
.burger { flex: 0 0 auto; display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .22); background: none; align-items: center; justify-content: center; padding: 0; cursor: pointer; }

.mmenu { display: none; border-top: 1px solid rgba(255, 255, 255, .12); background: var(--navy); }
.mmenu.is-open { display: block; }
.mmenu-in { width: min(100%, 380px); margin: 0 0 0 auto; padding: 4px 24px 24px; display: flex; flex-direction: column; text-align: left; }
.mmenu-title { padding: 16px 0 6px; font-family: var(--heading); font-weight: 700; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.mmenu-title--pink { color: var(--magenta); }
.mmenu-link { display: block; padding: 13px 2px; font-family: var(--heading); font-weight: 600; font-size: 15.5px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .09); }
.mmenu-link:hover { color: var(--cyan); }
.mmenu-all { display: block; padding: 13px 2px; font-family: var(--heading); font-weight: 700; font-size: 14px; color: var(--cyan); border-bottom: 1px solid rgba(255, 255, 255, .09); }
.mmenu-all--pink { color: var(--magenta); }
.mmenu-all:hover { color: #fff; }
.mmenu-btn { display: block; margin-top: 18px; padding: 14px 18px; border-radius: 10px; border: 1.5px solid rgba(255, 255, 255, .28); text-align: center; font-family: var(--heading); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.mmenu-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* Hero */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-img { position: absolute; top: 0; left: 0; right: 0; width: 100%; height: var(--hero-h); object-fit: cover; object-position: 64% 0%; }
.hero-shade { position: absolute; top: 0; left: 0; right: 0; height: var(--hero-h); pointer-events: none; background: linear-gradient(90deg, rgba(11, 27, 49, .94) 0%, rgba(11, 27, 49, .88) max(24%, 150px), rgba(11, 27, 49, .66) max(40%, 250px), rgba(11, 27, 49, .3) max(50%, 330px), rgba(11, 27, 49, 0) max(58%, 395px)), linear-gradient(180deg, rgba(11, 27, 49, 0) 90%, var(--navy) 100%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: stretch; }
.hero-text { position: relative; z-index: 1; padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; max-width: 720px; margin-left: auto; width: 100%; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.hero-lead { margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: #C6D4E4; max-width: 30ch; text-wrap: pretty; }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-rule { width: 96px; height: 3px; background: var(--cyan); margin: 30px 0 0; border-radius: 2px; }
.hero-feats { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 34px; }
.hero-feat { display: flex; align-items: flex-start; gap: 12px; max-width: 230px; font-size: 15.5px; line-height: 1.35; font-weight: 600; color: #fff; }
.hero-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(33, 191, 227, .55); display: flex; align-items: center; justify-content: center; }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-side { position: relative; z-index: 0; min-height: var(--hero-h); }
.hero-tag { position: absolute; right: 0; bottom: 0; width: min(58%, 420px); aspect-ratio: 2 / 1; background: var(--cyan); clip-path: polygon(100% 0, 100% 100%, 0 100%); display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 clamp(18px, 3vw, 42px) clamp(14px, 2.5vw, 30px) 0; font-family: Caveat, cursive; font-size: clamp(30px, 4vw, 50px); font-weight: 600; color: var(--navy); line-height: 1; }

/* Sections */
.sec-title { text-align: center; font-size: clamp(27px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.sec-lead { text-align: center; margin: 14px auto 0; max-width: 56ch; font-size: 17px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.trainings { padding: clamp(56px, 6vw, 84px) 24px clamp(48px, 5vw, 72px); }
/* compact cards as in the design: 2 per row on phones, 3 on tablets, one row of 6 on desktop */
.cards { margin-top: clamp(32px, 4vw, 50px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 18px); }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(6, 1fr); } }
.card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 4px rgba(11, 27, 49, .06), 0 14px 34px rgba(11, 27, 49, .07); border: 1px solid var(--card-border); transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: 0 6px 10px rgba(11, 27, 49, .08), 0 22px 46px rgba(11, 27, 49, .14); border-color: var(--cyan); }
.card-media { position: relative; display: block; aspect-ratio: 1 / 1; background: #DCE6EF repeating-linear-gradient(135deg, rgba(11, 27, 49, .06) 0 12px, rgba(11, 27, 49, 0) 12px 24px); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-ico { position: absolute; left: 50%; transform: translateX(-50%); bottom: -24px; width: 48px; height: 48px; border-radius: 50%; background: var(--cyan); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(11, 27, 49, .2); }
.card:nth-child(even) .card-ico { background: var(--magenta); }
.card-body { display: flex; flex-direction: column; align-items: center; flex: 1 1 auto; padding: 36px 12px 20px; text-align: center; }
.card-title { font-family: var(--heading); font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--navy); }
.card-go { margin-top: auto; padding-top: 20px; }
.circle-arrow { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--circle-border); }
.more { margin-top: clamp(28px, 3vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.btn-outline { display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 11px; border: 1.5px solid var(--navy); font-family: var(--heading); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
@media (max-width: 559px) { .more { flex-direction: column; } .more .btn-outline { justify-content: center; } }

.why { padding: clamp(48px, 5vw, 72px) 24px; background: #fff; }
.why-grid { margin-top: clamp(30px, 3.5vw, 48px); display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(24px, 3vw, 8px); }
.why-item { padding: 0 clamp(12px, 2vw, 28px); text-align: center; }
.why-item + .why-item { border-left: 1px solid var(--line); }
.why-item svg { margin: 0 auto; }
.why-item h3 { margin-top: 18px; font-size: 17.5px; font-weight: 600; color: var(--navy); }
.why-item p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

.stats { background: var(--navy); padding: clamp(38px, 4vw, 54px) 24px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px 12px; text-align: center; }
.stat-num { font-family: var(--heading); font-weight: 700; font-size: clamp(34px, 4vw, 50px); line-height: 1; color: var(--cyan); }
.stat-label { margin-top: 10px; font-size: 13.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; }

/* Reviews */
.reviews { padding: clamp(52px, 5.5vw, 80px) 0; background: var(--bg); overflow: hidden; }
.reviews-head { padding: 0 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.reviews-head h2 { font-size: clamp(27px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.reviews-head p { margin: 12px 0 0; font-size: 16.5px; color: var(--muted); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--circle-border); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.arrow:hover { border-color: var(--cyan); background: var(--cyan); }
.rail { margin-top: clamp(26px, 3vw, 38px); display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 24px 10px; scrollbar-width: none; -ms-overflow-style: none; }
.rail::-webkit-scrollbar { display: none; }
.review { flex: 0 0 clamp(268px, 31%, 376px); scroll-snap-align: start; margin: 0; background: #fff; border-radius: 16px; padding: 28px; border: 1px solid var(--card-border); box-shadow: 0 12px 30px rgba(11, 27, 49, .06); display: flex; flex-direction: column; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; }
.star-on { fill: #F5A623; }
.star-off { fill: #E1E7EE; }
.review-text { margin: 16px 0 0; font-size: 16.5px; line-height: 1.6; color: #22384F; text-wrap: pretty; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review-foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; }
.avatar { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; background: var(--cyan); color: var(--navy); font-family: var(--heading); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.review:nth-child(even) .avatar { background: var(--magenta); color: #fff; }
.review-name { display: block; font-family: var(--heading); font-weight: 600; font-size: 15px; color: var(--navy); }
.review-role { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #7E97B4; }

/* CTA */
.cta { background: var(--cyan); padding: clamp(30px, 3.4vw, 44px) 24px; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.cta p { margin: 8px 0 0; font-size: 16.5px; color: #083A49; }
.cta-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-phone { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.cta-phone:hover { color: #fff; }
.cta-phone-ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(11, 27, 49, .1); display: flex; align-items: center; justify-content: center; }
.cta-phone-label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.cta-phone-num { display: block; font-family: var(--heading); font-weight: 700; font-size: 19px; }
.socials { display: flex; gap: 10px; }
.social { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.social:hover { background: var(--magenta); }
.btn-dark { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 11px; background: var(--navy); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.btn-dark:hover { background: #fff; color: var(--navy); }

/* Footer */
.ftr { background: var(--navy); padding: clamp(46px, 5vw, 66px) 24px 0; }
.ftr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px; }
.ftr-logo { display: inline-flex; align-items: center; }
.ftr-logo img { height: 48px; width: auto; }
.ftr-about { margin: 18px 0 0; font-size: 15px; line-height: 1.7; color: #8FA5BC; max-width: 30ch; text-wrap: pretty; }
.ftr-legal { margin: 16px 0 0; font-size: 13.5px; line-height: 1.8; color: #6C86A2; }
.ftr h4 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.ftr-links { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.ftr-links a { font-size: 15.5px; color: #D3DEEA; }
.ftr-links a:hover { color: var(--cyan); }
.ftr .socials { margin-top: 16px; }
.ftr .social { width: 44px; height: 44px; background: none; border: 1px solid rgba(255, 255, 255, .18); }
.ftr .social:hover { background: var(--magenta); border-color: var(--magenta); }
.ftr-name { margin: 20px 0 0; font-size: 15px; line-height: 1.7; color: #8FA5BC; }
.ftr-phone { display: inline-block; margin-top: 6px; font-family: var(--heading); font-weight: 600; font-size: 16px; color: #fff; }
.ftr-phone:hover { color: var(--cyan); }
.ftr-bottom { margin: clamp(36px, 4vw, 52px) auto 0; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; gap: 14px 30px; flex-wrap: wrap; font-size: 14px; color: #6C86A2; }
.ftr-bottom a { color: #8FA5BC; }
.ftr-bottom a:hover { color: var(--cyan); }
.ev-honlapja { position: fixed; z-index: 90; left: 14px; bottom: 24px; width: 120px; height: 120px; border-radius: 50%; transition: transform .5s ease-in-out; }
.ev-honlapja img { display: block; width: 100%; height: 100%; }
.ev-honlapja:hover { transform: scale(1.2); }
@media (max-width: 576px) { .ev-honlapja { left: 7px; width: 60px; height: 60px; } .ev-honlapja:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ev-honlapja { transition: none; } }

/* Training list */
.page-head { background: var(--navy); padding: clamp(30px, 3.5vw, 52px) 24px clamp(34px, 4vw, 58px); }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: #7E97B4; }
.crumbs a { color: #7E97B4; }
.crumbs a:hover { color: var(--cyan); }
.crumbs-here { color: #fff; }
.page-head h1 { margin-top: 16px; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.page-lead { margin: 16px 0 0; max-width: 58ch; font-size: 17.5px; line-height: 1.55; color: #C6D4E4; text-wrap: pretty; }
.page-head .hero-rule { margin-top: 26px; }

.tabs { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.tabs-in { padding: 0 24px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; white-space: nowrap; padding: 20px 4px; margin-right: 26px; font-family: var(--heading); font-weight: 700; font-size: 15px; color: #7E97B4; border-bottom: 3px solid transparent; }
.tab:hover { color: var(--navy); border-bottom-color: var(--circle-border); }
.tab.is-active { color: var(--navy); border-bottom-color: var(--cyan); }
.tab-count { font-weight: 500; color: #7E97B4; }

.list { padding: clamp(28px, 3.5vw, 44px) 24px clamp(56px, 6vw, 84px); }
.list-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; }
.list-sum { margin: 0; font-size: 16px; color: var(--muted); }
.list-sum strong { color: var(--navy); font-family: var(--heading); font-weight: 600; }
.sort { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; color: var(--navy); cursor: pointer; }
.sort-select { font-family: inherit; font-size: 15.5px; font-weight: 600; color: var(--navy); padding: 11px 14px; border: 1.5px solid var(--circle-border); border-radius: 10px; background: #fff; cursor: pointer; }

.tcards { margin-top: clamp(22px, 2.5vw, 32px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.tcard { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--card-border); box-shadow: 0 2px 4px rgba(11, 27, 49, .05), 0 14px 34px rgba(11, 27, 49, .07); transition: box-shadow .2s, border-color .2s; }
.tcard:hover { box-shadow: 0 6px 12px rgba(11, 27, 49, .08), 0 24px 50px rgba(11, 27, 49, .13); border-color: var(--cyan); }
.tcard-media { position: relative; display: block; aspect-ratio: 16 / 10; background: #DCE6EF repeating-linear-gradient(135deg, rgba(11, 27, 49, .06) 0 12px, rgba(11, 27, 49, 0) 12px 24px); }
.tcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; padding: 7px 13px; border-radius: 8px; background: var(--navy); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.badge--gift { left: auto; right: 14px; background: var(--magenta); }
.tcard-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 22px 24px; }
.tcard-body h2 { font-size: 20px; line-height: 1.25; font-weight: 600; text-wrap: balance; }
.tcard-body h2 a { color: var(--navy); }
.tcard-body h2 a:hover { color: var(--cyan-dark); }

.cd { margin-top: 16px; padding: 13px 15px; border-radius: 12px; background: #FBF0F8; border: 1px solid #F0D5E9; }
.cd-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--magenta); }
.cd-units { margin-top: 9px; display: flex; gap: 8px; }
.cd-unit { flex: 1 1 0; text-align: center; padding: 7px 4px; border-radius: 8px; background: #fff; }
.cd-num { display: block; font-family: var(--heading); font-weight: 700; font-size: 20px; line-height: 1.1; color: var(--navy); font-variant-numeric: tabular-nums; }
.cd-label { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #7E97B4; }

.facts { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.fact { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: #22384F; }
.fact svg { flex: 0 0 auto; }
.fact strong { font-weight: 600; }

.price-row { margin-top: auto; padding-top: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.price-label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7E97B4; }
.price { display: block; font-family: var(--heading); font-weight: 700; font-size: 25px; line-height: 1.15; color: var(--navy); }
.price-old { font-size: 15px; font-weight: 500; color: #7E97B4; }
.video-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--heading); font-weight: 600; font-size: 13.5px; color: var(--magenta); }
.video-link:hover { color: var(--navy); }
.video-ico { width: 30px; height: 30px; border-radius: 50%; background: #FBF0F8; display: flex; align-items: center; justify-content: center; }

.tcard-actions { margin-top: 18px; display: flex; gap: 10px; }
.btn-primary { flex: 1 1 auto; padding: 15px 18px; border-radius: 11px; background: var(--cyan); color: var(--navy); font-family: var(--heading); font-weight: 700; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-icon { flex: 0 0 auto; width: 52px; border-radius: 11px; border: 1.5px solid var(--circle-border); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; }
.btn-icon:hover { border-color: var(--navy); background: var(--navy); color: #fff; }

.promo { margin-top: clamp(34px, 4vw, 52px); padding: clamp(26px, 3vw, 40px); border-radius: 18px; background: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 22px 36px; flex-wrap: wrap; }
.promo h2 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; color: #fff; letter-spacing: -.01em; }
.promo p { margin: 9px 0 0; font-size: 16.5px; color: #C6D4E4; max-width: 52ch; text-wrap: pretty; }
.btn-cyan { display: inline-flex; align-items: center; gap: 12px; padding: 17px 28px; border-radius: 11px; background: var(--cyan); color: var(--navy); font-family: var(--heading); font-weight: 700; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.btn-cyan:hover { background: #fff; color: var(--navy); }

/* Training detail */
.detail-head { background: var(--navy); padding: clamp(28px, 3.2vw, 44px) 24px clamp(120px, 13vw, 180px); }
.detail-head .crumbs { flex-wrap: wrap; }
.detail-head h1 { margin-top: 16px; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; color: #fff; max-width: 20ch; text-wrap: balance; }
.chips { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 8px 14px; border-radius: 8px; background: rgba(33, 191, 227, .16); color: var(--cyan); font-family: var(--heading); font-weight: 700; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.chip--pink { background: var(--magenta); color: #fff; }

.detail { padding: 0 24px clamp(56px, 6vw, 84px); margin-top: clamp(-150px, -11vw, -100px); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: clamp(18px, 2vw, 24px); min-width: 0; }
.media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #DCE6EF repeating-linear-gradient(135deg, rgba(11, 27, 49, .06) 0 12px, rgba(11, 27, 49, 0) 12px 24px); border: 1px solid var(--card-border); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; border: none; background: var(--cyan); color: var(--navy); display: flex; align-items: center; justify-content: center; padding-left: 5px; cursor: pointer; box-shadow: 0 10px 30px rgba(11, 27, 49, .35); transition: transform .15s; }
.media-play:hover { transform: translate(-50%, -50%) scale(1.07); }

.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 12px; }
.fact-card { padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--card-border); }
.fact-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #7E97B4; }
.fact-value { display: block; margin-top: 6px; font-family: var(--heading); font-weight: 600; font-size: 18px; color: var(--navy); }

.panel { background: #fff; border-radius: 18px; border: 1px solid var(--card-border); overflow: hidden; }
.panel-pad { padding: clamp(22px, 2.6vw, 32px); }
.panel-title { font-size: 20px; font-weight: 700; color: var(--navy); }
.ptabs { display: flex; gap: 4px; padding: 0 clamp(14px, 2vw, 26px); border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { flex: 0 0 auto; padding: 19px 12px; background: none; border: none; border-bottom: 3px solid transparent; font-family: var(--heading); font-weight: 700; font-size: 14.5px; color: #7E97B4; cursor: pointer; }
.ptab:hover { color: var(--navy); }
.ptab.is-active { color: var(--navy); border-bottom-color: var(--cyan); }
@media (max-width: 700px) {
  .ptabs { flex-wrap: wrap; gap: 8px; padding: 14px; overflow: visible; }
  .ptab { flex: 1 1 auto; padding: 11px 14px; border: 1px solid var(--card-border); border-radius: 999px; font-size: 14px; }
  .ptab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
}
.ppane { padding: clamp(22px, 2.6vw, 34px); }

.prose { font-size: 17px; line-height: 1.65; color: #22384F; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 14px 0 0; text-wrap: pretty; }
.prose > p:first-child:has(> strong:only-child) { font-family: var(--heading); font-weight: 600; font-size: 19px; line-height: 1.45; color: var(--navy); }
.prose strong, .prose b { font-weight: 600; color: var(--navy); }
.prose h3 { margin: 28px 0 0; font-size: 17px; font-weight: 700; color: var(--navy); }
.prose ul, .prose ol { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 17px; font-size: 16.5px; line-height: 1.5; }
.prose li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.prose a { text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; margin-top: 14px; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 26px 0 0; }
.ppane[data-pane=modulok] ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px 26px; }
.ppane[data-pane=modulok] h3 + ul ~ h3 + ul li::before { background: var(--magenta); }

.infobox { margin-top: 26px; padding: 20px 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 16px 26px; }
.info-value { display: block; margin-top: 5px; font-family: var(--heading); font-weight: 600; font-size: 16px; color: var(--navy); }
.places { margin-top: 12px; display: flex; gap: 10px; flex-wrap: wrap; }
.place { padding: 9px 15px; border-radius: 9px; background: #F0F8FB; border: 1px solid #CDE9F2; font-size: 15px; font-weight: 600; line-height: 1.3; color: #0E7A96; }
.muted { margin: 10px 0 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); }

.packs { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.pack { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--card-border); overflow: hidden; background: #fff; }
.pack.is-selected { border-color: var(--cyan); box-shadow: 0 0 0 2px var(--cyan); }
.pack-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #DCE6EF; }
.pack-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pack-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 10px; padding: 16px 18px 18px; }
.pack-body h3 { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--navy); }
.pack-meta { display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.pack .price { font-size: 22px; }
.pack-actions { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.pack-actions .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; font-size: 13px; }
.btn-outline-sm { display: inline-flex; align-items: center; padding: 11px 14px; border-radius: 11px; border: 1.5px solid var(--circle-border); font-family: var(--heading); font-weight: 600; font-size: 13px; color: var(--navy); }
.btn-outline-sm:hover { border-color: var(--navy); color: var(--navy); }

.vids { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.vid { display: flex; flex-direction: column; gap: 10px; padding: 0; border: none; background: none; text-align: left; cursor: pointer; font: inherit; }
.vid-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #DCE6EF; }
.vid-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.vid:hover .vid-media img { transform: scale(1.04); }
.vid-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(11, 27, 49, .72); color: #fff; display: flex; align-items: center; justify-content: center; padding-left: 3px; }
.vid:hover .vid-play { background: var(--cyan); color: var(--navy); }
.vid-play svg { width: 13px; height: 15px; }
.vid-len { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 6px; background: rgba(11, 27, 49, .8); color: #fff; font-size: 12px; font-weight: 600; }
.vid .badge { top: 8px; left: 8px; right: auto; padding: 5px 9px; font-size: 10.5px; }
.vid-title { font-family: var(--heading); font-weight: 600; font-size: 14.5px; line-height: 1.35; color: var(--navy); }

.detail-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.buybox { border-radius: 18px; background: #fff; border: 1px solid var(--card-border); box-shadow: 0 4px 8px rgba(11, 27, 49, .06), 0 22px 50px rgba(11, 27, 49, .12); overflow: hidden; }
.buybox-in { padding: clamp(22px, 2.4vw, 28px); }
.price--big { margin-top: 6px; font-size: 38px; line-height: 1; }
.price--big .price-old { font-size: 17px; }
.buybox-note { margin: 12px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.cd--big { margin-top: 20px; padding: 15px 16px; }
.cd--big .cd-units { margin-top: 11px; }
.cd--big .cd-unit { padding: 9px 4px; border-radius: 9px; }
.cd--big .cd-num { font-size: 23px; }
.rows { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 15.5px; color: var(--muted); }
.row + .row { padding-top: 11px; border-top: 1px solid var(--line); }
.row strong { font-family: var(--heading); font-weight: 600; color: var(--navy); text-align: right; }
.trainer + .trainer { margin-top: 10px; }
.trainer { margin-top: 20px; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: var(--bg); }
.trainer-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.trainer-name { display: block; margin-top: 3px; font-family: var(--heading); font-weight: 600; font-size: 16px; color: var(--navy); }
.buybox-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.btn-cta { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 22px; border-radius: 11px; background: var(--cyan); color: var(--navy); font-family: var(--heading); font-weight: 700; font-size: 14.5px; letter-spacing: .05em; text-transform: uppercase; }
.btn-cta:hover { background: var(--navy); color: #fff; }
.btn-ghost { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 17px 22px; border-radius: 11px; border: 1.5px solid var(--circle-border); background: #fff; font-family: var(--heading); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.gift-strip { padding: 16px clamp(22px, 2.4vw, 28px); background: var(--magenta); display: flex; align-items: center; gap: 12px; font-family: var(--heading); font-weight: 700; font-size: 14px; line-height: 1.35; color: #fff; }
.gift-strip svg { flex: 0 0 auto; }
.askbox { padding: 22px; border-radius: 18px; background: var(--navy); }
.askbox h3 { font-size: 16.5px; font-weight: 700; color: #fff; }
.askbox p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.55; color: #C6D4E4; }
.askbox-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--heading); font-weight: 700; font-size: 19px; color: var(--cyan); }
.askbox-phone:hover { color: #fff; }
.share { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px; border-radius: 12px; border: 1.5px solid var(--circle-border); background: #fff; font-family: var(--heading); font-weight: 600; font-size: 14.5px; color: var(--navy); }
.share:hover { border-color: var(--navy); color: var(--navy); }

.player { position: fixed; inset: 0; z-index: 100; background: rgba(6, 14, 26, .86); display: flex; align-items: center; justify-content: center; padding: 20px; }
.player[hidden] { display: none; }
.player-box { position: relative; width: min(100%, 1100px); }
.player video { display: block; width: 100%; max-height: 82vh; border-radius: 12px; background: #000; }
.player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 82vh; border: 0; border-radius: 12px; background: #000; }
.player-box > [hidden] { display: none; }
.player-close { position: absolute; top: -46px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; }

@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; }
}

@media (max-width: 900px) {
  .nav, .ftr-col { display: none; }
  .tab { padding: 16px 2px; margin-right: 18px; font-size: 14px; }
  .burger { display: flex; }
}

/* Cart */
.citems-title { padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.6vw, 32px) 6px; }
.citem { display: grid; grid-template-columns: 132px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px clamp(22px, 2.6vw, 32px); }
.citem + .citem { border-top: 1px solid var(--line); }
.citem-img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #DCE6EF repeating-linear-gradient(135deg, rgba(11, 27, 49, .06) 0 12px, rgba(11, 27, 49, 0) 12px 24px); }
.citem-img img { width: 100%; height: 100%; object-fit: cover; }
.citem-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.citem-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7E97B4; }
.citem-title { font-family: var(--heading); font-weight: 700; font-size: 17px; line-height: 1.3; color: var(--navy); }
a.citem-title:hover { color: var(--cyan-dark); }
.citem-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.citem-tag { padding: 4px 9px; border-radius: 6px; background: var(--magenta); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; }
.citem-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.citem-price { display: flex; flex-direction: column; align-items: flex-end; font-family: var(--heading); font-weight: 700; font-size: 20px; color: var(--navy); white-space: nowrap; }
.citem-del { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #7E97B4; }
.citem-del:hover { color: var(--magenta); }
.qty-form { margin-top: 4px; font-size: 15px; color: var(--muted); }
.qty { width: 68px; margin-left: 8px; padding: 8px 10px; border-radius: 9px; border: 1.5px solid var(--circle-border); font: inherit; color: var(--navy); }

.coupon { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.coupon-row { margin-top: 8px; display: flex; gap: 8px; }
.coupon-input { flex: 1 1 auto; min-width: 0; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--circle-border); font: inherit; font-size: 15.5px; color: var(--navy); background: #fff; }
.coupon-input:focus { outline: none; border-color: var(--cyan); }
.coupon-btn { flex: 0 0 auto; padding: 0 18px; border-radius: 10px; border: none; background: var(--navy); color: #fff; font-family: var(--heading); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.coupon-btn:hover { background: var(--cyan-dark); }
.coupon-ok { display: block; margin-top: 8px; font-size: 14.5px; color: var(--cyan-dark); }
.total { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }

.cart-empty-btns { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.cart-empty-btns .btn-ghost { display: inline-flex; }
.back-link { align-self: flex-start; font-family: var(--heading); font-weight: 600; font-size: 15px; }

.gifts { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.gift { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--card-border); color: var(--navy); }
.gift:hover { border-color: var(--cyan); color: var(--navy); }
.gift-img { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg); }
.gift-img img { width: 100%; height: 100%; object-fit: cover; }
.gift-title { font-family: var(--heading); font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.gift-price { font-family: var(--heading); font-weight: 700; font-size: 15px; }

@media (max-width: 600px) {
  .citem { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .citem-side { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .citem-price { align-items: flex-start; }
}

/* Checkout */
.steps { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.step { padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #7E97B4; font-family: var(--heading); font-weight: 700; font-size: 11.5px; letter-spacing: .09em; text-transform: uppercase; }
.step.is-done { color: var(--cyan); }
a.step.is-done:hover { background: rgba(33, 191, 227, .16); }
.step.is-active { background: var(--cyan); color: var(--navy); }

.fgrid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fgrid[hidden] { display: none; }
.field { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field-label { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7E97B4; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1.5px solid var(--circle-border); background: #fff; font: inherit; font-size: 16px; color: var(--navy); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.field input[readonly] { background: var(--bg); color: var(--muted); }
.field .is-invalid, .check.is-invalid { border-color: var(--magenta); }
.irsz-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; margin-top: 4px; max-height: 240px; overflow-y: auto; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--card-border); box-shadow: 0 18px 40px rgba(11, 27, 49, .16); }
.irsz-list[hidden] { display: none; }
.irsz-item { display: block; width: 100%; padding: 9px 11px; border: none; border-radius: 8px; background: none; text-align: left; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.irsz-item:hover, .irsz-item:focus { background: #F0F8FB; color: var(--cyan-dark); outline: none; }

.check { display: flex; align-items: flex-start; gap: 11px; margin-top: 20px; font-size: 14.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.check input { flex: 0 0 auto; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--cyan-dark); }
.check--sep { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 600; color: var(--navy); }
.check.is-invalid { color: var(--magenta); }
.js-szallitasi-cim { margin-top: 18px; }

.opts-label { display: block; margin-top: 20px; }
.opts { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 12px; border: 1.5px solid var(--card-border); cursor: pointer; }
.opt[hidden] { display: none; }
.opt:hover { border-color: var(--circle-border); }
.opt:has(input:checked) { border-color: var(--cyan); background: #F0FAFD; }
.opt input { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--cyan-dark); }
.opt-text { flex: 1 1 auto; font-size: 15.5px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.opt-price { flex: 0 0 auto; font-family: var(--heading); font-weight: 700; font-size: 15px; color: var(--navy); }
.opts .muted { margin: 0; font-size: 15px; }

button.btn-cta { width: 100%; border: none; cursor: pointer; }
button.btn-cta:disabled { opacity: .6; cursor: wait; }
.form-status { margin: 14px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--magenta); }
.form-status.is-ok { color: var(--cyan-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 600px) {
  .fgrid { grid-template-columns: 1fr; }
}

/* Login, registration, lost password */
.notice { margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 15.5px; font-weight: 600; line-height: 1.5; }
.notice--error { background: #FBEFF8; border: 1px solid #EFC6E6; color: var(--magenta); }
.notice--ok { background: #F0F8FB; border: 1px solid #CDE9F2; color: #0E7A96; }
.fgrid--one { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
.field input:user-invalid, .check input:user-invalid { border-color: var(--magenta); }
.auth-links { margin-top: 14px; font-size: 15px; font-weight: 600; }
.auth-actions { margin-top: 24px; max-width: 460px; }
.auth-actions--inline { max-width: none; }
.auth-actions--inline .btn-cta { display: inline-flex; width: auto; padding-left: 30px; padding-right: 30px; }
.field-hint { margin: 12px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.head-sub { margin: 12px 0 0; font-size: 16.5px; color: #C6D4E4; overflow-wrap: anywhere; }
.perks { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--ink); }
.perks svg { flex: 0 0 auto; margin-top: 2px; color: var(--cyan-dark); }

/* My videos */
.vid-item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vid-meta { font-size: 13.5px; color: var(--muted); }

/* Content pages */
.prose-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.prose table { width: 100%; margin-top: 14px; border-collapse: collapse; }
.prose td, .prose th { padding: 12px 14px 12px 0; vertical-align: top; text-align: left; border-bottom: 1px solid var(--line); }
.prose td > :first-child, .prose th > :first-child { margin-top: 0; }
.prose td h3 { font-size: 16px; }
.vids--one { grid-template-columns: minmax(0, 560px); }
.people { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 22px 16px; }
.person { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; color: var(--navy); }
a.person:hover { color: var(--cyan-dark); }
.person-img { width: 128px; height: 128px; margin-bottom: 8px; border-radius: 50%; object-fit: cover; border: 4px solid var(--cyan); background: var(--bg); }
.person-name { font-family: var(--heading); font-weight: 700; font-size: 16px; line-height: 1.3; }
.person-role { font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.person-tel { font-weight: 600; font-size: 15px; }
.side-links { margin-top: 12px; display: flex; flex-direction: column; }
.side-links a { padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--navy); }
.side-links a:last-child { border-bottom: none; }
.side-links a:hover, .side-links a.is-active { color: var(--cyan-dark); }
.share--inline { align-self: flex-start; }
.prose-extra { margin-top: 18px; }
.wrap-single { max-width: 820px; }

@media (max-width: 700px) {
  .prose-cols { grid-template-columns: 1fr; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: auto !important; }
  .prose td { padding: 0; border: none; }
  .prose tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
}
.profile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start; }
.person-img--big { width: 180px; height: 180px; margin: 0; }
@media (max-width: 700px) {
  .profile { grid-template-columns: 1fr; justify-items: center; }
}

/* Course application */
.buybox-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.buybox-title { margin-top: 6px; font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.form-subtitle { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 700; color: var(--navy); }
.field select { appearance: auto; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(18px, 2vw, 24px); }
.post { display: flex; flex-direction: column; border-radius: 18px; border: 1px solid var(--card-border); background: #fff; overflow: hidden; }
.post-media { position: relative; display: block; aspect-ratio: 16 / 9; background: #DCE6EF; }
.post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 10px; padding: 20px 22px 22px; }
.post-date { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7E97B4; }
.post-title { font-size: 19px; line-height: 1.3; font-weight: 700; }
.post-title a { color: var(--navy); }
.post-title a:hover { color: var(--cyan-dark); }
.post-intro { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.post-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--heading); font-weight: 700; font-size: 13.5px; letter-spacing: .05em; text-transform: uppercase; }
.wrap-article { max-width: 900px; }
.article-img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.article-lead { margin: 0; font-family: var(--heading); font-weight: 600; font-size: 19px; line-height: 1.5; color: var(--navy); }
.article-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.article-actions .back-link { align-self: auto; }

/* Search */
.search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.search-form .btn-cta { width: auto; padding-left: 30px; padding-right: 30px; }
.result { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.result:hover { border-color: var(--cyan); color: var(--ink); }
.result:hover .post-title { color: var(--cyan-dark); }
@media (max-width: 600px) {
  .search-form { grid-template-columns: 1fr; }
}

/* Webshop */
.shop { height: 42px; min-width: 42px; padding: 0 14px 0 11px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--heading); font-weight: 600; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #fff; }
.shop:hover, .shop.is-active { border-color: var(--cyan); color: var(--cyan); background: rgba(33, 191, 227, .12); }
@media (max-width: 1240px) { .shop { padding: 0; } .shop-text { display: none; } }
@media (max-width: 1160px) {
  .nav { gap: 2px; }
  .nav-link { padding: 10px 8px; font-size: 12.5px; }
  .btn-reg { padding: 13px 16px; }
}
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: flex; }
}

.pcards { margin-top: clamp(22px, 2.5vw, 32px); display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.pcard { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); box-shadow: 0 2px 4px rgba(11, 27, 49, .05), 0 12px 28px rgba(11, 27, 49, .06); transition: box-shadow .2s, border-color .2s; }
.pcard:hover { border-color: var(--cyan); box-shadow: 0 6px 12px rgba(11, 27, 49, .08), 0 20px 44px rgba(11, 27, 49, .12); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.pcard-media img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.pcard-body { display: flex; flex-direction: column; flex: 1 1 auto; gap: 14px; padding: 18px 18px 20px; }
.pcard-body h3 { font-size: 17px; line-height: 1.3; font-weight: 600; text-wrap: balance; }
.pcard-body h3 a { color: var(--navy); }
.pcard-body h3 a:hover { color: var(--cyan-dark); }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pcard .price { font-size: 21px; }

.pager { margin-top: clamp(26px, 3vw, 38px); display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pager-link { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--circle-border); background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--heading); font-weight: 700; font-size: 14.5px; color: var(--navy); }
.pager-link:hover { border-color: var(--navy); color: var(--navy); }
.pager-link.is-active { border-color: var(--cyan); background: var(--cyan); }

.page-head--slim { padding-top: 22px; padding-bottom: 22px; }
.page-head--slim .crumbs { flex-wrap: wrap; }
.notice--cart { margin: 0 0 clamp(18px, 2vw, 24px); display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.notice--cart .btn-primary { flex: 0 0 auto; padding: 12px 18px; }

.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.pgal { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pgal-main { position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--card-border); }
.pgal-main img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; }
.pgal-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pgal-thumb { width: 78px; height: 78px; padding: 6px; border-radius: 12px; border: 1.5px solid var(--card-border); background: #fff; cursor: pointer; }
.pgal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pgal-thumb:hover { border-color: var(--circle-border); }
.pgal-thumb.is-active { border-color: var(--cyan); }

.product .buybox { position: sticky; top: 24px; }
.product-title { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
.product .price--big { margin-top: 14px; font-size: 32px; }
.vopts { margin: 22px 0 0; padding: 0; border: none; min-width: 0; }
.vopts .price-label { padding: 0; }
.vopts-list { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.vopt { position: relative; cursor: pointer; }
.vopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vopt span { display: flex; align-items: center; justify-content: center; min-width: 50px; padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--circle-border); background: #fff; font-family: var(--heading); font-weight: 600; font-size: 14.5px; color: var(--navy); }
.vopt:hover span { border-color: var(--navy); }
.vopt input:checked + span { border-color: var(--cyan); background: #F0FAFD; box-shadow: 0 0 0 1px var(--cyan); }
.vopt input:focus-visible + span { outline: 2px solid var(--cyan-dark); outline-offset: 2px; }
.vopt.is-out span { color: #93A6BB; text-decoration: line-through; }
.stock { margin: 20px 0 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--magenta); }
.stock.is-ok { color: var(--cyan-dark); }
.product .buybox-actions [hidden] { display: none; }
button.btn-ghost { width: 100%; cursor: pointer; }
button.btn-cta[data-nincs]:disabled { cursor: not-allowed; background: #DCE6EF; color: #7E97B4; opacity: 1; }
.product-info { margin-top: clamp(22px, 2.6vw, 32px); }
.product-info .prose { margin-top: 14px; }
.section-title { margin-top: clamp(34px, 4vw, 52px); font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; color: var(--navy); }
.section-title + .pcards { margin-top: 18px; }

@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; }
  .product .buybox { position: static; }
}
@media (max-width: 480px) {
  .hdr-actions { gap: 10px; }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pcard-body { padding: 14px; gap: 10px; }
  .pcard-body h3 { font-size: 15px; }
  .pcard .price { font-size: 17px; }
  .pcard .btn-outline-sm { display: none; }
}
