/* Сохранённые стили внутренних страниц из актуальной темы. */
:root{--htp-layout-max:1440px;--htp-layout-gutter:clamp(16px,3.4vw,48px)}
.htp-crumb-inner{max-width:var(--htp-layout-max);margin:auto;padding:15px var(--htp-layout-gutter);font-size:13px;color:#53697b;line-height:1.55;box-sizing:border-box}
.htp-crumb-inner ol{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;margin:0;padding:0;list-style:none}
.htp-crumb-inner li{display:flex;align-items:baseline;gap:10px;min-width:0;max-width:100%;overflow-wrap:anywhere}
.htp-crumb-inner a:hover{color:#007eaf;text-decoration:underline}
.htp-crumb-inner [aria-current]{color:#263d52;font-weight:650}
.htp-crumb-separator{color:#8299aa;font-size:16px;flex-shrink:0}

.htp-partner .htp-partner-container{max-width:var(--htp-layout-max);padding-inline:var(--htp-layout-gutter)}
.htp-partner .htp-partner-feature{overflow:hidden}
.htp-partner .htp-partner-feature.has-photo{padding:0;min-height:340px;position:relative;justify-content:flex-end;background:#17364b;border:0}
.htp-partner-feature.has-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.htp-partner-feature.has-photo .htp-partner-photo-caption{position:relative;z-index:1;padding:25px;background:linear-gradient(transparent,#102c42e8 36%);color:#fff}
.htp-partner-feature.has-photo strong{color:#fff;font-size:clamp(44px,5vw,74px);margin:0}
.htp-partner-feature.has-photo p{color:#fff;margin-top:5px}
.htp-partner-feature.has-photo .htp-partner-feature-brand{color:#e1f4ff}
@media(max-width:600px){
.htp-crumb-inner{padding-block:12px;font-size:12px}
.htp-crumb-inner ol{gap:3px 8px}
.htp-crumb-inner li{gap:8px}
.htp-partner .htp-partner-feature.has-photo{display:block;min-height:230px}
.htp-partner-feature.has-photo .htp-partner-photo-caption{position:absolute;bottom:0;left:0;right:0}
}
.htp-app-page{color:#182c40;background:#fff;min-height:70vh}
.htp-app-container{max-width:var(--htp-layout-max);padding-inline:var(--htp-layout-gutter);margin:auto;box-sizing:border-box}
.htp-app-hero{padding:clamp(38px,5vw,76px) 0;background:linear-gradient(125deg,#f4faff,#e8f5fb 70%,#f8fcfe)}
.htp-app-hero-grid{display:grid;gap:clamp(24px,5vw,72px);align-items:center}
.htp-app-hero-grid.has-image{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}
.htp-app-kicker{font-size:12px;font-weight:700;color:#05779f;letter-spacing:.06em;text-transform:uppercase;margin:0 0 13px}
.htp-app-page h1{font-size:clamp(32px,4vw,58px);line-height:1.1;letter-spacing:-.035em;font-weight:750;margin:0 0 22px;max-width:850px;overflow-wrap:anywhere}
.htp-app-intro{font-size:clamp(16px,1.4vw,20px);line-height:1.65;color:#486174;max-width:710px;margin:0 0 26px}
.htp-app-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.htp-app-primary,.htp-app-secondary{display:inline-flex;gap:9px;align-items:center;justify-content:center;text-align:center;min-height:48px;border-radius:99px;padding:12px 22px;font-size:14px;font-weight:650;line-height:1.3;cursor:pointer}
.htp-app-primary{background:#008bc4;color:#fff}
.htp-app-primary:hover{background:#006f9e}
.htp-app-secondary{border:1px solid #b7d7e7;color:#07577a;background:#fff}
.htp-app-secondary:hover{background:#e9f6fc}
.htp-app-hero-image{margin:0;overflow:hidden;border-radius:18px;aspect-ratio:1.5;background:#e4edf3}
.htp-app-hero-image img{width:100%;height:100%;object-fit:cover;display:block}
.htp-app-section{padding:clamp(38px,5vw,70px) 0}
.htp-app-page h2{font-size:clamp(24px,2.7vw,38px);font-weight:730;line-height:1.2;letter-spacing:-.02em;margin:0 0 20px}
.htp-app-page h3{font-size:19px;font-weight:680;line-height:1.35;margin:12px 0 8px}
.htp-app-zones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:26px}
.htp-app-zones article{padding:22px 18px 10px 0;border-top:2px solid #b7ddea}
.htp-app-index{font-size:13px;font-weight:700;color:#008bc4}
.htp-app-zones p,.htp-app-muted,.htp-app-consult p{font-size:15px;line-height:1.65;color:#50677a}
.htp-app-tint{background:#f3f8fc}
.htp-app-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:12px}
.htp-app-section-head h2{margin-bottom:0}
.htp-app-textlink{color:#007eaf;font-size:14px;font-weight:650;flex-shrink:0}
.htp-app-textlink:hover{text-decoration:underline}
.htp-app-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:20px;margin-top:28px}
.htp-app-products>.group{max-width:355px}
.htp-app-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:25px}
.htp-app-projects a{display:block;border:1px solid #dae7ee;border-radius:14px;overflow:hidden;background:#fff}
.htp-app-project-image{width:100%;aspect-ratio:1.7;object-fit:cover;display:block}
.htp-app-projects strong,.htp-app-projects span{display:block;padding:0 16px}
.htp-app-projects strong{padding-top:15px;padding-bottom:6px;font-weight:700}
.htp-app-projects span{padding-bottom:15px;font-size:13px;color:#64748b}
.htp-app-consult{background:#eaf5fa;border:1px solid #d3e8f2;border-radius:20px;padding:clamp(24px,4vw,54px);display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:30px;align-items:center}
.htp-app-consult h2{margin:0 0 12px}
.htp-app-consult .htp-app-kicker{color:#05779f;font-size:12px}
.htp-app-consult .htp-app-actions{justify-content:flex-end}
.htp-app-related{background:#f8fbfd}
.htp-app-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.htp-app-related-grid>a{display:flex;flex-direction:column;justify-content:flex-end;min-height:100px;border:1px solid #dbe7ee;background:#fff;border-radius:12px;overflow:hidden;color:#244559}
.htp-app-related-grid>a:hover{border-color:#6bb9d9;color:#007eaf}
.htp-app-related-grid img{width:100%;aspect-ratio:1.9;object-fit:cover;display:block}
.htp-app-related-grid span{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:15px;font-size:14px;font-weight:650;line-height:1.4}
.htp-app-editor{max-width:900px}
.htp-app-empty{padding:20px 0;color:#50677a}
@media(max-width:900px){
.htp-app-hero-grid.has-image,.htp-app-consult{grid-template-columns:1fr}
.htp-app-hero-image{max-height:420px;aspect-ratio:1.8}
.htp-app-consult .htp-app-actions{justify-content:flex-start}
.htp-app-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.htp-app-zones{gap:15px}
.htp-app-projects{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
.htp-app-zones,.htp-app-projects{grid-template-columns:1fr}
.htp-app-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.htp-app-products .glass{padding:10px}
.htp-app-section-head{align-items:flex-start;flex-direction:column;gap:8px}
.htp-app-related-grid{gap:9px}
.htp-app-related-grid span{font-size:13px;padding:11px;min-height:62px}
.htp-app-hero-image{aspect-ratio:1.5}
}
@media(max-width:370px){
.htp-app-products{grid-template-columns:1fr}
.htp-app-actions>a{width:100%}
}
.htp-crumb-inner{padding-block:12px}
.htp-crumb-inner ol{margin:0!important}

.htp-app-hero{padding-block:clamp(32px,4vw,64px)}
.htp-app-hero-image{border-radius:12px}
.htp-app-section{padding-block:clamp(32px,4vw,58px)}

/* Шапка: единый набор правил, оригинальное стекло, меню в одном ряду. */
html { scroll-padding-top: 108px; }
.htp-app-page [id] { scroll-margin-top: 108px; }
.htp-site-header {
    position: sticky; top: 24px; z-index: 70; margin: 24px 12px 0;
    color: #334155; background: rgba(255,255,255,.3);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226,232,240,.5); border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(226,232,240,.5), 0 4px 6px -4px rgba(226,232,240,.5);
    overflow: visible;
}
.home .htp-site-header { position: fixed; left: 12px; right: 12px; margin: 0; }
.admin-bar .htp-site-header { top: 56px; }
.htp-header-shell {
    position: relative; width: 100%; min-height: 64px; box-sizing: border-box;
    padding: 12px clamp(10px,1.25vw,24px); display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    grid-template-areas: "brand nav actions"; align-items: center; gap: clamp(6px,1vw,20px);
}
.htp-header-top { display: contents; }
.htp-brand { grid-area: brand; display: flex; align-items: center; gap: 9px; min-width: 0; text-decoration: none; }
.htp-brand img { display: block; width: auto; height: 28px; max-width: 100%; object-fit: contain; flex: none; }
.htp-brand span { font-size: 10px; line-height: 1.35; font-weight: 400; color: #64748b; padding-left: 9px; border-left: 1px solid #d9e3eb; white-space: nowrap; }
.htp-header-actions { grid-area: actions; display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.htp-layout-icon { width: 19px; height: 19px; flex: none; }
.htp-header-call { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #334155; white-space: nowrap; }
.htp-header-call:hover { color: #0284c7; }
.htp-header-call .htp-layout-icon { width: 15px; height: 15px; }
.htp-header-messenger, .htp-header-square { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; flex: none; border-radius: 12px; background: rgba(224,242,254,.48); color: #334155; font-size: 11px; font-weight: 600; cursor: pointer; }
.htp-header-messenger { padding: 0 7px; }
.htp-header-cta { background: linear-gradient(135deg,#0ea5e9,#0284c7); border-radius: 9999px; color: #fff; font-size: 12px; font-weight: 650; padding: 9px 14px; min-height: 36px; white-space: nowrap; cursor: pointer; }
.htp-header-cta:hover { background: #0284c7; }
.htp-call-short { display: none; }
.htp-header-count { position: absolute; right: -4px; top: -4px; background: #0284c7; color: white; border-radius: 99px; padding: 1px 5px; font-size: 10px; }
.htp-header-count[hidden] { display: none; }
.htp-primary-nav { grid-area: nav; display: flex; align-items: center; justify-content: center; gap: clamp(0px,.3vw,5px); min-width: 0; }
.htp-primary-link { display: flex; align-items: center; gap: 4px; padding: 8px 7px; color: #334155; font-size: 12px; line-height: 1.4; font-weight: 500; white-space: nowrap; cursor: pointer; border-radius: 8px; text-decoration: none; flex: none; }
.htp-primary-link:hover, .htp-primary-group[open]>summary { background: rgba(0,0,0,.05); color: #0f172a; }
.htp-primary-group { position: relative; flex: none; }
.htp-primary-group summary { list-style: none; }
.htp-primary-group summary::-webkit-details-marker { display: none; }
.htp-layout-chevron { width: 12px; height: 12px; flex: none; transition: transform .15s; }
.htp-primary-group[open] .htp-layout-chevron { transform: rotate(180deg); }
.htp-primary-popup { position: absolute; top: calc(100% + 10px); left: 0; min-width: 285px; padding: 7px; border: 1px solid #e2e8f0; border-radius: 15px; background: #fff; box-shadow: 0 14px 38px #1f3c5724; z-index: 3; }
.htp-primary-group:last-of-type .htp-primary-popup { left: auto; right: 0; }
.htp-primary-popup a { display: block; padding: 12px 13px; font-size: 14px; line-height: 1.45; color: #334155; border-radius: 7px; white-space: normal; }
.htp-primary-popup a:hover, .htp-primary-popup a[aria-current] { background: #eef7fb; color: #007eaf; }
.htp-site-header :focus-visible { outline: 2px solid #0284c7; outline-offset: 3px; }
.htp-header-menu, .htp-nav-mobile-actions { display: none; }
@media(min-width:1600px) {
    .htp-site-header { margin-inline: 16px; }
    .home .htp-site-header { left: 16px; right: 16px; margin: 0; }
    .htp-primary-link { padding-inline: 6px; }
}
@media(min-width:1280px) and (max-width:1599px) {
    .htp-brand { flex-direction: column; align-items: flex-start; gap: 3px; }
    .htp-brand img { height: 23px; }
    .htp-brand span { border: 0; padding: 0; font-size: 8px; }
    .htp-brand span br { display: none; }
    .htp-primary-link { padding-inline: 4px; }
    .htp-header-actions { gap: 5px; }
}
@media(min-width:960px) and (max-width:1279px) {
    .htp-header-shell { gap: 5px; padding-inline: 10px; }
    .htp-brand img { height: 19px; }
    .htp-brand span { display: none; }
    .htp-primary-nav { gap: 0; }
    .htp-primary-link { font-size: 11px; padding-inline: 3px; gap: 2px; }
    .htp-header-actions { gap: 4px; }
    .htp-header-call { font-size: 10px; gap: 3px; }
    .htp-header-call .htp-layout-icon { width: 13px; height: 13px; }
    .htp-header-cta { font-size: 11px; padding-inline: 8px; }
    .htp-call-full { display: none; }
    .htp-call-short { display: inline; }
    .htp-header-square, .htp-header-messenger { min-width: 30px; height: 34px; }
    .htp-header-messenger { padding: 0 4px; font-size: 10px; }
}
@media(min-width:960px) and (max-width:1023px) {
    .htp-site-header { margin-inline: 8px; }
    .home .htp-site-header { left: 8px; right: 8px; margin: 0; }
    .htp-header-shell { padding-inline: 8px; gap: 4px; }
    .htp-brand img { height: 17px; }
    .htp-primary-link { font-size: 10.5px; padding-inline: 2px; }
    .htp-header-actions { gap: 3px; }
    .htp-header-messenger { min-width: 24px; padding-inline: 3px; }
    .htp-header-call .htp-layout-icon { display: none; }
}
/* Мобильное меню. */
@media(max-width:959px) {
    html { scroll-padding-top: 88px; }
    .htp-site-header { top: 12px; margin: 12px 8px 0; }
    .home .htp-site-header { left: 8px; right: 8px; margin: 0; }
    .admin-bar .htp-site-header { top: 44px; }
    .htp-header-shell { display: flex; justify-content: space-between; min-height: 56px; padding: 6px 12px; gap: 8px; }
    .htp-brand img { height: 24px; }
    .htp-brand span { display: none; }
    .htp-header-menu { display: inline-flex; }
    .htp-header-actions { gap: 5px; }
    .htp-header-actions>.htp-header-cta, .htp-header-actions>.htp-header-messenger { display: none; }
    .htp-header-call span { display: none; }
    .htp-header-call { min-width: 38px; min-height: 44px; justify-content: center; }
    .htp-header-square { min-width: 40px; height: 44px; }
    .htp-primary-nav { display: none; position: absolute; top: calc(100% + 9px); left: 0; right: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 12px 32px #173c5426; padding: 10px; max-height: calc(100dvh - 115px); overflow: auto; overscroll-behavior: contain; }
    .htp-site-header.is-menu-open .htp-primary-nav { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; }
    .htp-primary-link { min-height: 44px; padding: 12px 10px; justify-content: space-between; font-size: 15px; }
    .htp-primary-popup, .htp-primary-group:last-of-type .htp-primary-popup { position: static; min-width: 0; border: 0; border-left: 2px solid #c6e3f2; border-radius: 0; box-shadow: none; margin: 0 0 4px 12px; padding: 0 0 0 8px; }
    .htp-primary-popup a { min-height: 44px; padding: 12px 10px; }
    .htp-nav-mobile-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid #e5edf2; padding: 12px 10px 4px; font-size: 14px; }
}
@media(min-width:650px) and (max-width:959px) {
    .htp-brand span { display: block; }
    .htp-header-call span { display: inline; }
    .htp-header-actions>.htp-header-cta { display: inline-block; }
}
@media(max-width:767px) {
    .htp-site-header { background: rgba(255,255,255,.9); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media(max-width:782px) { .admin-bar .htp-site-header { top: 58px; } }
@media(max-width:600px) {
    .admin-bar .htp-site-header { top: 12px; }
    .htp-header-shell { padding-inline: 9px; }
    .htp-brand img { height: clamp(19px,5.8vw,24px); }
    .htp-header-actions { gap: 3px; }
}

/* Хлебные крошки: единый фон */
.htp-crumb-parent, .htp-crumb-host { padding-top: 0 !important; }
.htp-crumb-host > .htp-page-crumbs {
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    padding-top: 12px;
    margin: 0 0 var(--htp-crumb-gap, 0px);
    border: 0;
    background: transparent;
}
.htp-crumb-gap-content { --htp-crumb-gap: clamp(20px, 3vw, 40px); }
.htp-crumb-gap-blog { --htp-crumb-gap: 48px; }
.htp-crumb-gap-gallery, .htp-crumb-gap-contacts { --htp-crumb-gap: 64px; }
.htp-crumb-gap-app { --htp-crumb-gap: clamp(32px, 4vw, 64px); }
.htp-crumb-gap-partner { --htp-crumb-gap: clamp(32px, 4vw, 62px); }
.htp-crumb-error { flex-direction: column; }
@media (min-width: 768px) {
    .htp-crumb-gap-blog, .htp-crumb-gap-gallery { --htp-crumb-gap: 80px; }
    .htp-crumb-gap-contacts { --htp-crumb-gap: 96px; }
}
