/* ── ALL-COURSES PAGE SEARCH ── */
.ac-search-input {
  width: 100%; padding: .55rem .75rem .55rem 2.1rem;
  border: 1.5px solid rgba(43,43,43,.12); border-radius: var(--r-sm);
  font-family: var(--font-b); font-size: .87rem;
  background: var(--light-gray); outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.ac-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(142,47,62,.1);
  background: var(--white);
}

/* ── IMPROVED BTN STYLES ── */
.btn-enroll {
  background: var(--text); color: var(--white);
  border-radius: var(--r-sm); padding: .6rem 1.2rem;
  font-size: .82rem; font-weight: 600;
  border: none; cursor: pointer;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.btn-enroll:hover { background: var(--accent); transform: translateY(-1px); }

.btn-cart {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--light-gray); border: 1.5px solid rgba(43,43,43,.08);
  font-size: .95rem; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t) var(--ease);
}
.btn-cart:hover { background: var(--rose); border-color: var(--accent-lt); transform: scale(1.08); }

/* ── COURSE CARD FOOTER BUTTON GROUP ── */
.card-btn-group {
  display: flex; gap: .4rem; align-items: center;
}

/* ── IMPROVED NAV-LINK-ALL ── */
.nav-link-all {
  font-weight: 700 !important; color: var(--accent) !important;
  background: rgba(142,47,62,.07); border-radius: 20px;
  padding: .3rem .8rem !important;
}
.nav-link-all:hover { background: rgba(142,47,62,.14) !important; }

/* ── CP HERO MOBILE (early overrides) ── */
@media (max-width: 768px) {
  .cp-hero-inner { padding: 2rem 1.5rem 0; }
  .cp-title { font-size: 1.75rem; }
  .cp-desc { font-size: .9rem; }
  .cp-info-grid { gap: .4rem; flex-wrap: wrap; }
  .cp-info-chip, .cp-info-item {
    min-width: 0;
    flex: 1 1 calc(50% - .2rem);
    white-space: normal;
  }
  .cp-after-list { grid-template-columns: 1fr; }
  .cp-price-block .cp-actions { flex-direction: column; }
}

/* ══════════════════════════════════════════
   DESIGN TOKENS
   Breakpoints: sm 480 · md 768 · lg 1024 · xl 1200 · 2xl 1400
══════════════════════════════════════════ */
:root {
  --white:        #FFFFFF;
  --bg:           #FAFAFA;
  --text:         #2B2B2B;
  --text-muted:   #888;
  --text-light:   #AAAAAA;

  /* Glass accents */
  --glass-peach:  rgba(120, 90, 70, 0.12);
  --glass-rose:   rgba(142, 47, 62, 0.10);
  --glass-clear:  rgba(255,255,255,0.45);
  --glass-dark:   rgba(43,43,43,0.07);

  /* Solid fills */
  --peach:        #ECE3DB;
  --rose:         #F7F3EF;
  --blush:        #F0E8E1;
  --sky:          #B4D6F5;
  --light-gray:   #F4F4F4;
  --faint:        #FAFAFA;

  /* Accent gradient (module headers) */
  --grad: linear-gradient(-69deg, #E6DBD0 41%, #ECE3DB 51%);

  --font-d: 'Montserrat', system-ui, sans-serif;
  --font-b: 'Montserrat', system-ui, sans-serif;

  --r-sm: 20px;
  --r-md: 28px;
  --r-lg: 40px;
  --r-xl: 52px;
  --r-form: 9999px;

  --ease: cubic-bezier(.4,0,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --t: 260ms;

  --nav-h: 76px;
  --page-pad-x: 3rem;
  --page-pad-y: 4rem;
  --inner-hero-h: clamp(360px, 44vh, 460px);

  /* Brand accent */
  --accent:    #8E2F43;
  --accent-lt: #E9DBD2;
  --accent-dk: #6E2233;
  /* shorthand aliases used in legacy CSS */
  --fd:    var(--font-d);
  --fb:    var(--font-b);
  --light: var(--light-gray);
  --muted: var(--text-muted);
}

/* ── BHC brand word ── */
.bhc-word {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: .04em;
}

/* ══ RESET ══ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px;-webkit-font-smoothing:antialiased}
body{background:var(--white);color:var(--text);font-family:var(--font-b);font-weight:400;overflow-x:hidden}
a{color:inherit;text-decoration:none}
ul{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
img{display:block;max-width:100%}

/* ══════════════════════════════════════════
   PAGES (multi-page PHP; no SPA hiding)
══════════════════════════════════════════ */
.page { display: block; min-height: auto; }

/* ══════════════════════════════════════════
   RESPONSIVE UTILITIES (shared layouts)
══════════════════════════════════════════ */
.page-hero {
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  min-height: var(--inner-hero-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.page-hero--content {
  background: linear-gradient(135deg, #ECE3DB 0%, #F7F3EF 60%, #b4d6f5 100%);
}
.page-hero--blog {
  background: linear-gradient(135deg, #F7F3EF 0%, #ECE3DB 50%, #F1E9DC 100%);
}
.page-hero--works .page-hero-cover {
  object-position: center 35%;
}
.page-hero--catalog {
  background: linear-gradient(135deg, #ECE3DB 0%, #F7F3EF 40%, #b4d6f5 100%);
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: calc(var(--page-pad-y) * 0.65) var(--page-pad-x) calc(var(--page-pad-y) * 0.5);
  position: relative;
}
.page-hero-inner--wide { max-width: 1400px; }
.page-hero--home-style {
  min-height: auto;
  justify-content: flex-start;
}
.page-hero--home-style .page-hero-inner {
  max-width: 1400px;
  padding-top: calc(var(--page-pad-y) * 0.85);
  padding-bottom: calc(var(--page-pad-y) * 0.65);
}
.page-hero--home-style .hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
}
.page-hero--home-style .hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  max-width: 820px;
}
.page-hero--home-style .hero-title--long {
  max-width: 820px;
}
.page-hero--home-style .hero-desc {
  max-width: 560px;
  margin-bottom: 0;
}
.page-hero--home-style .hero-stats {
  gap: 1.25rem;
}
.page-hero-eyebrow {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(43, 43, 43, .38);
  margin-bottom: .6rem;
}
.page-hero-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin-bottom: .75rem;
}
.page-hero-desc {
  font-size: .93rem;
  color: rgba(43, 43, 43, .58);
  max-width: 520px;
  line-height: 1.72;
}
.page-hero-cover,
.dir-hero-cover,
.info-hero-cover,
.page-hero-overlay,
.dir-hero-overlay,
.info-hero-overlay {
  display: none !important;
}
.page-hero-cover,
.dir-hero-cover,
.info-hero-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  z-index: 0;
}
.page-hero-overlay,
.dir-hero-overlay,
.info-hero-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.14) 48%, rgba(0,0,0,.38) 100%),
    radial-gradient(80% 70% at 50% 35%, rgba(0,0,0,.04) 0%, rgba(0,0,0,.28) 100%);
}
.page-hero--has-cover.page-hero--content,
.page-hero--has-cover.page-hero--blog,
.page-hero--has-cover.page-hero--works,
.page-hero--has-cover.page-hero--catalog {
  background: #1a1a1a;
}
.page-hero--has-cover .page-hero-cover,
.page-hero--has-cover .page-hero-overlay,
.dir-hero--has-cover .dir-hero-cover,
.dir-hero--has-cover .dir-hero-overlay,
.info-hero--has-cover .info-hero-cover,
.info-hero--has-cover .info-hero-overlay { display: block; }
.dir-hero--has-cover { background: #1a1a1a !important; }
.page-hero--has-cover .page-hero-inner,
.dir-hero--has-cover .dir-hero-inner { position: relative; z-index: 1; }
.page-hero--has-cover .page-hero-eyebrow,
.page-hero--has-cover .page-hero-title,
.page-hero--has-cover .page-hero-desc { color: #fff; }
.page-hero--has-cover .page-hero-eyebrow { color: rgba(255,255,255,.72); }
.page-hero--has-cover .page-hero-desc { color: rgba(255,255,255,.86); }
.page-hero--has-cover .page-hero-title em { color: #f0d4dc; }
.page-hero--has-cover .catalog-hero-stat-num { color: #fff; }
.page-hero--has-cover .catalog-hero-stat-label { color: rgba(255,255,255,.75); }
.dir-hero--has-cover .dir-hero-title { color: #fff; }
.dir-hero--has-cover .dir-hero-desc { color: rgba(255,255,255,.86); }
.dir-hero--has-cover .dir-stat {
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.25);
}
.dir-hero--has-cover .dir-stat-num { color: #fff; }
.dir-hero--has-cover .dir-stat-label { color: rgba(255,255,255,.75); }
.stack-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.sticky-filter-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(43, 43, 43, .07);
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
}
.sticky-filter-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: .75rem var(--page-pad-x);
}
.ac-filters-toggle {
  display: none;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(43,43,43,.1);
  border-radius: 999px;
  background: var(--light-gray);
  color: var(--text);
  font-family: var(--font-b);
  font-size: .78rem;
  font-weight: 600;
  padding: .5rem .9rem;
  min-height: 44px;
  cursor: pointer;
  transition: background var(--t), border-color var(--t);
}
.ac-filters-toggle:hover { background: var(--rose); border-color: var(--accent-lt); }
.ac-filters-toggle-icon {
  font-size: .65rem;
  transition: transform var(--t) var(--ease);
}
.sticky-filter-bar.ac-filters-expanded .ac-filters-toggle-icon { transform: rotate(180deg); }
.ac-filters-toggle.has-active {
  background: var(--rose);
  border-color: var(--accent-lt);
  color: var(--accent);
}
.ac-search-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}
.ac-search-wrap {
  position: relative;
  flex: 0 0 240px;
}
.ac-search-icon {
  position: absolute;
  left: .75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  pointer-events: none;
}
.ac-count-label {
  font-size: .78rem;
  color: var(--text-muted);
  margin-left: auto;
}
.ac-filter-section { margin-bottom: .5rem; }
.ac-filter-section--last { padding-bottom: .65rem; margin-bottom: 0; }
.ac-filter-row {
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .15rem;
}
.ac-filter-row::-webkit-scrollbar { display: none; }
.ac-reset-btn {
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  background: none; border: none; cursor: pointer;
  padding: .45rem .85rem; border-radius: 20px; transition: all var(--t);
  min-height: 44px;
}
.ac-reset-btn:hover { color: var(--text); background: var(--light-gray); }
.ac-filter-label {
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(43, 43, 43, .3);
  margin-bottom: .4rem;
}
.nav-brand {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 1;
  min-width: 0;
}
.nav-brand-bhc {
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--text);
}
.nav-brand-sub {
  font-family: var(--font-b);
  font-weight: 300;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--text-muted);
}
.nav-enroll-btn {
  background: var(--text);
  border-radius: var(--r-md);
  padding: .65rem 1.4rem;
  white-space: nowrap;
}
.form-card-pad {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  border: 1px solid rgba(43, 43, 43, .06);
  box-shadow: 0 8px 32px rgba(43, 43, 43, .06);
}
.info-cta-band {
  margin-top: 2.5rem;
  background: var(--grad);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.info-cta-band-text { flex: 1; min-width: 200px; }
.info-cta-band-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── CONTENT CARDS (news / blog) ── */
.content-card {
  background: var(--white);
  border: 1px solid rgba(43,43,43,.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(43,43,43,.09);
}
.content-card__media {
  display: flex; align-items: center; justify-content: center;
  height: 180px; font-size: 3.5rem;
}
.content-card__media--news { height: 200px; font-size: 4rem; }
.content-card__body { padding: 1.4rem; }
.content-card__body--news { padding: 1.5rem; }
.content-card__meta {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  margin-bottom: .75rem;
}
.content-card__body--news .content-card__meta { gap: .75rem; margin-bottom: .85rem; }
.content-card__tag {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; padding: .22rem .65rem; border-radius: 20px;
}
.content-card__body--news .content-card__tag { font-size: .68rem; padding: .25rem .7rem; }
.content-card__tag--rose { background: var(--rose); color: var(--accent); }
.content-card__tag--blue { background: #e8f4fd; color: #2980b9; }
.content-card__tag--sky { background: #e8f4fd; color: #2471a3; }
.content-card__tag--gold { background: #fef9e7; color: #b7950b; }
.content-card__tag--yellow { background: #fef9e7; color: #d4ac0d; }
.content-card__tag--green { background: #eafaf1; color: #1e8449; }
.content-card__tag--pink { background: #fdf2f8; color: #a93226; }
.content-card__tag--gray { background: #f4f4f4; color: #555; }
.content-card__date { font-size: .76rem; color: var(--text-muted); }
.content-card__body--news .content-card__date { font-size: .78rem; }
.content-card__title {
  font-family: var(--font-d); font-size: 1.1rem; font-weight: 500;
  line-height: 1.3; margin-bottom: .55rem; letter-spacing: -.01em;
}
.content-card__body--news .content-card__title {
  font-size: 1.2rem; margin-bottom: .65rem;
}
.content-card__excerpt {
  font-size: .82rem; color: var(--text-muted); line-height: 1.68; margin-bottom: 1rem;
}
.content-card__body--news .content-card__excerpt {
  font-size: .85rem; line-height: 1.7; margin-bottom: 1.25rem;
}
.content-card__link {
  font-size: .78rem; font-weight: 600; color: var(--accent);
  background: none; border: none; cursor: pointer; padding: 0;
}
.content-card__body--news .content-card__link { font-size: .8rem; }

.blog-featured__media {
  height: 340px; display: flex; align-items: center; justify-content: center; font-size: 7rem;
  background: linear-gradient(135deg, #E6DBD0, #ECE3DB, #F0E8E1);
}
.blog-featured__body {
  padding: 2.5rem; display: flex; flex-direction: column; justify-content: center;
}
.blog-featured__meta {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.blog-featured__title {
  font-family: var(--font-d); font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 500; line-height: 1.2; margin-bottom: .9rem; letter-spacing: -.02em;
}
.blog-featured__excerpt {
  font-size: .88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.5rem;
}
.blog-featured__link {
  font-size: .85rem; font-weight: 700; color: var(--accent);
  background: none; border: none; cursor: pointer; padding: 0; letter-spacing: .01em;
}
.blog-featured:hover { box-shadow: 0 20px 48px rgba(43,43,43,.09); }

.catalog-hero-stats {
  display: flex; gap: clamp(1rem, 4vw, 2.5rem); flex-wrap: wrap;
}
.catalog-hero-stat-num {
  font-family: var(--font-d); font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 500; letter-spacing: -.03em; line-height: 1; display: block;
}
.catalog-hero-stat-label {
  display: block; font-size: .72rem; color: var(--text-muted); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-top: .35rem;
}
@media (max-width: 1024px) {
  .dir-hero-desc { max-width: none; }
  .dir-stat { flex: 1 1 calc(50% - .5rem); min-width: 0; }
  .blog-featured__media { height: 280px; font-size: 5rem; }
}
@media (max-width: 768px) {
  .ac-tag { padding: .32rem .7rem; font-size: .7rem; min-height: 0; line-height: 1.25; }
  .ac-tag-count { font-size: .55rem; padding: .1rem .35rem; }
  .ac-filter-label { margin-bottom: .25rem; font-size: .55rem; }
  .ac-filter-section { margin-bottom: .35rem; }
  .ac-filter-row { gap: .3rem; }
  .filter-bar-inner {
    flex-wrap: nowrap;
    padding: .35rem 0;
    gap: .3rem;
  }
  .filter-tab {
    padding: .3rem .7rem;
    font-size: .7rem;
    min-height: 0;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
  }
  .works-filter-row {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: .3rem !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: .15rem;
  }
  .works-filter-row::-webkit-scrollbar { display: none; }
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
  }
  .work-card-body { padding: .9rem 1rem; }
  .work-card-name { font-size: .92rem; }
  .work-card-course { font-size: .72rem; }
  .blog-featured__body { padding: 1.5rem; }
  .blog-featured__media { height: 220px; font-size: 4rem; }
  .ac-filters-toggle { display: inline-flex; }
  .ac-search-wrap { flex: 1 1 auto; min-width: 0; }
  .ac-search-row { gap: .5rem; flex-wrap: nowrap; }
  .ac-count-label { margin-left: 0; flex: 0 0 auto; white-space: nowrap; }
  .ac-reset-btn { flex: 0 0 auto; padding: .45rem .7rem; font-size: .75rem; }
  .sticky-filter-bar:not(.ac-filters-expanded) .ac-filters-body { display: none; }
  .sticky-filter-bar.ac-filters-expanded .ac-filters-body {
    display: block;
    max-height: min(52vh, 380px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: .5rem;
    padding-top: .5rem;
    border-top: 1px solid rgba(43,43,43,.06);
  }
}
@media (min-width: 769px) {
  .ac-filters-body {
    display: block !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
  }
}
@media (max-width: 480px) {
  .dir-stat { flex: 1 1 100%; }
  .content-card-grid { grid-template-columns: 1fr; }
  .catalog-hero-stats { gap: 1rem; }
  .catalog-hero-stats > div { flex: 1 1 calc(50% - .5rem); min-width: 0; }
  .ac-search-row { flex-wrap: wrap; }
  .ac-search-wrap { flex: 1 1 calc(100% - 6.5rem); }
  .ac-count-label { flex: 1 1 100%; text-align: left; padding-top: .15rem; }
  .faq-q { padding: 1rem 1.1rem; font-size: .85rem; }
}
.content-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.blog-featured {
  background: var(--white);
  border: 1px solid rgba(43, 43, 43, .07);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  cursor: pointer;
  transition: all var(--t) var(--ease);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.work-card {
  background: var(--white);
  border: 1px solid rgba(43,43,43,.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(43,43,43,.09);
}
.work-card-img {
  aspect-ratio: 358 / 480;
  position: relative;
  background: var(--light-gray);
  overflow: hidden;
}
.work-card-img--focus {
  aspect-ratio: 358 / 400;
}
.work-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block;
}
.work-card-badge {
  position: absolute; top: .75rem; left: .75rem;
  font-size: .63rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; padding: .22rem .65rem; border-radius: 20px;
}
.work-card-badge--strizhki { background: var(--rose); color: var(--accent); }
.work-card-badge--blond { background: #fef9e7; color: #b7950b; }
.work-card-badge--color { background: #e8f4fd; color: #2471a3; }
.work-card-badge--ukladki { background: var(--rose); color: var(--accent); }
.work-card-badge--braiding { background: #f3e8f0; color: #7a3d5c; }
.work-card-badge--men { background: #f4f4f4; color: #555; }
.work-card-badge--zero { background: #f4f4f4; color: #555; }
.work-card-body { padding: 1.1rem 1.25rem; }
.work-card-name {
  font-family: var(--font-d); font-size: 1rem; font-weight: 500; margin-bottom: .25rem;
}
.work-card-course { font-size: .78rem; color: var(--text-muted); }
.work-lightbox {
  position: fixed; inset: 0; z-index: 10040;
  background: rgba(43,43,43,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}
.work-lightbox:not([hidden]) { pointer-events: auto; }
.work-lightbox[hidden] { display: none !important; }
.work-lightbox img {
  max-width: min(920px, 100%); max-height: 90vh;
  border-radius: var(--r-md); object-fit: contain;
}
.work-lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  font-size: 1.5rem; line-height: 1;
}
.work-lightbox-meta {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,.95); border-radius: var(--r-md);
  padding: .75rem 1.25rem; text-align: center; max-width: 90%;
}
.work-lightbox-meta strong { display: block; font-family: var(--font-d); font-size: 1rem; }
.work-lightbox-meta span { font-size: .8rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid rgba(43, 43, 43, 0.1);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 6px 24px rgba(43, 43, 43, 0.07);
  padding: 0 var(--page-pad-x);
  transition: background var(--t), box-shadow var(--t);
}
.nav-inner {
  max-width: 1400px; margin: 0 auto; width: 100%; height: 100%;
  display: flex; align-items: center; gap: 2rem;
}
.nav-links {
  display: flex; gap: 2rem; align-items: center; flex: 1; justify-content: center;
}
.nav-link {
  font-size: .9rem; font-weight: 500; letter-spacing: .04em;
  color: var(--text); position: relative; padding: .3rem 0;
  transition: opacity var(--t); cursor: pointer;
}
.nav-link-all { font-weight: 700 !important; color: var(--accent) !important; }
.nav-link::after {
  content:''; position:absolute; bottom:-2px; left:0; right:100%;
  height:1.5px; background:var(--accent);
  transition: right var(--t) var(--ease);
}
.nav-link:hover::after { right:0; }
.nav-right { display: flex; gap: 1.25rem; align-items: center; flex-shrink: 0; margin-left: auto; }
.nav-phone-mobile {
  display: none;
  width: 44px; height: 44px; flex-shrink: 0;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--rose);
  border: 1.5px solid rgba(43,43,43,.08);
  color: var(--accent); text-decoration: none;
  transition: all var(--t) var(--ease);
}
.nav-phone-mobile:hover {
  background: rgba(255,255,255,.85);
  border-color: rgba(142,47,62,.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,43,43,.08);
}
.nav-phone-mobile .nav-phone-icon {
  width: auto; height: auto; background: none;
}
.nav-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .85rem .45rem .5rem;
  border-radius: 999px;
  background: var(--rose);
  border: 1.5px solid rgba(43,43,43,.08);
  font-size: .9rem; font-weight: 600; letter-spacing: .02em;
  color: var(--text); text-decoration: none; white-space: nowrap;
  transition: all var(--t) var(--ease);
}
.nav-phone:hover {
  color: var(--accent);
  background: rgba(255,255,255,.85);
  border-color: rgba(142,47,62,.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43,43,43,.08);
}
.nav-phone-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(142,47,62,.1);
  color: var(--accent);
  transition: background var(--t), color var(--t);
}
.nav-phone:hover .nav-phone-icon {
  background: rgba(142,47,62,.16);
  color: var(--accent-dk);
}
.nav-phone-num { line-height: 1; }
.nav-phone--drawer {
  width: 100%; justify-content: center;
  padding: .75rem 1rem;
  font-size: 1rem;
}
.nav-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-clear);
  border: 1.5px solid rgba(255,255,255,.8);
  color: var(--text); font-size: 1.1rem;
  transition: all var(--t) var(--spring);
  position: relative; cursor: pointer;
}
.nav-btn:hover { background: var(--rose); transform: translateY(-2px); }
.nav-badge {
  position:absolute; top:-4px; right:-4px;
  width:18px; height:18px; border-radius:50%;
  background: var(--accent); color: #fff;
  font-size:.6rem; font-weight:600;
  display:flex; align-items:center; justify-content:center;
}
.nav-enroll {
  background: var(--text); color: #fff;
  border-radius: var(--r-sm); padding: .55rem 1.4rem;
  font-size: .875rem; font-weight: 600;
  transition: all var(--t) var(--ease);
}
.nav-enroll:hover { opacity: .85; transform: translateY(-2px); }

/* ══════════════════════════════════════════
   HERO BANNER
══════════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero--home {
  min-height: auto;
  justify-content: flex-start;
}
.hero--home .hero-content {
  padding-top: calc(var(--page-pad-y) * 0.85);
  padding-bottom: calc(var(--page-pad-y) * 0.65);
  align-items: start;
}
.hero--home .hero-left {
  gap: 1.5rem;
}
.hero--home .hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  max-width: 820px;
  line-height: 1.08;
}
.hero--home .hero-title-by {
  display: block;
  font-family: var(--font-b);
  font-style: italic;
  font-weight: 500;
  font-size: .42em;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .4em;
  color: rgba(43, 43, 43, .62);
}
.hero--home .hero-desc {
  max-width: 560px;
  font-size: 1.05rem;
  margin-bottom: 0;
}
.hero--home .hero-stats {
  gap: 1.25rem;
}
.hero--home .hero-right {
  gap: .85rem;
  max-width: 500px;
  width: 100%;
  margin-left: auto;
}
.hero--home .hero-card {
  aspect-ratio: 3 / 3.65;
}
.hero--home .hero-card:first-child {
  aspect-ratio: 3 / 7.5;
  min-height: 0;
}
.hero--has-cover.hero--home .hero-title-by {
  color: rgba(255, 255, 255, .78);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    #ECE3DB 0%,
    #F7F3EF 25%,
    #F0E8E1 50%,
    #ECE3DB 75%,
    #b4d6f5 100%);
  background-size: 400% 400%;
  animation: gradShift 12s ease infinite;
}

.hero-bg-cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0; display: none;
  transform: scale(1.02);
  transition: filter .35s var(--ease), transform .35s var(--ease);
}
.hero--has-cover.hero--bg-blur .hero-bg-cover {
  filter: blur(2px);
  transform: scale(1.03);
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; display: none;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,.35) 100%),
    radial-gradient(76% 67% at 55% 36%, rgba(0,0,0,.05) 0%, rgba(0,0,0,.35) 100%);
}
.hero--has-cover .hero-bg { opacity: 0; animation: none; }
.hero--has-cover .hero-bg-cover,
.hero--has-cover .hero-bg-overlay { display: block; }
.hero--has-cover .blob { opacity: .15; }
.hero--has-cover .hero-title,
.hero--has-cover .hero-desc,
.hero--has-cover .hero-eyebrow { color: #fff; }
.hero--has-cover .hero-title em { color: #f0d4dc; }
.hero--has-cover .hero-desc { color: rgba(255,255,255,.88); }
.hero--has-cover .hero-eyebrow { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.25); }
.hero--has-cover .btn-glass { color: #fff; border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.12); }
.hero--has-cover .hero-stat { background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.25); }
.hero--has-cover .hero-stat-label { color: rgba(255,255,255,.75); }
.hero--has-cover .hero-stat-num { color: #fff; }

.hero-bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .6;
}
@keyframes gradShift {
  0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%}
}
/* Floating blobs */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: .5; pointer-events: none;
  will-change: transform;
  backface-visibility: hidden;
  animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-1 { width:500px; height:500px; background:rgba(142,47,62,.12); top:-100px; right:-100px; animation-duration:9s; }
.blob-2 { width:400px; height:400px; background:rgba(180,214,245,.5); bottom:0; left:-80px; animation-duration:11s; animation-delay:-3s; }
.blob-3 { width:300px; height:300px; background:rgba(236,227,219,.55); top:30%; left:40%; animation-duration:7s; animation-delay:-5s; }
@keyframes blobFloat { 0%{transform:translate3d(0,0,0) scale(1)} 100%{transform:translate3d(40px,-30px,0) scale(1.08)} }
@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  .blob { animation: none; }
}

.hero-content {
  position: relative; z-index: 1;
  padding: calc(var(--page-pad-y) * 0.65) var(--page-pad-x) calc(var(--page-pad-y) * 0.5);
  max-width: 1400px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: end;
}
.hero-left { display: flex; flex-direction: column; gap: 2rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--glass-clear);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: 40px; padding: .5rem 1.2rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  width: fit-content;
  color: var(--accent);
}
.hero-eyebrow-dot { width:8px; height:8px; border-radius:50%; background:var(--accent); }
.hero-title {
  font-family: var(--font-d);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500; line-height: 1.05;
  color: var(--text);
}
.hero-title em { font-style: italic; color: #8B4B6E; }
.hero-desc {
  font-size: 1.1rem; font-weight: 300; line-height: 1.75;
  color: rgba(43,43,43,.75); max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--text); color: #fff;
  border-radius: var(--r-md); padding: 1rem 2rem;
  font-size: 1rem; font-weight: 600;
  transition: all var(--t) var(--ease);
  display: inline-flex; align-items: center; gap: .6rem;
}
.btn-primary:hover { opacity: .85; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(43,43,43,.2); }
.btn-glass {
  background: var(--glass-clear); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.8);
  border-radius: var(--r-md); padding: 1rem 2rem;
  font-size: 1rem; font-weight: 500; color: var(--text);
  transition: all var(--t) var(--ease);
  display: inline-flex; align-items: center; gap: .6rem;
}
.btn-glass:hover { background: rgba(255,255,255,.7); transform: translateY(-3px); }

.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.hero-stat {
  background: var(--glass-clear); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: var(--r-lg); padding: 1.2rem 1.8rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.hero-stat-num {
  font-family: var(--font-d); font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 600; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero-stat-label { font-size: .8rem; font-weight: 500; color: var(--text-muted); }

.hero-right {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-self: end;
}
.hero-card {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; aspect-ratio: 3/4;
  background: var(--peach);
  transition: transform var(--t) var(--ease);
}
.hero-card:hover { transform: translateY(-6px); }
.hero-card:first-child { grid-row: span 2; }
.hero-card-img {
  width:100%; height:100%; object-fit:cover;
  background: linear-gradient(135deg, var(--peach), var(--sky));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.hero-card-label {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  background: rgba(0,0,0,.55); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-sm); padding: .7rem 1rem;
  font-size: .9rem; font-weight: 600; color: #fff;
}
.hero-card:first-child { aspect-ratio: auto; }
.hero-card-chips {
  position: absolute; top: 1rem; left: 1rem;
  display: flex; gap: .4rem; flex-wrap: wrap;
}
.chip-sm {
  background: rgba(255,255,255,.9);
  border-radius: 20px; padding: .3rem .8rem;
  font-size: .72rem; font-weight: 500;
}
.hero-card-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-card-video {
  width: 100%; height: 100%; object-fit: cover;
  display: block; pointer-events: none;
}
.hero-card-play {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  border: none; padding: 0; margin: 0;
  background: rgba(0,0,0,.28);
  cursor: pointer;
  transition: opacity .25s var(--ease), background .25s var(--ease);
}
.hero-card-play:hover { background: rgba(0,0,0,.4); }
.hero-card-play:focus-visible {
  outline: 2px solid rgba(255,255,255,.85);
  outline-offset: -4px;
}
.hero-card-play-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
  transition: transform .25s var(--ease);
}
.hero-card-play:hover .hero-card-play-icon { transform: scale(1.06); }
.hero-card:first-child .hero-card-play-icon { width: 88px; height: 88px; }
.hero-card:first-child .hero-card-play-icon svg { width: 34px; height: 34px; }
.hero-card--playing .hero-card-play {
  opacity: 0; pointer-events: none;
}

/* Home hero carousel (mobile/tablet affordance) */
.hero-carousel { display: contents; }
.hero-carousel-foot { display: none; }

.hero-card-chips { z-index: 3; }
.hero-card-label { z-index: 3; }

/* ══════════════════════════════════════════
   DIRECTIONS GRID (card grid from screenshot)
══════════════════════════════════════════ */
.section { padding: var(--page-pad-y) var(--page-pad-x); max-width: 1400px; margin: 0 auto; }
.section-header { margin-bottom: 3rem; }
.section-eyebrow {
  font-size: .7rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-d); font-size: clamp(2rem,4vw,3rem);
  font-weight: 500; line-height: 1.1;
}
.section-title em { font-style: italic; }

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.dir-card {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; cursor: pointer;
  min-height: 380px;
  display: block;
  text-decoration: none;
  color: inherit;
  border: 3px solid transparent;
  transition: transform var(--t) var(--ease), box-shadow var(--t);
}
.dir-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 20px 50px rgba(43,43,43,.12); }
.dir-card--featured {
  border-color: var(--accent);
  box-shadow: 0 18px 48px rgba(142, 47, 62, .2);
}
.dir-card--featured:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 60px rgba(142, 47, 62, .26);
}
.dir-card-bg {
  position: absolute; inset: 0;
  overflow: hidden;
  background-color: #ECE3DB;
}
.dir-card-bg picture {
  display: block;
  width: 100%;
  height: 100%;
}
.dir-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.dir-card-photo--basic { object-position: center 18%; }
.dir-card-photo--upgrade { object-position: center 20%; }
.dir-card-photo--admins { object-position: center 15%; }
.dir-card-photo--men { object-position: left 12%; }
.dir-card-photo--color { object-position: center 20%; }
.dir-card-photo--cut { object-position: center 20%; }
.dir-card-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,43,43,.02) 0%, rgba(43,43,43,.55) 88%);
  pointer-events: none;
}
.dir-card-chips {
  position: absolute; top: 1.2rem; left: 1.2rem;
  display: flex; gap: .5rem; flex-wrap: wrap;
  z-index: 2;
}
.dir-chip {
  background: rgba(255,255,255,.92);
  border-radius: 20px; padding: .35rem .9rem;
  font-size: .78rem; font-weight: 500; color: var(--text);
}
.dir-chip--accent {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 4px 14px rgba(142, 47, 62, .3);
}
.dir-chip--corner {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 3;
}
.dir-card-bottom {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  z-index: 2;
}
.dir-card-label {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: var(--r-sm); padding: .9rem 1.4rem;
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  display: flex; align-items: center; justify-content: space-between;
}
.dir-card-arrow { font-size: 1.1rem; transition: transform var(--t) var(--ease); }
.dir-card:hover .dir-card-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════════
   COURSE CARDS (inside direction page)
══════════════════════════════════════════ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.course-card {
  background: var(--white);
  border: 1px solid rgba(43,43,43,.07);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms;
  cursor: pointer;
  display: flex; flex-direction: column;
  height: 100%;
}
.course-section-label {
  grid-column: 1 / -1;
  padding: 2rem 0 .1rem;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted);
  display: flex; align-items: center; gap: .85rem;
  border: none; background: transparent; cursor: default;
  box-shadow: none; transform: none !important;
}
.course-section-label::after {
  content: ''; flex: 1; height: 1px; background: rgba(43,43,43,.07);
}
.course-section-label:first-child { padding-top: 0; }
.course-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(43,43,43,.09); border-color: var(--accent-lt); }
.course-card-img {
  height: 160px; background: #ECE3DB;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; position: relative; flex-shrink: 0;
  overflow: hidden;
}
.course-card-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  z-index: 1;
}
.course-card-img--hair > img {
  object-position: center top;
}
.course-card-img--hair-fade > img {
  object-position: left 14%;
}
.course-card-badges {
  position: absolute; top: auto; bottom: 0; left: 0; right: 0;
  padding: 1.35rem .7rem .55rem;
  background: linear-gradient(180deg, transparent 0%, rgba(43,43,43,.38) 100%);
  display: flex; gap: .35rem; flex-wrap: wrap; align-items: flex-end;
  z-index: 2;
}
.course-card-badges .badge {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 2px 10px rgba(43,43,43,.12);
}
.badge-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  display: block;
  background: currentColor;
  opacity: .92;
  -webkit-mask: var(--badge-icon) center / contain no-repeat;
  mask: var(--badge-icon) center / contain no-repeat;
}
.badge-icon--matcap { --badge-icon: url('/assets/icons/meta/matcap.svg'); }
.badge {
  border-radius: 30px; padding: .28rem .75rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap; line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 8px rgba(43,43,43,.06);
}
.badge-online {
  background: #C8E4F8;
  color: #1E3F5C;
  border-color: rgba(30, 63, 92, .18);
}
.badge-offline {
  background: #fff;
  color: var(--text);
  border-color: rgba(43, 43, 43, .16);
  box-shadow: 0 2px 10px rgba(43, 43, 43, .1);
}
.badge-hot { background: var(--accent-dk); color: #fff; }
.badge-matcap {
  background: linear-gradient(135deg, #F7F3EF 0%, #EDE5DC 100%);
  color: var(--accent-dk);
  border-color: rgba(142, 47, 62, .22);
  box-shadow: 0 2px 10px rgba(142, 47, 62, .08);
}
.badge-cert { background: var(--sky); color: var(--text); }
.badge-basic { background: var(--accent); color: #fff; }
.badge-adv { background: rgba(43,43,43,.10); color: var(--text); }
.badge-adv--body {
  background: rgba(142,47,62,.09);
  color: var(--accent);
  border-color: rgba(142,47,62,.22);
  font-size: .62rem;
  padding: .24rem .62rem;
  letter-spacing: .06em;
}
.course-card-labels {
  display: flex; align-items: center; gap: .45rem;
  flex-wrap: wrap; margin-bottom: .55rem;
  min-height: 1.65rem;
}
.course-card-labels .course-card-tag { margin-bottom: 0; }
.course-card-body > .course-card-tag:first-child {
  min-height: 1.65rem;
  display: flex; align-items: center;
  margin-bottom: .55rem;
}
.course-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; min-height: 0; }
.course-card-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .55rem;
}
.course-card-title {
  font-family: var(--font-d); font-size: 1.15rem; font-weight: 500;
  margin-bottom: .6rem; line-height: 1.25;
  min-height: calc(1.15rem * 1.25 * 2);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.course-card-desc {
  font-size: .84rem; color: var(--text-muted);
  line-height: 1.6; margin-bottom: .9rem; flex: 1;
  min-height: calc(.84rem * 1.6 * 3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.course-card-meta {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 0;
  min-height: 2.35rem; align-content: flex-start;
}
.course-meta-item {
  display: flex; align-items: center; gap: .35rem;
  font-size: .76rem; color: var(--text-muted); font-weight: 500;
}
.course-meta-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: block;
  opacity: .72;
}
.course-meta-icon:not(svg) {
  background: currentColor;
  -webkit-mask: var(--meta-icon) center / contain no-repeat;
  mask: var(--meta-icon) center / contain no-repeat;
}
.course-meta-icon--practice {
  color: #5f5f5f;
  opacity: .95;
}
.course-meta-item--accent {
  color: var(--accent-dk);
  background: rgba(142, 47, 62, .07);
  border: 1px solid rgba(142, 47, 62, .12);
  border-radius: 999px;
  padding: .18rem .55rem;
}
.course-meta-item--accent .course-meta-icon { opacity: .9; }
.course-meta-icon--matcap { --meta-icon: url('/assets/icons/meta/matcap.svg'); }
.course-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid rgba(43,43,43,.06);
  gap: .5rem; flex-wrap: wrap;
  margin-top: auto;
}
.course-price {
  font-family: var(--font-d); font-size: 1.3rem; font-weight: 600;
  letter-spacing: -.01em;
}
.course-price-period { font-size: .75rem; color: var(--text-muted); font-family: var(--font-b); font-weight: 400; }
.btn-enroll {
  background: var(--text); color: #fff;
  border-radius: var(--r-sm); padding: .65rem 1.3rem;
  font-size: .85rem; font-weight: 600;
  transition: all var(--t) var(--ease);
}
.btn-enroll:hover { opacity: .8; transform: translateY(-2px); }
.btn-cart {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--light-gray); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; transition: all var(--t) var(--ease);
  margin-left: .5rem;
}
.btn-cart:hover { background: var(--rose); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   DIRECTION PAGE HEADER
══════════════════════════════════════════ */
.dir-hero {
  padding-top: var(--nav-h);
  background: var(--grad);
  position: relative;
  overflow: hidden;
  min-height: var(--inner-hero-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.dir-hero-inner {
  max-width: 1400px; margin: 0 auto;
  width: 100%;
  padding: calc(var(--page-pad-y) * 0.65) var(--page-pad-x) calc(var(--page-pad-y) * 0.5);
  display: flex; gap: 2rem; align-items: flex-end;
  justify-content: space-between;
}
.dir-hero-label {
  display: flex; gap: .5rem; margin-bottom: 1rem;
}
.dir-hero-title {
  font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500; line-height: 1.05; margin-bottom: 1rem;
}
.dir-hero-desc {
  font-size: 1rem; font-weight: 300; color: rgba(43,43,43,.7);
  max-width: 540px; line-height: 1.7; margin-bottom: 1.5rem;
}
.dir-hero-stats {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.dir-stat {
  background: rgba(255,255,255,.6); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.8);
  border-radius: var(--r-md); padding: 1rem 1.25rem;
  text-align: center; min-width: 5.5rem;
}
.dir-stat-num {
  font-family: var(--font-d); font-size: clamp(1.2rem, 2.4vw, 1.65rem); font-weight: 600;
  display: block; line-height: 1.1;
  white-space: nowrap; font-variant-numeric: tabular-nums;
}
.dir-stat-label { font-size: .78rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   FILTER TABS
══════════════════════════════════════════ */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 0 var(--page-pad-x);
  position: sticky; top: var(--nav-h); z-index: 90;
}
.filter-bar-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; gap: .4rem; align-items: center; flex-wrap: wrap;
  padding: .65rem 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.filter-bar-inner::-webkit-scrollbar { display: none; }
.filter-tab {
  border-radius: 30px; padding: .45rem 1.1rem;
  font-size: .78rem; font-weight: 600;
  background: var(--light-gray); color: var(--text-muted);
  border: 1.5px solid transparent;
  cursor: pointer; transition: all var(--t) var(--ease);
  white-space: nowrap; user-select: none; flex-shrink: 0;
}
.filter-tab.active {
  background: var(--text); color: var(--white);
  border-color: var(--text);
}
.filter-tab:hover:not(.active) {
  background: var(--rose); color: var(--text); border-color: var(--accent-lt);
}
.filter-tab:hover:not(.active) {
  background: var(--rose); color: var(--text); transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   WHY SECTION
══════════════════════════════════════════ */
.why-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .why-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .why-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .why-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.why-card {
  background: var(--light-gray); border-radius: var(--r-lg); padding: 1.75rem;
  transition: all var(--t) var(--ease);
}
.why-card:hover { background: var(--rose); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(43,43,43,.07); }
.why-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(247, 243, 239, .92));
  color: var(--accent);
  border: 1px solid rgba(142, 47, 62, .1);
  box-shadow: 0 6px 18px rgba(142, 47, 62, .07);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.why-card-icon__svg,
.why-card-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  display: block;
  flex-shrink: 0;
  stroke-width: 1.85;
}
.why-card:hover .why-card-icon {
  background: linear-gradient(145deg, rgba(142, 47, 62, .12), rgba(233, 219, 210, .55));
  color: var(--accent-dk);
  box-shadow: 0 8px 22px rgba(142, 47, 62, .14);
  transform: translateY(-1px);
}
.why-card-title {
  font-family: var(--font-d); font-size: 1.15rem; font-weight: 500;
  margin-bottom: .6rem;
}
.why-card-desc { font-size: .875rem; font-weight: 300; color: var(--text-muted); line-height: 1.65; }

/* ══════════════════════════════════════════
   REVIEWS
══════════════════════════════════════════ */
#reviews-section { background: var(--faint); padding-bottom: 0.75rem; }
#application-form { padding-top: 0.75rem; }
.reviews-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; margin-top: 1rem;
}
.reviews-summary-main {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  font-size: .95rem; color: var(--text-muted);
}
.reviews-summary-stars {
  color: #f59e0b; font-size: 1rem; letter-spacing: .06em;
  text-shadow: 0 0 8px rgba(245,158,11,.45);
}
.reviews-yandex-link {
  font-size: .9rem; font-weight: 500; color: var(--accent);
  text-decoration: none; border-bottom: 1px solid rgba(142,47,67,.25);
  white-space: nowrap; flex-shrink: 0;
  transition: color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.reviews-yandex-link:hover { color: var(--accent-dk); border-color: var(--accent-dk); }
.reviews-slider-wrap {
  position: relative; display: flex; align-items: stretch; gap: .75rem;
}
.reviews-slider-viewport { flex: 1; overflow: hidden; }
.reviews-slider-track {
  display: flex; transition: transform .45s var(--ease); will-change: transform;
}
.reviews-page {
  flex: 0 0 auto; box-sizing: border-box;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(var(--reviews-cols, 3), 1fr);
  align-items: stretch;
  padding: 0 .25rem;
}
.review-card {
  background: #fff; border-radius: var(--r-lg); padding: 1.25rem;
  border: 1px solid rgba(43,43,43,.06);
  box-shadow: 0 2px 12px rgba(43,43,43,.04);
  display: flex; flex-direction: column;
  height: 292px;
  min-height: 292px;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.review-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(43,43,43,.08); }
.review-card-header {
  display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem;
  flex-shrink: 0;
}
.review-card-info { flex: 1; min-width: 0; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); display: flex; align-items: center;
  justify-content: center; font-weight: 600; font-size: .85rem;
  flex-shrink: 0; overflow: hidden; color: #fff;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-name { font-size: .9rem; font-weight: 600; line-height: 1.3; }
.review-source { font-size: .78rem; color: var(--text-muted); margin-top: .15rem; }
.review-yandex-icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: .1rem;
}
.review-stars {
  color: #f59e0b; font-size: .95rem; margin-bottom: .75rem; letter-spacing: .08em;
  text-shadow: 0 0 6px rgba(245,158,11,.4);
  flex-shrink: 0;
}
.review-text {
  font-size: .88rem; font-weight: 300; line-height: 1.65;
  color: rgba(43,43,43,.82);
  flex: 1; min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: .35rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(142,47,62,.28) transparent;
}
.review-text::-webkit-scrollbar { width: 4px; }
.review-text::-webkit-scrollbar-track { background: transparent; }
.review-text::-webkit-scrollbar-thumb {
  background: rgba(142,47,62,.22);
  border-radius: 999px;
}
.review-text::-webkit-scrollbar-thumb:hover { background: rgba(142,47,62,.4); }
@media (max-width: 768px) {
  .review-card { height: 300px; min-height: 300px; }
}
.reviews-slider-btn {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--text);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; align-self: center;
  box-shadow: 0 2px 8px rgba(43,43,43,.08);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.reviews-slider-btn:hover:not(:disabled) { background: var(--accent); color: #fff; }
.reviews-slider-btn:disabled { opacity: .35; cursor: default; }
.reviews-loading, .reviews-error {
  text-align: center; padding: 2.5rem 1rem; color: var(--text-muted); font-size: .95rem;
}
@media (max-width: 768px) {
  .reviews-slider-wrap { gap: .5rem; }
  .reviews-slider-btn { width: 36px; height: 36px; font-size: .95rem; }
}

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  margin: 2rem var(--page-pad-x); border-radius: var(--r-xl);
  background: var(--grad); padding: var(--page-pad-y) var(--page-pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  flex-wrap: wrap;
}
.cta-title { font-family: var(--font-d); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 500; max-width: 560px; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.section-cta-wrap { padding: 0 var(--page-pad-x) 5rem; }

/* ── KEUNE PARTNER BANNER (home) ── */
.section--keune-partner {
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.keune-partner-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96) 0%, rgba(247, 243, 239, .94) 38%, rgba(233, 219, 210, .82) 100%);
  border: 1.5px solid rgba(142, 47, 62, .1);
  box-shadow:
    0 24px 64px rgba(43, 43, 43, .09),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}
.keune-partner-banner__glow {
  position: absolute;
  top: -30%;
  right: -8%;
  width: min(42vw, 320px);
  height: min(42vw, 320px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 47, 62, .12) 0%, rgba(180, 214, 245, .18) 45%, transparent 72%);
  pointer-events: none;
}
.keune-partner-banner__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(1.35rem, 2.8vw, 2rem) clamp(1.5rem, 3.2vw, 2.25rem);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(142, 47, 62, .12);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-lg);
  box-shadow:
    0 12px 32px rgba(43, 43, 43, .06),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.keune-partner-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 1.1rem;
  padding: .42rem .9rem .42rem .7rem;
  background: rgba(142, 47, 62, .09);
  border: 1px solid rgba(142, 47, 62, .16);
  border-radius: 999px;
}
.keune-partner-banner__eyebrow::before {
  content: '';
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: .9;
}
.keune-partner-banner__text {
  margin: 0;
  font-family: var(--font-d);
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  line-height: 1.68;
  color: var(--text);
  max-width: 44rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.keune-partner-banner__brand {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  flex-shrink: 0;
  min-width: min(100%, 17.5rem);
  padding: clamp(1.25rem, 2.8vw, 1.85rem) clamp(1.35rem, 3vw, 2rem);
  background: linear-gradient(160deg, #fff 0%, rgba(247, 243, 239, .95) 100%);
  border: 1.5px solid rgba(142, 47, 62, .14);
  border-radius: var(--r-lg);
  box-shadow:
    0 14px 36px rgba(43, 43, 43, .08),
    0 0 0 1px rgba(255, 255, 255, .85) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.keune-partner-banner__brand:hover {
  transform: translateY(-3px);
  border-color: rgba(142, 47, 62, .28);
  background: linear-gradient(160deg, #fff 0%, rgba(233, 219, 210, .55) 100%);
  box-shadow:
    0 20px 44px rgba(142, 47, 62, .14),
    0 0 0 1px rgba(255, 255, 255, .9) inset;
}
.keune-partner-banner__brand:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.keune-partner-banner__logo {
  display: block;
  width: min(240px, 36vw);
  height: auto;
  max-width: 100%;
  transition: transform var(--t) var(--ease);
}
.keune-partner-banner__brand:hover .keune-partner-banner__logo {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .keune-partner-banner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .keune-partner-banner__content {
    padding: 1.2rem 1.15rem;
  }
  .keune-partner-banner__text {
    font-size: 1rem;
    line-height: 1.65;
  }
  .keune-partner-banner__brand {
    justify-self: stretch;
    width: 100%;
    max-width: none;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
  }
  .keune-partner-banner__logo {
    width: min(180px, 52vw);
  }
}
.schedule-preview-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 1024px) {
  .schedule-preview-wrap .schedule-table thead { display: none; }
  .schedule-preview-wrap .schedule-table tbody tr {
    display: block; margin-bottom: 1rem; background: var(--light);
    border-radius: var(--r-md); border-bottom: none; overflow: hidden;
  }
  .schedule-preview-wrap .schedule-table tbody td {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 1rem; padding: .75rem 1rem;
    border-bottom: 1px solid rgba(43, 43, 43, .06); font-size: .85rem;
  }
  .schedule-preview-wrap .schedule-table tbody td:last-child { border-bottom: none; justify-content: stretch; }
  .schedule-preview-wrap .schedule-table tbody td:last-child .btn-sm { width: 100%; }
  .schedule-preview-wrap .schedule-table tbody td::before {
    content: attr(data-label); font-weight: 700; font-size: .72rem;
    text-transform: uppercase; letter-spacing: .06em; color: var(--muted); flex-shrink: 0;
  }
  .schedule-preview-wrap .schedule-table tbody td:last-child::before { display: none; }
  .schedule-preview-wrap { overflow-x: visible; }
}


/* ══════════════════════════════════════════
   CART PANEL
══════════════════════════════════════════ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(43,43,43,.4);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity var(--t);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px, 100vw);
  background: var(--white); z-index: 201;
  transform: translateX(100%);
  transition: transform var(--t) var(--ease);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.cart-panel.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 2rem; border-bottom: 1px solid var(--light-gray);
}
.cart-title { font-family: var(--font-d); font-size: 1.5rem; font-weight: 500; }
.cart-close {
  width: 40px; height: 40px; border-radius: 50%; background: var(--light-gray);
  display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem;
  transition: all var(--t);
}
.cart-close:hover { background: var(--rose); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem 2rem; }
.cart-empty {
  text-align: center; padding: 4rem 2rem;
  color: var(--text-muted);
}
.cart-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.cart-item {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--light-gray); align-items: flex-start;
}
.cart-item-img {
  width: 70px; height: 70px; border-radius: var(--r-sm);
  background: var(--grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
.cart-item-price { font-family: var(--font-d); font-size: 1.1rem; font-weight: 500; }
.cart-item-remove {
  background: none; border: none; cursor: pointer; color: var(--text-muted);
  font-size: 1rem; transition: color var(--t);
}
.cart-item-remove:hover { color: var(--text); }
.cart-footer {
  padding: 1.5rem 2rem; border-top: 1px solid var(--light-gray);
}
.cart-total-row {
  display: flex; justify-content: space-between; margin-bottom: 1.5rem;
}
.cart-total-label { font-size: 1rem; color: var(--text-muted); }
.cart-total-price { font-family: var(--font-d); font-size: 1.8rem; font-weight: 600; }
.btn-checkout {
  display: block; width: 100%; text-align: center;
  background: var(--text); color: #fff;
  border-radius: var(--r-md); padding: 1.1rem;
  font-size: 1rem; font-weight: 600;
  transition: all var(--t) var(--ease);
}
.btn-checkout:hover { opacity: .85; }

/* ══════════════════════════════════════════
   CABINET MODAL
══════════════════════════════════════════ */
.cabinet-overlay {
  position: fixed; inset: 0; background: rgba(43,43,43,.45);
  z-index: 200; opacity: 0; pointer-events: none;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t); display: flex;
  align-items: center; justify-content: center;
}
.cabinet-overlay.open { opacity: 1; pointer-events: all; visibility: visible; }
.cabinet-modal {
  background: var(--white); border-radius: var(--r-xl);
  width: min(440px, 95vw); padding: 2.5rem;
  transform: scale(.94) translateY(20px);
  transition: transform var(--t) var(--spring);
  position: relative;
}
.cabinet-overlay.open .cabinet-modal { transform: scale(1) translateY(0); }
.cabinet-close {
  position: absolute; top: 1.25rem; right: 1.25rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--light-gray); display: flex;
  align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; border: none;
  transition: background var(--t);
}
.cabinet-close:hover { background: var(--rose); }
.cabinet-title { font-family: var(--font-d); font-size: 1.75rem; font-weight: 500; margin-bottom: .5rem; }
.cabinet-sub { font-size: .9rem; color: var(--text-muted); margin-bottom: 2rem; }
.cabinet-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.cabinet-tab {
  flex: 1; text-align: center; padding: .65rem;
  border-radius: var(--r-sm); font-size: .875rem; font-weight: 500;
  cursor: pointer; border: 1.5px solid var(--light-gray);
  transition: all var(--t); background: var(--light-gray); color: var(--text-muted);
}
.cabinet-tab.active { background: var(--accent); color: #fff; border-color: var(--text); }
.form-group { margin-bottom: 1.25rem; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); margin-bottom: .4rem; display: block; }
.form-input,
select.form-input {
  width: 100%; border: 1.5px solid var(--light-gray);
  border-radius: var(--r-form); padding: .9rem 1.25rem;
  font-family: var(--font-b); font-size: .95rem; color: var(--text);
  outline: none; transition: border-color var(--t), box-shadow var(--t);
  background: var(--white);
}
textarea.form-input {
  width: 100%; border: 1.5px solid var(--light-gray);
  border-radius: var(--r-md); padding: .9rem 1.25rem;
  font-family: var(--font-b); font-size: .95rem; line-height: 1.65; color: var(--text);
  outline: none; transition: border-color var(--t), box-shadow var(--t);
  background: var(--white);
  min-height: 110px; max-height: 280px; resize: vertical;
}
select.form-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232B2B2B' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  padding-right: 2.75rem;
  cursor: pointer;
}
.custom-select { position: relative; width: 100%; }
.custom-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}
.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--r-form);
  padding: .9rem 1.25rem;
  background: var(--white);
  font-family: var(--font-b);
  font-size: .95rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--t), box-shadow var(--t);
}
.custom-select-trigger:hover { border-color: rgba(43,43,43,.22); }
.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(43,43,43,.06);
  outline: none;
}
.custom-select-value {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-select-value.is-placeholder { color: var(--text-muted); }
.custom-select-chevron {
  width: 12px; height: 8px; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232B2B2B' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--t) var(--ease);
}
.custom-select.open .custom-select-chevron { transform: rotate(180deg); }
.custom-select-menu {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0; right: 0;
  z-index: 40;
  list-style: none;
  margin: 0;
  padding: .45rem;
  background: var(--white);
  border: 1.5px solid rgba(43,43,43,.1);
  border-radius: var(--r-md);
  box-shadow: 0 14px 36px rgba(43,43,43,.12);
  max-height: 240px;
  overflow-y: auto;
}
.custom-select-menu[hidden] { display: none; }
.custom-select-option {
  padding: .72rem 1rem;
  border-radius: var(--r-form);
  font-size: .92rem;
  color: var(--text);
  cursor: pointer;
  transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.custom-select-option:hover,
.custom-select-option.is-active {
  background: var(--rose);
}
.custom-select-option.is-selected {
  background: var(--text);
  color: #fff;
}
.form-input:focus,
textarea.form-input:focus,
select.form-input:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(43,43,43,.06);
}
.form-submit {
  width: 100%; background: var(--text); color: #fff;
  border-radius: var(--r-form); padding: 1rem 1.5rem;
  font-size: .95rem; font-weight: 600; border: none; cursor: pointer;
  transition: opacity var(--t), transform var(--t);
}
.form-submit:hover { opacity: .85; }
.form-submit:disabled { opacity: .45; cursor: not-allowed; }
.application-form-card { border-radius: var(--r-xl) !important; }
.application-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
@media (max-width: 640px) {
  .application-form-grid { grid-template-columns: 1fr; }
}
.form-consent {
  display: flex; align-items: flex-start; gap: .65rem;
  margin: 1.25rem 0 1rem; cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: .15rem; flex-shrink: 0;
  accent-color: var(--accent); cursor: pointer; border-radius: 50%;
}
.form-consent span {
  font-size: .78rem; line-height: 1.55; color: var(--text-muted);
}
.form-consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--accent-dk, #6E2434); }
.form-divider { text-align: center; color: var(--text-muted); font-size: .8rem; margin: 1rem 0; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.page > .footer { display: none !important; }
.footer {
  background: linear-gradient(180deg, #EDE5DC 0%, #F7F3EF 55%, #F3EBE3 100%);
  border-top: 1px solid rgba(43, 43, 43, .12);
  box-shadow: 0 -10px 36px rgba(43, 43, 43, .08);
  padding: 4rem var(--page-pad-x) 2rem;
  margin-top: 0;
  position: relative;
  z-index: 2;
}
#site-footer.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .55;
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand-desc {
  font-size: .875rem; font-weight: 300; color: var(--text-muted);
  line-height: 1.65; max-width: 280px; margin-bottom: 1.5rem;
}
.footer-contact-strip {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(43, 43, 43, .08);
  border-radius: var(--r-md); padding: 1rem 1.5rem;
  font-size: .875rem; display: flex; flex-direction: column; gap: .4rem;
}
.footer-col-title {
  font-size: .8rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem;
}
.footer-link {
  display: block; font-size: .9rem; color: var(--text); margin-bottom: .6rem;
  transition: opacity var(--t); cursor: pointer;
}
.footer-link:hover { opacity: .5; }
.footer-bottom-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(43, 43, 43, .1);
}
.footer-copy { font-size: .8rem; color: var(--text-muted); }
.footer-socials { display: flex; gap: .75rem; }
.footer-social {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--light-gray); display: flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--t) var(--spring);
  color: var(--text);
}
.footer-social img {
  display: block;
  object-fit: contain;
}
.footer-social--vk { background: transparent; padding: 0; }
.footer-social--vk img { width: 40px; height: 40px; }
.footer-social--max { background: transparent; padding: 0; color: var(--text); }
.footer-social--max img { width: 40px; height: 40px; }
.footer-social:hover { background: var(--rose); transform: translateY(-3px); }
.footer-social--vk:hover,
.footer-social--max:hover { background: transparent; }

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  padding: .9rem var(--page-pad-x); max-width: 1400px; margin: 0 auto;
  display: flex; gap: .4rem; align-items: center; flex-wrap: wrap;
  font-size: .78rem; color: var(--text-muted);
  border-bottom: 1px solid rgba(43,43,43,.05);
}
.breadcrumb span { cursor: pointer; transition: color var(--t); }
.breadcrumb span:hover { color: var(--text); }
.breadcrumb-sep { opacity: .4; }

/* ══════════════════════════════════════════
   TOAST
══════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--accent); color: #fff;
  border-radius: var(--r-md); padding: 1rem 1.5rem;
  font-size: .9rem; font-weight: 500; z-index: 300;
  transform: translateY(100px); opacity: 0;
  transition: all .3s var(--spring);
  display: flex; align-items: center; gap: .6rem;
}
.toast.show { transform: translateY(0); opacity: 1; }

@media (max-width: 768px) {
  .form-input, select.form-input, textarea.form-input, .ac-search-input { font-size: 16px; }
  .reviews-yandex-link { white-space: normal; text-align: right; }
}
/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --page-pad-x: 2rem; --page-pad-y: 3rem; --inner-hero-h: clamp(320px, 40vh, 420px); }
  .nav-inner { gap: 1.25rem; }
  .nav-brand-bhc { font-size: 1.55rem; }
  .nav-brand-sub { font-size: 1.1rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-right { display: none; }
  /* Home hero — tablet/mobile reorder + course carousel */
  .hero--home .hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
  }
  .hero--home .hero-left { display: contents; }
  .hero--home .hero-eyebrow { order: 1; }
  .hero--home .hero-title { order: 2; }
  .hero--home .hero-actions {
    order: 3;
    width: 100%;
    gap: .75rem;
  }
  .hero--home .hero-actions .btn-primary,
  .hero--home .hero-actions .btn-glass {
    flex: 1;
    justify-content: center;
    min-width: 0;
    padding: .85rem 1rem;
    font-size: .92rem;
  }
  .hero--home .hero-carousel {
    order: 4;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    width: 100%;
    position: relative;
  }
  .hero--home .hero-carousel-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }
  .hero-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
  }
  .hero-carousel-dot {
    width: .45rem;
    height: .45rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(43, 43, 43, .18);
    cursor: pointer;
    transition: transform var(--t) var(--ease), background var(--t) var(--ease), width var(--t) var(--ease);
  }
  .hero-carousel-dot.is-active {
    width: 1.15rem;
    border-radius: 999px;
    background: var(--accent);
  }
  .hero-carousel--single .hero-carousel-foot { display: none; }
  .hero--home .hero-right {
    order: unset;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 1rem;
    width: 100%;
    max-width: none;
    margin-left: 0;
    align-self: stretch;
    align-items: center;
    padding-bottom: .25rem;
  }
  .hero--home .hero-right::-webkit-scrollbar { display: none; }
  .hero--home .hero-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    width: min(100%, calc(min(46vh, 400px) * 500 / 889));
    max-height: min(46vh, 400px);
    aspect-ratio: 500 / 889;
    margin-inline: auto;
    grid-row: auto;
    min-height: 0;
  }
  .hero--home .hero-card:first-child {
    aspect-ratio: 500 / 889;
    max-height: min(46vh, 400px);
    grid-row: auto;
  }
  .hero--home .hero-card-video {
    object-position: center center;
  }
  .hero--home .hero-card:first-child .hero-card-play-icon {
    width: 64px;
    height: 64px;
  }
  .hero--home .hero-card:first-child .hero-card-play-icon svg {
    width: 26px;
    height: 26px;
  }
  .hero--home .hero-desc { order: 5; max-width: none; }
  .hero--home .hero-stats {
    order: 6;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    width: 100%;
  }
  .hero--home .hero-stat {
    padding: .65rem .4rem;
    text-align: center;
    border-radius: var(--r-md);
    flex: none;
  }
  .hero--home .hero-stat-num { font-size: 1.05rem; }
  .hero--home .hero-stat-label {
    font-size: .68rem;
    line-height: 1.3;
  }
  [data-page-hero="payment"].page-hero--home-style .page-hero-inner {
    padding-top: calc(var(--page-pad-y) * 0.75);
    padding-bottom: calc(var(--page-pad-y) * 0.55);
  }
  [data-page-hero="payment"].page-hero--home-style .hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  [data-page-hero="payment"] .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    width: 100%;
  }
  [data-page-hero="payment"] .hero-stat {
    flex: none;
    padding: .65rem .4rem;
    text-align: center;
    border-radius: var(--r-md);
  }
  [data-page-hero="payment"] .hero-stat-num { font-size: 1.05rem; }
  [data-page-hero="payment"] .hero-stat-label {
    font-size: .68rem;
    line-height: 1.3;
  }
  .dir-card { min-height: 320px; }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-top-row > div:first-child { grid-column: 1 / -1; }
  .directions-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-hero-inner { flex-wrap: wrap; }
  .cp-hero-inner { grid-template-columns: 1fr; padding: var(--page-pad-y) var(--page-pad-x) 0; }
  .cp-hero-right { display: none; }
  .cp-footer { grid-template-columns: 1fr; padding: 2.5rem var(--page-pad-x); gap: 2rem; }
  .cp-sidebar { position: static; }
  .cp-info-item { white-space: normal; }
  .cp-hero:not(.cp-hero--split) { min-height: clamp(440px, 58vh, 640px); }
}
/* ── HAMBURGER BUTTON ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px;
  background: var(--glass-clear); border: 1.5px solid rgba(255,255,255,.8);
  border-radius: 50%; cursor: pointer; padding: 0;
  transition: all var(--t) var(--spring);
}
.nav-hamburger:hover { background: var(--rose); transform: translateY(-2px); }
.nav-hamburger span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.25s var(--ease);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(43,43,43,.4); backdrop-filter: blur(4px);
  pointer-events: none;
}
.mobile-menu-overlay.open { display: block; pointer-events: auto; }

/* ── MOBILE MENU DRAWER ── */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: min(320px, 90vw);
  background: var(--white);
  box-shadow: -8px 0 40px rgba(43,43,43,.15);
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
  pointer-events: none;
}
.mobile-menu.open { transform: translateX(0); pointer-events: auto; }
.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(43,43,43,.08);
  background: var(--rose);
}
.mobile-menu-nav {
  flex: 1; display: flex; flex-direction: column;
  padding: .75rem 0;
}
.mobile-menu-link {
  display: block; padding: .9rem 1.5rem;
  font-size: 1rem; font-weight: 500;
  color: var(--text); cursor: pointer;
  border-bottom: 1px solid rgba(43,43,43,.05);
  transition: background var(--t);
  text-decoration: none;
}
.mobile-menu-link:hover, .mobile-menu-link:active { background: var(--rose); }
.mobile-menu-link-all {
  font-weight: 700; color: var(--accent);
  font-size: 1.05rem; background: rgba(142,47,62,.05);
}

@media (max-width: 900px) {
  .course-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
}
@media (max-width: 768px) {
  :root { --page-pad-x: 1.25rem; --page-pad-y: 2.5rem; --inner-hero-h: clamp(280px, 36vh, 360px); }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-inner { gap: .75rem; }
  .nav-brand-bhc { font-size: 1.35rem; }
  .nav-brand-sub { font-size: 1rem; }
  .nav-right { margin-left: auto; gap: .5rem; }
  .nav-right > .nav-phone { display: none; }
  .nav-phone-mobile { display: inline-flex; }
  .nav-enroll-btn { display: none; }
  .section { padding: var(--page-pad-y) var(--page-pad-x); }
  .section-header { margin-bottom: 2rem; }
  .hero--home .hero-content { gap: 1rem; }
  .hero--home .hero-title { font-size: clamp(2.15rem, 6.5vw, 3rem); }
  .hero--home .hero-desc {
    font-size: .95rem;
    line-height: 1.65;
  }
  .hero--home .hero-eyebrow {
    font-size: .72rem;
    padding: .4rem .95rem .4rem .6rem;
  }
  .hero--home .hero-stats { gap: .4rem; }
  .hero--home .hero-stat {
    padding: .6rem .35rem;
    flex: none;
  }
  .hero--home .hero-stat-num { font-size: 1rem; }
  .hero--home .hero-stat-label { font-size: .65rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat { flex: 1 1 calc(50% - .5rem); padding: 1rem 1.25rem; }
  .hero-bg-noise { display: none; }
  .hero--home .blob { display: none; }
  .hero-bg { animation: none; }
  .why-grid { grid-template-columns: 1fr !important; }
  .directions-grid { grid-template-columns: 1fr; }
  .dir-card { min-height: 280px; }
  .dir-hero-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .dir-hero-stats { justify-content: center; width: 100%; }
  .stack-grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .blog-featured { grid-template-columns: 1fr; }
  .ac-search-wrap { flex: 1 1 100%; }
  .ac-count-label { margin-left: 0; width: 100%; }
  .form-card-pad { padding: 1.25rem; }
  .info-cta-band { padding: 1.5rem; flex-direction: column; align-items: stretch; }
  .info-cta-band-actions { width: 100%; }
  .info-cta-band-actions .btn-primary,
  .info-cta-band-actions .btn-glass { flex: 1; justify-content: center; }
  .reviews-slider-wrap { flex-wrap: wrap; justify-content: center; }
  .reviews-slider-viewport { width: 100%; order: 1; }
  .reviews-slider-btn { order: 2; }
  .footer {
    padding: 2.5rem 1.25rem 1.75rem;
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 1.25rem;
    margin-bottom: 2rem;
  }
  .footer-top-row > div:first-child { grid-column: 1 / -1; }
  .footer-brand-desc {
    max-width: none;
    margin-bottom: 1.25rem;
  }
  .footer-contact-strip {
    padding: .875rem 1rem;
    font-size: .8125rem;
  }
  .footer-contact-strip a { word-break: break-word; }
  .footer-col-title {
    margin-bottom: .75rem;
    font-size: .75rem;
  }
  .footer-link {
    font-size: .875rem;
    margin-bottom: .5rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }
  .footer-copy {
    font-size: .75rem;
    line-height: 1.55;
    max-width: 22rem;
  }
  .footer-socials { justify-content: center; }
  .cta-banner { margin: 1rem; padding: 2.5rem 1.5rem; }
  .cta-actions { width: 100%; }
  .breadcrumb { padding: .75rem var(--page-pad-x); }
  .filter-bar { padding: 0 var(--page-pad-x); }
  .course-grid { grid-template-columns: 1fr 1fr; gap: .85rem; }
  .course-card-img { height: 130px; font-size: 2.75rem; }
  .course-card-title { font-size: 1rem; }
  .course-card-body { padding: 1rem; }
  .course-section-label { padding: 1.25rem 0 .1rem; }
  .toast { left: 1rem; right: 1rem; bottom: 1rem; }
  .cabinet-modal { padding: 1.5rem; }
  .cart-header, .cart-body { padding-left: 1.25rem; padding-right: 1.25rem; }
  .cp-hero { min-height: auto; }
  .cp-hero-inner { padding: 2rem var(--page-pad-x) 0; }
  .cp-hero-left { padding-bottom: 2.5rem; }
  .cp-title { font-size: 1.75rem; }
  .cp-info-grid { gap: .4rem; flex-wrap: wrap; }
  .cp-info-chip, .cp-info-item {
    min-width: 0;
    flex: 1 1 calc(50% - .2rem);
    white-space: normal;
  }
  .cp-info-chip:not(.cp-chip-doc),
  .cp-info-item:not(.doc-item) { white-space: normal; }
  .cp-price { font-size: 1.6rem; }
  .cp-actions { flex-direction: column; align-items: stretch; }
  .cp-btn-primary, .cp-btn-ghost { width: 100%; text-align: center; }
  .cp-schedule-row {
    flex-wrap: wrap;
    gap: .75rem;
  }
  .cp-schedule-date, .cp-schedule-info { flex: 1 1 100%; }
  .cp-schedule-btn { width: 100%; text-align: center; padding: .55rem 1rem; }
  .cp-works-grid { grid-template-columns: repeat(2, 1fr); }
  .cp-related-grid { grid-template-columns: 1fr; }
  .loyalty-levels { grid-template-columns: 1fr 1fr; }
  [data-page-hero="payment"].page-hero--home-style .hero-left {
    gap: 1rem;
  }
  [data-page-hero="payment"].page-hero--home-style .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.45rem);
    line-height: 1.08;
  }
  [data-page-hero="payment"].page-hero--home-style .hero-desc {
    font-size: .95rem;
    line-height: 1.65;
  }
  [data-page-hero="payment"] .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .4rem;
    width: 100%;
  }
  [data-page-hero="payment"] .hero-stat {
    flex: none;
    padding: .6rem .35rem;
  }
  [data-page-hero="payment"] .hero-stat-num { font-size: 1rem; }
  [data-page-hero="payment"] .hero-stat-label { font-size: .65rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .order-item { flex-wrap: wrap; align-items: flex-start; }
  .order-status, .order-price { margin-left: auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cabinet-layout { grid-template-columns: 1fr; padding: 1.5rem var(--page-pad-x); }
  .cabinet-sidebar { flex-direction: row; flex-wrap: wrap; }
  .schedule-table thead { display: none; }
  .schedule-table tbody tr {
    display: block;
    margin-bottom: 1rem;
    background: var(--light);
    border-radius: var(--r-md);
    border-bottom: none;
    overflow: hidden;
  }
  .schedule-table tbody tr:hover { background: var(--rose); }
  .schedule-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(43, 43, 43, .06);
    font-size: .85rem;
  }
  .schedule-table tbody td:last-child { border-bottom: none; justify-content: stretch; }
  .schedule-table tbody td:last-child .btn-sm { width: 100%; }
  .schedule-table tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    flex-shrink: 0;
  }
  .schedule-table tbody td:last-child::before { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-glass { width: 100%; justify-content: center; }
  .hero-stat { flex: 1 1 100%; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-glass { width: 100%; justify-content: center; }
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-top-row > div:first-child { grid-column: auto; }
  .footer-copy { max-width: none; }
  .cp-info-chip, .cp-info-item { flex: 1 1 100%; }
  .loyalty-levels { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card-img { height: 150px; }
  .works-grid { grid-template-columns: 1fr; gap: 1rem; }
  .cp-works-grid { grid-template-columns: 1fr; }
}

/* ══ SCROLL REVEAL ══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   MISSING STYLES — course pages, FAQ, info blocks
   ═══════════════════════════════════════════ */

/* ── COURSE PAGE HERO ── */
.cp-hero {
  padding-top: var(--nav-h);
  min-height: clamp(580px, 68vh, 780px);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.cp-hero--split {
  background: linear-gradient(135deg, #E6DBD0, #ECE3DB, #F0E8E1);
  min-height: auto;
}
.cp-hero--split::after { display: none; }
.cp-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,.08) 100%);
  pointer-events: none;
}
.cp-hero-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: var(--page-pad-y) var(--page-pad-x);
  display: grid; grid-template-columns: 1fr auto;
  gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.cp-hero-left {
  padding: 0;
  display: flex; flex-direction: column;
}
.cp-hero-right {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0;
}
.cp-hero-photo {
  display: block;
  width: clamp(260px, 24vw, 380px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 64px rgba(43, 43, 43, .14);
  background: #ECE3DB;
}
.cp-hero-emoji {
  font-size: 11rem; line-height: 1;
  filter: drop-shadow(0 16px 40px rgba(43,43,43,.2));
  display: block; transform: translateY(6px);
  flex-shrink: 0;
}
.cp-badges-row {
  display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.1rem;
}
.cp-eyebrow {
  font-size: .62rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(43,43,43,.35);
  margin-bottom: .55rem;
}
.cp-title {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500; line-height: 1.06;
  margin-bottom: 1rem; letter-spacing: -.025em;
}
.cp-desc {
  font-size: .93rem; line-height: 1.78;
  color: rgba(43,43,43,.58);
  margin-bottom: 1.75rem; max-width: 540px;
}
.cp-info-grid {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
}
.cp-info-item {
  background: rgba(255,255,255,.68);
  backdrop-filter: blur(16px) saturate(200%);
  -webkit-backdrop-filter: blur(16px) saturate(200%);
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: 100px;
  padding: .45rem .95rem;
  display: inline-flex; align-items: center; gap: .4rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.cp-info-item.doc-item {
  flex-direction: column; align-items: flex-start;
  border-radius: var(--r-md); white-space: normal;
  max-width: 300px; gap: .15rem;
}
.cp-info-item.doc-item .cp-info-val { font-size: .8rem; line-height: 1.4; white-space: normal; }
.cp-info-item.wide { border-radius: var(--r-md); white-space: normal; }
.cp-info-label {
  font-size: .61rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(43,43,43,.36); white-space: nowrap;
}
.cp-info-val {
  font-size: .83rem; font-weight: 600; color: var(--text);
}
.cp-price-block { margin-bottom: 0; }
.cp-price {
  font-family: var(--font-d); font-weight: 600;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin-bottom: .3rem; letter-spacing: -.025em; line-height: 1.1;
}
.cp-installment { font-size: .78rem; color: rgba(43,43,43,.42); margin-bottom: 1.25rem; }
.cp-actions {
  display: flex; gap: .6rem; flex-wrap: wrap; align-items: center;
}
.cp-btn-primary {
  background: var(--text); color: #fff;
  border: none; border-radius: 100px;
  padding: .8rem 2rem; font-size: .88rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-b);
  transition: all 220ms var(--ease);
  white-space: nowrap;
}
.cp-btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(142,47,62,.3); }
.cp-btn-ghost {
  background: rgba(255,255,255,.65); color: var(--text);
  border: 1.5px solid rgba(43,43,43,.15); border-radius: 100px;
  padding: .78rem 1.75rem; font-size: .88rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-b);
  transition: all 220ms var(--ease);
  backdrop-filter: blur(8px); white-space: nowrap;
}
.cp-btn-ghost:hover { background: white; border-color: var(--accent); color: var(--accent); }

/* ── COURSE PAGE BODY ── */
.cp-footer {
  max-width: 1280px; margin: 0 auto;
  padding: 3.5rem var(--page-pad-x);
  display: grid; grid-template-columns: 1fr 340px; gap: 3rem; align-items: start;
}


/* ── MODULE ACCORDION ── */
.cp-modules { display: flex; flex-direction: column; gap: .4rem; }
.cp-module { background: var(--light-gray); border-radius: 16px; overflow: hidden; cursor: pointer; transition: background var(--t); }
.cp-module:hover { background: #eeeeee; }
.cp-module.open { background: #fff; border: 1px solid rgba(43,43,43,.09); box-shadow: 0 2px 12px rgba(43,43,43,.06); }
.cp-module-header { display: flex; gap: 1rem; align-items: center; padding: 1.15rem 1.4rem; user-select: none; }
.cp-module-num { font-family: var(--font-d); font-size: 1rem; font-weight: 600; color: rgba(43,43,43,.18); flex-shrink: 0; width: 2rem; text-align: right; }
.cp-module-text { font-size: .875rem; font-weight: 600; flex: 1; line-height: 1.45; color: var(--text); }
.cp-module-chevron { font-size: .65rem; color: var(--text-muted); flex-shrink: 0; transition: transform .35s var(--ease); }
.cp-module.open .cp-module-chevron { transform: rotate(180deg); }
.cp-module-body { max-height: 0; overflow: hidden; font-size: .875rem; color: rgba(43,43,43,.62); line-height: 1.78; transition: max-height .42s var(--ease), padding .28s; padding: 0 1.5rem 0 3.5rem; }
.cp-module.open .cp-module-body { max-height: 600px; padding: .5rem 1.5rem 1.25rem 3.35rem; }

/* ── RESULT ── */
.cp-result { background: var(--grad); border-radius: var(--r-lg); padding: 1.75rem; font-size: .95rem; font-weight: 300; line-height: 1.75; }

/* ── WORKS GRID ── */
.cp-works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.cp-work-item { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3/4; display: flex; flex-direction: column; cursor: pointer; transition: transform var(--t) var(--ease); }
.cp-work-item:hover { transform: scale(1.03); }
.cp-work-img { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 3rem; background: var(--light-gray); overflow: hidden; }
.cp-work-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-work-name { font-size: .7rem; font-weight: 600; color: #fff; background: rgba(43,43,43,.18); padding: .35rem .6rem; text-align: center; }

/* ── SCHEDULE LIST ── */
.cp-schedule-list { display: flex; flex-direction: column; gap: .55rem; }
.cp-schedule-row { display: flex; align-items: center; gap: 1rem; background: var(--light); border-radius: var(--r-md); padding: .9rem 1.25rem; transition: background var(--t); }
.cp-schedule-row:hover { background: var(--rose); }
.cp-schedule-date { font-family: var(--fd); font-size: .95rem; font-weight: 500; min-width: 85px; }
.cp-schedule-info { flex: 1; font-size: .82rem; color: var(--muted); }
.cp-schedule-seats { font-size: .74rem; font-weight: 600; background: #fff; border-radius: 20px; padding: .2rem .6rem; flex-shrink: 0; }
.cp-schedule-btn { background: var(--accent); color: #fff; border: none; border-radius: var(--r-sm); padding: .38rem .85rem; font-size: .75rem; font-weight: 600; flex-shrink: 0; transition: opacity var(--t); cursor: pointer; }
.cp-schedule-btn:hover { opacity: .8; }

/* ── RELATED COURSES ── */
.cp-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cp-related-card { background: var(--light); border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: all var(--t) var(--ease); }
.cp-related-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(43,43,43,.09); }
.cp-related-img { height: 90px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; background: var(--rose); }
.cp-related-body { padding: 1rem; }
.cp-related-price { font-size: .74rem; font-weight: 600; color: var(--muted); margin-bottom: .2rem; }
.cp-related-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cp-related-title { font-family: var(--fd); font-size: .9rem; font-weight: 500; margin-top: .2rem; }

/* ── SIDEBAR ── */
.cp-sidebar {
  background: #fff; border: 1px solid rgba(43,43,43,.07);
  border-radius: var(--r-xl); padding: 2rem;
  position: sticky; top: calc(var(--nav-h) + 1.5rem);
  box-shadow: 0 8px 40px rgba(43,43,43,.08);
}
.cp-sidebar .btn-primary {
  width: 100%; padding: .85rem 1rem; font-size: .9rem; font-weight: 600;
  border-radius: 100px; margin-bottom: 0; text-align: center;
}
.cp-sidebar-price {
  font-family: var(--font-d);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 600; margin-bottom: .3rem;
  line-height: 1.15; letter-spacing: -.02em;
  word-break: break-word; overflow-wrap: break-word;
}
.cp-sidebar-tagline,
.cp-sidebar-install {
  font-size: .85rem; color: var(--text-muted);
  margin-bottom: 1.25rem; line-height: 1.4;
}
.cp-sidebar-details {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(43,43,43,.06);
  font-size: .8rem; color: var(--text-muted); line-height: 1.75;
  display: flex; flex-direction: column; gap: .4rem;
}
.cp-sidebar-detail { margin: 0; }
.cp-sidebar-divider { border: none; border-top: 1px solid var(--light); margin: 1.25rem 0; }
.cp-sidebar-row { display: flex; justify-content: space-between; font-size: .84rem; margin-bottom: .5rem; gap: 1rem; }
.cp-sidebar-row span:last-child { text-align: right; color: var(--text-muted); }
.cp-sidebar-consult {
  width: 100%; background: var(--light); border: none; border-radius: var(--r-md);
  padding: .75rem; font-size: .84rem; font-weight: 500; cursor: pointer;
  transition: background var(--t); margin-top: .5rem;
}
.cp-sidebar-consult:hover { background: var(--rose); }

/* ── FAQ ── */
.faq-item { background: var(--light); border-radius: var(--r-md); overflow: hidden; }
.faq-item.open { background: #fff; border: 1.5px solid rgba(43,43,43,.1); box-shadow: 0 4px 16px rgba(43,43,43,.07); }
.faq-q { padding: 1.2rem 1.5rem; font-size: .9rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: background var(--t); user-select: none; overflow-wrap: anywhere; }
.faq-q:hover { background: rgba(43,43,43,.04); }
.faq-arr { font-size: .72rem; color: var(--muted); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-arr { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; font-size: .875rem; color: var(--muted); line-height: 1.72; transition: max-height .35s var(--ease), padding .25s; }
.faq-item.open .faq-a { max-height: 300px; padding: .25rem 1.5rem 1.25rem; }
.faq-list { display: flex; flex-direction: column; gap: .55rem; }

/* ── GUARANTEE ── */
.guarantee-list { display: flex; flex-direction: column; gap: 1rem; max-width: 860px; }
.guarantee-item { background: var(--light); border-radius: var(--r-lg); padding: 1.75rem; display: flex; gap: 1.25rem; transition: background var(--t); }
.guarantee-item:hover { background: var(--rose); }
.guarantee-num { font-family: var(--fd); font-size: 2rem; font-weight: 600; color: rgba(43,43,43,.12); flex-shrink: 0; min-width: 2.5rem; }
.guarantee-content-title { font-family: var(--fd); font-size: 1.05rem; font-weight: 500; margin-bottom: .35rem; }
.guarantee-content-text { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── DOCUMENTS ── */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.doc-item { background: var(--light); border-radius: var(--r-lg); padding: 1.4rem; display: flex; gap: 1rem; align-items: center; cursor: pointer; transition: all var(--t) var(--ease); }
.doc-item:hover { background: var(--rose); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(43,43,43,.08); }
.doc-icon { font-size: 2rem; flex-shrink: 0; }
.doc-name { font-size: .875rem; font-weight: 500; margin-bottom: .2rem; }
.doc-type { font-size: .72rem; color: var(--muted); }
.doc-download { margin-left: auto; font-size: 1rem; opacity: .5; }

/* ── PAYMENT CARDS ── */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.pay-card {
  background: var(--light);
  border-radius: var(--r-xl);
  padding: 2.25rem 2rem;
  min-height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition: all var(--t) var(--ease);
}
.pay-card:hover { background: var(--rose); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(43,43,43,.08); }
.pay-card.featured { background: var(--grad); }
.pay-card-icon { font-size: 2.75rem; margin-bottom: 1rem; line-height: 1; }
.pay-card-title { font-family: var(--fd); font-size: 1.25rem; font-weight: 500; margin-bottom: .35rem; line-height: 1.3; }
.pay-card-badge { display: inline-block; background: rgba(43,43,43,.08); border-radius: 20px; padding: .2rem .7rem; font-size: .72rem; font-weight: 600; margin-bottom: .5rem; }
.pay-card-desc { font-size: .88rem; color: var(--muted); line-height: 1.65; flex: 1; }
.pay-installment-logos { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto; padding-top: .75rem; }

.payment-security {
  margin-top: 2.5rem;
  background: var(--light);
  border-radius: var(--r-lg);
  padding: 2rem;
}
.payment-security-title {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: .75rem;
}
.payment-security-text {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.payment-security-text a {
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.payment-security-text a:hover { color: var(--accent); }

/* Payment — responsive (must follow base .payment-grid) */
@media (max-width: 768px) {
  .payment-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .pay-card { padding: 1.35rem 1.2rem; }
  .pay-card-icon { font-size: 2rem; margin-bottom: .75rem; }
  .pay-card-title { font-size: 1.05rem; }
  .pay-card-desc { font-size: .85rem; }
  .payment-security {
    margin-top: 2rem;
    padding: 1.35rem 1.2rem;
  }
  .payment-security-title { font-size: 1.05rem; }
  .payment-security-text { font-size: .85rem; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  .pay-card { padding: 2rem 1.75rem; }
}

/* ── LOYALTY LEVELS ── */
.loyalty-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.level-card { border-radius: var(--r-xl); padding: 1.75rem; text-align: center; color: #fff; }
.level-card.bronze { background: linear-gradient(135deg, #cd7f32, #e8a96d); }
.level-card.silver { background: linear-gradient(135deg, #9e9e9e, #c8c8c8); }
.level-card.gold { background: linear-gradient(135deg, #ffd700, #ffb300); }
.level-card.platinum { background: linear-gradient(135deg, #4A2535, #7D3F5A); }
.level-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.level-name { font-family: var(--fd); font-size: 1.2rem; font-weight: 600; margin-bottom: .2rem; }
.level-threshold { font-size: .78rem; opacity: .8; margin-bottom: .75rem; }
.level-bonus { font-size: 1.75rem; font-weight: 700; }
.level-bonus-label { font-size: .72rem; opacity: .8; }

/* ── INFO CARDS (generic) ── */
.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.info-card { background: var(--light); border-radius: var(--r-lg); padding: 1.75rem; transition: all var(--t) var(--ease); }
.info-card:hover { background: var(--rose); transform: translateY(-3px); }
.info-card-icon { font-size: 2rem; margin-bottom: .75rem; }
.info-card-title { font-family: var(--fd); font-size: 1.05rem; font-weight: 500; margin-bottom: .45rem; }
.info-card-text { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── INFO HERO (payment, docs, etc) ── */
.info-hero {
  background: var(--grad);
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  min-height: var(--inner-hero-h);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.info-hero-inner {
  max-width: 1400px; margin: 0 auto; width: 100%;
  padding: calc(var(--page-pad-y) * 0.65) var(--page-pad-x) calc(var(--page-pad-y) * 0.5);
  position: relative;
}
.info-hero-title { font-family: var(--fd); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; margin-bottom: .65rem; }
.info-hero--has-cover { background: #1a1a1a; }
.info-hero--has-cover .info-hero-inner { z-index: 1; }
.info-hero--has-cover .info-hero-title { color: #fff; }
.info-hero--has-cover .contacts-hero-eyebrow,
.info-hero--has-cover .contacts-hero-brand-line1,
.info-hero--has-cover .contacts-hero-by,
.info-hero--has-cover .contacts-hero-lead { color: #fff; }
.info-hero--has-cover .contacts-hero-by { color: rgba(255,255,255,.72); }
.info-hero--has-cover .contacts-hero-lead { color: rgba(255,255,255,.86); }
.info-hero--has-cover .contacts-hero-pill {
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}
.info-hero--has-cover .dir-chip {
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.25);
  color: rgba(255,255,255,.9);
}
.info-hero--has-cover .dir-stat {
  background: rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.25);
}
.info-hero--has-cover .dir-stat-num { color: #fff; }
.info-hero--has-cover .dir-stat-label { color: rgba(255,255,255,.75); }
.contacts-hero-intro { margin-top: 1.35rem; max-width: 640px; }
.contacts-hero-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(43, 43, 43, .42);
  margin-bottom: .65rem;
}
.contacts-hero-brand { margin-bottom: 1.1rem; line-height: 1.05; }
.contacts-hero-brand-line1 {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .45rem .55rem;
}
.contacts-hero-brand-line1 em {
  font-style: italic;
  font-weight: 500;
}
.contacts-hero-brand-line1 .bhc-word {
  font-size: 1em;
  letter-spacing: .04em;
}
.contacts-hero-by {
  font-family: var(--font-b);
  font-size: clamp(.68rem, 1.6vw, .78rem);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(43, 43, 43, .48);
  margin-top: .4rem;
}
.contacts-hero-lead {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(43, 43, 43, .68);
  margin: 0 0 1.15rem;
  max-width: 520px;
}
.contacts-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.contacts-hero-pill {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(43, 43, 43, .09);
  border-radius: 100px;
  padding: .42rem 1rem;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(43, 43, 43, .78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── MODELS PAGE ── */
.models-steps { display: flex; flex-direction: column; gap: 1px; background: var(--light); border-radius: var(--r-lg); overflow: hidden; }
.model-step { background: #fff; padding: 1.25rem 1.5rem; display: flex; gap: 1rem; transition: background var(--t); }
.model-step:hover { background: var(--rose); }
.model-step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; flex-shrink: 0; }
.model-step-title { font-weight: 600; font-size: .875rem; margin-bottom: .2rem; }
.model-step-text { font-size: .8rem; color: var(--muted); }

/* ── TEAM ── */
.team-tabs { display: flex; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.team-tab { border-radius: 30px; padding: .55rem 1.2rem; font-size: .85rem; font-weight: 500; background: var(--light); color: var(--muted); border: none; cursor: pointer; transition: all var(--t); }
.team-tab.active { background: var(--accent); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; align-items: stretch; }
.team-section { }
.team-card { background: var(--light); border-radius: var(--r-xl); overflow: hidden; transition: all var(--t) var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(43,43,43,.08); }
.team-avatar { height: 180px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.team-name { font-family: var(--fd); font-size: 1rem; font-weight: 500; padding: 1rem 1rem .2rem; }
.team-role { font-size: .78rem; color: var(--muted); padding: 0 1rem; }
.team-exp { font-size: .72rem; background: var(--rose); border-radius: 20px; padding: .2rem .65rem; display: inline-block; margin: .55rem 1rem .9rem; }
.team-info { padding: 0 1rem 1rem; }

/* ── CONTACTS ── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
}
.contacts-map { border-radius: var(--r-lg); overflow: hidden; min-height: 380px; background: var(--light); }
.contacts-map iframe { width: 100%; height: 100%; min-height: 380px; border: none; }
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}
.contact-block {
  background: var(--light);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.contact-block-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .4rem; }
.contact-block-val { font-size: 1rem; font-weight: 500; }
.contact-block-sub { font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.contact-phone-row { margin-bottom: .5rem; }
.contact-phone-row:last-child { margin-bottom: 0; }
.contact-phone-label { font-size: .75rem; color: var(--text-muted); display: block; margin-top: .15rem; font-weight: 400; }
.contact-block-val a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--t) var(--ease);
}
.contact-block-val a:hover { color: var(--accent); }
.contacts-route {
  background: var(--grad);
  border-radius: var(--r-xl);
  padding: 2rem 2.25rem;
  margin-top: 1.5rem;
}
.contacts-route-title {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: .75rem;
}
.contacts-route-text {
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(43, 43, 43, .72);
}
.contacts-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
  width: 100%;
}
.contact-topic-card {
  background: var(--white);
  border: 1px solid rgba(43, 43, 43, .07);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.contact-topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(43, 43, 43, .08);
}
.contact-topic-icon { font-size: 1.75rem; line-height: 1; }
.contact-topic-title {
  font-family: var(--fd);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
}
.contact-topic-text {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.contact-topic-booking {
  display: block;
  margin-top: .15rem;
}
.contact-topic-phone-link {
  display: inline-block;
  margin-top: .2rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  text-decoration: none;
}
.contact-topic-phone-link:hover { text-decoration: underline; }
.contact-topic-person {
  background: var(--light);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
}
.contact-topic-person-name { font-weight: 600; font-size: .9rem; margin-bottom: .15rem; }
.contact-topic-person-role { font-size: .78rem; color: var(--muted); margin-bottom: .45rem; line-height: 1.45; }
.contact-topic-person-phone { font-size: .9rem; font-weight: 500; }
.contact-topic-card .btn-primary,
.contact-topic-card .btn-glass,
.contact-topic-card a.btn-primary,
.contact-topic-card a.btn-glass {
  width: 100%;
  justify-content: center;
  margin-top: .5rem;
  display: inline-flex;
  align-items: center;
  text-align: center;
  text-decoration: none;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  font-size: .9rem;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Contacts — tablet */
@media (max-width: 1024px) {
  [data-page-hero="contacts"].page-hero--home-style .page-hero-inner {
    padding-top: calc(var(--page-pad-y) * 0.75);
    padding-bottom: calc(var(--page-pad-y) * 0.55);
  }
  [data-page-hero="contacts"].page-hero--home-style .hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .contacts-map,
  .contacts-map iframe {
    min-height: 300px;
  }
  .contacts-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
  }
  .contacts-info .contact-block:nth-child(2) {
    grid-column: 1 / -1;
  }
  .contacts-topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
  }
  .contacts-topics .contact-topic-card:last-child {
    grid-column: 1 / -1;
  }
  .contacts-route {
    padding: 1.65rem 1.75rem;
    margin-top: 1.25rem;
  }
  .contacts-form-section {
    max-width: none;
    margin-top: 2.5rem;
  }
}

/* Contacts — mobile */
@media (max-width: 768px) {
  [data-page-hero="contacts"].page-hero--home-style .hero-left {
    gap: 1rem;
  }
  [data-page-hero="contacts"].page-hero--home-style .hero-title {
    font-size: clamp(1.85rem, 7vw, 2.45rem);
    line-height: 1.08;
  }
  [data-page-hero="contacts"].page-hero--home-style .hero-desc {
    font-size: .95rem;
    line-height: 1.65;
  }
  [data-page-hero="contacts"].page-hero--home-style .hero-eyebrow {
    font-size: .72rem;
  }
  .contacts-info {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .contacts-info .contact-block:nth-child(2) {
    grid-column: auto;
  }
  .contact-block {
    padding: 1.15rem 1.2rem;
  }
  .contact-block-val {
    font-size: .95rem;
    line-height: 1.55;
  }
  .contact-phone-row a {
    font-size: 1.05rem;
    font-weight: 600;
  }
  .contacts-map,
  .contacts-map iframe {
    min-height: 260px;
    border-radius: var(--r-md);
  }
  .contacts-route {
    padding: 1.35rem 1.2rem;
    border-radius: var(--r-lg);
  }
  .contacts-route-title {
    font-size: 1.05rem;
  }
  .contacts-route-text {
    font-size: .875rem;
    line-height: 1.7;
  }
  .contacts-topics {
    grid-template-columns: 1fr;
    gap: .85rem;
    margin-top: 2rem;
  }
  .contacts-topics .contact-topic-card:last-child {
    grid-column: auto;
  }
  .contact-topic-card {
    padding: 1.35rem 1.25rem;
    border-radius: var(--r-lg);
  }
  .contact-topic-card:hover {
    transform: none;
    box-shadow: none;
  }
  .contact-topic-title {
    font-size: 1rem;
  }
  .contact-topic-phone-link {
    white-space: normal;
    word-break: break-word;
    font-size: 1rem;
  }
  .contact-topic-card .btn-primary,
  .contact-topic-card a.btn-primary {
    min-height: 3rem;
    white-space: normal;
    line-height: 1.3;
    padding: .65rem 1.25rem;
  }
  .contacts-socials {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }
  .contacts-social-link {
    width: 100%;
    justify-content: center;
    padding: .65rem .75rem;
    font-size: .78rem;
  }
  .contacts-social-link:hover {
    transform: none;
  }
  .contacts-form-section {
    margin-top: 2rem;
    max-width: none;
  }
  .contacts-form-section .contacts-form-title {
    font-size: 1.35rem;
  }
  .contacts-form-section .contacts-form-sub {
    font-size: .875rem;
    margin-bottom: 1.15rem;
  }
  .contact-topic-card:hover {
    transform: none;
    box-shadow: none;
  }
  .contacts-form-row {
    flex-direction: column;
    gap: .65rem;
  }
  .contacts-form-row .form-input,
  .contacts-form-row .btn-primary {
    width: 100%;
    flex: 1 1 auto;
  }
  .contacts-form-row .btn-primary {
    justify-content: center;
    min-height: 3rem;
  }
}

/* Contacts — small phones */
@media (max-width: 480px) {
  .contacts-map,
  .contacts-map iframe {
    min-height: 220px;
  }
  .contacts-socials {
    grid-template-columns: 1fr;
  }
  .contact-topic-person {
    padding: .85rem .95rem;
  }
}

.contacts-socials { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .5rem; }
.contacts-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  background: var(--glass-clear);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: var(--r-md);
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: all var(--t) var(--ease);
}
.contacts-social-link img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
.contacts-social-link:hover {
  background: var(--rose);
  border-color: var(--accent-lt);
  transform: translateY(-2px);
}
.contacts-form-section { margin-top: 3rem; max-width: 720px; }
.contacts-form-section .contacts-form-title {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 500;
  margin-bottom: .5rem;
}
.contacts-form-section .contacts-form-sub {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.contacts-form-row {
  display: flex;
  gap: .75rem;
  align-items: stretch;
  flex-wrap: wrap;
}
.contacts-form-row .form-input { flex: 1 1 220px; min-width: 0; }
.contacts-form-row .btn-primary {
  flex: 0 0 auto;
  min-height: 3.25rem;
  padding: 0 1.5rem;
  font-size: .9rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

/* ── SCHEDULE ── */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table thead th { background: var(--light); padding: .9rem 1.1rem; text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.schedule-table thead th:first-child { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.schedule-table thead th:last-child { border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.schedule-table tbody tr { border-bottom: 1px solid rgba(43,43,43,.05); transition: background var(--t); }
.schedule-table tbody tr:hover { background: var(--rose); }
.schedule-table tbody td { padding: 1rem 1.1rem; font-size: .875rem; }
.schedule-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.sch-filter { border-radius: 30px; padding: .5rem 1.2rem; font-size: .82rem; font-weight: 500; background: var(--light); color: var(--muted); border: 1.5px solid transparent; cursor: pointer; transition: all var(--t); }
.sch-filter.active, .sch-filter:hover { background: var(--accent); color: #fff; }

/* ── CABINET ── */
.cabinet-layout { max-width: 1200px; margin: 0 auto; padding: 2rem var(--page-pad-x); display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.cabinet-sidebar { display: flex; flex-direction: column; gap: .25rem; }
.cabinet-main { }
.cab-panel { display: none; }
.cab-panel.active { display: block; }
.cab-section-title { font-family: var(--fd); font-size: 1.45rem; font-weight: 500; margin-bottom: 1.5rem; }
.cab-menu-item { padding: .85rem 1rem; border-radius: var(--r-sm); font-size: .875rem; font-weight: 500; cursor: pointer; color: var(--muted); display: flex; align-items: center; gap: .6rem; transition: all var(--t); }
.cab-menu-item:hover { background: var(--rose); color: var(--text); }
.cab-menu-item.active { background: var(--accent); color: #fff; }
.cab-menu-icon { font-size: 1rem; }

/* ── MY COURSES ── */
.my-courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.my-course-card { background: var(--light); border-radius: var(--r-xl); overflow: hidden; }
.my-course-img { height: 110px; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.my-course-body { padding: 1.25rem; }
.my-course-title { font-weight: 600; font-size: .95rem; margin-bottom: .6rem; }
.my-course-progress-wrap { background: #ddd; border-radius: 10px; height: 5px; margin-bottom: .5rem; overflow: hidden; }
.my-course-progress-bar { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--accent), #FF9BAB); transition: width .5s; }
.my-course-meta { font-size: .75rem; color: var(--muted); margin-bottom: .75rem; }
.my-course-action { display: flex; gap: .5rem; }

/* ── ORDERS ── */
.orders-list { display: flex; flex-direction: column; gap: .75rem; }
.order-item { background: var(--light); border-radius: var(--r-lg); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; }
.order-icon { font-size: 2rem; flex-shrink: 0; }
.order-info { flex: 1; }
.order-title { font-weight: 600; font-size: .9rem; margin-bottom: .2rem; }
.order-date { font-size: .78rem; color: var(--muted); }
.order-status { background: #d4edda; color: #155724; border-radius: 20px; padding: .2rem .75rem; font-size: .72rem; font-weight: 600; flex-shrink: 0; }
.order-price { font-family: var(--fd); font-size: 1.05rem; font-weight: 500; flex-shrink: 0; }

/* ── NOTIFICATIONS ── */
.notif-list { display: flex; flex-direction: column; gap: .6rem; }
.notif-item { background: var(--light); border-radius: var(--r-md); padding: 1.1rem 1.25rem; display: flex; gap: .75rem; align-items: flex-start; font-size: .875rem; line-height: 1.6; }
.notif-item.unread { background: var(--rose); }
.notif-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; margin-top: .35rem; }
.notif-dot.read { background: transparent; border: 1.5px solid var(--muted); }
.notif-text { flex: 1; }
.notif-time { font-size: .72rem; color: var(--muted); margin-top: .2rem; }

/* ── PROFILE ── */
.profile-avatar-wrap { display: flex; gap: 1.5rem; align-items: center; background: var(--light); border-radius: var(--r-xl); padding: 1.75rem; margin-bottom: 1.5rem; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.profile-avatar-name { font-family: var(--fd); font-size: 1.15rem; font-weight: 500; margin-bottom: .2rem; }
.profile-avatar-email { font-size: .85rem; color: var(--muted); }
.profile-avatar-info { flex: 1; }
.profile-form { max-width: 520px; }
.btn-change-photo { background: var(--light); border: 1.5px solid rgba(43,43,43,.12); border-radius: var(--r-sm); padding: .45rem .9rem; font-size: .78rem; font-weight: 500; cursor: pointer; transition: all var(--t); }
.btn-change-photo:hover { background: var(--rose); }

/* ── SETTINGS ── */
.settings-section { margin-bottom: 2rem; max-width: 520px; }
.settings-section-title { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; background: var(--light); border-radius: var(--r-md); padding: .9rem 1.1rem; margin-bottom: .5rem; }
.toggle-label { font-size: .875rem; font-weight: 500; }
.toggle-sub { font-size: .75rem; color: var(--muted); }

/* ── CART ── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 2rem var(--page-pad-x); align-items: start; }
.cart-page-item { background: #fff; border: 1.5px solid rgba(43,43,43,.08); border-radius: var(--r-xl); padding: 1.5rem; display: flex; gap: 1.5rem; align-items: flex-start; transition: box-shadow var(--t); }
.cart-page-item:hover { box-shadow: 0 8px 24px rgba(43,43,43,.08); }
.cart-item-img { width: 90px; height: 90px; border-radius: var(--r-md); background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-title { font-family: var(--fd); font-size: 1.1rem; font-weight: 500; margin-bottom: .4rem; }
.cart-item-meta { font-size: .8rem; color: var(--muted); }
.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.cart-item-price { font-family: var(--fd); font-size: 1.25rem; font-weight: 600; }
.cart-item-remove { background: none; border: none; color: var(--muted); font-size: .8rem; font-weight: 500; cursor: pointer; transition: color var(--t); }
.cart-item-remove:hover { color: var(--text); }
.cart-sum-row { display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: .6rem; }
.csum-row { display: flex; justify-content: space-between; font-size: .875rem; margin-bottom: .6rem; }
.csum-title { font-family: var(--fd); font-size: 1.2rem; font-weight: 500; margin-bottom: 1.25rem; }
.csum-total { font-family: var(--fd); font-size: 1.35rem; font-weight: 600; border-top: 1px solid rgba(43,43,43,.1); padding-top: .75rem; margin-top: .5rem; }
.cart-empty { text-align: center; padding: 5rem 2rem; }
.cart-empty-icon { font-size: 5rem; margin-bottom: 1.5rem; }
.cart-empty-title { font-family: var(--fd); font-size: 1.5rem; font-weight: 500; margin-bottom: .75rem; }
.cart-empty-text { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }

/* ── PARTNER BENEFITS ── */
.partner-benefits { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.pb-item { background: var(--light); border-radius: var(--r-lg); padding: 1.75rem; transition: all var(--t) var(--ease); }
.pb-item:hover { background: var(--rose); transform: translateY(-3px); }
.pb-icon { font-size: 2rem; margin-bottom: .75rem; }
.pb-title { font-family: var(--fd); font-size: 1.05rem; font-weight: 500; margin-bottom: .45rem; }
.pb-text { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── BTN SM ── */
.btn-sm { background: var(--text); color: #fff; border: none; border-radius: var(--r-sm); padding: .4rem .9rem; font-size: .78rem; font-weight: 600; cursor: pointer; transition: opacity var(--t); }
.btn-sm:hover { opacity: .8; }

/* ── SCHEDULE BADGES ── */
.b-on { background: var(--sky); color: var(--text); border-radius: 20px; padding: .2rem .7rem; font-size: .72rem; font-weight: 600; }
.b-off { background: var(--blush); color: var(--text); border-radius: 20px; padding: .2rem .7rem; font-size: .72rem; font-weight: 600; }

/* ── BANK LOGO (installment) ── */
.bank-logo { background: #fff; border-radius: var(--r-sm); padding: .3rem .65rem; font-size: .72rem; font-weight: 600; }

/* ── RESPONSIVE additions (course/info pages) ── */
@media (min-width: 769px) and (max-width: 1100px) {
  .cp-related-grid { grid-template-columns: 1fr 1fr; }
  .loyalty-levels { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cp-footer { grid-template-columns: 1fr; padding: 2.5rem var(--page-pad-x); gap: 2rem; }
  .cp-sidebar { position: static; }
}


/* ── TOGGLE SWITCH ── */
.toggle {
  width: 46px; height: 26px; border-radius: 13px;
  background: #ccc; position: relative; cursor: pointer;
  transition: background var(--t) var(--spring); flex-shrink: 0;
}
.toggle.on { background: var(--accent); }
.toggle::after {
  content: ''; position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
  transition: left .25s var(--spring);
}
.toggle.on::after { left: 23px; }


.team-desc { font-size: .78rem; color: var(--muted); line-height: 1.6; padding: .4rem 1rem 1.1rem; }
.team-card { cursor: default; }


/* ── DIRECTION HERO (dh) — page header with gradient ── */
.dh { background: var(--grad); padding: calc(var(--nav-h) + 3rem) 0 3rem; }
.dh-in { max-width: 1400px; margin: 0 auto; padding: 0 var(--page-pad-x); }
.dh-eye { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(43,43,43,.45); margin-bottom: .65rem; }
.dh-title { font-family: var(--fd); font-size: clamp(2rem,4vw,3.2rem); font-weight: 500; margin-bottom: .65rem; line-height: 1.1; }
.dh-desc { font-size: .95rem; color: rgba(43,43,43,.6); max-width: 520px; line-height: 1.72; }

/* ── CTA BANNER (cta-ban) ── */
.cta-ban {
  background: var(--grad); border-radius: var(--r-xl);
  padding: 2.5rem var(--page-pad-x); display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.cta-ban .cta-title { font-family: var(--fd); font-size: 1.65rem; font-weight: 500; margin-bottom: .35rem; }
.cta-ban .cta-sub { font-size: .875rem; color: rgba(43,43,43,.6); }
.cta-btns { display: flex; gap: .65rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── COURSE AFTER LIST ── */
.cp-after-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: .6rem;
}
.cp-after-list li {
  font-size: .875rem; line-height: 1.5; padding: .65rem 1rem .65rem 2.75rem;
  position: relative; background: var(--light-gray); border-radius: var(--r-sm);
  color: var(--text);
}
.cp-after-list li::before {
  content: '✓'; position: absolute; left: 1rem;
  color: var(--accent); font-weight: 800; font-size: .78rem;
}

/* ── CP-SECTION-TITLE ── */
.cp-section-title {
  font-family: var(--font-d); font-size: 1.25rem; font-weight: 500;
  margin: 3rem 0 1.1rem; padding-bottom: .65rem;
  border-bottom: 1px solid rgba(43,43,43,.08);
  letter-spacing: -.015em; color: var(--text);
}
.cp-section-title:first-child { margin-top: 0; }

/* ── TEAM CARD — unified internal spacing ── */
.team-card {
  background: #fff;
  border: 1px solid rgba(43,43,43,.07);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.team-avatar { height: 200px; font-size: 4.5rem; flex-shrink: 0; }
.team-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.team-name {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  margin-bottom: .3rem;
  padding: 0;
}
.team-surname,
.team-firstname {
  display: block;
  font-family: var(--fd);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.25;
}
.team-role {
  font-size: .78rem;
  color: var(--muted);
  padding: 0;
  margin: 0;
  line-height: 1.45;
}
.team-exp { font-size: .7rem; background: var(--rose); border-radius: 20px; padding: .2rem .65rem; display: inline-block; margin: 0 0 .65rem; }
.team-desc { font-size: .78rem; color: var(--muted); line-height: 1.62; padding: 0; margin: 0; }

/* ── ABOUT PAGE TEAM ── */
.about-team { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid rgba(43,43,43,.07); }
.about-team-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  align-items: stretch;
}
.team-avatar--photo {
  padding: 0;
  overflow: hidden;
  background: var(--rose);
  display: block;
}
.team-avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.about-team .team-avatar--photo {
  height: auto;
  aspect-ratio: 480 / 643;
}
.about-team .team-card { border-radius: var(--r-lg); }
.about-team .team-role { margin-bottom: 0; }
.about-team-group { margin-bottom: 2.75rem; }
.about-team-group:last-child { margin-bottom: 0; }
.about-team-group-title {
  font-family: var(--font-d);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid rgba(43,43,43,.08);
}
.about-team-grid--lead { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 560px; }

/* ── HOME PAGE TEAM SLIDER ── */
.team-slider-wrap {
  --team-per-view: 4;
  --team-gap: 1.25rem;
  position: relative;
  display: flex;
  align-items: stretch;
  gap: .75rem;
}
.home-team-section .team-card {
  border-radius: var(--r-lg);
  flex: 0 0 calc((100% - (var(--team-per-view) - 1) * var(--team-gap)) / var(--team-per-view));
  min-width: 0;
  scroll-snap-align: start;
}
.home-team-section .team-avatar {
  height: auto;
}
.home-team-section .team-avatar--photo {
  aspect-ratio: 480 / 643;
}
.home-team-section .team-avatar--photo img {
  object-fit: cover;
  object-position: center 8%;
}
.home-team-section .team-role { margin-bottom: 0; }
.team-slider-wrap--no-controls .team-slider-btn { visibility: hidden; pointer-events: none; }
.team-slider-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.team-slider-track {
  display: flex;
  gap: var(--team-gap);
  transition: transform .45s var(--ease);
  will-change: transform;
}
.team-slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #fff;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  align-self: center;
  box-shadow: 0 2px 8px rgba(43,43,43,.08);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.team-slider-btn:hover:not(:disabled) { background: var(--accent); color: #fff; }
.team-slider-btn:disabled { opacity: .35; cursor: default; }
@media (max-width: 768px) {
  .team-slider-btn { width: 36px; height: 36px; font-size: .95rem; }
  .team-slider-wrap { gap: .5rem; }
}

/* ── TEAM TABS — more prominent ── */
.team-tabs { display: flex; gap: .5rem; margin-bottom: 2.5rem; flex-wrap: wrap; padding-bottom: 1.5rem; border-bottom: 1.5px solid var(--light); }
.team-tab { border-radius: 30px; padding: .6rem 1.35rem; font-size: .84rem; font-weight: 500; background: var(--light); color: var(--muted); border: none; cursor: pointer; transition: all var(--t) var(--ease); }
.team-tab.active { background: var(--accent); color: #fff; }
.team-tab:hover:not(.active) { background: var(--rose); color: var(--text); }

/* ── TEAM SECTION INTRO TEXT ── */
.team-intro { font-size: .92rem; color: var(--muted); max-width: 600px; margin-bottom: 2rem; line-height: 1.72; }


/* ── MULTI-SELECT FILTER TAGS (All Courses page) ── */
.ac-tag {
  border-radius: 30px; padding: .38rem .95rem;
  font-size: .76rem; font-weight: 600; font-family: var(--font-b);
  background: var(--light-gray); color: var(--text-muted);
  border: 1.5px solid transparent;
  cursor: pointer; transition: all 180ms var(--ease);
  white-space: nowrap; user-select: none;
  line-height: 1;
}
.ac-tag:hover:not(.active) {
  background: var(--rose); color: var(--text); border-color: var(--accent-lt);
}
.ac-tag.active {
  background: var(--text); color: #fff; border-color: var(--text);
}
.ac-tag.active:hover { background: var(--accent); border-color: var(--accent); }

/* Row 1 tags: slightly different accent tones */
#ac-row-1 .ac-tag.active { background: var(--text); }
#ac-row-2 .ac-tag.active { background: var(--accent); border-color: var(--accent); }


/* ── AC-TAG: disabled / coming soon state ── */
.ac-tag-soon {
  opacity: .45; cursor: default;
  background: var(--light-gray) !important;
  border-color: transparent !important;
  color: var(--text-muted) !important;
}
/* ── AC-TAG: count badge ── */
.ac-tag-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(43,43,43,.12); color: inherit;
  font-size: .6rem; font-weight: 700;
  border-radius: 10px; padding: 0 .38rem; min-width: 1.3em; height: 1.3em;
  margin-left: .3rem; line-height: 1;
}
.ac-tag.active .ac-tag-count {
  background: rgba(255,255,255,.25);
}

/* ── INFO CHIPS — clean & light ── */
.cp-info-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 100px;
  padding: .38rem .85rem;
  flex-shrink: 0; white-space: nowrap;
}
.cp-chip-label {
  font-size: .72rem; font-weight: 400;
  color: rgba(43,43,43,.45); letter-spacing: .01em;
}
.cp-chip-val {
  font-size: .78rem; font-weight: 500; color: rgba(43,43,43,.85);
}
.cp-chip-doc {
  border-radius: var(--r-md); white-space: normal; max-width: 280px;
  align-items: flex-start; flex-direction: column; gap: .1rem;
  padding: .45rem .9rem;
}
.cp-chip-doc .cp-chip-label { font-size: .65rem; }
.cp-chip-doc .cp-chip-val { font-size: .78rem; font-weight: 400; line-height: 1.45; white-space: normal; }

/* ══════════════════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  z-index: 190;
  width: min(1280px, calc(100% - 2rem));
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  opacity: 0;
  visibility: hidden;
  transition: transform .35s var(--spring), opacity .3s var(--ease), visibility .3s;
  pointer-events: none;
}
.cookie-banner:not([hidden]) {
  visibility: visible;
  pointer-events: auto;
}
.cookie-banner--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: .85rem 1.5rem;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, .85);
  border-radius: var(--r-lg);
  box-shadow: 0 16px 48px rgba(43, 43, 43, .14);
}
.cookie-banner-text { flex: 1; min-width: 0; }
.cookie-banner-eyebrow {
  display: inline;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: .55rem;
}
.cookie-banner-title {
  display: inline;
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.cookie-banner-desc {
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
  margin: .3rem 0 0;
}
.cookie-banner-desc a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-desc a:hover { color: var(--accent-dk); }
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  flex-shrink: 0;
}
.cookie-banner-btn {
  border: none;
  border-radius: var(--r-md);
  padding: .6rem 1rem;
  font-size: .84rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--t) var(--ease);
  white-space: nowrap;
}
.cookie-banner-btn--primary {
  background: var(--text);
  color: #fff;
}
.cookie-banner-btn--primary:hover {
  opacity: .88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 43, 43, .18);
}
.cookie-banner-btn--secondary {
  background: var(--glass-clear);
  border: 1.5px solid rgba(43, 43, 43, .1);
  color: var(--text);
  font-weight: 500;
}
.cookie-banner-btn--secondary:hover {
  background: rgba(255, 255, 255, .85);
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .cookie-banner {
    bottom: .65rem;
    width: calc(100% - 1rem);
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
    padding: .7rem .85rem;
    border-radius: var(--r-md);
    box-shadow: 0 10px 28px rgba(43, 43, 43, .12);
  }
  .cookie-banner-eyebrow {
    font-size: .58rem;
    margin-right: .4rem;
  }
  .cookie-banner-title {
    font-size: .82rem;
  }
  .cookie-banner-desc {
    font-size: .7rem;
    line-height: 1.38;
    margin-top: .2rem;
  }
  .cookie-banner-actions {
    min-width: 0;
    width: 100%;
    gap: .4rem;
  }
  .cookie-banner-btn {
    width: 100%;
    text-align: center;
    padding: .5rem .7rem;
    font-size: .76rem;
    border-radius: var(--r-sm);
  }
}

/* ══════════════════════════════════════════
   FLOATING SCROLL NAV (phone + scroll-to-top)
══════════════════════════════════════════ */
.scroll-nav {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  pointer-events: none;
}
.scroll-nav-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  pointer-events: auto;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.scroll-nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.scroll-nav-btn--top {
  background: rgba(255, 255, 255, .96);
  color: var(--accent);
  border: 1.5px solid rgba(43, 43, 43, .1);
  box-shadow: 0 8px 24px rgba(43, 43, 43, .12);
  opacity: 0;
  transform: translateY(.75rem);
  pointer-events: none;
  flex-shrink: 0;
}
.scroll-nav-btn--top:not(.is-visible) {
  width: 0;
  height: 0;
  overflow: hidden;
  border-width: 0;
  box-shadow: none;
}
.scroll-nav-btn--top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  width: 3.5rem;
  height: 3.5rem;
  border-width: 1.5px;
  box-shadow: 0 8px 24px rgba(43, 43, 43, .12);
}
.scroll-nav-btn--top:hover {
  transform: translateY(-2px);
  border-color: var(--accent-lt);
  box-shadow: 0 12px 28px rgba(43, 43, 43, .16);
}
.scroll-nav-btn--top.is-visible:hover {
  transform: translateY(-2px);
}

/* MAX messenger widget */
.scroll-nav-max {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  pointer-events: auto;
  flex-shrink: 0;
}
.scroll-nav-max__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(76, 204, 255, .45), rgba(83, 94, 238, .5));
  animation: scroll-nav-max-pulse 2.4s var(--ease) infinite;
  pointer-events: none;
}
.scroll-nav-max__pulse--delay {
  animation-delay: 1.2s;
}
.scroll-nav-max__btn {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border: none;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: transparent;
  box-shadow:
    0 10px 28px rgba(83, 94, 238, .32),
    0 0 0 1px rgba(255, 255, 255, .35) inset;
  transition:
    transform .28s var(--spring),
    box-shadow .28s var(--ease);
  animation: scroll-nav-max-float 3.6s ease-in-out infinite;
}
.scroll-nav-max__icon {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  transition: transform .28s var(--spring);
}
.scroll-nav-max__icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.scroll-nav-max__status {
  position: absolute;
  right: .15rem;
  bottom: .15rem;
  width: .72rem;
  height: .72rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, .35);
  animation: scroll-nav-max-status 2.2s ease-in-out infinite;
}
.scroll-nav-max__label {
  position: absolute;
  right: calc(100% + .85rem);
  top: 50%;
  transform: translateY(-50%) translateX(.5rem);
  padding: .5rem .85rem;
  border-radius: 999px;
  background: rgba(28, 28, 32, .92);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(28, 28, 32, .22);
  transition:
    opacity .22s var(--ease),
    transform .28s var(--spring),
    visibility .22s;
}
.scroll-nav-max__label::after {
  content: '';
  position: absolute;
  right: -.35rem;
  top: 50%;
  width: .7rem;
  height: .7rem;
  background: rgba(28, 28, 32, .92);
  transform: translateY(-50%) rotate(45deg);
  border-radius: .12rem;
}
.scroll-nav-max:hover .scroll-nav-max__btn,
.scroll-nav-max:focus-within .scroll-nav-max__btn {
  animation: none;
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 16px 36px rgba(83, 94, 238, .42),
    0 0 0 1px rgba(255, 255, 255, .45) inset;
}
.scroll-nav-max:hover .scroll-nav-max__icon,
.scroll-nav-max:focus-within .scroll-nav-max__icon {
  transform: scale(1.03);
}
.scroll-nav-max:hover .scroll-nav-max__pulse,
.scroll-nav-max:focus-within .scroll-nav-max__pulse {
  animation-play-state: paused;
  opacity: 0;
}
.scroll-nav-max:hover .scroll-nav-max__label,
.scroll-nav-max:focus-within .scroll-nav-max__label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.scroll-nav-max__btn:focus-visible {
  outline: 2px solid #53e;
  outline-offset: 3px;
}
.scroll-nav-max__btn:active {
  transform: translateY(-1px) scale(.98);
}
.scroll-nav-max.is-attention .scroll-nav-max__btn {
  animation: scroll-nav-max-attention .85s var(--spring) 2;
}
@keyframes scroll-nav-max-pulse {
  0% {
    transform: scale(1);
    opacity: .55;
  }
  70%, 100% {
    transform: scale(1.55);
    opacity: 0;
  }
}
@keyframes scroll-nav-max-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes scroll-nav-max-status {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(34, 197, 94, .35); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
}
@keyframes scroll-nav-max-attention {
  0%, 100% { transform: translateY(0) scale(1); }
  35% { transform: translateY(-6px) scale(1.08); }
  65% { transform: translateY(-2px) scale(1.04); }
}
.scroll-nav-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.scroll-nav-ring-track {
  stroke: rgba(43, 43, 43, .1);
}
.scroll-nav-ring-progress {
  stroke: var(--accent);
  transition: stroke-dashoffset .12s linear;
}
.scroll-nav-arrow {
  position: relative;
  width: 1.15rem;
  height: 1.15rem;
}
@media (max-width: 768px) {
  .scroll-nav {
    right: 1rem;
    bottom: 1rem;
    gap: .6rem;
  }
  .scroll-nav-btn {
    width: 3.15rem;
    height: 3.15rem;
  }
  .scroll-nav-btn--top.is-visible {
    width: 3.15rem;
    height: 3.15rem;
  }
  .scroll-nav-max,
  .scroll-nav-max__btn {
    width: 3.35rem;
    height: 3.35rem;
  }
  .scroll-nav-max__label {
    display: none;
  }
  .cookie-banner--visible ~ .scroll-nav,
  .cookie-banner:not([hidden]) ~ .scroll-nav {
    bottom: calc(1rem + 5.5rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-nav-ring-progress { transition: none; }
  .scroll-nav-btn--top { transition: opacity var(--t) var(--ease); }
  .scroll-nav-max__pulse,
  .scroll-nav-max__btn,
  .scroll-nav-max__status { animation: none; }
  .scroll-nav-max.is-attention .scroll-nav-max__btn { animation: none; }
}
@media print {
  .scroll-nav { display: none; }
}

/* critical:begin */
/* critical:source critical-src.css */
/* critical:end */
