@font-face {
    font-family: Manrope;
    src: url("../fonts/Manrope.ttf") format("truetype");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Marck Script";
    src: url("../fonts/MarckScript-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --blue: #2196F3;
    --blue-dark: #1E88E5;
    --navy: #0C2F4C;
    --muted: #5C7590;
    --line: #D7ECF8;
    --card: #ffffff;
    --footer: #071E36;
    --wa: #25D366;
    --tg: #2AABEE;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--navy);
    background: #fff;
    font-family: Manrope, "Segoe UI", sans-serif;
    font-weight: 550;
    font-size: 16px;
    line-height: 1.45;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(33, 150, 243, .28);
}
.btn:hover { background: var(--blue-dark); }
.btn--block { width: 100%; margin-top: 6px; }
.btn svg { width: 18px; height: 18px; }
.more { color: var(--blue); font-weight: 800; text-decoration: none; white-space: nowrap; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E7F2FA;
}
.header__inner { height: 78px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__mark { width: 62px; height: auto; display: block; }
.brand__name {
    display: block;
    font-weight: 800;
    font-size: 15px;
    line-height: .95;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.brand__sub { display: block; margin-top: 3px; max-width: 148px; font-size: 11px; line-height: 1.2; color: #6E879C; font-weight: 650; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 750; font-size: 15px; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--blue); }
.brand, .btn--phone { flex-shrink: 0; }
.btn--phone { margin-left: 4px; padding: 12px 18px; }
.burger {
    display: none;
    margin-left: auto;
    border: 0;
    background: transparent;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
    position: relative;
    color: transparent;
}
.burger__lines,
.burger__lines::before,
.burger__lines::after {
    content: "";
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    position: absolute;
    left: 11px;
}
.burger__lines { top: 21px; }
.burger__lines::before { top: -7px; }
.burger__lines::after { top: 7px; }

.hero {
    position: relative;
    background: linear-gradient(180deg, #E3F4FD 0%, #F4FBFE 58%, #fff 100%);
    padding: 34px 0 78px;
    overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 28px; align-items: center; }
.hero h1 { margin: 0 0 10px; font-size: 44px; line-height: 1.12; }
.hero__lead { margin: 0 0 18px; color: var(--blue); font-size: 22px; font-weight: 800; }
.perks {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    max-width: 500px;
}
.perks li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 750;
    font-size: 14px;
    box-shadow: 0 6px 16px rgba(33, 150, 243, .08);
}
.perks svg { width: 18px; height: 18px; color: var(--blue); flex: none; }
.hero__art { position: relative; }
.hero__photo {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 28px;
    display: block;
    margin-top: 86px;
}
.hero__mascot {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2px;
}
.hero__mascot img { width: 138px; height: auto; }
.script {
    margin: 0;
    font-family: "Marck Script", cursive;
    color: var(--blue);
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    transform: rotate(-7deg);
}
.spark { display: inline-block; width: 18px; vertical-align: super; }
.spark svg { width: 16px; height: 16px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 72px; }

.section { padding: 22px 0 8px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.section-head h2, .banner h2, .contact h2 { margin: 0; font-size: 34px; line-height: 1.15; }

.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.svc {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    min-height: 156px;
    padding: 22px 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}
.svc h3 { margin: 0; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.svc__icon { color: var(--blue); }
.svc__icon svg { width: 40px; height: 40px; }
.svc__chev { display: none; }

.trio {
    display: grid;
    grid-template-columns: 1.05fr .88fr 1.05fr;
    gap: 18px;
    align-items: stretch;
}
.card {
    background: #fff;
    border: 1px solid #E3F1FA;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 32px rgba(12, 47, 76, .06);
}
.calc h2, .why h2 { margin: 0; font-size: 24px; line-height: 1.2; }
.calc__lead { margin: 8px 0 16px; color: var(--muted); font-size: 14px; }
.field { display: grid; gap: 6px; margin: 0 0 12px; font-size: 14px; font-weight: 750; }
.field input, .field select, .extras__btn {
    width: 100%;
    height: 48px;
    border: 1.5px solid #D5E8F6;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    font-weight: 650;
    color: var(--navy);
}
.field select, .extras__btn {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232196F3' stroke-width='2' stroke-linecap='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    text-align: left;
    cursor: pointer;
}
.extras { position: relative; }
.extras__btn { color: #7E93A8; }
.extras__panel {
    display: none;
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    background: #fff;
    border: 1.5px solid #D5E8F6;
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 0 12px 28px rgba(12, 47, 76, .12);
}
.extras.is-open .extras__panel { display: grid; gap: 6px; }
.extras__panel label { display: flex; gap: 8px; align-items: center; font-weight: 650; font-size: 14px; }

.cleaners { position: relative; margin: 0; border-radius: 22px; overflow: hidden; min-height: 520px; }
.cleaners img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.cleaners figcaption {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
}
.why { display: flex; flex-direction: column; }
.why ul { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 12px; }
.why li { display: flex; gap: 10px; align-items: flex-start; font-weight: 750; font-size: 15px; }
.why li span {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E7F4FE;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.why li svg { width: 18px; height: 18px; }
.why__note {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #F4FAFE;
    border-radius: 16px;
    padding: 8px 12px;
}
.why__note img { width: 74px; height: auto; }
.why__note p { margin: 0; font-weight: 800; font-size: 16px; }

.pop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pop {
    background: #fff;
    border: 1px solid #E3F1FA;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(12, 47, 76, .06);
}
.pop > img { width: 100%; height: 158px; object-fit: cover; display: block; }
.pop__body { padding: 14px 14px 16px; }
.pop h3 { margin: 0 0 6px; font-size: 16px; }
.price { margin: 0 0 8px; color: var(--blue); font-weight: 800; font-size: 16px; }

.ba-wrap { margin-top: 26px; }
.ba-title { margin: 0 0 12px; font-size: 24px; }
.ba {
    position: relative;
    height: 360px;
    border-radius: 22px;
    overflow: hidden;
    background: #d7e8f4;
}
.ba__after, .ba__before img { width: 100%; height: 360px; object-fit: cover; display: block; }
.ba__before { position: absolute; top: 0; left: 0; bottom: 0; width: 52%; overflow: hidden; border-right: 3px solid #fff; }
.ba__before img { position: absolute; top: 0; left: 0; max-width: none; height: 360px; }
.ba__tag {
    position: absolute;
    top: 14px;
    background: rgba(255, 255, 255, .92);
    color: var(--navy);
    font-weight: 800;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 13px;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    background: transparent;
    appearance: none;
    cursor: ew-resize;
}
.ba__range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.ba__range::-moz-range-track { height: 100%; background: transparent; border: 0; }
.ba__range::-webkit-slider-thumb {
    appearance: none;
    width: 54px;
    height: 54px;
    margin-top: 153px;
    border-radius: 50%;
    border: 4px solid var(--blue);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232196F3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M8 7 4 12l4 5M16 7l4 5-4 5'/%3E%3C/svg%3E") center / 26px no-repeat;
    box-shadow: 0 6px 16px rgba(12, 47, 76, .25);
}
.ba__range::-moz-range-thumb {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 4px solid var(--blue);
    background: #fff;
}

.banner {
    display: grid;
    grid-template-columns: 1.15fr .85fr .95fr;
    gap: 22px;
    align-items: center;
    background: linear-gradient(180deg, #E7F6FE, #D7F0FC);
    border-radius: 28px;
    padding: 32px;
}
.banner__copy p { margin: 10px 0 0; color: var(--navy); font-size: 16px; }
.script--banner { display: inline-block; margin-top: 14px; font-size: 30px; }
.banner__photo { width: 100%; height: 240px; object-fit: cover; border-radius: 20px; display: block; }
.tiles { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiles li {
    background: #fff;
    border-radius: 16px;
    min-height: 78px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
}
.tiles svg { width: 26px; height: 26px; color: var(--blue); }
.banner__side .btn { width: 100%; }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
    background: #fff;
    border: 1px solid #E3F1FA;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 10px 28px rgba(12, 47, 76, .05);
}
.review__top { display: flex; gap: 12px; align-items: center; }
.review__top img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.review h3 { margin: 0; font-size: 16px; }
.review__top p { margin: 2px 0 0; color: #7E93A8; font-size: 13px; font-weight: 650; }
.stars { display: flex; gap: 2px; margin: 10px 0; }
.stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 15px; }

.contact { position: relative; background: var(--blue); color: #fff; margin-top: 36px; padding: 56px 0 42px; }
.contact__wave { position: absolute; left: 0; right: 0; top: -58px; width: 100%; height: 70px; }
.contact__box { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: center; }
.contact h2 { color: #fff; }
.contact__copy > p { margin: 8px 0 16px; font-size: 16px; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.msg {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 12px 18px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
.msg svg { width: 20px; height: 20px; }
.msg--wa { background: var(--wa); }
.msg--tg { background: var(--tg); }
.contact__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.contact__list li, .contact__list a { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; }
.contact__list a { font-size: 22px; font-weight: 800; }
.contact__list svg { width: 20px; height: 20px; }
.map { position: relative; border-radius: 20px; overflow: hidden; min-height: 280px; background: #e7f3fb; }
.map img { width: 100%; height: 300px; object-fit: cover; display: block; }
.map__pin {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translate(-50%, -110%);
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 6px 12px;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 8px 18px rgba(12, 47, 76, .18);
}
.map__pin svg { width: 16px; height: 16px; color: var(--blue); }
.map small {
    position: absolute;
    right: 8px;
    bottom: 6px;
    background: rgba(255, 255, 255, .85);
    color: var(--muted);
    font-size: 10px;
    border-radius: 4px;
    padding: 2px 4px;
}

.site-footer { background: var(--footer); color: #D5E4F0; padding: 26px 0 16px; }
.footer__top { display: flex; align-items: center; gap: 24px; }
.footer__nav { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; justify-content: center; }
.footer__nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__nav a, .footer__phone, .footer__legal a { color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.footer__side { display: flex; align-items: center; gap: 14px; }
.soc { display: flex; gap: 8px; }
.soc__i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.soc__i svg { width: 16px; height: 16px; }
.footer__phone { white-space: nowrap; font-size: 16px; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 16px;
    padding-top: 12px;
    font-size: 13px;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 16px; }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub { color: rgba(255, 255, 255, .75); }
.site-footer .brand__mark { background: #fff; border-radius: 16px; padding: 3px; }

.doc { padding: 36px 0 64px; }
.doc__inner { max-width: 760px; }
.doc h1 { font-size: 36px; margin: 0 0 16px; }
.doc h2 { font-size: 22px; margin: 28px 0 8px; }
.doc p, .doc li { line-height: 1.55; }
.doc ol { margin: 0 0 16px; padding-left: 1.2em; }
.doc li { margin: 0 0 10px; }
.doc a { color: var(--blue); }
.doc__table { overflow-x: auto; margin: 0 0 8px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px; vertical-align: top; text-align: left; }
.doc th { background: #E8F4FD; }
.entry { font-size: 16px; }
.entry .wp-block-latest-posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.entry .wp-block-latest-posts > li { border: 1px solid var(--line); border-radius: 22px; padding: 16px 18px; background: #fff; }
.entry .wp-block-latest-posts__post-title { display: block; color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; text-decoration: none; }
.entry .wp-block-latest-posts__post-date { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; font-weight: 700; }
.entry .wp-block-latest-posts__post-excerpt { margin: 8px 0 0; color: var(--muted); }
.entry .wp-block-latest-posts__read-more { color: var(--blue); font-weight: 800; text-decoration: none; }

.blog { padding: 36px 0 72px; }
.blog h1 { margin: 0 0 22px; font-size: 40px; line-height: 1.12; }
.blog__empty {
    margin: 0;
    background: #E3F4FD;
    border-radius: 24px;
    padding: 48px 28px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
}
.blog__list { display: grid; gap: 16px; }
.blog-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 14px;
    background: #fff;
}
.blog-card__media { display: block; border-radius: 16px; overflow: hidden; background: #E3F4FD; }
.blog-card__media img { width: 100%; height: 150px; object-fit: cover; display: block; }
.blog-card__body { grid-column: 1 / -1; }
.blog-card:has(.blog-card__media) .blog-card__body { grid-column: auto; }
.blog-card h2 { margin: 4px 0 8px; font-size: 22px; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card time { color: var(--muted); font-size: 13px; font-weight: 700; }
.blog-card p { margin: 0 0 10px; color: var(--muted); }
.blog-post { max-width: 760px; }
.blog-post__back { margin: 0 0 12px; }
.blog-post__back a { color: var(--blue); font-weight: 800; text-decoration: none; }
.blog-post time { color: var(--muted); font-size: 14px; font-weight: 700; }
.blog-post__figure { margin: 16px 0; }
.blog-post__figure img { width: 100%; border-radius: 20px; display: block; }
.blog__pager { margin-top: 22px; }
.blog__pager .nav-links, .blog__pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.blog__pager a, .blog__pager span {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 800;
}
.blog__pager .current { background: var(--blue); color: #fff; border-color: var(--blue); }
.comment-list { list-style: none; padding: 0; margin: 24px 0; }
.comment-list li { border-top: 1px solid var(--line); padding: 12px 0; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px;
}
.comment-form .submit { margin-top: 8px; }

@media (max-width: 980px) {
    .btn--phone { display: none; }
    .burger { display: inline-block; }
    .header__inner { height: 68px; }
    .nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        margin: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 8px 18px 16px;
        border-bottom: 1px solid #E7F2FA;
        box-shadow: 0 16px 30px rgba(10, 39, 68, .08);
    }
    .nav.is-open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid #F0F6FB; font-size: 16px; }
    .site-header { position: sticky; }
    .header__inner { position: static; }
    .site-header .container { position: relative; }

    .hero { padding: 22px 0 28px; }
    .hero__grid { grid-template-columns: 1fr; gap: 8px; }
    .hero h1 { font-size: 32px; }
    .hero__lead { font-size: 18px; }
    .hero__mascot { position: static; justify-content: center; margin: 8px 0 12px; }
    .hero__photo { margin-top: 0; height: 230px; }
    .hero__wave { height: 40px; }

    .section-head h2, .banner h2 { font-size: 28px; }
    .svc-grid { grid-template-columns: 1fr; gap: 8px; }
    .svc {
        min-height: 0;
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 12px 14px;
        gap: 12px;
    }
    .svc__icon svg { width: 28px; height: 28px; }
    .svc h3 { flex: 1; font-size: 16px; }
    .svc__chev { display: inline-flex; color: var(--blue); }
    .svc__chev svg { width: 18px; height: 18px; }

    .trio { grid-template-columns: 1fr; }
    .calc__rest { display: none; }
    .cleaners { min-height: 280px; }
    .pop-grid { grid-template-columns: 1fr; }
    .pop:not(:first-child) { display: none; }
    .ba-wrap { display: none; }
    .banner { grid-template-columns: 1fr; padding: 22px; }
    .reviews { grid-template-columns: 1fr; }
    .review:not(:first-child) { display: none; }

    .contact { background: transparent; margin-top: 18px; padding: 0 0 20px; }
    .contact__wave { display: none; }
    .contact__box {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        background: #0E2C4A;
        color: #fff;
        border-radius: 24px;
        padding: 20px;
    }
    .contact h2 { font-size: 26px; }
    .map img, .map { min-height: 160px; height: auto; }
    .map img { height: 160px; }

    .footer__top, .footer__bottom { flex-direction: column; align-items: flex-start; }
    .footer__nav { flex-wrap: wrap; justify-content: flex-start; }
    .footer__legal { flex-direction: column; gap: 6px; }
    .blog h1 { font-size: 32px; }
    .blog__empty { font-size: 18px; padding: 36px 18px; }
    .blog-card { grid-template-columns: 1fr; }
    .blog-card__media img { height: 180px; }
}

@media (max-width: 420px) {
    .container { width: min(1160px, calc(100% - 28px)); }
    .hero h1 { font-size: 28px; }
    .perks { grid-template-columns: 1fr 1fr; }
    .perks li { font-size: 13px; padding: 8px 10px; }
    .brand__name { font-size: 13px; }
    .script { font-size: 26px; }
    .blog h1 { font-size: 28px; }
}

/* emblem on service cards */
.svc { position: relative; }
.svc::after { content: ""; position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; background: url(../img/emblem-svc.png) center/contain no-repeat; }
@media (max-width: 980px) { .svc::after { position: static; flex: none; width: 24px; height: 24px; order: 3; } }


.blog-post__figure img, .blog-post .wp-block-image img { height: auto; object-fit: cover; }

/* === Blog page layout (belyenosochki) — scoped to the /blog/ page only === */
body.page-id-21 .bl-blog{--bl-ink:#0C2F4C;--bl-acc:#2196F3;--bl-acc2:#1E88E5;--bl-bg:#fff;--bl-soft:#EEF7FD;--bl-line:#D7ECF8;--bl-muted:#5C7590;--bl-onacc:#fff;color:var(--bl-ink);display:grid;gap:22px;margin:0 0 24px}
body.page-id-21 .bl-blog *{box-sizing:border-box;min-width:0}
body.page-id-21 .bl-blog .btn{color:#052E4D!important;background:#FEBD3F;border-radius:14px;padding:10px 18px;font-weight:800;display:inline-flex}
body.page-id-21 .bl-blog a{color:inherit;text-decoration:none}
body.page-id-21 .bl-blog h2{font-size:clamp(22px,2.4vw,30px);line-height:1.1;margin:0 0 12px}
body.page-id-21 .bl-blog h3{font-size:16px;line-height:1.25;margin:4px 0 0;font-weight:800}
body.page-id-21 .bl-blog img{display:block;max-width:100%;height:auto}
body.page-id-21 .bl-blog svg{width:22px;height:22px;flex:none}
body.page-id-21 .bl-blog .bl-pill{display:inline-block;background:var(--bl-acc);color:var(--bl-onacc);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:800;line-height:1.4}
body.page-id-21 .bl-blog .bl-top{display:grid;gap:14px}
body.page-id-21 .bl-blog .bl-lead{display:grid;gap:10px}
body.page-id-21 .bl-blog .bl-lead img{width:100%;aspect-ratio:1200/630;object-fit:cover;border-radius:16px;max-height:340px}
body.page-id-21 .bl-blog .bl-lead h2{margin:6px 0 4px;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
body.page-id-21 .bl-blog .bl-lead p{margin:0 0 4px;color:var(--bl-muted)} body.page-id-21 .bl-blog .bl-lead small{color:var(--bl-muted)}
body.page-id-21 .bl-blog .bl-side{display:grid;align-content:start}
body.page-id-21 .bl-blog .bl-mini{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--bl-ink)}
body.page-id-21 .bl-blog .bl-mini:first-child{border-top:0;padding-top:0}
body.page-id-21 .bl-blog .bl-mini img{width:110px;height:70px;object-fit:cover;border-radius:10px}
body.page-id-21 .bl-blog .bl-price__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
body.page-id-21 .bl-blog .bl-pcard{display:grid;gap:4px;background:var(--bl-soft);border:1px solid var(--bl-line);border-radius:14px;padding:12px 14px}
body.page-id-21 .bl-blog .bl-pcard svg{color:var(--bl-acc2);width:26px;height:26px}
body.page-id-21 .bl-blog .bl-pcard span{font-weight:800;font-size:18px;color:var(--bl-ink)}
body.page-id-21 .bl-blog .bl-team{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
body.page-id-21 .bl-blog .bl-team figure{margin:0;position:relative}
body.page-id-21 .bl-blog .bl-team img{width:100%;height:100%;min-height:150px;object-fit:cover;border-radius:16px;aspect-ratio:4/3}
body.page-id-21 .bl-blog .bl-team figcaption{position:absolute;left:8px;bottom:8px;background:rgba(255,255,255,.92);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}
body.page-id-21 .bl-blog .bl-cta{grid-column:1/-1;background:var(--bl-ink);color:#fff;border-radius:16px;padding:16px;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
body.page-id-21 .bl-blog .bl-cta h2{margin:0;color:#fff;font-size:20px}
body.page-id-21 .bl-blog .bl-btn{background:var(--bl-acc);color:var(--bl-onacc)!important;border-radius:999px;padding:10px 20px;font-weight:800}
body.page-id-21 .bl-blog .bl-tips__grid{display:grid;gap:0}
body.page-id-21 .bl-blog .bl-row{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--bl-line)}
body.page-id-21 .bl-blog .bl-row img{width:120px;height:76px;object-fit:cover;border-radius:10px}
body.page-id-21 .bl-blog .bl-row p{margin:2px 0 0;color:var(--bl-muted);font-size:14px}
body.page-id-21 .bl-blog .bl-video__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
body.page-id-21 .bl-blog .bl-vid{aspect-ratio:16/9;max-height:200px;width:100%;background:var(--bl-ink);color:#fff;border-radius:14px;display:grid;place-content:center;text-align:center;gap:4px;padding:8px}
body.page-id-21 .bl-blog .bl-vid span{font-size:26px;color:var(--bl-acc)} body.page-id-21 .bl-blog .bl-vid b{font-size:13px} body.page-id-21 .bl-blog .bl-vid small{font-size:11px;opacity:.7}
@media (max-width:600px){body.page-id-21 .bl-blog .bl-video__grid{grid-template-columns:1fr} body.page-id-21 .bl-blog .bl-vid{aspect-ratio:auto;padding:14px} body.page-id-21 .bl-blog .bl-team{grid-template-columns:1fr 1fr}}
@media (min-width:768px){
body.page-id-21 .bl-blog .bl-top{grid-template-columns:1.35fr 1fr;align-items:start}
body.page-id-21 .bl-blog .bl-price__grid{grid-template-columns:repeat(4,1fr)}
body.page-id-21 .bl-blog .bl-price__grid--3{grid-template-columns:repeat(3,1fr)}
body.page-id-21 .bl-blog .bl-tips__grid{grid-template-columns:1fr 1fr;column-gap:24px}
body.page-id-21 .bl-blog .bl-team{grid-template-columns:1fr 1fr 1.1fr} body.page-id-21 .bl-blog .bl-cta{grid-column:auto;flex-direction:column;align-items:flex-start;justify-content:center}
}
body.page-id-21 .doc__inner{max-width:1160px}
/*   */
body.page-id-21 .bl-blog a.bl-pcard,body.page-id-21 .bl-blog a.bl-card-link,body.page-id-21 .bl-blog a.bl-vid,body.page-id-21 .bl-blog .bl-xray__grid a{color:inherit;text-decoration:none;cursor:pointer;display:block;transition:transform .18s ease,box-shadow .18s ease}
body.page-id-21 .bl-blog a.bl-pcard{display:grid}
body.page-id-21 .bl-blog .bl-xray__grid a{display:flex;align-items:center;gap:8px;border-radius:10px}
body.page-id-21 .bl-blog a.bl-card-link{border-radius:14px}
body.page-id-21 .bl-blog a.bl-pcard:hover,body.page-id-21 .bl-blog a.bl-card-link:hover,body.page-id-21 .bl-blog a.bl-vid:hover,body.page-id-21 .bl-blog .bl-xray__grid a:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.12)}
body.page-id-21 .bl-blog a:focus-visible{outline:2px solid var(--bl-acc2);outline-offset:3px}
body.page-id-21 .bl-blog .bl-more{font-style:normal;font-weight:700;font-size:14px;color:var(--bl-acc2);display:inline-block;margin-top:2px}
body.page-id-21 .bl-blog .bl-pcard span{display:block}
body.page-id-21 .bl-blog figcaption .bl-more{margin-left:6px}
