/* ==========================================================================
   ХИХИ-ру 2026 — «Яркий праздник»
   ========================================================================== */

@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/nunito-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url("../fonts/nunito-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --pink: #F0237A;
    --pink-600: #D4135F;
    --pink-card: #FD4699;
    --pink-100: #FFE1EE;
    --pink-50: #FFF2F8;
    --blue: #2F86E8;
    --blue-600: #1C6CCB;
    --blue-card: #3A9CEE;
    --blue-100: #DCEBFF;
    --blue-50: #EFF6FF;
    --yellow: #FFCF2E;
    --yellow-card: #FEE959;
    --yellow-100: #FFF3B8;
    --yellow-50: #FFFAE0;
    --mint: #18B897;
    --mint-50: #E3FAF4;
    --violet: #7C5CFA;
    --violet-50: #F1ECFF;
    --ink: #191927;
    --ink-2: #3A3A52;
    --muted: #6A6A84;
    --line: #ECECF5;
    --bg: #FFFFFF;
    --bg-soft: #F7F8FD;
    --footer: #221E3D;

    --r-sm: 12px;
    --r: 20px;
    --r-lg: 28px;
    --r-xl: 36px;
    --pill: 999px;

    --shadow-sm: 0 2px 10px rgba(25, 25, 39, .06);
    --shadow: 0 14px 40px rgba(25, 25, 39, .09);
    --shadow-lg: 0 24px 60px rgba(25, 25, 39, .14);
    --shadow-pink: 0 12px 28px rgba(240, 35, 122, .32);

    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section: clamp(56px, 8vw, 104px);
    --header-h: 76px;
    --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-2);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pink); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink-100); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 52px;
    padding: 0 28px;
    border: 2px solid transparent;
    border-radius: var(--pill);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 800;
    font-size: 17px;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { --btn-bg: var(--pink); box-shadow: var(--shadow-pink); }
.btn--primary:hover { --btn-bg: var(--pink-600); box-shadow: 0 16px 32px rgba(240, 35, 122, .4); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue); border-color: var(--blue-100); background: #fff; }
.btn--outline:hover { border-color: var(--blue); --btn-fg: var(--blue); }
.btn--white { --btn-bg: #fff; --btn-fg: var(--pink); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.btn--soft { --btn-bg: var(--blue-50); --btn-fg: var(--blue); }
.btn--soft:hover { --btn-bg: var(--blue-100); --btn-fg: var(--blue-600); }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 18px; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--loading { opacity: .7; pointer-events: none; }

.round-btn {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--ink);
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.round-btn:hover { background: var(--pink); border-color: var(--pink); color: #fff; transform: translateY(-2px); }
.round-btn[disabled] { opacity: .35; pointer-events: none; }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); }
.link-more .icon { transition: transform .2s; }
.link-more:hover .icon { transform: translateX(4px); }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--pink);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.kicker::before { content: ""; width: 18px; height: 4px; border-radius: 4px; background: var(--yellow); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; color: var(--pink); line-height: 1; flex: none; }
.logo:hover { color: var(--pink); }
.logo__kicker { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px 16px; }
.logo__mark { position: relative; display: inline-flex; align-items: center; padding-bottom: 10px; }
.logo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); margin-right: 7px; }
.logo__word { font-size: 34px; font-weight: 900; letter-spacing: -.03em; color: var(--pink); }
.logo__smile { position: absolute; left: 30px; bottom: -2px; width: 62px; color: var(--yellow); }
.logo__spark { position: absolute; right: -24px; top: -6px; width: 22px; color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(25, 25, 39, .08); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.main-nav { margin: 0 auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav__link {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 11px;
    border: 0;
    border-radius: var(--pill);
    background: none;
    color: var(--ink);
    font-weight: 800;
    font-size: 16px;
    transition: background .2s, color .2s;
}
.main-nav__link:hover, .main-nav__link[aria-expanded="true"] { background: var(--pink-50); color: var(--pink); }
.main-nav__chevron { width: 18px; height: 18px; transition: transform .25s; }
.main-nav__link[aria-expanded="true"] .main-nav__chevron { transform: rotate(180deg); }
.site-header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 900; font-size: 17px; white-space: nowrap; }
.header-phone .icon { color: var(--pink); }
.btn--header { min-height: 50px; padding: 0 20px; font-size: 16px; }
/* Шапка на ноутбуках: телефон — круглой кнопкой, второстепенные пункты уходят в «Программы» */
@media (max-width: 1440px) {
    .header-phone { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pink-50); }
    .header-phone span { display: none; }
    .header-phone:hover { background: var(--pink-100); }
}
@media (max-width: 1180px) {
    .main-nav__item--extra { display: none; }
}
.burger { display: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--pink-50); color: var(--pink); place-items: center; }
.burger .icon { width: 26px; height: 26px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

/* Каталог-меню: выпадающая панель на десктопе, полноэкранное меню на телефоне */
.site-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
}
.site-menu[hidden] { display: none; }
.site-menu__inner { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 32px; padding-top: 24px; padding-bottom: 28px; }
/* Слева — разделы с персонажами, справа от них — подразделы выбранного раздела (переключаются наведением) */
.catalog-menu { --rail: 300px; position: relative; list-style: none; margin: 0; padding: 0; }
.catalog-menu > li { width: var(--rail); }
.catalog-menu > li + li { margin-top: 2px; }
.catalog-menu > li.catalog-menu__dup { display: none; }
.catalog-menu > li > a { display: flex; align-items: center; gap: 12px; padding: 5px 14px 5px 5px; border-radius: 18px; color: var(--ink); font-weight: 800; font-size: 16px; line-height: 1.2; transition: background .15s, color .15s; }
.catalog-menu > li > a:hover, .catalog-menu > li.is-active > a { background: var(--pink-50); color: var(--pink); }
.catalog-menu > li.menu-item-has-children > a::after { content: ''; flex: none; width: 7px; height: 7px; margin: 0 4px 0 auto; border-top: 2.5px solid currentColor; border-right: 2.5px solid currentColor; transform: rotate(45deg); opacity: .35; transition: opacity .15s; }
.catalog-menu > li.is-active > a::after { opacity: 1; }
.catalog-menu__art { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--pink-50); color: var(--pink); font-weight: 900; font-size: 18px; transition: background .15s; }
.catalog-menu__art img { width: 100%; height: 100%; object-fit: cover; }
.catalog-menu > li:nth-child(5n+2) .catalog-menu__art { background: var(--blue-50); }
.catalog-menu > li:nth-child(5n+3) .catalog-menu__art { background: var(--yellow-50); }
.catalog-menu > li:nth-child(5n+4) .catalog-menu__art { background: var(--mint-50); }
.catalog-menu > li:nth-child(5n+5) .catalog-menu__art { background: var(--violet-50); }
.catalog-menu > li > a:hover .catalog-menu__art, .catalog-menu > li.is-active > a .catalog-menu__art { background: #fff; }
.catalog-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.catalog-menu > li > .sub-menu { display: none; position: absolute; top: 0; left: calc(var(--rail) + 20px); right: 0; min-height: 100%; padding: 20px 22px 22px; background: var(--bg-soft); border-radius: var(--r-lg); columns: 3 180px; column-gap: 12px; }
.catalog-menu > li.is-active > .sub-menu { display: block; }
.catalog-menu .sub-menu li { break-inside: avoid; }
.catalog-menu .sub-menu a { display: block; padding: 7px 10px; border-radius: 10px; color: var(--ink-2); font-size: 15px; font-weight: 700; line-height: 1.3; transition: background .15s, color .15s; }
.catalog-menu .sub-menu a:hover { background: #fff; color: var(--pink); }
.catalog-menu .sub-menu__head { column-span: all; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; padding: 0 10px 14px; border-bottom: 1px solid var(--line); }
.sub-menu__title { font-size: 22px; font-weight: 900; line-height: 1.2; color: var(--ink); }
.catalog-menu .sub-menu a.sub-menu__all { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 0; color: var(--pink); font-weight: 800; }
.catalog-menu .sub-menu a.sub-menu__all:hover { background: none; color: var(--pink-600); }
/* «По возрасту ребенка» в панели «Аниматоры» — строка чипов под подразделами (xuxu_age_nav) */
.catalog-menu .sub-menu li.catalog-menu__age { column-span: all; margin-top: 10px; padding: 14px 10px 0; border-top: 1px solid var(--line); }
.catalog-menu .sub-menu .age-picker--menu { gap: 10px 14px; padding: 0; background: none; border-radius: 0; }
.catalog-menu .sub-menu .age-picker--menu .age-picker__title { font-size: 15px; }
.catalog-menu .sub-menu .age-picker--menu .chips { gap: 6px; }
.catalog-menu .sub-menu a.chip { display: inline-flex; min-height: 32px; padding: 0 12px; border-radius: var(--pill); font-size: 14px; color: var(--blue); background: var(--blue-50); box-shadow: none; }
.catalog-menu .sub-menu a.chip:hover { background: var(--blue); color: #fff; }
.sub-menu__all .icon { width: 18px; height: 18px; }
.submenu-toggle { display: none; }
.site-menu__aside { padding: 4px 0 4px 28px; border-left: 1px solid var(--line); align-self: start; }
.site-menu__title { font-weight: 900; color: var(--ink); margin-bottom: 8px; }
.site-menu__links { list-style: none; margin: 0 0 18px; padding: 0; }
.site-menu__links a { display: block; padding: 5px 0; color: var(--ink-2); font-weight: 700; }
.site-menu__links a:hover { color: var(--pink); }
.site-menu__contact { display: grid; gap: 14px; }
.site-menu__phone { font-size: 20px; font-weight: 900; color: var(--ink); }

.messengers { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.messenger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; transition: transform .2s; }
.messenger:hover { color: #fff; transform: translateY(-2px); }
.messenger .icon { width: 22px; height: 22px; }
.messenger--tg { background: #2AABEE; }
.messenger--wa { background: #25D366; }
/* MAX — официальный знак с max.ru: «пузырь» с кольцом, градиент голубой → синий → фиолетовый, на белом круге */
.messenger--max { background: #fff; box-shadow: inset 0 0 0 1px rgba(25, 25, 39, .08); }
.max-mark {
    width: 26px;
    height: 26px;
    background: linear-gradient(40deg, #00C8FF 0%, #1591FF 30%, #3C22FE 62%, #8419FF 100%);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill-rule='evenodd' d='M50.76 0.26C78.29 0.26 99.89 22.6 99.89 50.15C99.89 77.7 77.61 99.49 51.02 99.49C41.59 99.49 37.01 98.16 29.65 92.95C29.14 92.59 28.45 92.68 28.02 93.14C22.36 99.18 7.85 103.43 7.19 95.18C7.19 80.79 0 71.45 0 49.88C0 21.55 23.22 0.26 50.76 0.26ZM51.53 24.81C38.46 24.13 28.26 33.2 26.01 47.38C24.15 59.13 27.45 73.45 30.28 74.18C31.48 74.48 34.36 72.28 36.46 70.3C36.85 69.93 37.45 69.86 37.91 70.15C41.18 72.15 44.88 73.65 48.96 73.86C62.37 74.56 74.26 64.06 74.96 50.65C75.66 37.23 64.94 25.5 51.53 24.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill-rule='evenodd' d='M50.76 0.26C78.29 0.26 99.89 22.6 99.89 50.15C99.89 77.7 77.61 99.49 51.02 99.49C41.59 99.49 37.01 98.16 29.65 92.95C29.14 92.59 28.45 92.68 28.02 93.14C22.36 99.18 7.85 103.43 7.19 95.18C7.19 80.79 0 71.45 0 49.88C0 21.55 23.22 0.26 50.76 0.26ZM51.53 24.81C38.46 24.13 28.26 33.2 26.01 47.38C24.15 59.13 27.45 73.45 30.28 74.18C31.48 74.48 34.36 72.28 36.46 70.3C36.85 69.93 37.45 69.86 37.91 70.15C41.18 72.15 44.88 73.65 48.96 73.86C62.37 74.56 74.26 64.06 74.96 50.65C75.66 37.23 64.94 25.5 51.53 24.8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.messenger--ig { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .5) 0; }
.section--soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-title { font-size: clamp(30px, 4.2vw, 48px); margin: 0; font-weight: 900; color: var(--ink); line-height: 1.12; letter-spacing: -.01em; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 12px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 24px 0 0; }
.hero::before {
    content: "";
    position: absolute;
    inset: -20% auto auto -10%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 207, 46, .18), transparent 65%);
    pointer-events: none;
}
.hero__inner { --bleed: max(var(--gutter), calc((100vw - var(--container)) / 2)); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: clamp(560px, 40vw, 700px); }
.hero__content { position: relative; z-index: 2; padding: 40px 0 56px; }
.hero__title { margin: 0 0 22px; font-size: clamp(52px, 6.6vw, 96px); font-weight: 900; line-height: .98; letter-spacing: -.035em; color: var(--pink); }
.hero__line { display: block; }
.hero__line--accent { position: relative; display: inline-block; color: var(--blue); padding: 0 .22em; margin-left: -.22em; }
/* Жёлтые штрихи «> здесь <» — как в концепте: по два толстых штриха, сходятся к слову */
.hero__squiggle { position: absolute; top: .58em; width: .45em; height: .6em; fill: none; stroke: #FFC93C; stroke-width: 6.5; stroke-linecap: round; transform: translateY(-50%); }
.hero__squiggle--l { left: -.33em; }
.hero__squiggle--r { right: -.33em; }
/* когда поле слева узкое — «здесь» с небольшим отступом, чтобы левые штрихи не упирались в край экрана */
@media (max-width: 1360px) {
    .hero__line--accent { margin-left: 0; }
    .hero__squiggle--l { left: -.24em; }
}
.hero__lead { font-size: clamp(19px, 1.7vw, 24px); font-weight: 700; color: var(--ink-2); line-height: 1.35; max-width: 440px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__features { display: flex; flex-wrap: wrap; gap: 14px 26px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.hero__features li { display: inline-flex; align-items: center; gap: 10px; }
.feature-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; }
.feature-icon .icon { width: 20px; height: 20px; }
.feature-icon--pink { background: var(--pink-100); color: var(--pink); }
.feature-icon--yellow { background: var(--yellow-100); color: #E3A500; }
.feature-icon--blue { background: var(--blue-100); color: var(--blue); }
.hero__art { position: relative; align-self: stretch; }
/* Картинка крупно, от шапки вниз (как в концепте), слева и снизу растворяется в белом */
.hero__art picture { position: absolute; top: -24px; left: -45%; right: calc(var(--bleed) * -1); aspect-ratio: 16 / 9; }
.hero__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 62% 40%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 28%, #000 100%), linear-gradient(to bottom, #000 0, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, #000 28%, #000 100%), linear-gradient(to bottom, #000 0, #000 86%, transparent 100%);
    mask-composite: intersect;
}
/* Большие экраны: широкая сцена (hero-party-wide) на всю ширину блока, текст — по сетке сайта поверх
   светлой части картинки, под текстом лёгкая белая дымка для читаемости */
@media (min-width: 1400px) {
    /* картинка всегда во всю ширину без обрезки (3200×1184), блок по высоте не меньше картинки */
    .hero__inner { position: static; min-height: max(560px, 37vw); }
    .hero__art { position: static; }
    .hero__art picture { top: 0; left: 0; right: 0; bottom: auto; aspect-ratio: 3200 / 1184; }
    .hero__art img {
        object-position: 100% 30%;
        -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 88%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 0, #000 88%, transparent 100%);
    }
    .hero__art::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0, rgba(255, 255, 255, .7) calc(var(--bleed) + 380px), rgba(255, 255, 255, 0) calc(var(--bleed) + 600px));
    }
}
/* От 1600px картинка растёт вместе с шириной экрана, поэтому текст привязан не к сетке сайта, а к её свободной
   части (левые 46%, где нет детей) — стоит по центру этой зоны и растёт ступенями (--hero-zoom), чтобы на 1600–2560+
   композиция была одинаковой, без пустого поля у края. Те же правила — у видео-вариантов 5 и 7 (hero-variants.css). */
:root { --hero-zoom: 1; }
@media (min-width: 1600px) {
    .hero__inner { max-width: none; padding: 0 0 0 3%; grid-template-columns: minmax(0, 43fr) minmax(0, 54fr); }
    .hero__content { justify-self: center; width: 100%; max-width: 600px; zoom: var(--hero-zoom); }
    .hero__art::after { background: linear-gradient(90deg, rgba(255, 255, 255, .82) 0, rgba(255, 255, 255, .7) 34%, rgba(255, 255, 255, 0) 49%); }
}
/* ступени роста текста; по высоте — чтобы блок помещался в первый экран */
@media (min-width: 1700px) { :root { --hero-zoom: 1.06; } }
@media (min-width: 1900px) and (min-height: 900px) { :root { --hero-zoom: 1.12; } }
@media (min-width: 2200px) and (min-height: 1000px) { :root { --hero-zoom: 1.25; } }
@media (min-width: 2500px) and (min-height: 1150px) { :root { --hero-zoom: 1.4; } }
@media (min-width: 3000px) and (min-height: 1350px) { :root { --hero-zoom: 1.6; } }

/* ---------- Directions ---------- */
.section--directions { padding-top: clamp(24px, 3vw, 40px); }
.direction-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.direction {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 250px;
    padding: 30px 30px 26px;
    border-radius: var(--r-lg);
    overflow: hidden;
    color: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.direction::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto -60px -80px auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}
.direction:hover { color: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.direction--pink { background: linear-gradient(135deg, #FF5AA6, #F0237A); }
.direction--blue { background: linear-gradient(135deg, #4FB0F7, #2F86E8); }
.direction--yellow { background: linear-gradient(135deg, #FFEC6B, #FFD23F); color: var(--ink); }
.direction--yellow:hover { color: var(--ink); }
.direction__text { position: relative; z-index: 2; max-width: 54%; display: grid; gap: 10px; }
.direction__title { font-size: clamp(24px, 2.2vw, 31px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.direction__desc { font-size: 16px; font-weight: 600; opacity: .9; line-height: 1.35; }
.direction__go { position: relative; z-index: 2; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 8px 18px rgba(0, 0, 0, .12); transition: transform .25s var(--ease); }
.direction--pink .direction__go { color: var(--pink); }
.direction:hover .direction__go { transform: translateX(6px); }
.direction__art { position: absolute; z-index: 1; right: 8px; bottom: 0; height: 94%; width: 42%; object-fit: contain; object-position: bottom right; transition: transform .4s var(--ease); }
.direction:hover .direction__art { transform: scale(1.04) rotate(-1deg); }

.tile-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 18px; }
.tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-height: 150px;
    padding: 18px;
    border-radius: var(--r);
    overflow: hidden;
    color: var(--ink);
    font-weight: 900;
    transition: transform .25s var(--ease), box-shadow .25s;
}
.tile:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--shadow); }
.tile--pink { background: var(--pink-50); }
.tile--blue { background: var(--blue-50); }
.tile--yellow { background: var(--yellow-50); }
.tile--mint { background: var(--mint-50); }
.tile--violet { background: var(--violet-50); }
.tile__art { position: absolute; right: -8px; bottom: -6px; height: 96px; width: auto; transition: transform .3s var(--ease); }
.tile:hover .tile__art { transform: scale(1.08) rotate(3deg); }
.tile__title { position: relative; z-index: 1; font-size: 16px; line-height: 1.2; max-width: 75%; }
.tile__go { position: relative; z-index: 1; margin-top: auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--pink); }
.tile__go .icon { width: 18px; height: 18px; }

/* ---------- Offers (готовые пакеты) ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.offer {
    --accent: var(--pink);
    --accent-bg: var(--pink-50);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--r-lg);
    padding: 18px 18px 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.offer--blue { --accent: var(--blue); --accent-bg: var(--blue-50); }
.offer--yellow { --accent: #E19B00; --accent-bg: var(--yellow-50); }
.offer--violet { --accent: var(--violet); --accent-bg: var(--violet-50); }
.offer__title { min-height: 72px; display: grid; place-items: center; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r); background: var(--accent-bg); color: var(--accent); font-size: 17px; line-height: 1.25; text-align: center; }
.offer__media { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; margin-bottom: 16px; background: var(--bg-soft); }
.offer__media img { width: 100%; height: 100%; object-fit: cover; }
.offer__price { font-size: 32px; font-weight: 900; color: var(--ink); line-height: 1; margin-bottom: 12px; }
.offer__label { font-weight: 800; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.offer__list { flex: 1; font-size: 15px; line-height: 1.45; color: var(--muted); margin-bottom: 18px; }
.offer__list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.offer__list li { position: relative; padding-left: 26px; }
.offer__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0237A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.offer__list p { margin: 0 0 6px; }
.offer__list .check, .prose .check { position: relative; display: block; padding-left: 26px; margin-bottom: 6px; }
.offer__list .check::before, .prose .check::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--pink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F0237A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.offer__list br { display: none; }

/* ---------- Services (что мы организуем) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
/* Фото в карточках — с отступом от края и скруглёнными углами со всех сторон */
.service__media { position: relative; display: block; aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 18px; overflow: hidden; isolation: isolate; background: var(--bg-soft); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service:hover .service__media img { transform: scale(1.05); }
.service__media .service__sticker { position: absolute; top: 12px; right: 12px; width: 64px; height: auto; object-fit: contain; }
.service__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.service__title { font-size: 24px; margin-bottom: 14px; }
.service__title a { color: var(--ink); }
.service__title a:hover { color: var(--pink); }
.service__links { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service__links a { display: inline-block; padding: 6px 12px; border-radius: var(--pill); background: var(--bg-soft); color: var(--ink-2); font-size: 14px; font-weight: 700; line-height: 1.25; transition: background .2s, color .2s; }
.service__links a:hover { background: var(--pink-50); color: var(--pink); }
.service__price { font-weight: 900; color: var(--pink); font-size: 18px; margin-bottom: 14px; }
.service__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    overflow: hidden;
    color: var(--ink);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { color: var(--ink); transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; margin: 10px 10px 0; border-radius: 18px; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--pink-50), var(--blue-50)); }
/* Персонажи: костюм целиком, без обрезки. Картинка по размеру фото (не на всю рамку),
   чтобы скругление легло на углы фото — среди них попадаются снимки с фоном */
.card--character .card__media { aspect-ratio: 3 / 4; background: #fff; display: flex; align-items: flex-end; justify-content: center; padding: 4px 4px 0; }
.card--character .card__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; min-height: 0; border-radius: 16px; transform-origin: center bottom; }
.card--character:hover .card__media img { transform: scale(1.03); }
.card--wide .card__media { aspect-ratio: 16 / 10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__placeholder { display: grid; place-items: center; height: 100%; color: var(--pink); }
.card__placeholder .icon { width: 48px; height: 48px; opacity: .4; }
.card__badge { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: var(--pill); background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 900; }
.card__body { display: grid; gap: 6px; padding: 16px 18px 20px; padding-right: 60px; }
.card__title { font-weight: 800; font-size: 17px; line-height: 1.3; }
.card__meta { color: var(--muted); font-size: 14px; }
.card__price { color: var(--pink); font-weight: 900; font-size: 16px; }
.card__go { position: absolute; right: 16px; bottom: 18px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--pink-50); color: var(--pink); transition: background .2s, color .2s, transform .25s; }
.card__go .icon { width: 18px; height: 18px; }
.card:hover .card__go { background: var(--pink); color: #fff; transform: translateX(3px); }
.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* Под блоком: «Показать ещё» и «Все …» — по центру, чтобы было видно, что карточек больше */
.more-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* ---------- Carousels ---------- */
[data-carousel-track] {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px max(var(--gutter), calc((100vw - var(--container)) / 2)) 18px;
    scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
}
[data-carousel-track]::-webkit-scrollbar { display: none; }
[data-carousel-track] > * { scroll-snap-align: start; flex: none; }
.carousel-nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 8px; }
.carousel-nav__more { margin-right: auto; }
/* Карусели (отзывы, фото с праздников) на больших мониторах идут от левого края экрана, а не от края контента */
.reviews-carousel [data-carousel-track], .photo-strip [data-carousel-track] { padding-left: var(--gutter); scroll-padding-left: var(--gutter); }

.photo-strip__item { width: clamp(260px, 32vw, 400px); aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.photo-strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.photo-strip__item:hover img { transform: scale(1.05); }

.section--reviews { background: linear-gradient(180deg, var(--pink-50), #fff); }
.review { display: grid; grid-template-columns: 132px 1fr; gap: 18px; width: min(560px, 86vw); padding: 20px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.review--skeleton { height: 240px; background: linear-gradient(90deg, #fff, var(--bg-soft), #fff); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.review__shot { display: block; aspect-ratio: 9 / 16; max-height: 236px; border-radius: 16px; overflow: hidden; background: var(--bg-soft); }
.review__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.review__body { position: relative; min-width: 0; }
.review__quote { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--pink-50); color: var(--pink); margin-bottom: 10px; }
.review__title { font-size: 18px; line-height: 1.3; margin-bottom: 8px; color: var(--ink); font-weight: 900; letter-spacing: -.01em; }
.review__text { color: var(--muted); font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__text p { margin: 0 0 .4em; }
.review__text ul { margin: 0; padding-left: 1em; }

/* ---------- Callback band ---------- */
.callback-band { background: linear-gradient(120deg, var(--pink), #FF6FB1 55%, var(--violet)); color: #fff; }
.callback-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.callback-band__text { margin: 0; font-size: clamp(22px, 2.6vw, 32px); font-weight: 900; line-height: 1.15; }

/* ---------- Addons ---------- */
/* Фото-карточки услуг (как остальные карточки сайта) с ценой «от …»; неполный последний ряд — по центру */
.addon-grid { --cols: 5; --gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.addon-grid > li { display: flex; flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.addon-grid .card { width: 100%; }
/* название на всю ширину, цена — внизу в одной строке со стрелкой */
.card--addon .card__body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding-right: 18px; }
.card--addon .card__price { margin-top: auto; min-height: 36px; display: flex; align-items: center; padding-right: 44px; white-space: nowrap; }

/* ---------- About / prose ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about__media { position: relative; }
.about__img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.about__badge { position: absolute; left: -12px; bottom: -18px; display: grid; place-items: center; align-content: center; width: 148px; height: 148px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; font-size: 14px; text-align: center; line-height: 1.15; box-shadow: 0 14px 30px rgba(47, 134, 232, .35); transform: rotate(-6deg); }
.about__badge strong { display: block; font-size: 44px; font-weight: 900; line-height: 1; }
.about__text .section-title { margin-bottom: 22px; }
.about__points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.about__points li { position: relative; padding-left: 40px; }
.about__points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 9px; background: var(--yellow-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F0237A'%3E%3Cpath d='M12 3l1.8 5.2L19 10l-5.2 1.8L12 17l-1.8-5.2L5 10l5.2-1.8z'/%3E%3C/svg%3E") center / 16px no-repeat; }

.read-more { margin-top: 8px; }
.about__more { margin-top: 18px; }
/* Вопросы и ответы (гео-страницы, xuxu_loc_faq) */
.faq-list { display: grid; gap: 10px; max-width: 920px; }
.faq-item { border-radius: var(--r-lg); background: var(--bg-soft); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; line-height: 1.35; color: var(--ink); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q .icon { flex: none; width: 20px; height: 20px; color: var(--pink); transition: transform .25s; }
.faq-item[open] .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a { padding: 0 22px 18px; color: var(--ink-2); }
.faq-item__a > :last-child { margin-bottom: 0; }
.read-more summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; color: var(--blue); font-weight: 800; padding: 8px 0; }
.read-more summary::-webkit-details-marker { display: none; }
.read-more summary .icon { width: 18px; height: 18px; transition: transform .25s; }
.read-more[open] summary .icon { transform: rotate(180deg); }
.read-more__close, .read-more[open] .read-more__open { display: none; }
.read-more[open] .read-more__close { display: inline; }
.read-more__body { padding-top: 10px; }

.prose { color: var(--ink-2); }
.prose h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 1.4em; }
.prose h3 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 1.3em; }
.prose a { text-decoration: underline; text-decoration-color: var(--pink-100); text-underline-offset: 3px; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.prose img { border-radius: var(--r); height: auto; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 15px; display: block; overflow-x: auto; }
.prose table tbody, .prose table thead { display: table; width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose th, .prose thead td, .prose tr:first-child td { background: var(--pink-50); color: var(--ink); font-weight: 800; }
.prose tr:nth-child(even) td { background: var(--bg-soft); }
.prose tr:last-child td { border-bottom: 0; }

/* ---------- Price list ---------- */
.price-list { display: grid; gap: 10px; }
.price-list__row { display: grid; grid-template-columns: minmax(0, 1fr) 170px 140px 150px; align-items: center; gap: 16px; padding: 14px 16px 14px 24px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.price-list__row:not(.price-list__row--head):hover { box-shadow: var(--shadow-sm); border-color: var(--pink-100); }
.price-list__row--head { background: none; border: 0; padding-top: 0; padding-bottom: 0; color: var(--muted); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.price-list__name a { color: var(--ink); font-weight: 800; }
.price-list__name a:hover { color: var(--pink); }
.price-list__time { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; }
.price-list__time .icon { color: var(--blue); width: 18px; height: 18px; }
.price-list__price { font-weight: 900; font-size: 20px; color: var(--pink); white-space: nowrap; }
.price-list__action { text-align: right; }
/* /price/: разделы с подзаголовками, в строках кнопка-значок вместо «Заказать» */
.price-group + .price-group { margin-top: 40px; }
.price-group__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 16px; }
.price-group__title { margin: 0; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; }
.price-list--icons .price-list__row { grid-template-columns: minmax(0, 1fr) 170px 140px 48px; }
.btn--icon { min-height: 44px; width: 44px; padding: 0; border-radius: 50%; }
.btn--icon .icon { width: 20px; height: 20px; }

/* ---------- Chips ---------- */
.age-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 26px 30px; border-radius: var(--r-lg); background: var(--blue-50); }
.age-picker + .age-picker { margin-top: 12px; }
.age-picker__title { margin: 0; font-weight: 900; color: var(--ink); font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
ul.chips { list-style: none; margin: 0; padding: 0; }
/* В статье: ссылки на рубрики каталога по той же теме (xuxu_article_catalog_links) */
.article-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 28px; padding: 16px 20px; border-radius: var(--r-lg); background: var(--blue-50); }
.article-cta__label { font-weight: 900; color: var(--ink); }
.prose .article-cta a.chip { text-decoration: none; }
.section--age { padding-top: 0; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--pill); background: #fff; color: var(--blue); font-weight: 800; font-size: 15px; box-shadow: var(--shadow-sm); transition: background .2s, color .2s, transform .2s; }
.chip:hover, .chip.is-active { background: var(--blue); color: #fff; transform: translateY(-2px); }

/* ---------- Каталог гео-страниц: станции, районы, города (inc/geo.php) ---------- */
.geo-catalog__bar { display: grid; gap: 12px; margin-bottom: 28px; }
.geo-catalog__search { width: 100%; max-width: 520px; min-height: 52px; padding: 0 22px; border: 2px solid var(--line); border-radius: var(--pill); background: #fff; color: var(--ink); font: inherit; font-size: 16px; font-weight: 700; transition: border-color .2s; }
.geo-catalog__search:focus { outline: none; border-color: var(--blue); }
.geo-catalog__empty { margin: 0; color: var(--muted); font-weight: 700; }
.geo-catalog__group + .geo-catalog__group { margin-top: 36px; }
.geo-catalog__title { font-size: 22px; margin-bottom: 14px; }
.geo-catalog__title span { color: var(--muted); font-size: 16px; font-weight: 800; }
.geo-catalog__list, .geo-catalog__list ul { list-style: none; margin: 0; padding: 0; }
.geo-catalog__list { columns: 5 180px; column-gap: 32px; }
.geo-catalog__abc { break-inside: avoid; padding-bottom: 14px; }
.geo-catalog__letter { display: block; color: var(--pink); font-weight: 900; font-size: 18px; line-height: 1.3; }
.geo-catalog__abc li { padding: 3px 0; line-height: 1.35; }
.geo-catalog__list a { color: var(--ink-2); font-weight: 700; transition: color .15s; }
.geo-catalog__list a:hover { color: var(--pink); }

/* ---------- Lead form ---------- */
.lead-band { padding: var(--section) 0; }
.lead-band__box { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-xl); background: linear-gradient(125deg, var(--pink) 0%, #FF6FB1 52%, #FF9D6E 100%); color: #fff; box-shadow: var(--shadow-pink); }
.lead-band__box::before, .lead-band__box::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14); pointer-events: none; }
.lead-band__box::before { width: 320px; height: 320px; right: -80px; top: -120px; }
.lead-band__box::after { width: 180px; height: 180px; left: 38%; bottom: -100px; background: rgba(255, 207, 46, .35); }
.lead-band__text { position: relative; z-index: 1; }
.lead-band__title { color: #fff; font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 10px; }
.lead-band__lead { font-size: 18px; opacity: .92; }
.lead-band__perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-weight: 700; }
.lead-band__perks li { display: flex; align-items: center; gap: 10px; }
.lead-band__perks .icon { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.lead-band .lead-form { position: relative; z-index: 1; background: #fff; color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); }

.lead-form__fields { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field__label { font-size: 14px; font-weight: 800; color: var(--ink); }
.field input, .field textarea, .field select {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 2px solid var(--line);
    border-radius: 16px;
    background: var(--bg-soft);
    font-size: 17px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-50); }
.field.is-invalid input { border-color: var(--pink); background: var(--pink-50); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lead-form__submit { width: 100%; margin-top: 4px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); text-align: left; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--pink); cursor: pointer; }
.consent a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--blue-100); text-underline-offset: 2px; }
.consent.is-invalid { color: var(--pink); }
.consent.is-invalid input { outline: 2px solid var(--pink); outline-offset: 2px; }
.review-form .consent { grid-column: 1 / -1; }
.lead-form__status { margin: 10px 0 0; font-weight: 800; text-align: center; }
.lead-form__status:empty { display: none; }
.lead-form.is-success .lead-form__status { color: var(--mint); }
.lead-form.is-error .lead-form__status { color: var(--pink); }

/* ---------- Персональные данные: уведомление о cookie, реквизиты в документах ---------- */
.cookie-note { position: fixed; left: 20px; bottom: 20px; z-index: 95; max-width: 420px; padding: 18px 20px; border-radius: var(--r); background: #fff; color: var(--ink-2); box-shadow: var(--shadow-lg); font-size: 14px; line-height: 1.45; }
.cookie-note[hidden] { display: none; }
.cookie-note__text { margin: 0 0 12px; }
.cookie-note__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-note__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-note .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.prose .legal-card { display: grid; gap: 10px; padding: 20px 24px; border-radius: var(--r); background: var(--bg-soft); }
.prose .legal-card li { padding-left: 0; margin: 0; }
.prose .legal-card li::before { display: none; }
.legal-card span { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.prose .legal-meta { font-size: 15px; color: var(--muted); }
@media (max-width: 767px) {
    .cookie-note { left: 12px; right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); max-width: none; padding: 14px 16px; }
}

/* ---------- Contacts ---------- */
.lead-band + .section--contacts { padding-top: 0; }
.contacts-card { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 24px; }
.contacts-card__main { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: var(--yellow-50); }
.contacts-card__title { font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--ink); line-height: 1.1; margin-bottom: 22px; }
.contacts-card__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.contacts-card__list li { display: flex; gap: 12px; align-items: flex-start; }
.contacts-card__list .icon { color: var(--pink); margin-top: 3px; }
.contacts-card__list a { font-weight: 800; color: var(--ink); }
.contacts-card__social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; font-weight: 700; }
.contacts-card__art { display: grid; place-items: center; }
.contacts-card__img { width: 100%; max-width: 300px; height: auto; filter: drop-shadow(0 20px 30px rgba(25, 25, 39, .12)); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 14px; color: var(--muted); font-weight: 600; padding: 18px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, .72); padding: clamp(48px, 7vw, 80px) 0 28px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; }
.logo--footer .logo__kicker { color: rgba(255, 255, 255, .5); }
.site-footer__about { margin: 18px 0; max-width: 320px; font-size: 15px; }
.site-footer__phone { display: inline-block; font-size: 22px; font-weight: 900; color: #fff !important; }
.site-footer__hours { font-size: 14px; margin: 4px 0 16px; }
.site-footer__title { color: #fff; font-weight: 900; font-size: 17px; margin-bottom: 14px; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.site-footer__address { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 0 0 10px; }
.site-footer__address .icon { color: var(--pink); width: 20px; height: 20px; margin-top: 2px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; }
.site-footer__bottom p { margin: 0; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Modal / lightbox ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(480px, calc(100vw - 32px)); width: 100%; overflow: visible; }
.modal::backdrop { background: rgba(25, 25, 39, .55); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__box { position: relative; background: #fff; border-radius: var(--r-xl); padding: 36px 32px 28px; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--ink); }
.modal__close:hover { background: var(--pink-50); color: var(--pink); }
.modal__head { text-align: center; margin-bottom: 18px; }
.modal__emoji { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 22px; background: var(--pink-50); color: var(--pink); margin-bottom: 12px; }
.modal__emoji .icon { width: 32px; height: 32px; }
.modal__title { font-size: 28px; font-weight: 900; color: var(--ink); margin-bottom: 6px; }
.modal__text { color: var(--muted); margin: 0; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 20, .88); }
.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; border-radius: var(--r); }
.lightbox__btn { position: fixed; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }
.lightbox__btn:hover { background: var(--pink); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
.lightbox__close { top: 16px; right: 16px; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
    .main-nav__link { padding: 10px 9px; font-size: 15px; }
    .tile-grid { grid-template-columns: repeat(3, 1fr); }
    .addon-grid { --cols: 4; }
    .offer-grid { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-menu__inner { grid-template-columns: minmax(0, 1fr) 220px; gap: 24px; }
    .site-menu__aside { padding-left: 22px; }
    .catalog-menu { --rail: 238px; }
    .catalog-menu > li > a { font-size: 15px; gap: 10px; }
    .catalog-menu > li > .sub-menu { left: calc(var(--rail) + 16px); padding: 16px 16px 18px; column-gap: 8px; }
    .sub-menu__title { font-size: 19px; }
}

@media (max-width: 980px) {
    :root { --header-h: 66px; }
    .addon-grid { --cols: 3; }
    .main-nav, .header-phone { display: none; }
    .burger { display: grid; }
    .site-header__inner { justify-content: space-between; gap: 12px; }
    .logo__word { font-size: 28px; }
    .logo__smile { width: 52px; left: 26px; }
    /* backdrop-filter шапки делает её контейнером для fixed — поэтому меню абсолютное, на высоту экрана */
    .site-menu { position: absolute; top: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); max-height: none; box-shadow: none; }
    .site-menu__inner { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; padding-bottom: 120px; }
    /* Телефон: разделы — аккордеон (кнопка-стрелка раскрывает подразделы) */
    .site-menu__aside { padding: 20px; border-left: 0; border-radius: var(--r-lg); background: var(--bg-soft); }
    .catalog-menu { --rail: auto; min-height: 0 !important; }
    .catalog-menu > li { position: relative; border-bottom: 1px solid var(--line); }
    .catalog-menu > li + li { margin-top: 0; }
    .catalog-menu > li > a { padding: 9px 52px 9px 0; border-radius: 0; font-size: 17px; }
    .catalog-menu > li > a:hover, .catalog-menu > li.is-active > a { background: none; }
    .catalog-menu > li.menu-item-has-children > a::after { display: none; }
    .catalog-menu .submenu-toggle { position: absolute; right: 0; top: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--bg-soft); color: var(--ink); }
    .catalog-menu .submenu-toggle .icon { transition: transform .25s; }
    .catalog-menu li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
    .catalog-menu > li > .sub-menu, .catalog-menu > li.is-active > .sub-menu { display: none; position: static; min-height: 0; padding: 0 0 12px 54px; background: none; border-radius: 0; columns: auto; }
    .catalog-menu > li.is-open > .sub-menu { display: block; }
    .catalog-menu .sub-menu__head { display: none; }
    .catalog-menu .sub-menu a { padding: 7px 0; font-size: 16px; font-weight: 600; }
    .catalog-menu .sub-menu a:hover { background: none; }

    .hero { padding-top: 0; }
    .hero__inner { grid-template-columns: 1fr; min-height: 0; }
    .hero__art { order: -1; aspect-ratio: 16 / 11; margin: 0 calc(var(--gutter) * -1); }
    .hero__art picture { inset: 0; transform: none; aspect-ratio: auto; }
    .hero__art img { object-position: 55% 30%; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
    .hero__content { padding: 0 0 40px; margin-top: -36px; }

    .direction-grid { grid-template-columns: 1fr; gap: 16px; }
    .direction { min-height: 200px; }
    .service-grid, .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(3, 1fr); }
    .about { grid-template-columns: 1fr; }
    .about__media { max-width: 560px; }
    .lead-band__box { grid-template-columns: 1fr; }
    .contacts-card { grid-template-columns: 1fr; }
    .contacts-card__art { display: none; }
    .price-list__row, .price-list--icons .price-list__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "time action"; row-gap: 8px; padding: 16px 18px; }
    .price-list__row--head { display: none; }
    .price-list__name { grid-area: name; }
    .price-list__price { grid-area: price; text-align: right; }
    .price-list__time { grid-area: time; }
    .price-list__action { grid-area: action; }
    .callback-band__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
    body { font-size: 16px; padding-bottom: 76px; }
    .btn--header { display: none; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__features { gap: 10px 18px; font-size: 14px; }
    .tile-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .tile { min-height: 132px; }
    .tile__art { height: 80px; }
    .offer-grid, .service-grid { grid-template-columns: 1fr; }
    .card-grid--4, .card-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .card__body { padding: 12px 12px 14px; padding-right: 12px; }
    .card__title { font-size: 15px; }
    .card__go { display: none; }
    .review { grid-template-columns: 1fr; }
    .review__shot { max-height: 180px; aspect-ratio: 16 / 10; }
    .addon-grid { --cols: 2; --gap: 14px; }
    .card--addon .card__body { padding-right: 12px; }
    .card--addon .card__price { padding-right: 0; min-height: 0; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }

    .mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr;
        gap: 8px;
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(12px);
        box-shadow: 0 -6px 24px rgba(25, 25, 39, .1);
    }
    .mobile-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border: 0; border-radius: 16px; background: var(--bg-soft); color: var(--ink); font-weight: 800; font-size: 14px; }
    .mobile-bar__btn .icon { width: 20px; height: 20px; color: var(--pink); }
    .mobile-bar__btn--primary { background: var(--pink); color: #fff; }
    .mobile-bar__btn--primary .icon { color: #fff; }
}

/* ---------- Inner pages: page head ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding: 8px 0 clamp(32px, 5vw, 56px); }
.page-head::before { content: ""; position: absolute; inset: 0 0 18% 0; background: linear-gradient(180deg, var(--tone-bg, var(--pink-50)) 0%, #fff 100%); z-index: -1; }
.page-head--pink { --tone-bg: var(--pink-50); --tone-blob: var(--pink-100); }
.page-head--blue { --tone-bg: var(--blue-50); --tone-blob: var(--blue-100); }
.page-head--yellow { --tone-bg: var(--yellow-50); --tone-blob: var(--yellow-100); }
.page-head--violet { --tone-bg: var(--violet-50); --tone-blob: #E2D9FF; }
.page-head--mint { --tone-bg: var(--mint-50); --tone-blob: #C9F3E8; }
.page-head__inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.page-head__text { min-width: 0; }
.page-title { margin: 6px 0 18px; font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; line-height: 1.06; letter-spacing: -.025em; color: var(--ink); }
.page-head__lead { font-size: 17px; color: var(--ink-2); max-width: 720px; margin-bottom: 22px; }
.page-head__lead > :last-child { margin-bottom: 0; }
.page-head__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.page-head__media { position: relative; isolation: isolate; display: grid; place-items: center; }
.page-head__media::before { content: ""; position: absolute; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--tone-blob, var(--pink-100)); z-index: -1; }
.page-head__art { width: 100%; max-width: 380px; height: auto; filter: drop-shadow(0 24px 30px rgba(25, 25, 39, .12)); }
.page-head__media--photo::before { display: none; }
.page-head__photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.page-head .breadcrumbs { padding-top: 14px; margin-bottom: 4px; }
.breadcrumbs p { margin: 0; }
.breadcrumbs span > span { color: var(--ink-2); }

.facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 6px; padding: 0; }
.facts__item { min-width: 150px; padding: 12px 18px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 900; color: var(--ink); }
.facts__item:last-child dd { color: var(--pink); }
.facts__note { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.facts + .page-head__actions, .facts__note + .page-head__actions { margin-top: 18px; }

/* Шапка услуги с баннером на всю ширину (ACF bg, как top-bg старой темы): текст поверх, слева затемнение */
.page-head--cover { display: flex; align-items: center; min-height: clamp(440px, 36vw, 560px); padding: 0; background: var(--footer); color: #fff; }
.page-head--cover::before { inset: 0; background: linear-gradient(90deg, rgba(25, 22, 48, .86) 0%, rgba(25, 22, 48, .7) 36%, rgba(25, 22, 48, .2) 70%, rgba(25, 22, 48, 0) 100%); }
.page-head__cover { position: absolute; inset: 0; z-index: -2; }
.page-head__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-head--cover .page-head__inner { width: 100%; grid-template-columns: minmax(0, 700px); padding-top: 10px; padding-bottom: clamp(32px, 4vw, 52px); }
.page-head--cover .page-title { color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .3); }
.page-head--cover .breadcrumbs, .page-head--cover .breadcrumbs a, .page-head--cover .breadcrumbs span > span { color: rgba(255, 255, 255, .86); }
.page-head--cover .breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.page-head--cover .facts__item { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .3); box-shadow: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.page-head--cover .facts dt { color: rgba(255, 255, 255, .78); }
.page-head--cover .facts dd { color: #fff; }
.page-head--cover .facts__item:last-child dd { color: var(--yellow); }
.page-head--cover .facts__note, .page-head--cover .page-head__lead { color: rgba(255, 255, 255, .86); }
.page-head--cover .btn--outline { --btn-fg: #fff; background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.page-head--cover .btn--outline:hover { --btn-fg: var(--blue); background: #fff; border-color: #fff; }

.section-title--sm { font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; color: var(--ink); margin-bottom: 22px; }
.section--listing { padding-top: clamp(28px, 4vw, 48px); }
.section--content { padding: clamp(28px, 4vw, 48px) 0; }
.section--seo { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.lead-note { padding: 16px 20px; border-radius: var(--r); background: #fff; border: 2px dashed var(--pink-100); }
.callback-band__sub { margin: 8px 0 0; font-weight: 600; opacity: .92; max-width: 640px; }

/* Content (the_content / ACF HTML) */
.single-content { max-width: 920px; font-size: 17px; }
.single-content img, .media-block img { max-width: 100%; height: auto; border-radius: var(--r); }
.media-block { max-width: 980px; }
.media-block p[style*="center"] { font-weight: 800; color: var(--ink); }
.video-embed, .media-block .wp-video, .single-content .wp-video { margin: 24px 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.video-embed iframe, .single-content iframe, .media-block iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-lg); }
.wp-video, .wp-video-shortcode { max-width: 100% !important; width: 100% !important; }
video { width: 100%; height: auto; border-radius: var(--r-lg); }

/* NextGEN галереи из контента */
.ngg-galleryoverview { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 20px 0 !important; }
.ngg-galleryoverview .ngg-gallery-thumbnail-box { width: auto !important; margin: 0 !important; float: none !important; }
.ngg-galleryoverview .ngg-gallery-thumbnail { margin: 0 !important; border: 0 !important; }
.ngg-galleryoverview .ngg-gallery-thumbnail a { display: block; border-radius: var(--r); overflow: hidden; }
.ngg-galleryoverview .ngg-gallery-thumbnail img { width: 100% !important; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 0 !important; padding: 0 !important; background: none !important; transition: transform .4s var(--ease); }
.ngg-galleryoverview .ngg-gallery-thumbnail a:hover img { transform: scale(1.05); }
.ngg-galleryoverview .ngg-clear, .ngg-navigation { grid-column: 1 / -1; }
.ngg-galleryoverview:has(.ngg-1-columns) { grid-template-columns: minmax(0, 820px); justify-content: center; }
.ngg-galleryoverview:has(.ngg-1-columns) .ngg-gallery-thumbnail img { aspect-ratio: auto; }
.ngg-galleryoverview:has(.ngg-2-columns) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ngg-galleryoverview:has(.ngg-3-columns) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ngg-galleryoverview:has(.ngg-4-columns) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 767px) { .ngg-galleryoverview:has(.ngg-3-columns), .ngg-galleryoverview:has(.ngg-4-columns) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Steps (ACF how) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.steps__item { display: grid; gap: 10px; padding: 20px; border-radius: var(--r); background: var(--bg-soft); }
.steps__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: 900; }

/* Price band */
.price-band { background: linear-gradient(120deg, var(--blue), #5BB4FF); color: #fff; }
.price-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
.price-band__text { margin: 0; font-size: clamp(22px, 2.8vw, 34px); font-weight: 900; line-height: 1.15; }
.price-band .btn--white { --btn-fg: var(--blue); }

/* Gallery (foto_1..6) */
.gallery { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.gallery__main { display: block; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: #fff; box-shadow: var(--shadow); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.gallery__thumb { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery__thumb:hover img { transform: scale(1.08); }
.gallery__info { display: grid; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
.price-card { display: grid; gap: 2px; padding: 22px 26px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--pink), #FF6FB1); color: #fff; box-shadow: var(--shadow-pink); }
.price-card__label { font-weight: 800; opacity: .9; }
.price-card__value { font-size: 32px; font-weight: 900; line-height: 1.1; }
.price-card__note { font-size: 14px; opacity: .9; }

/* Intro (ACF title + content + photo) */
.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.intro__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; color: var(--pink); line-height: 1.2; }
.intro__img { width: 100%; border-radius: var(--r-xl); box-shadow: var(--shadow); object-fit: cover; }

/* Q&A */
.qa { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.qa .section-title { font-size: clamp(26px, 2.8vw, 36px); }
.qa__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.qa__item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--bg-soft); }
.qa__item p { margin: 0; }
.qa__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--yellow); color: var(--ink); font-weight: 900; }

/* Included */
.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
.included__item { display: grid; justify-items: center; gap: 10px; text-align: center; font-weight: 800; color: var(--ink); }
.included__img { display: block; width: 132px; height: 132px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 6px var(--pink-50); }
.included__img img { width: 100%; height: 100%; object-fit: cover; }

/* SEO text */
.seo-text { position: relative; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: var(--bg-soft); }
.seo-text__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; color: var(--ink); line-height: 1.2; }
.seo-text--collapsible.is-collapsed .seo-text__body { max-height: 260px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.read-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 800; }
.read-toggle .icon { width: 18px; height: 18px; transition: transform .25s; }
.read-toggle__less, .seo-text.is-open .read-toggle__more { display: none; }
.seo-text.is-open .read-toggle__less { display: inline; }
.seo-text.is-open .read-toggle .icon { transform: rotate(180deg); }

/* Filters / tabs */
.chips--filter, .chips--tabs { margin-bottom: 28px; }
.chips--filter .chip, .chips--tabs .chip { border: 0; cursor: pointer; }
#filtering-results.is-loading { opacity: .4; pointer-events: none; transition: opacity .2s; }

/* Reviews page */
.review-form { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 48px); align-items: start; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-xl); background: linear-gradient(135deg, var(--violet-50), var(--pink-50)); }
.review-form__title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: var(--ink); line-height: 1.1; }
.review-form .lead-form { background: #fff; border-radius: var(--r-lg); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow-sm); }
.review-form .lead-form__fields { grid-template-columns: 1fr 1fr; }
.review-form .field--message, .review-form .lead-form__submit { grid-column: 1 / -1; }
.review-wall { columns: 3 320px; column-gap: 20px; }
.review--wall { display: grid; grid-template-columns: 1fr; width: auto; break-inside: avoid; margin-bottom: 20px; }
.review--wall .review__shot { aspect-ratio: auto; max-height: none; }
.review--wall .review__shot img { height: auto; }
.review__text--full { -webkit-line-clamp: unset; display: block; }
.review__author { margin: 10px 0 0; font-weight: 800; color: var(--ink); }

/* Promo (акции) */
.promo-list { display: grid; gap: 22px; }
.promo { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); border-radius: var(--r-xl); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }
.promo__body { padding: clamp(20px, 3vw, 36px); }
.promo__date { display: inline-block; padding: 4px 12px; border-radius: var(--pill); background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 14px; }
.promo__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; color: var(--ink); margin: 10px 0; line-height: 1.15; }

/* About */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team__item { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 24px 16px; border-radius: var(--r-lg); background: var(--bg-soft); }
.team__photo { display: block; width: 150px; height: 150px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 6px #fff, 0 10px 24px rgba(25, 25, 39, .1); margin-bottom: 12px; }
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__name { font-size: 20px; font-weight: 900; color: var(--ink); }
.team__role { color: var(--muted); font-weight: 700; }
.history-lead { max-width: 860px; margin-bottom: 32px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline__item { position: relative; padding: 24px 20px 20px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.timeline__item::before { content: ""; position: absolute; top: -7px; left: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 5px var(--pink-100); }
.timeline__year { display: block; font-size: 26px; font-weight: 900; color: var(--pink); margin-bottom: 6px; }
.timeline__item p { margin: 0; font-size: 15px; }
.numbers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.numbers__item { display: grid; justify-items: center; align-content: center; gap: 6px; aspect-ratio: 1; padding: 20px; border-radius: 50%; text-align: center; font-weight: 700; color: var(--ink-2); }
.numbers__item strong { font-size: clamp(40px, 5vw, 60px); font-weight: 900; line-height: 1; }
.numbers__item--0 { background: var(--pink-50); }
.numbers__item--0 strong { color: var(--pink); }
.numbers__item--1 { background: var(--blue-50); }
.numbers__item--1 strong { color: var(--blue); }
.numbers__item--2 { background: var(--yellow-50); }
.numbers__item--2 strong { color: #E19B00; }
.numbers__item--3 { background: var(--mint-50); }
.numbers__item--3 strong { color: var(--mint); }

/* Contacts page */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.contact-tile { display: grid; align-content: start; gap: 6px; padding: 24px; border-radius: var(--r-lg); background: var(--bg-soft); color: var(--ink-2); }
.contact-tile strong { color: var(--ink); font-size: 17px; }
.contact-tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #fff; color: var(--pink); margin-bottom: 8px; box-shadow: var(--shadow-sm); }
.contact-tile--accent { background: linear-gradient(135deg, var(--pink), #FF6FB1); color: #fff; }
.contact-tile--accent a { color: #fff; text-decoration: underline; }
.contact-tile__phone { font-size: 22px; font-weight: 900; text-decoration: none !important; }
.contact-social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 26px; font-weight: 700; }
.contact-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.contact-photos__img { width: 100%; height: auto; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4 / 3; }

/* Generic post list */
.post-list { display: grid; gap: 18px; }
.post-row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); }
.post-row__media img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.post-row__title { font-size: 22px; font-weight: 900; margin-bottom: 8px; }
.post-row__title a { color: var(--ink); }

/* Inner pages — responsive */
@media (max-width: 980px) {
    .page-head__inner { grid-template-columns: 1fr; }
    .page-head__media { order: -1; max-width: 300px; margin: 0 auto; }
    .page-head__media--photo { max-width: none; order: 0; }
    .page-head__art { max-width: 240px; }
    .gallery, .intro, .qa, .review-form { grid-template-columns: 1fr; }
    .gallery__info { position: static; }
    .team, .timeline, .numbers, .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .promo { grid-template-columns: 1fr; }
    .price-band__inner { flex-direction: column; text-align: center; }
    .post-row { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .page-title { font-size: clamp(28px, 8vw, 38px); }
    .page-head__actions .btn { flex: 1 1 100%; }
    .page-head--cover { min-height: 0; }
    .page-head--cover::before { background: linear-gradient(180deg, rgba(25, 22, 48, .55) 0%, rgba(25, 22, 48, .82) 100%); }
    /* Постеры-иллюстрации: под затемнением и текстом героев не видно — на телефоне картинка отдельной полосой сверху */
    .page-head--poster { flex-direction: column; align-items: stretch; }
    .page-head--poster::before { display: none; }
    .page-head--poster .page-head__cover { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
    .page-head--poster .page-head__inner { padding-top: 16px; }
    .facts__item { min-width: 0; flex: 1 1 calc(50% - 12px); padding: 10px 14px; }
    .facts dd { font-size: 16px; }
    .gallery__thumbs { gap: 6px; }
    .review-form .lead-form__fields { grid-template-columns: 1fr; }
    .contact-photos { grid-template-columns: 1fr; }
    .numbers { gap: 12px; }
    .numbers__item { aspect-ratio: auto; border-radius: var(--r-lg); padding: 22px 12px; }
    .timeline, .contact-grid { grid-template-columns: 1fr; }
    .team { gap: 12px; }
    .team__photo { width: 110px; height: 110px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
