@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600&family=Manrope:wght@400;500;600;700&family=Caveat:wght@500&display=swap');

:root {
  --fontfamily: "Manrope", system-ui, sans-serif;
  --hfont: "Unbounded", "Manrope", sans-serif;
  --fontsize: 1.7rem;
  --lineheight: 2.7rem;
  --maincolor: #43f7f1;   /* бирюза — кнопки, акценты */
  --maincolor2: #fbe9f2;  /* мягкий розовый — подложки карточек */
  --maincolor3: #c8237a;  /* розовый — ссылки, цены */
  --magenta: #c8237a;
  --plum: #24121f;
  --muted: #6b5266;
  --line: #f0dbe6;
  --textcolor: #24121f;
  --hcolor: #24121f;
  --grey: #f8eef3;
  --grey2: #f3e3eb;
  --footerbg: #24121f;
  --boxshadow: 0 24px 50px -30px rgba(200,35,122,.35);
  --header-height: 76px;
  --header-height-min: 64px;
  --buttonheight: 46px;
  --bigbuttonheight: 56px;
  --smallbuttonheight: 34px;
}

/* ---------- База ---------- */
body { background: #fdf8fa; color: var(--textcolor); font-family: var(--fontfamily); font-weight: 400; -webkit-font-smoothing: antialiased; letter-spacing: 0; }
::selection { background: var(--maincolor); color: var(--plum); }
a { color: var(--maincolor3); transition: color .25s; }
a:hover { color: var(--plum); }
p { text-wrap: pretty; }
img { border-radius: inherit; }

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 { font-family: var(--hfont); color: var(--hcolor); font-weight: 500; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(3.4rem, 5vw, 6rem); line-height: 1.05; margin-bottom: 36px; }
h2, .h2 { font-size: clamp(2.8rem, 3.6vw, 4.4rem); line-height: 1.1; }
h3, .h3 { font-size: clamp(2.2rem, 2.4vw, 3rem); line-height: 1.2; }
h4, .h4 { font-size: 2.2rem; line-height: 1.3; }
h5, .h5 { font-size: 1.9rem; line-height: 1.3; }
h6, .h6 { font-size: 1.7rem; line-height: 1.35; }
.fw900, .h3.fw900 { font-weight: 600 !important; }
.ttu.h3 { text-transform: none; }

.main { max-width: 1290px; padding: 0 24px; }

/* ---------- Шапка ---------- */
#header { background: rgba(253,248,250,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body.min #header { background: rgba(253,248,250,.96); }
#header .logo { line-height: 1.1; font-family: var(--hfont); font-size: 1.5rem; font-weight: 500; color: var(--plum); }
#header .logo .fw600 { font-weight: 500; }
#header .logo > img { width: 40px; }
#header a.tel { font-family: var(--fontfamily); font-weight: 700; font-size: 1.5rem; color: var(--plum); }
#header .header-contacts img { display: none; }

ul.desktop-mainmenu a { font-family: var(--fontfamily); font-size: 1.45rem; font-weight: 600; text-transform: none; color: var(--plum); }
li.menu-level-1 > a { text-transform: none; font-weight: 600; }
li.menu-level-1 > a:before { background: var(--maincolor3); height: 2px; border-radius: 2px; }
li.menu-level-1.active > a, li.menu-level-1 > a:hover { color: var(--maincolor3); }
ul.desktop-mainmenu ul.submenu { border-radius: 20px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(36,18,31,.25); border: 1px solid var(--line); }
ul.desktop-mainmenu ul.submenu a { display: block; padding: 8px 14px; border-radius: 12px; font-size: 1.45rem; line-height: 1.4; }
li.menu-level-2.active > a, li.menu-level-2:hover > a { background: var(--maincolor2); color: var(--maincolor3); }

.mobile-mainmenu-outer { background: #fdf8fa; border-radius: 0 28px 28px 0; box-shadow: 20px 0 60px -20px rgba(36,18,31,.35); }
.mobile-mainmenu a { color: var(--plum); font-weight: 600; }

/* ---------- Хлебные крошки ---------- */
ul.breadcrumb { font-size: 1.35rem; }
.breadcrumb li, .breadcrumb li a { color: var(--muted); }
.breadcrumb li a:hover { color: var(--maincolor3); }

/* ---------- Кнопки ---------- */
.smallbutton, .button, .bigbutton {
  font-family: var(--fontfamily); font-weight: 700; font-size: 1.55rem; color: var(--plum);
  background: var(--maincolor); border: 0; border-radius: 999px;
  transition: background .25s, color .25s, transform .25s;
}
.button { padding: 0 26px; }
.bigbutton { padding: 0 32px; }
.smallbutton { padding: 0 18px; border-radius: 999px; font-size: 1.4rem; }
.smallbutton:hover, .button:hover, .bigbutton:hover { background: var(--plum); color: #fff; }
.bigbutton.blue { background: var(--maincolor); }
.bigbutton.magenta { background: var(--maincolor3); color: #fff; }
.effect:before { display: none; }
.hystmodal__window .bigbutton, #contacts_block .bigbutton { background: var(--maincolor); }
.telegram.bigbutton > img { width: 18px; }

/* ---------- Плашки ---------- */
.warning { background: #fff; border: 1px solid #f3c6dc; color: #8a1a55; font-weight: 600; padding: 16px 22px; border-radius: 18px; line-height: 1.5; }
.bg-maincolor2 { background: var(--maincolor2); }
.brad10 { border-radius: 18px; }
.brad20 { border-radius: 24px; }
.bshad { box-shadow: var(--boxshadow); }

/* ---------- Списки ---------- */
.circle-list li:before, .uslugi_page #content li:before, .articles ul > li:before { border: 0; background: var(--maincolor3); width: 8px; height: 8px; top: 9px; }

/* ---------- Направления: карточки ---------- */
.uslugi_teaser { background: #fff; border: 1px solid var(--line); box-shadow: none; transition: transform .35s, box-shadow .35s, border-color .35s; }
.uslugi_teaser:hover { transform: translateY(-4px); border-color: var(--maincolor3); box-shadow: var(--boxshadow); }
.uslugi_teaser > a { display: block; }
.uslugi_teaser img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: 0; max-height: none; }
.uslugi_teaser .uslugi_teaser_title { position: static; background: transparent; text-align: left; padding: 16px 20px 20px; border-radius: 0; font-family: var(--hfont); font-weight: 500; font-size: 1.8rem; color: var(--plum); }

/* ---------- Страница направления: баннер ---------- */
.uslugi_banner { margin: calc(var(--header-height) + 16px) 16px 0; border-radius: 36px; overflow: hidden; padding: clamp(60px, 8vw, 120px) 0; min-height: 440px; display: flex; align-items: center; }
.uslugi_banner:after { background: linear-gradient(100deg, rgba(36,18,31,.88) 0%, rgba(122,21,80,.65) 45%, rgba(36,18,31,.05) 100%); }
.uslugi_banner .main { width: 100%; }
.uslugi_banner_text { max-width: 620px; }
.uslugi_banner_text h1 { color: #fff; font-size: clamp(3.6rem, 5.6vw, 7rem); }
.uslugi_banner .circle-list li { color: #fff; font-size: 1.8rem; line-height: 1.5; }
.uslugi_banner .circle-list li:before { background: var(--maincolor); }
.uslugi_page #content { padding-top: 64px; }
.uslugi_page #content .block70 > h1 { font-size: clamp(2.8rem, 3.6vw, 4.4rem); }
.uslugi-teachers-owl .h3 { font-size: 2.2rem; margin-bottom: 24px; }
.uslugi-teachers-owl .block-teacher { margin-bottom: 16px; }

/* ---------- Инструкторы ---------- */
.block-teacher { background: #fff !important; border: 1px solid var(--line); overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.block-teacher:hover { background: #fff; transform: translateY(-4px); border-color: var(--maincolor3); box-shadow: var(--boxshadow); }
.block-teacher > a > img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; border-radius: 0 !important; max-height: none; }
.block-teacher .h5 { display: block; font-family: var(--fontfamily); font-weight: 700; font-size: 1.8rem; }
.block-teacher .mt10.mb40 { color: var(--muted); font-size: 1.5rem; line-height: 1.5; }
.block-teacher .smallbutton { background: transparent; padding: 0; color: var(--maincolor3); text-decoration: underline; text-underline-offset: 4px; }
.block-teacher .smallbutton:hover { background: transparent; color: var(--plum); }
.block-teacher .smallbutton:after { content: ' →'; }

#teachers .block30 > img { border-radius: 28px; aspect-ratio: 3/4; object-fit: cover; }
#teachers .block30 .bigbutton { display: block; text-align: center; }
.otz { background: #fff !important; border: 1px solid var(--line); border-radius: 24px !important; }
.otz .stars img { width: 16px; filter: hue-rotate(290deg) saturate(1.4); }
.otz .title { font-weight: 700; }

/* ---------- Цены ---------- */
.table.prices { overflow: visible; }
.bg-maincolor2:has(> .table.prices) { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--boxshadow); }
.table.prices table tr { background-image: none; border-bottom: 1px solid var(--line); }
.table.prices table tr:last-child { border-bottom: 0; }
.table.prices table tr:has(td:empty) { display: none; }
.table.prices table th, .table.prices table td { padding: 18px 10px 18px 0; font-size: 1.7rem; }
.table.prices th, .table.prices table tr td:first-child:not(:last-child) { font-weight: 600; color: var(--plum); }
.table.prices td:last-child { font-family: var(--hfont); font-weight: 500; color: var(--maincolor3); font-size: 1.9rem; }
.table.prices td .small, .table.prices td br + * { font-family: var(--fontfamily); }

/* страница «Цены» (em-pp) */
.em-pp { --pp-pink:#c8237a; --pp-cyan:#43f7f1; --pp-plum:#24121f; display: flex; flex-direction: column; gap: 28px; margin-bottom: 60px; }
.em-pp h2 { font-family: var(--hfont); font-weight: 500; font-size: clamp(2.4rem,2.6vw,3.2rem); line-height: 1.1; margin: 0 0 14px; }
.em-pp__terms { background: #fff; border: 1px solid #f3c6dc; border-radius: 22px; padding: 22px 28px; font-size: 1.6rem; line-height: 1.6; color: #8a1a55; font-weight: 600; position: relative; padding-left: 64px; }
.em-pp__terms:before { content: '!'; position: absolute; left: 22px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--pp-cyan); color: var(--pp-plum); font-family: var(--hfont); font-size: 1.5rem; display: flex; align-items: center; justify-content: center; }
.em-pp__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,440px),1fr)); gap: 24px; align-items: start; }
.em-pp__side { display: flex; flex-direction: column; gap: 24px; }
.em-pp__card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px 34px 18px; box-shadow: var(--boxshadow); }
.em-pp__card--dark { background: var(--pp-plum); border-color: var(--pp-plum); color: #fff; position: relative; overflow: hidden; }
.em-pp__card--dark:after { content: ''; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px dashed var(--pp-cyan); opacity: .5; pointer-events: none; }
.em-pp__card--dark h2 { color: #fff; }
.em-pp__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.em-pp__row:last-child { border-bottom: 0; }
.em-pp__card--dark .em-pp__row { border-color: rgba(255,255,255,.14); }
.em-pp__name { display: flex; flex-direction: column; gap: 4px; font-size: 1.7rem; font-weight: 600; color: var(--plum); }
.em-pp__card--dark .em-pp__name { color: #fff; }
.em-pp__name small { font-size: 1.35rem; font-weight: 400; color: #8a6b80; }
.em-pp__card--dark .em-pp__name small { color: #d9bfcf; }
.em-pp__price { font-family: var(--hfont); font-weight: 500; font-size: 1.9rem; color: var(--pp-pink); white-space: nowrap; }
.em-pp__card--dark .em-pp__price { color: var(--pp-cyan); }
.em-pp__note { font-size: 1.4rem; line-height: 1.7; color: #6b5266; padding: 0 6px; }
.em-pp__pay { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; background: #fbeef4; border-radius: 28px; padding: 36px; }
.em-pp__pay p { margin: 0 0 20px; font-size: 1.6rem; line-height: 1.6; color: #6b5266; max-width: 520px; }
.em-pp__qr { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #6b5266; font-size: 1.3rem; }
.em-pp__qr img { width: 180px; height: 180px; object-fit: contain; background: #fff; border-radius: 18px; padding: 10px; display: block; }
@media (max-width: 640px) {
  .em-pp__card { padding: 24px 20px 10px; border-radius: 22px; }
  .em-pp__row { flex-direction: column; gap: 6px; }
  .em-pp__price { white-space: normal; }
  .em-pp__pay { grid-template-columns: 1fr; padding: 24px; }
  .em-pp__terms { padding: 18px 18px 18px 56px; }
}

/* ---------- События / новости ---------- */
.news-block { background: #fff !important; border: 1px solid var(--line); overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.news-block:hover { transform: translateY(-4px); border-color: var(--maincolor3); box-shadow: var(--boxshadow); }
.news-block > a > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; border-radius: 0; max-height: none; }
.news-block .h4 { font-size: 2rem; line-height: 1.3; color: var(--plum); }
.news-block .news-date-icon { color: var(--maincolor3); font-size: 1.45rem; }
.news-block .news-date-icon img { width: 18px; opacity: .7; }
.news-block p { color: var(--muted); font-size: 1.55rem; line-height: 1.55; }
.pagination a, .pagination span { border-radius: 999px; }

/* ---------- О нас / форматы ---------- */
.aboutus .h4, #aboutus .h4, .format-blocks .h4 { border-left: 0; padding-left: 0; }
.aboutus .h4 .fw600 { color: var(--maincolor3); font-weight: 500; }
.aboutus .h4 { font-weight: 400 !important; }
.format-blocks > div { background: #fff !important; border: 1px solid var(--line); overflow: hidden; }
.format-num { font-family: var(--hfont); color: var(--maincolor3); opacity: .08; font-weight: 600; transform: translateY(-50%); }

/* ---------- Контакты ---------- */
#contacts_block .details, #contacts_block .form_contacts { border-radius: 28px; border: 1px solid var(--line); box-shadow: none; }
#contacts_block .details { background: var(--maincolor2); }
#contacts_block p.fw600 { color: var(--maincolor3); font-size: 1.3rem; letter-spacing: .14em; }
#contacts_block .tel { font-family: var(--hfont); font-size: 2.4rem; font-weight: 500; }
#contacts_block .block100.maxwidth1200 { gap: 16px; flex-wrap: nowrap; }
@media (max-width: 768px) { #contacts_block .block100.maxwidth1200 { flex-wrap: wrap; } }
#map { background: var(--maincolor2); border-radius: 28px; }

/* ---------- Блок карты внизу страниц ---------- */
#map_box { margin: 40px 16px 16px; border-radius: 36px; overflow: hidden; background: var(--maincolor2); }
#map_box #map { border-radius: 0; }
#map_box .contacts { border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(36,18,31,.4); }
#map_box .contacts a { font-size: 1.7rem; }
#map_box .contacts .tel { font-family: var(--hfont); font-weight: 500; font-size: 2rem; color: var(--plum); }
#map_box .contacts .logo span { font-family: var(--hfont); font-size: 1.5rem; line-height: 1.1; }

/* ---------- Формы ---------- */
input[type="text"], input[type="email"], input[type="date"], input[type="tel"], input[type="time"], input[type="password"], textarea, select {
  background-color: #fff; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--fontfamily); font-size: 1.6rem; line-height: 52px;
}
textarea { border-radius: 22px; line-height: 1.5; padding: 14px 20px; }
input:focus, textarea:focus, select:focus { background-color: #fff; border-color: var(--maincolor3); }
input.checkbox:checked + label:before { background: var(--maincolor3); }
input.checkbox:not(checked) + label { font-size: 1.4rem; color: var(--muted); }
.hystmodal-beige .hystmodal__window { background: #fdf8fa; }
.hystmodal__window { border-radius: 32px 0 0 32px; }
.hystmodal__window .h2.title { font-size: 2.8rem; }

/* ---------- Подвал ---------- */
#footer { background: var(--plum); color: #f6dbe8; padding: 56px 0 28px; margin: 0 16px 16px; border-radius: 36px; }
#footer a.white, #footer .white { color: #fff; }
#footer a.white:hover { color: var(--maincolor); }
#footer .maincolor3.tel { color: var(--maincolor) !important; font-family: var(--hfont); font-weight: 500; }
#footer .border-top { border-top: 1px solid rgba(255,255,255,.14); margin-top: 24px; }
#footer .bigbutton { border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: #fff; line-height: 48px; }
#footer .bigbutton:hover { background: #fff; color: var(--plum); }
#footer .copyright { color: #c9a9bc; font-size: 1.3rem; }

/* ---------- Адаптив ---------- */
@media (max-width: 768px) {
  :root { --fontsize: 1.6rem; --lineheight: 2.5rem; }
  .uslugi_banner, #map_box { margin-left: 10px; margin-right: 10px; border-radius: 28px; }
  #footer { margin: 0 10px 10px; border-radius: 28px; }
  #map_box .contacts { border-radius: 22px; }
}


/* =========================================================
   ГЛАВНАЯ (шаблон «01_Главная_2026», классы em-*)
   ========================================================= */
.em-home { --em-pink:#c8237a; --em-cyan:#43f7f1; --em-plum:#24121f; --em-muted:#6b5266; --em-line:#f0dbe6; overflow: hidden; }
.em-home * { box-sizing: border-box; }
.em-home h2 { font-family: var(--hfont); font-weight: 500; font-size: clamp(3rem,4vw,4.8rem); line-height: 1.05; margin: 0; }
.em-wrap { max-width: 1290px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; position: relative; }
.em-section { padding-top: 96px; padding-bottom: 40px; }
.em-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.em-head__right { display: flex; align-items: center; gap: 10px; }
.em-more { font-weight: 700; font-size: 1.5rem; color: var(--em-pink); margin-right: 6px; }
.em-more--light { color: #fff; }
.em-link-caps { font-weight: 700; font-size: 1.4rem; letter-spacing: .06em; text-transform: uppercase; color: var(--em-pink); }
.em-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--em-plum); background: transparent; color: var(--em-plum); font-size: 2rem; cursor: pointer; transition: .25s; }
.em-arrow:hover { background: var(--em-cyan); border-color: var(--em-cyan); }
.em-arrow--fill { background: var(--em-cyan); border-color: var(--em-cyan); }
.em-arrow--fill:hover { background: var(--em-plum); border-color: var(--em-plum); color: #fff; }
.em-lines, .em-prices__lines, .em-trio__lines { position: absolute; pointer-events: none; height: auto; }

/* баннер */
.em-hero { position: relative; overflow: hidden; background: #fbf7f5; padding-top: var(--header-height); }
.em-hero__bg { position: absolute; left: -18vw; top: 50%; width: max(110vh,64vw); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: #f3e6ec; }
.em-hero__ring { position: absolute; border-radius: 50%; border: 34px solid var(--em-cyan); width: 120px; height: 120px; left: 14%; bottom: 14%; animation: em-float 7s ease-in-out infinite; }
.em-hero__ring--b { border-width: 10px; width: 78px; height: 78px; left: 58%; top: 12%; bottom: auto; animation-duration: 5s; }
.em-hero__inner { position: relative; max-width: 1320px; margin: 0 auto; padding: 56px 24px 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,380px),1fr)); align-items: center; gap: 40px 64px; }
.em-hero__text { display: flex; flex-direction: column; gap: 6px; align-self: start; padding-top: 24px; }
.em-hero__title { margin: 0; font-family: var(--hfont); font-weight: 400; font-size: clamp(4.6rem,5.6vw,8.4rem); line-height: .95; letter-spacing: -.03em; color: var(--em-plum); }
.em-hero__kicker { font-family: var(--hfont); font-weight: 600; font-size: 1.4rem; letter-spacing: .2em; color: var(--em-pink); padding-left: 4px; }
.em-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.em-hero__script { font-family: 'Caveat', cursive; font-size: 4rem; line-height: 1; color: var(--em-pink); margin-top: 40px; transform: rotate(-4deg); align-self: flex-start; }
.em-hero__circle { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; }
.em-hero__glow { position: absolute; inset: 4%; border-radius: 50%; background: #f2c9dc; animation: em-glow 9s ease-in-out infinite; }
.em-hero__dots-ring { position: absolute; inset: -3%; width: 106%; height: 106%; overflow: visible; animation: em-spin 60s linear infinite; }
.em-hero__dots-ring circle { fill: none; stroke: var(--em-cyan); stroke-width: .5; stroke-dasharray: 1 2.2; }
.em-hero__photo { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(200,35,122,.6); }
.em-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.2s ease, transform 6s ease-out; border-radius: 0; max-height: none; }
.em-slide.is-active { opacity: 1; transform: scale(1); }
.em-hero__badge { position: absolute; right: 2%; top: 6%; width: max(22%,112px); aspect-ratio: 1; border-radius: 50%; background: var(--em-cyan); color: var(--em-plum); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--hfont); box-shadow: 0 20px 40px -18px rgba(36,18,31,.45); animation: em-float 6s ease-in-out infinite; }
.em-hero__badge b { font-size: clamp(2.2rem,2.4vw,3.2rem); font-weight: 600; line-height: 1; }
.em-hero__badge span { font-size: 1rem; margin-top: 4px; }
.em-hero__nav { position: absolute; left: 0; right: 0; bottom: -6%; display: flex; justify-content: center; }
.em-hero__nav button { width: 18px; height: 36px; border: 0; background: transparent; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; }
.em-hero__nav button:before { content: ''; display: block; width: 6px; height: 6px; border-radius: 6px; background: #e3c6d6; transition: .4s; }
.em-hero__nav button.is-active:before { width: 16px; background: var(--em-cyan); }
@media (max-width: 1100px) { .em-hero__ring { display: none; } }

/* о пространстве */
.em-about { padding-top: 96px; padding-bottom: 40px; }
.em-about .em-lines { left: -4%; top: 160px; width: 70%; }
.em-about__grid { position: relative; display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: 90px 150px 170px 120px 110px 130px; column-gap: 20px; }
.em-about__grid > img { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; display: block; max-height: none; }
.em-about__img1 { grid-column: 2/8; grid-row: 2/6; }
.em-about__img2 { grid-column: 8/13; grid-row: 2/5; }
.em-about__cap1, .em-about__cap2 { font-family: var(--hfont); font-weight: 500; font-size: 2rem; line-height: 1.35; color: var(--em-pink); }
.em-about__cap1 { grid-column: 8/13; grid-row: 1/2; align-self: end; padding-bottom: 20px; }
.em-about__cap2 { grid-column: 2/6; grid-row: 6/7; align-self: center; text-align: right; }
.em-about__card { grid-column: 6/10; grid-row: 4/7; z-index: 2; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(200,35,122,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 28px; text-align: center; }
.em-about__card img { width: 72px; }
.em-about__name { font-family: var(--hfont); font-weight: 500; font-size: 2.4rem; line-height: 1.1; }
.em-about__slogan { font-size: 1.5rem; line-height: 1.5; color: var(--em-muted); max-width: 240px; }
@media (max-width: 960px) {
  .em-about__grid { display: flex; flex-direction: column; gap: 16px; }
  .em-about__img1 { aspect-ratio: 4/3; height: auto !important; }
  .em-about__img2, .em-about__cap2 { display: none; }
  .em-about__card { margin: -60px 24px 0; }
}

/* акция */
.em-promo { padding-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.em-promo img { width: min(100%,1000px) !important; border-radius: 24px; }

/* направления */
.em-dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,270px),1fr)); gap: 14px; }
.em-dir { display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--em-line); color: var(--em-plum); overflow: hidden; transition: .3s; }
.em-dir:hover { border-color: var(--em-pink); color: var(--em-plum); transform: translateY(-4px); }
.em-dir img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: #f6e6ee; max-height: none; border-radius: 0; }
.em-dir__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.em-dir__name { font-family: var(--hfont); font-weight: 500; font-size: 1.8rem; line-height: 1.2; }
.em-dir__desc { font-size: 1.4rem; line-height: 1.5; color: var(--em-muted); }

/* инструкторы */
.em-teachers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px,260px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
.em-teachers::-webkit-scrollbar { display: none; }
.em-teacher { display: flex; flex-direction: column; gap: 12px; color: var(--em-plum); scroll-snap-align: start; }
.em-teacher:hover { color: var(--em-pink); }
.em-teacher img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 20px; display: block; background: #f6e6ee; max-height: none; }
.em-teacher__name { font-weight: 700; font-size: 1.7rem; }
.em-teacher__about { font-size: 1.4rem; line-height: 1.45; color: var(--em-muted); }

/* цены */
.em-prices { position: relative; overflow: hidden; background: var(--em-plum); color: #fff; margin-top: 56px; }
.em-prices__lines { right: -12%; top: -10%; width: 70%; }
.em-prices__inner { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,420px),1fr)); gap: 56px; }
.em-prices__intro { display: flex; flex-direction: column; gap: 24px; }
.em-prices__intro h2 { color: #fff; }
.em-prices__intro p { margin: 0; font-size: 1.6rem; line-height: 1.6; color: #e9d6e1; max-width: 440px; }
.em-prices__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.em-price { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.em-price__name { display: flex; flex-direction: column; gap: 4px; font-size: 1.7rem; font-weight: 600; }
.em-price__name small { font-size: 1.3rem; font-weight: 400; color: #d9bfcf; }
.em-price__value { font-family: var(--hfont); font-weight: 500; font-size: 2rem; white-space: nowrap; }
.em-prices__note { margin: 20px 0 0; font-size: 1.3rem; line-height: 1.6; color: #d9bfcf; }

/* новости */
.em-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px),1fr)); gap: 24px; }
.em-news__item { display: flex; flex-direction: column; gap: 14px; color: var(--em-plum); }
.em-news__item:hover { color: var(--em-pink); }
.em-news__item img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 20px; display: block; background: #f6e6ee; max-height: none; }
.em-news__date { font-size: 1.3rem; font-weight: 700; color: var(--em-pink); }
.em-news__title { font-family: var(--hfont); font-weight: 500; font-size: 2rem; line-height: 1.25; }
.em-news__text { font-size: 1.5rem; line-height: 1.55; color: var(--em-muted); }

/* галерея */
.em-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,240px),1fr)); grid-auto-rows: 200px; gap: 12px; }
.em-gallery a { border-radius: 20px; overflow: hidden; cursor: zoom-in; background: #f6e6ee; display: block; }
.em-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.em-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; max-height: none; transition: transform .6s; }
.em-gallery a:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .em-gallery a:first-child { grid-column: auto; grid-row: auto; } }
.em-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(36,18,31,.9); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.em-lightbox.is-open { display: flex; }
.em-lightbox img { max-width: 100%; max-height: 100%; border-radius: 16px; }

/* аренда / правила / индивидуальные */
.em-trio { padding-top: 96px; padding-bottom: 40px; }
.em-trio__lines { left: 0; top: 30px; width: 100%; }
.em-trio__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px),1fr)); align-items: center; }
.em-tile { position: relative; min-height: 480px; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 32px 28px; color: #fff; margin: 16px 0; font-size: 1.6rem; line-height: 1.5; }
.em-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-height: none; }
.em-tile:not(.em-tile--light):before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(200,35,122,.75) 0%, rgba(36,18,31,.35) 55%, rgba(36,18,31,.7) 100%); }
.em-tile > *:not(img) { position: relative; z-index: 2; }
.em-tile__title { font-family: var(--hfont); font-weight: 500; font-size: clamp(1.9rem,2vw,2.4rem); line-height: 1.2; }
.em-tile__bottom { display: flex; flex-direction: column; gap: 16px; }
.em-tile__btn { align-self: flex-start; background: #fff; color: var(--em-pink); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; padding: 15px 24px; border-radius: 14px; cursor: pointer; line-height: 1.2; }
.em-tile__btn:hover { background: var(--em-plum); color: #fff; }
.em-tile--light { z-index: 2; min-height: 560px; margin: 0; background: linear-gradient(180deg, #fbe9f2 0%, #fff 100%); box-shadow: 0 40px 80px -40px rgba(200,35,122,.45); align-items: center; text-align: center; color: var(--em-plum); padding: 40px 28px; }
.em-tile__text { color: var(--em-muted); max-width: 300px; }
.em-tile__btn--pink { align-self: center; background: var(--em-pink); color: #fff; }

@keyframes em-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes em-spin { to { transform: rotate(360deg); } }
@keyframes em-glow { 0%,100% { transform: scale(1); opacity: .55; } 50% { transform: scale(1.08); opacity: .8; } }
