/* ===== Happy Person — основа ===== */
:root{
  --ink:#2F3234; --ink-2:#4A4D50; --muted:#5C5F62; --muted-2:#6D6F71;
  --accent:#8CC63F; --accent-dark:#6FA22C; --soft:#F1F6EA; --line:#DFE6D6; --dash:#B8C2AE;
  --warn-bg:#FDF1EC; --warn:#D9653B;
  --radius:16px; --wrap:1200px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:'Onest',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--ink);background:#fff;font-size:17px;line-height:1.6}
img{max-width:100%;height:auto}
a{color:var(--ink)}
a:hover{color:var(--ink-2)}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.hp-skip{position:absolute;left:-999px;top:8px;background:#fff;padding:8px 12px;z-index:100}
.hp-skip:focus{left:8px}
.hp-wrap{max-width:var(--wrap);margin:0 auto;padding-left:24px;padding-right:24px}

/* Кнопки */
.hp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border-radius:12px;font-weight:600;font-size:16px;text-decoration:none;border:0;cursor:pointer;font-family:inherit;line-height:1.2;text-align:center}
.hp-btn--sm{min-height:44px;padding:0 18px;font-size:15px;border-radius:10px}
.hp-btn--block{display:flex;width:100%}
.hp-btn--accent{background:var(--accent);color:var(--ink)}
.hp-btn--accent:hover{background:#7DB834;color:var(--ink)}
.hp-btn--dark{background:var(--ink);color:#fff}
.hp-btn--dark:hover{background:#45494c;color:#fff}
.hp-btn--outline{border:1.5px solid var(--ink);color:var(--ink);background:transparent}
.hp-btn--ghost-light{border:1.5px solid #fff;color:#fff;background:transparent}
.hp-btn--ghost-light:hover{background:rgba(255,255,255,.1);color:#fff}

/* Шапка */
.hp-header{border-bottom:1px solid var(--line);background:#fff;position:relative;z-index:20}
.hp-topbar{background:var(--soft);font-size:14px;color:var(--ink-2)}
.hp-topbar__in{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 24px;padding-top:8px;padding-bottom:8px}
.hp-topbar__phone{font-weight:600;font-size:15px;text-decoration:none}
.hp-hdr{display:flex;align-items:center;gap:28px;padding-top:16px;padding-bottom:16px}
.hp-logo{display:block;height:40px;flex:0 1 auto;min-width:0}
.hp-logo svg{display:block;height:100%;width:auto;max-width:100%}
.hp-nav{flex:1 1 auto;min-width:0}
.hp-nav__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:nowrap;gap:4px 6px;white-space:nowrap}
.hp-nav__list>li{position:relative}
.hp-nav__list a{display:block;padding:10px;text-decoration:none;font-size:15px;border-radius:10px}
.hp-nav__list a:hover,.hp-nav__list .current-menu-item>a{background:var(--soft)}
.hp-nav__list .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:280px;list-style:none;margin:0;padding:8px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(47,50,52,.12);white-space:normal}
.hp-nav__list li:hover>.sub-menu,.hp-nav__list li:focus-within>.sub-menu{display:block}
.hp-hdr__actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex:0 0 auto}
.hp-hdr__tel{display:none}
.hp-burger{display:none;width:44px;height:44px;border-radius:10px;border:1.5px solid #8A8E91;background:#fff;color:var(--ink);align-items:center;justify-content:center;cursor:pointer;padding:0}
.hp-mobile-nav{border-top:1px solid var(--line);padding:16px 0 24px;background:#fff}
.hp-mobile-nav__list{list-style:none;margin:0 0 16px;padding:0}
.hp-mobile-nav__list a{display:block;padding:12px 0;font-size:18px;text-decoration:none;border-bottom:1px solid var(--line)}
.hp-mobile-nav__list .sub-menu{list-style:none;padding-left:16px;margin:0}
.hp-mobile-nav__list .sub-menu a{font-size:16px}
.hp-mobile-nav__phone{display:block;text-align:center;margin-top:14px;font-weight:600;font-size:18px;text-decoration:none}
@media (max-width:1240px){
  .hp-nav{display:none}
  .hp-burger{display:inline-flex}
}
@media (max-width:760px){
  .hp-topbar{display:none}
  .hp-hdr{padding:10px 16px;gap:10px}
  .hp-logo{height:32px}
  .hp-hdr__cta{display:none}
  .hp-hdr__tel{display:inline-flex;width:44px;height:44px;border-radius:10px;border:1.5px solid #8A8E91;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232F3234' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/20px no-repeat}
  .hp-wrap{padding-left:16px;padding-right:16px}
}

/* Типографика */
.hp-h1{margin:0 0 18px;font-size:44px;line-height:1.12;font-weight:700;letter-spacing:-.02em}
.hp-h2{margin:0 0 24px;font-size:32px;line-height:1.15;font-weight:700}
.hp-lead{margin:0 0 24px;font-size:20px;line-height:1.6;color:var(--muted)}
.hp-kicker{display:block;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted-2);margin-bottom:8px}
.hp-crumbs{padding-top:20px;font-size:14px;color:var(--muted-2)}
.hp-crumbs a{color:var(--muted-2)}
@media (max-width:760px){.hp-h1{font-size:30px;line-height:1.15;hyphens:manual;overflow-wrap:break-word}.hp-h2{font-size:26px}.hp-lead{font-size:18px}}

/* Шапка статьи */
.hp-art-head{padding-top:32px}
.hp-art-head__in{max-width:780px}
.hp-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.hp-chip{display:inline-flex;align-items:center;min-height:32px;padding:0 14px;border-radius:999px;background:var(--soft);text-decoration:none;font-size:14px;font-weight:600}
.hp-plaque{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;padding:18px 22px;border-radius:var(--radius);background:var(--soft)}
.hp-plaque__text{flex:1 1 360px;min-width:0;font-size:16px;line-height:1.5}
.hp-plaque__btns{display:flex;flex-wrap:wrap;gap:10px}
.hp-art-meta{margin-top:14px;font-size:14px;color:var(--muted-2)}

/* Сетка статьи */
.hp-art-grid{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;padding-top:36px;padding-bottom:72px}
.hp-art{flex:1 1 640px;max-width:780px;min-width:0}
.hp-art-side{flex:0 1 320px;min-width:260px;position:sticky;top:24px;display:flex;flex-direction:column;gap:20px}
.hp-toc{border:1px solid var(--line);border-radius:var(--radius);padding:22px 26px;margin-bottom:32px}
.hp-toc__title{font-weight:700;font-size:18px;margin-bottom:12px}
.hp-toc ol{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:17px;line-height:1.45}
.hp-art__cover{margin:0 0 8px}
.hp-art__cover img{display:block;width:100%;border-radius:20px}
.hp-side-card{border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}
.hp-side-card--accent{background:var(--soft);border-color:var(--soft)}
.hp-side-card--accent p{margin:0 0 16px;font-size:15px;line-height:1.55;color:var(--muted)}
.hp-side-card--accent .hp-btn+.hp-btn{margin-top:10px}
.hp-side-card__title{font-weight:700;font-size:20px;line-height:1.3;margin-bottom:8px}
.hp-side-card__sub{font-weight:700;font-size:16px;margin-bottom:10px}
.hp-side-links{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;font-size:15px}
.hp-disclaimer{margin:36px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--muted-2)}
@media (max-width:1040px){.hp-art-side{position:static;flex:1 1 100%}}

/* Текст статьи */
.hp-content{font-size:18px;line-height:1.75}
.hp-content>*:first-child{margin-top:0}
.hp-content p{margin:0 0 20px}
.hp-content h2{margin:44px 0 16px;font-size:30px;line-height:1.2;font-weight:700;scroll-margin-top:24px}
.hp-content h3{margin:32px 0 12px;font-size:22px;line-height:1.3;font-weight:700}
.hp-content h4{margin:24px 0 10px;font-size:19px}
.hp-content ul,.hp-content ol{margin:0 0 20px;padding-left:24px}
.hp-content li{margin-bottom:8px}
.hp-content img{border-radius:16px}
.hp-content figure{margin:28px 0}
.hp-content figcaption{margin-top:10px;font-size:15px;color:var(--muted);text-align:left}
.hp-content blockquote{margin:28px 0;padding:0 0 0 24px;border-left:3px solid var(--accent);font-size:21px;line-height:1.55}
.hp-content blockquote p{margin:0}
.hp-content table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:16px}
.hp-content td,.hp-content th{border:1px solid var(--line);padding:10px 12px;text-align:left}
.hp-content .hp-video{margin:32px 0}
.hp-content .hp-video>div{border-radius:20px;overflow:hidden;background:var(--soft)}
.hp-content .wp-block-group.has-background{margin:36px 0}
.hp-content .wp-block-group.has-background h2{margin-top:0;font-size:24px}
.hp-content .wp-block-group.has-background>*:last-child{margin-bottom:0}
.hp-content .aligncenter{margin-left:auto;margin-right:auto;display:block}
.hp-content .alignleft{float:left;margin:4px 24px 16px 0}
.hp-content .alignright{float:right;margin:4px 0 16px 24px}
@media (max-width:760px){.hp-content{font-size:17px}.hp-content h2{font-size:25px}.hp-content .alignleft,.hp-content .alignright{float:none;margin:16px 0}}

/* Услуги */
.hp-section{padding-top:0;padding-bottom:72px}
.hp-band{background:var(--soft)}
.hp-band .hp-section{padding-top:64px;padding-bottom:64px}
.hp-section__head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px}
.hp-section__head .hp-h2{margin:0}
.hp-svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.hp-svc{display:block;text-decoration:none;border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:#fff}
.hp-svc:hover{border-color:var(--accent)}
.hp-svc__title{display:block;font-weight:700;font-size:20px;margin-bottom:8px}
.hp-svc__desc{display:block;font-size:15px;line-height:1.55;color:var(--muted)}

/* Карточки статей */
.hp-cards{display:grid;gap:20px}
.hp-cards--3{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.hp-card{background:#fff;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column}
.hp-band .hp-card{border-color:#fff}
.hp-card__img{display:block;position:relative;overflow:hidden;aspect-ratio:16/10;background:var(--line)}
.hp-card__img img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;object-fit:cover}
.hp-card__body{padding:18px 20px 22px}
.hp-card__meta{font-size:13px;color:var(--muted-2);margin-bottom:6px}
.hp-card__title{margin:0;font-size:18px;line-height:1.35;font-weight:600}
.hp-card__title a{text-decoration:none}
.hp-archive{padding-top:40px;padding-bottom:72px}
.hp-pager{margin-top:32px}
/* Частые вопросы и кнопка записи в статьях */
.hp-art-faq{background:var(--soft);border-radius:var(--radius);padding:24px 28px 8px;margin:36px 0}
.hp-art-faq>h2:first-child{margin-top:0}
.hp-art-faq h3{margin-top:18px}
.hp-post-cta{margin:28px 0}
.hp-post-cta .hp-btn,.hp-post-cta .hp-btn:hover{text-decoration:none;color:var(--ink)}
@media (max-width:760px){.hp-art-faq{padding:18px 18px 4px;margin:28px 0}.hp-post-cta .hp-btn{display:flex;width:100%}}
/* Рубрики блога */
.hp-blogcats{display:flex;flex-direction:column;gap:10px;margin:-8px 0 32px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.hp-blogcats__row{display:flex;align-items:flex-start;gap:12px}
.hp-blogcats__label{flex:0 0 92px;padding-top:7px;font-size:13px;font-weight:600;color:var(--muted-2);text-transform:uppercase;letter-spacing:.04em}
.hp-blogcats__chips{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.hp-blogcats .hp-chip{font-weight:500;color:var(--ink);transition:background .15s,color .15s}
.hp-blogcats .hp-chip:hover{background:var(--line)}
.hp-blogcats .hp-chip.is-active{background:var(--accent);color:var(--ink);font-weight:600}
@media (max-width:760px){.hp-blogcats{padding:14px 0;border:0;border-radius:0;background:none}.hp-blogcats__row{flex-direction:column;gap:6px}.hp-blogcats__label{flex:none;padding-top:0}.hp-blogcats__chips{flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.hp-blogcats__chips::-webkit-scrollbar{display:none}.hp-blogcats .hp-chip{flex:0 0 auto;white-space:nowrap}}
.hp-pager .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border-radius:10px;text-decoration:none}
.hp-pager .current{background:var(--soft);font-weight:700}
.hp-page{padding-top:32px;padding-bottom:72px;max-width:900px}

/* Блок записи и подвал */
.hp-zapis{background:var(--ink);color:#fff}
.hp-zapis__in{display:flex;flex-wrap:wrap;gap:40px 80px;padding-top:80px;padding-bottom:80px}
.hp-zapis__main{flex:1 1 420px;min-width:0}
.hp-zapis__title{margin:0 0 16px;font-size:40px;line-height:1.15;font-weight:700}
.hp-zapis__lead{margin:0 0 28px;font-size:18px;line-height:1.55;color:var(--line);max-width:30em}
.hp-zapis__btns{display:flex;flex-wrap:wrap;gap:12px}
.hp-zapis__contacts{flex:1 1 280px;min-width:0;font-size:17px;line-height:1.7}
.hp-zapis__contacts a{color:#fff}
.hp-zapis__phone{display:block;font-size:26px;font-weight:600;margin-bottom:12px;text-decoration:none}
.hp-checks{list-style:none;margin:24px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px 28px;font-size:15px}
.hp-checks li{position:relative;padding-left:26px}
.hp-checks li::before{content:"";position:absolute;left:0;top:4px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CC63F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat}
.hp-footer{font-size:14px;line-height:1.6;color:var(--muted)}
.hp-footer__in{display:flex;flex-wrap:wrap;gap:8px 32px;padding-top:28px;padding-bottom:28px}
.hp-footer a{color:var(--muted)}
@media (max-width:760px){.hp-zapis__title{font-size:30px}.hp-zapis__in{padding-top:56px;padding-bottom:56px}}

/* Панель администратора: длинное приветствие переносилось на вторую строку и наезжало на телефон в шапке */
#wpadminbar #wp-admin-bar-my-account .display-name{display:none}

/* Кнопка звонка: на телефоне «Позвонить», на компьютере — сам номер (звонить с компьютера обычно нечем) */
.hp-only-desk{display:none}
@media (hover:hover) and (pointer:fine){.hp-only-touch{display:none}.hp-only-desk{display:inline}}

/* Меню: выпадающие пункты */
.hp-nav__list .menu-item-has-children>a::after{content:"";display:inline-block;width:7px;height:7px;margin-left:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-3px) rotate(45deg)}
.hp-nav__list .sub-menu a{padding:11px 14px;font-size:15px;line-height:1.35}
.hp-nav__list .sub-menu li{display:block}
.hp-mobile-nav__list .menu-item-has-children>a{font-weight:600}
.hp-mobile-nav__list a[href="#"]{pointer-events:none;color:var(--muted-2);font-size:14px;letter-spacing:.04em;text-transform:uppercase;border-bottom:0;padding-bottom:4px}

/* Страница услуги */
.hp-kicker--lg{font-size:15px}
.hp-hero{display:flex;flex-wrap:wrap;gap:48px;align-items:center;padding-top:40px;padding-bottom:64px}
.hp-hero__text{flex:1 1 520px;min-width:0}
.hp-hero__title{font-size:48px;line-height:1.1;max-width:16ch}
.hp-hero__btns{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px}
.hp-hero__note{margin:0;font-size:15px;color:var(--muted)}
.hp-hero .hp-checks{color:var(--ink)}
.hp-hero__img{flex:1 1 360px;min-width:0;margin:0}
.hp-hero__img img{display:block;width:100%;height:400px;object-fit:cover;border-radius:20px}
.hp-svc-body{padding-bottom:64px}
.hp-content--page{max-width:820px}
.hp-spec-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}
.hp-spec{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;gap:12px}
.hp-spec__head{display:flex;gap:14px;align-items:center;text-decoration:none}
.hp-spec__ava{flex:0 0 56px;width:56px;height:56px;border-radius:50%;background:var(--soft);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:18px;color:var(--ink-2);overflow:hidden}
.hp-spec__ava img{width:100%;height:100%;object-fit:cover}
.hp-spec__name{font-weight:600;font-size:17px;line-height:1.3}
.hp-spec__role{margin:0;font-size:15px;line-height:1.5;color:var(--muted)}
.hp-spec__more{text-align:center;font-size:15px;font-weight:600}
.hp-fmt{display:flex;flex-wrap:wrap;gap:6px;flex:1 1 auto;align-content:flex-start}
.hp-fmt__chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:4px 10px;border-radius:999px;border:1.5px solid var(--accent)}
.hp-fmt__chip::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}
.hp-price-sec{padding-top:72px}
.hp-price{background:var(--soft);border-radius:20px;padding:36px 40px;display:flex;flex-wrap:wrap;gap:24px 48px;align-items:center}
.hp-price__text{flex:1 1 460px;min-width:0}
.hp-price__text .hp-h2{font-size:30px;margin-bottom:14px}
.hp-checks--col{flex-direction:column;margin-top:0;font-size:17px}
.hp-price__cta{flex:0 1 auto}
@media (max-width:760px){.hp-hero__title{font-size:30px}.hp-hero{gap:28px;padding-top:24px;padding-bottom:40px}.hp-hero__img img{height:260px}.hp-price{padding:24px 20px}}

.hp-hero--noimg .hp-hero__title{max-width:24ch}
.hp-hero--noimg .hp-lead{max-width:40em}

/* Страница специалиста */
.hp-spec-hero{display:flex;flex-wrap:wrap;gap:48px;align-items:flex-start;padding-top:40px;padding-bottom:64px}
.hp-spec-hero__photo{flex:0 1 380px;min-width:260px}
.hp-spec-hero__photo img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:top;border-radius:20px;background:var(--soft)}
.hp-spec-hero__text{flex:1 1 480px;min-width:0}
.hp-spec-hero__fmt{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}
.hp-spec-hero__label{font-size:14px;color:var(--muted)}
.hp-fmt__chip--lg{font-size:14px;padding:7px 14px}
.hp-spec-hero .hp-chips{margin-bottom:22px}
.hp-spec-hero .hp-chip{font-weight:500;cursor:default}
.hp-spec-hero__intro{margin:0 0 24px;font-size:17px;line-height:1.65;color:var(--muted)}
.hp-topic-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px}
.hp-topic-group{margin:28px 0 14px;font-size:20px;font-weight:600}
.hp-topic-group:first-of-type{margin-top:0}
.hp-topic{background:#fff;border-radius:var(--radius);padding:22px}
.hp-topic h3{margin:0 0 8px;font-size:18px;font-weight:600}
.hp-topic p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
.hp-spec-body{padding-top:56px}
@media (max-width:760px){.hp-spec-hero{gap:24px;padding-top:20px}.hp-spec-hero__photo{flex:1 1 100%}.hp-spec-hero__photo img{max-height:420px}}

/* Главная */
.hp-home-hero__title{font-size:52px;line-height:1.08;max-width:14ch}
.hp-home-hero .hp-hero__btns .hp-btn{min-height:54px}
.hp-section--top{padding-top:72px}
.hp-h2--tight{margin-bottom:10px}
.hp-section__lead{margin:0 0 24px;font-size:17px;color:var(--muted)}
.hp-section__hint{margin:24px 0 0;font-size:15px;color:var(--muted)}
.hp-seg{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.hp-seg__btn,.hp-filter__chips button{padding:9px 16px;border-radius:999px;font-size:15px;cursor:pointer;min-height:44px;background:#fff;color:var(--ink);border:1.5px solid #8A8E91;font-weight:500;font-family:inherit}
.hp-seg__btn[aria-pressed="true"],.hp-filter__chips button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink);font-weight:600}
.hp-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.hp-topic-btn{display:block;width:100%;text-align:left;padding:18px 22px;border-radius:14px;font-size:18px;line-height:1.35;cursor:pointer;min-height:72px;color:var(--ink);background:#fff;border:2px solid #fff;font-weight:500;font-family:inherit}
.hp-topic-btn[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);font-weight:600}
.hp-matches{margin-top:32px}
.hp-podbor-help{margin-top:20px;display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
.hp-podbor-help p{margin:0;font-size:15px;color:var(--muted)}
.hp-podbor-help a:not(.hp-btn){color:var(--ink);font-weight:600;white-space:nowrap}
.hp-podbor-help .hp-btn{min-height:44px}
.hp-matches__title{margin:0 0 16px;font-size:22px}
.hp-spec-grid--3{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.hp-filters{display:flex;flex-direction:column;gap:14px;margin-bottom:12px}
.hp-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.hp-filter__label{min-width:110px;font-size:14px;font-weight:600;color:var(--muted-2)}
.hp-filter__chips{display:flex;flex-wrap:wrap;gap:8px}
.hp-filters__count{margin:16px 0;font-size:14px;color:var(--muted-2)}
.hp-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:40px}
.hp-step__n{width:48px;height:48px;border-radius:50%;background:var(--accent);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:20px;margin-bottom:18px}
.hp-step h3{margin:0 0 10px;font-size:21px;font-weight:600}
.hp-step p{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}
.hp-why{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:36px}
.hp-why h3{margin:0 0 10px;font-size:20px;font-weight:600}
.hp-why p{margin:0;font-size:16px;line-height:1.6;color:var(--muted)}
@media (max-width:760px){.hp-home-hero__title{font-size:32px}.hp-topic-btn{font-size:16px;min-height:60px}.hp-filter__label{min-width:0;width:100%}}

/* Ровные ряды карточек специалистов */
@media (min-width:1041px){
.hp-spec-grid.hp-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}
.hp-spec-grid.hp-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hp-spec-grid.hp-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hp-topic-grid.hp-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hp-topic-grid.hp-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hp-topic-grid.hp-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Каталог специалистов */
.hp-cat-hero{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:32px;align-items:end;padding-top:24px;padding-bottom:8px}
.hp-cat-hero .hp-lead{margin-bottom:0;max-width:40em}
.hp-cat-facts{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.hp-cat-facts li{padding:8px 14px;border-radius:999px;background:var(--soft);font-size:15px;font-weight:500}
.hp-cat-help{background:var(--ink);color:#fff;border-radius:20px;padding:24px}
.hp-cat-help__title{font-size:20px;font-weight:600;margin-bottom:8px}
.hp-cat-help p{margin:0 0 18px;font-size:15px;line-height:1.55;color:#DFE6D6}
.hp-cat-help__btns{display:flex;flex-wrap:wrap;gap:10px}
.hp-btn--ghost-light{border:1.5px solid #fff;color:#fff;background:transparent}
.hp-btn--ghost-light:hover{background:rgba(255,255,255,.1);color:#fff}
.hp-btn--line{border:1.5px solid var(--line);color:var(--ink);background:#fff}
.hp-btn--line:hover{background:var(--soft)}
.hp-cat-filters-wrap{padding-top:24px}
.hp-cat-filters{background:#F7FAF3;border:1px solid var(--line);border-radius:20px;padding:18px 20px;display:flex;flex-direction:column;gap:14px}
.hp-cat-filters .hp-filter{flex-wrap:nowrap;align-items:flex-start}
.hp-cat-filters .hp-filter__label{min-width:120px;flex:0 0 120px;padding-top:10px}
.hp-cat-filters .hp-filter__chips{flex-wrap:wrap}
.hp-cat-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}
.hp-cat-bar p{margin:0;font-size:15px;color:var(--muted-2)}
.hp-cat-reset{border:0;background:transparent;font:inherit;font-size:15px;font-weight:600;color:var(--ink);text-decoration:underline;cursor:pointer;padding:6px 8px;border-radius:8px}
.hp-cat-list{padding-top:8px;padding-bottom:64px}
.hp-cat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.hp-cat-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s}
.hp-cat-card:hover{box-shadow:0 14px 40px rgba(47,50,52,.10);transform:translateY(-2px)}
.hp-cat-card[hidden]{display:none}
.hp-cat-card__photo{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;background:linear-gradient(160deg,#E8F1DC,#fff);text-decoration:none}
.hp-cat-card__photo img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.hp-cat-card__photo span{font-size:44px;font-weight:700;color:rgba(47,50,52,.55)}
.hp-cat-card__body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:8px;flex:1}
.hp-cat-card__role{font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted-2);line-height:1.35}
.hp-cat-card__name{margin:0;font-size:19px;line-height:1.25;font-weight:600}
.hp-cat-card__name a{text-decoration:none}
.hp-cat-card__btns{margin-top:auto;padding-top:12px;display:flex;gap:8px}
.hp-cat-card__btns .hp-btn:first-child{flex:1}
.hp-cat-empty{padding:40px 24px;text-align:center;background:#F7FAF3;border-radius:20px}
.hp-cat-empty__title{font-size:20px;font-weight:600;margin-bottom:8px}
.hp-cat-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.hp-cat-info>div{background:#fff;border-radius:20px;padding:24px}
.hp-cat-info h3{margin:0 0 8px;font-size:18px;font-weight:600}
.hp-cat-info p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
@media (max-width:1040px){.hp-cat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hp-cat-hero{grid-template-columns:1fr}}
@media (max-width:760px){.hp-cat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.hp-cat-info{grid-template-columns:1fr}.hp-cat-card__btns{flex-direction:column}.hp-cat-card__name{font-size:17px}.hp-cat-filters .hp-filter{flex-wrap:wrap}.hp-cat-filters .hp-filter__label{min-width:0;flex:1 1 100%;padding-top:0}}
@media (max-width:420px){.hp-cat-grid{grid-template-columns:1fr}}

/* Разделы «Детям» / «Взрослым» */
.hp-section__sub{margin:-8px 0 24px;color:var(--muted)}
.hp-hub-result{margin-top:20px;background:#fff;border-radius:16px;padding:20px 22px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;border:2px solid var(--accent)}
.hp-hub-result__label{font-weight:600}
.hp-hub-result__links{display:flex;flex-wrap:wrap;gap:8px 16px;flex:1 1 auto}
.hp-hub-result__link{font-weight:600}
.hp-hub-svc{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
@media (min-width:1041px){.hp-hub-svc.hp-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.hp-hub-svc.hp-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
.hp-svc{display:flex;flex-direction:column}
.hp-svc__more{margin-top:auto;padding-top:14px;font-weight:600;font-size:15px}
.hp-faq{max-width:860px}
.hp-faq__item{border-bottom:1px solid var(--line)}
.hp-faq__item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:16px;padding:18px 0;font-weight:600;font-size:18px}
.hp-faq__item summary::-webkit-details-marker{display:none}
.hp-faq__plus{font-size:24px;line-height:1;transition:transform .2s}
.hp-faq__item[open] .hp-faq__plus{transform:rotate(45deg)}
.hp-faq__item p{margin:0 0 18px;color:var(--muted)}

/* Контакты */
.hp-ct-head{padding-top:24px}
.hp-ct-head .hp-lead{margin-bottom:0;max-width:40em}
.hp-ct-grid{display:grid;grid-template-columns:400px minmax(0,1fr);gap:24px;padding-top:28px;padding-bottom:56px}
.hp-ct-card{background:var(--ink);color:#fff;border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:18px;font-size:16px;line-height:1.6}
.hp-ct-card a{color:#fff}
.hp-ct-card__label{font-size:14px;color:#B8C2AE;margin-bottom:4px}
.hp-ct-card__phone{font-size:28px;font-weight:700;text-decoration:none}
.hp-ct-card__note{font-size:14px;color:#DFE6D6}
.hp-ct-card__btns{display:flex;flex-wrap:wrap;gap:8px}
.hp-ct-card__btns .hp-btn--accent{color:var(--ink)}
.hp-ct-card__row{border-top:1px solid #4A4D50;padding-top:18px}
.hp-ct-card__end{margin-top:auto}
.hp-ct-map{position:relative;border-radius:20px;overflow:hidden;min-height:440px;border:1px solid var(--line);background:var(--soft)}
.hp-ct-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.hp-ct-map__btns{position:absolute;left:16px;bottom:16px;display:flex;flex-wrap:wrap;gap:8px}
.hp-ct-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
@media (max-width:1100px) and (min-width:901px){.hp-ct-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hp-ct-steps article{background:#fff;border-radius:20px;overflow:hidden}
.hp-ct-steps img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.hp-ct-steps article>div{padding:20px 22px 24px}
.hp-ct-step{width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;margin-bottom:12px}
.hp-ct-steps h3,.hp-ct-two h3{margin:0 0 6px;font-size:19px}
.hp-ct-steps p,.hp-ct-two p{margin:0;font-size:15px;line-height:1.55;color:var(--muted)}
.hp-ct-two{margin-top:20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hp-ct-two>div{background:#fff;border-radius:20px;padding:24px}
@media (max-width:900px){.hp-ct-grid,.hp-ct-steps,.hp-ct-two{grid-template-columns:1fr}.hp-ct-map{min-height:360px}}

/* Цены */
.hp-pr-head{padding-top:24px}
.hp-pr-head .hp-lead{max-width:42em}
.hp-pr-chips{margin-top:8px}
.hp-pr-count{margin:14px 0 0;font-size:15px;color:var(--muted-2)}
.hp-pr-body{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start;padding-top:12px;padding-bottom:56px}
.hp-pr-list{display:flex;flex-direction:column;gap:14px}
.hp-pr-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.hp-pr-card[hidden]{display:none}
.hp-pr-card summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:16px;padding:20px 22px}
.hp-pr-card summary::-webkit-details-marker{display:none}
.hp-pr-card[open] summary{background:#F7FAF3}
.hp-pr-card__t{flex:1 1 auto;min-width:0}
.hp-pr-card__title{display:block;font-size:20px;font-weight:600;line-height:1.3}
.hp-pr-card__sub{display:block;margin-top:4px;font-size:15px;color:var(--muted)}
.hp-pr-card__from{flex:0 0 auto;font-size:18px;font-weight:600;white-space:nowrap}
.hp-pr-card__arr{flex:0 0 auto;width:10px;height:10px;border-right:2px solid var(--ink);border-bottom:2px solid var(--ink);transform:rotate(45deg);margin:-4px 4px 0;transition:transform .2s}
.hp-pr-card[open] .hp-pr-card__arr{transform:rotate(-135deg);margin-top:4px}
.hp-pr-card__body{padding:4px 22px 20px}
.hp-pr-group{margin-top:14px}
.hp-pr-group__title{font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted-2);margin-bottom:6px}
.hp-pr-row{display:flex;gap:16px;justify-content:space-between;align-items:baseline;padding:10px 0;border-bottom:1px dashed var(--line);font-size:16px;line-height:1.45}
.hp-pr-row b{flex:0 0 auto;white-space:nowrap}
.hp-pr-card__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.hp-pr-aside{display:flex;flex-direction:column;gap:14px;position:sticky;top:20px}
.hp-pr-aside>div{background:var(--soft);border-radius:16px;padding:22px}
.hp-pr-aside h3{margin:0 0 8px;font-size:19px}
.hp-pr-aside p{margin:0;font-size:15px;line-height:1.55;color:var(--ink-2)}
@media (max-width:900px){.hp-pr-body{grid-template-columns:1fr}.hp-pr-aside{position:static}.hp-pr-card summary{flex-wrap:wrap}.hp-pr-row{flex-direction:column;gap:2px}.hp-pr-row b{white-space:normal}}

/* О центре */
.hp-ab-head{padding-top:24px}
.hp-ab-head .hp-lead{max-width:42em}
.hp-ab-slider{padding-top:24px;padding-bottom:48px}
.hp-ab-count{font-size:15px;color:var(--muted-2)}
.hp-ab-stage{position:relative;border-radius:20px;overflow:hidden;background:var(--soft)}
.hp-ab-slide{margin:0}
.hp-ab-slide[hidden]{display:none}
.hp-ab-slide img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.hp-ab-slide figcaption{position:absolute;left:16px;bottom:16px;background:rgba(255,255,255,.92);padding:8px 14px;border-radius:10px;font-size:15px;font-weight:500}
.hp-ab-arrow{position:absolute;top:50%;width:48px;height:48px;margin-top:-24px;border-radius:50%;border:0;background:rgba(255,255,255,.92);cursor:pointer;box-shadow:0 4px 14px rgba(47,50,52,.15)}
.hp-ab-arrow::before{content:"";position:absolute;left:50%;top:50%;width:12px;height:12px;border-right:2.5px solid var(--ink);border-bottom:2.5px solid var(--ink)}
.hp-ab-arrow--prev{left:16px}.hp-ab-arrow--prev::before{transform:translate(-35%,-50%) rotate(135deg)}
.hp-ab-arrow--next{right:16px}.hp-ab-arrow--next::before{transform:translate(-65%,-50%) rotate(-45deg)}
.hp-ab-arrow:hover{background:#fff}
.hp-ab-thumbs{display:flex;gap:10px;margin-top:12px}
.hp-ab-thumbs button{flex:1 1 0;min-width:0}
.hp-ab-thumbs button{padding:0;border:3px solid transparent;border-radius:11px;background:none;cursor:pointer;opacity:.7;overflow:hidden}
.hp-ab-thumbs button[aria-current="true"]{border-color:var(--accent);opacity:1}
.hp-ab-thumbs img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px}
.hp-ab-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.hp-ab-text{max-width:860px;padding-bottom:56px}
.hp-ab-text p{color:var(--muted);font-size:18px;line-height:1.65}
@media (max-width:1100px){.hp-ab-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:900px){.hp-ab-thumbs{display:none}.hp-ab-links{grid-template-columns:1fr 1fr}.hp-ab-slide img{aspect-ratio:4/3}}
@media (max-width:560px){.hp-ab-links{grid-template-columns:1fr}.hp-ab-arrow{width:40px;height:40px;margin-top:-20px}}
.hp-su-btn{margin:24px 0}
/* Замены Shortcodes Ultimate */
.hp-su-row{display:flex;flex-wrap:wrap;gap:24px;margin:0 0 1.5em}
.hp-su-col{flex:1 1 0;min-width:0}
.hp-su-col--1-3{flex-basis:30%}.hp-su-col--2-3{flex-basis:60%}.hp-su-col--1-4{flex-basis:22%}.hp-su-col--3-4{flex-basis:70%}
.hp-su-col>:first-child{margin-top:0}
.hp-su-heading{text-align:center}
.hp-su-table{overflow-x:auto;margin:0 0 1.5em}
.hp-su-table table{width:100%;border-collapse:collapse}
.hp-su-table td,.hp-su-table th{border:1px solid var(--line);padding:10px 12px;text-align:left;vertical-align:top}
.hp-su-table tr:nth-child(even) td{background:var(--soft)}
.hp-su-list ul{list-style:none;padding-left:0}
.hp-su-list li{position:relative;padding-left:22px;margin:.4em 0}
.hp-su-list li:before{content:"";position:absolute;left:4px;top:.6em;width:7px;height:7px;border-radius:50%;background:var(--accent)}
@media (max-width:700px){.hp-su-row{flex-direction:column;gap:0}}
/* Подробные карточки специалистов на страницах услуг */
.hp-specw-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.hp-specw{background:#fff;border-radius:var(--radius);display:flex}
.hp-specw__body{padding:26px 28px;display:flex;flex-direction:column;width:100%}
.hp-specw__head{display:flex;align-items:center;gap:18px}
.hp-specw__img{flex:0 0 96px;width:96px;height:96px;border-radius:50%;overflow:hidden;background:var(--soft);display:block}
.hp-specw__img img{width:100%;height:100%;object-fit:cover;object-position:50% 22%;display:block}
.hp-specw__name{margin:0;font-size:20px;line-height:1.3}
.hp-specw__name a{color:var(--ink);text-decoration:none}
.hp-specw__name a:hover{color:var(--accent-dark)}
.hp-specw__role{margin:4px 0 0;color:var(--muted);font-size:15px;line-height:1.4}
.hp-specw__tags{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 0}
.hp-specw__tags span{background:var(--soft);border-radius:999px;padding:4px 12px;font-size:13px}
.hp-specw__fmt{margin:10px 0 0;font-size:14px;color:var(--muted)}
.hp-specw__lbl{margin:18px 0 8px;font-weight:600;font-size:15px}
.hp-specw__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.hp-specw__list li{border:1px solid var(--line);border-radius:10px;padding:5px 10px;font-size:14px;line-height:1.3}
.hp-specw__list .hp-specw__more{border-style:dashed}
.hp-specw__list .hp-specw__more a{color:var(--accent-dark)}
.hp-specw__btns{display:flex;flex-wrap:wrap;align-items:center;gap:18px;margin-top:auto;padding-top:22px}
.hp-specw__link{color:var(--ink);font-size:15px}
@media (max-width:1100px){.hp-specw-grid{grid-template-columns:1fr}}
@media (max-width:600px){.hp-specw__body{padding:20px}.hp-specw__img{flex-basis:72px;width:72px;height:72px}.hp-specw__name{font-size:18px}}
/* Блоки внутри текста страниц услуг */
.hp-content .hp-topic-grid{margin:8px 0 32px;gap:14px}
.hp-content .hp-topic{background:var(--soft);padding:20px 22px}
.hp-content .hp-topic h3{margin:0 0 6px;font-size:18px;line-height:1.35}
.hp-content .hp-topic p{margin:0;font-size:15px;line-height:1.55}
.hp-content .hp-topic-group{margin:28px 0 12px;font-size:20px}
.hp-content ol.hp-numlist{counter-reset:n;list-style:none;padding:0;margin:12px 0 28px;display:grid;gap:12px}
.hp-numlist li{counter-increment:n;position:relative;margin:0;padding:18px 22px 18px 66px;background:var(--soft);border-radius:var(--radius);font-size:17px;line-height:1.6}
.hp-numlist li::before{content:counter(n);position:absolute;left:20px;top:17px;width:30px;height:30px;border-radius:50%;background:var(--accent);color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center}
.hp-numlist li strong{display:block;margin-bottom:2px}
.hp-content .hp-note{background:var(--soft);border-left:4px solid var(--accent);padding:18px 22px;border-radius:12px;margin:24px 0}
.hp-content .hp-note p:last-child{margin-bottom:0}
.hp-content .hp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:12px 0 16px}
.hp-stat{background:var(--soft);border-radius:var(--radius);padding:22px}
.hp-stat b{display:block;font-size:34px;line-height:1.1;color:var(--accent-dark);margin-bottom:8px}
.hp-stat span{display:block;font-size:15px;line-height:1.5}
.hp-content .hp-src{font-size:14px;color:var(--muted);line-height:1.5}
@media (max-width:900px){.hp-content .hp-topic-grid.hp-cols-3{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.hp-content .hp-topic-grid.hp-cols-3,.hp-content .hp-topic-grid.hp-cols-2{grid-template-columns:1fr}}

.hp-pr-card{scroll-margin-top:90px}

.hp-rent-link{margin-top:22px;display:flex;flex-wrap:wrap;gap:10px}
.hp-rent-link a{text-decoration:none}

.hp-price__cta{display:flex;flex-wrap:wrap;gap:12px}

/* Окно записи */
.hp-dlg{border:0;border-radius:20px;padding:32px 32px 24px;max-width:520px;width:calc(100% - 32px);box-shadow:0 20px 60px rgba(0,0,0,.25)}
.hp-dlg::backdrop{background:rgba(30,32,34,.55)}
.hp-dlg .hp-h2{margin:0 0 6px;font-size:26px}
.hp-dlg__spec{margin:0 0 8px;font-weight:600;color:var(--accent-dark)}
.hp-dlg__spec:empty{display:none}
.hp-dlg__note{margin:0 0 16px;color:var(--muted);font-size:15px}
.hp-dlg__x{position:absolute;top:12px;right:14px;width:36px;height:36px;border:0;background:var(--soft);border-radius:50%;font-size:22px;line-height:1;cursor:pointer}
.hp-dlg .wpforms-container{margin:0!important}
.hp-dlg input[type=text],.hp-dlg input[type=email],.hp-dlg input[type=tel],.hp-dlg select{width:100%!important;max-width:100%!important;border:1px solid var(--line)!important;border-radius:10px!important;padding:10px 12px!important;font-size:16px!important;height:auto!important}
.hp-dlg .wpforms-submit{background:var(--accent)!important;color:var(--ink)!important;border:0!important;border-radius:12px!important;padding:14px 26px!important;font-weight:600!important;font-size:16px!important}

.hp-spec-hero__desc{margin:22px 0 0;font-size:17px;line-height:1.5;color:var(--muted);max-width:560px}
/* Закреплённая шапка на компьютере */
@media (min-width:901px){
  .hp-header{position:sticky;top:calc(-1 * var(--hp-tb,36px));z-index:60;background:#fff;transition:box-shadow .2s}
  body.admin-bar .hp-header{top:calc(32px - var(--hp-tb,36px))}
  .hp-header.is-stuck{box-shadow:0 4px 18px rgba(0,0,0,.08)}
  .hp-header.is-stuck .hp-hdr{padding-top:10px;padding-bottom:10px}
  [id]{scroll-margin-top:96px}
}
.hp-content .hp-topic .hp-topic__tag{display:inline-block;margin-top:12px;font-size:13px;line-height:1.3;color:var(--accent-dark);font-weight:600;background:#fff;border-radius:999px;padding:4px 10px}

.hp-spec-hero__role{margin:8px 0 18px;font-size:18px;line-height:1.45;color:var(--muted)}
.hp-spec-hero__intro+.hp-hero__btns{margin-top:24px}

.hp-dlg .hp-spec-field{display:none!important}

.hp-svc-body--after{padding-top:8px}

.hp-spec-hero__method{margin:-8px 0 18px;font-size:16px;line-height:1.45;color:var(--ink,#2b2b2b)}.hp-spec-hero__method span{color:var(--muted)}

.hp-spec-reviews .hp-reviews{margin:0;padding:0;max-width:none}.hp-spec-reviews .hp-reviews__title{display:none}
/* Отзывы — компактные карточки */
.hp-reviews .hp-reviews__grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;align-items:start}
.hp-reviews .hp-review{padding:18px 18px 14px;gap:8px}
.hp-reviews .hp-review__meta{font-size:13px}
.hp-reviews .hp-review__stars{font-size:15px}
.hp-reviews .hp-review__spec{font-size:14px}
.hp-reviews .hp-review__text{font-size:15px;line-height:1.55;max-height:7.75em;overflow:hidden;position:relative}
.hp-reviews .hp-review__text.is-clamped::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2.4em;background:linear-gradient(rgba(255,255,255,0),#fff)}
.hp-reviews .hp-review.is-open .hp-review__text{max-height:none}
.hp-reviews .hp-review.is-open .hp-review__text::after{display:none}
.hp-review__more{align-self:flex-start;background:none;border:0;padding:0;font:inherit;font-size:14px;color:var(--accent-ink,#4c8a1e);text-decoration:underline;cursor:pointer}
.hp-review.is-hidden{display:none}
.hp-reviews__all{margin-top:16px}
.hp-spec-reviews{padding-top:0}
.hp-spec-reviews .hp-reviews__more,.hp-band .hp-reviews__more{display:none}
/* Базовые стили карточек отзывов (если шорткод не вывел свои) */
.hp-reviews__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;align-items:start}
.hp-review{margin:0;padding:18px 18px 14px;border:1px solid #dde3e8;border-radius:14px;background:#fff;display:flex;flex-direction:column;gap:8px}
.hp-review__meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:13px;color:#5b6260}
.hp-review__stars{color:#e0a100;font-size:15px;letter-spacing:2px}
.hp-review__spec{font-size:14px;font-weight:600}
.hp-review__text{margin:0;padding:0;border:0;font-size:15px;line-height:1.55;font-style:normal}
.hp-review__text p{margin:0 0 .6em}.hp-review__text p:last-child{margin:0}
.hp-review__author{font-size:13px;color:#5b6260}
.hp-content .hp-stats.hp-stats--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hp-content .hp-stats--3 .hp-stat{padding:18px}
.hp-content .hp-stats--3 .hp-stat span{font-size:14px}
@media (max-width:700px){.hp-content .hp-stats.hp-stats--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hp-ab-more{margin-top:18px;font-weight:600}
.hp-ab-more a{color:var(--accent-dark)}
.hp-content .hp-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 36px}
.hp-content .hp-pair img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius);margin:0}
.hp-content .hp-pair--one{grid-template-columns:1fr}
.hp-content .hp-pair--one img{aspect-ratio:16/9}
.hp-content .hp-press-row{display:grid;grid-template-columns:240px 1fr;gap:22px;align-items:start;background:var(--soft);border-radius:var(--radius);padding:18px;margin:0 0 16px}
.hp-content .hp-press-row__img img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;margin:0}
.hp-content .hp-press-row__body h3{margin:2px 0 4px;font-size:19px;line-height:1.35}
.hp-content .hp-press-row__meta{margin:0 0 10px;font-size:14px;color:var(--muted)}
.hp-content .hp-press-row__body p{margin:0 0 8px;font-size:16px;line-height:1.55}
.hp-content .hp-press-row__body p:last-child{margin-bottom:0}
@media (max-width:640px){.hp-content .hp-press-row{grid-template-columns:1fr}.hp-content .hp-pair{grid-template-columns:1fr}}
.hp-content .hp-vtabs{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 28px}
.hp-content .hp-vtab{border:2px solid var(--soft);background:var(--soft);color:var(--ink);border-radius:999px;padding:9px 18px;font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.hp-content .hp-vtab[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);font-weight:600}
.hp-content .hp-vsec{margin:0 0 36px}
.hp-content .hp-vsec[hidden]{display:none}
.hp-content .hp-vgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.hp-content .hp-vcard{position:relative;display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:16/9;border:0;border-radius:var(--radius);padding:16px 18px;text-align:left;cursor:pointer;font:inherit;color:#fff;background:linear-gradient(160deg,#7fae4f 0%,#4f7d3a 100%);overflow:hidden}
.hp-content .hp-vcard:nth-child(3n+2){background:linear-gradient(160deg,#8db9a8 0%,#4e8571 100%)}
.hp-content .hp-vcard:nth-child(3n){background:linear-gradient(160deg,#c3a77f 0%,#8c6c45 100%)}
.hp-content .hp-vcard__play{position:absolute;top:50%;left:50%;width:58px;height:58px;margin:-40px 0 0 -29px;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 4px 16px rgba(0,0,0,.15);transition:transform .15s}
.hp-content .hp-vcard__play::after{content:"";position:absolute;left:23px;top:18px;border-style:solid;border-width:11px 0 11px 17px;border-color:transparent transparent transparent #4f7d3a}
.hp-content .hp-vcard:hover .hp-vcard__play{transform:scale(1.08)}
.hp-content .hp-vcard__title{position:relative;font-size:15px;line-height:1.35;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.2)}
.hp-content .hp-vcard.is-playing{padding:0;background:#000;cursor:default}
.hp-content .hp-vcard.is-playing iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
@media (max-width:640px){.hp-content .hp-vgrid{grid-template-columns:1fr}}
.hp-spec-reviews .hp-reviews .hp-reviews__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.hp-spec-reviews .hp-reviews .hp-reviews__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.hp-spec-reviews .hp-reviews .hp-reviews__grid{grid-template-columns:1fr}}
