/* Small, isolated visual fixes for the current site. */

.site-section__header h1,
.site-section__header h2,
.site-section__header h3,
.site-section__header .text h1,
.site-section__header .text h2,
.site-section__header .text h3,
.request-form h1,
.request-form h2,
.request-form h3 { color: #fff; }

/* Calm branded background for request sections; it replaces uploaded banner photos. */
.site-section__header--variant {
    background-color: #121713 !important;
    background-image:
        radial-gradient(circle at 82% 18%, rgba(139, 214, 61, .14), transparent 34%),
        linear-gradient(118deg, #101312 0%, #172019 48%, #263526 100%) !important;
}

.site-form-error {
    margin-top: 6px;
    color: #c62828;
    font-size: 12px;
    line-height: 1.35;
}

.recall__items, .recall__clients { height: 548px; min-height: 548px; box-sizing: border-box; }
.recall__clients { padding-bottom: 48px; }
.recall__clients-viewport { height: 390px; overflow: hidden; }
.recall__clients-track { display: flex; height: 100%; transition: transform .35s ease; }
.recall__clients-list { flex: 0 0 100%; align-content: center; box-sizing: border-box; height: 100%; padding: 0 34px; }
.recall__clients-list .recall__client-logo { display: flex; align-items: center; justify-content: center; width: 33.333%; height: 50%; margin: 0; padding: 12px; box-sizing: border-box; }
.recall__clients-list .recall__client-logo.is-page-hidden { display: none !important; }
.recall__client-logo-image { display: block; width: 150px !important; height: 112px !important; max-width: 100% !important; max-height: 100% !important; object-fit: contain; filter: saturate(.72); transition: opacity .2s ease, filter .2s ease, transform .2s ease; }
.quote__signature-image { width: 120px !important; height: 78px !important; margin-right: 20px !important; object-fit: contain; object-position: center; }
.quote__signature-image--logo { border-radius: 0 !important; }
.quote__signature { display: flex; align-items: center; min-height: 78px; }
.recall__client-logo-image:hover, .recall__client-logo.is-active .recall__client-logo-image { filter: saturate(1); transform: scale(1.04); }
.recall__clients-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); height: 390px; align-content: stretch; overflow: hidden; }
.recall__clients-list .recall__client-logo { width: auto; height: auto; min-width: 0; margin: 0; }
.recall__clients-controls { position: absolute; right: 34px; bottom: 12px; left: 34px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.recall__clients-arrow { width: 30px; height: 30px; padding: 0; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; cursor: pointer; font-size: 22px; line-height: 24px; }
.recall__clients-arrow:hover { color: #8fe233; border-color: #8fe233; }
.recall__clients-counter { min-width: 42px; color: rgba(255,255,255,.7); font-size: 12px; text-align: center; }

.articles-page__hero { min-height: 235px; color: #fff; background: linear-gradient(120deg, rgba(0,0,0,.96), rgba(23,31,26,.88)), url('/static/i/temp/bg-form-example-2.jpg') center/cover; }
.articles-page__hero-inner { display: flex; align-items: center; min-height: 235px; }
.articles-page__hero h1 { margin: 8px 0 12px; color: #fff; font-size: 42px; }
.articles-page__hero p { max-width: 560px; margin: 0; color: rgba(255,255,255,.78); font-size: 17px; }
.articles-page__eyebrow, .articles-feed__eyebrow { color: #8fe233; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.articles-page__body { padding-top: 44px; }
.articles-feed__heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; text-align: left; }
.articles-feed__heading h2 { margin: 8px 0 0; color: #111; font-size: 30px; }
.articles-feed__count { color: #888; font-size: 13px; }
.articles-page .previews__item { overflow: hidden; border: 1px solid #e7e7e7; border-radius: 3px; box-shadow: 0 5px 18px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.articles-page .previews__item:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0,0,0,.1); }
.articles-page .previews__item-image-wrap, .articles-card__image-placeholder { height: 184px; }
.articles-page .previews__item-image { width: 100%; height: 184px; object-fit: cover; }
.articles-card__image-placeholder { display: flex; align-items: center; justify-content: center; color: #8fe233; background: linear-gradient(135deg, #111, #263129); font-size: 18px; }
.articles-page .previews__item-text { min-height: 136px; padding: 18px 18px 34px; }
.articles-page .previews__item-text h5 { margin-bottom: 10px; color: #171717; font-size: 17px; line-height: 1.3; }
.articles-page .previews__item-text p { display: -webkit-box; overflow: hidden; color: #777; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.articles-page .previews__item-category { padding: 4px 7px; background: rgba(0,0,0,.6); }
.articles-card__image-button { position: relative; display: block; width: 100%; height: 184px; padding: 0; overflow: hidden; color: inherit; background: #111; border: 0; cursor: zoom-in; }
.articles-card__image-button .previews__item-image { display: block; transition: transform .25s ease; }
.articles-card__image-button:hover .previews__item-image { transform: scale(1.04); }
.articles-card__zoom { position: absolute; right: 14px; bottom: 12px; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #111; background: #8fe233; border-radius: 50%; font-size: 22px; line-height: 1; }
.articles-page .previews__item-link { z-index: 1; }
.articles-card__image-button { z-index: 2; }
.article-lightbox-open { overflow: hidden; }
.article-lightbox { position: fixed; z-index: 11000; top: 0; right: 0; bottom: 0; left: 0; display: none; align-items: center; justify-content: center; padding: 32px; }
.article-lightbox.is-open { display: flex; }
.article-lightbox__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,.88); cursor: zoom-out; }
.article-lightbox__dialog { position: relative; z-index: 1; max-width: min(1100px, 94vw); max-height: 92vh; padding: 18px; background: #171717; box-shadow: 0 18px 60px rgba(0,0,0,.45); }
.article-lightbox__image { display: block; max-width: 100%; max-height: calc(92vh - 70px); object-fit: contain; }
.article-lightbox__close { position: absolute; z-index: 2; top: -15px; right: -15px; width: 36px; height: 36px; padding: 0; color: #111; background: #8fe233; border: 0; border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 32px; }
.article-lightbox__caption { margin: 12px 0 0; color: rgba(255,255,255,.78); font-size: 14px; }
.article-detail__hero { overflow: hidden; background-position: center; }
.article-detail__hero:before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; content: ''; background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.18)); }
.article-detail__hero .site-section__header-inside { position: relative; z-index: 1; }
.article-detail__view-image { margin-top: 28px; padding: 11px 20px; color: #fff; background: rgba(0,0,0,.32); border: 1px solid rgba(255,255,255,.65); border-radius: 24px; cursor: zoom-in; font-size: 14px; }
.article-detail__view-image:hover { color: #111; background: #8fe233; border-color: #8fe233; }
.article-detail__body { padding-top: 48px; padding-bottom: 64px; }
.article-detail__content { max-width: 780px; color: #555; font-size: 16px; line-height: 1.75; }
.article-detail__content p { margin-bottom: 1.4em; }
.article-detail__content img { max-width: 100%; height: auto; }
.article-detail__content h2, .article-detail__content h3, .article-detail__content h4 { margin-top: 1.4em; color: #161616; }
.article-detail .share { max-width: 780px; margin-top: 40px; }
.article-detail__heading { min-height: 0; padding-top: 54px; padding-bottom: 34px; background: #fff; }
.article-detail__heading .site-section__header-inside { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0; }
.article-detail__heading .site-section__header-inside { display: grid; grid-template-columns: minmax(0, 1fr) 500px; gap: 56px; align-items: center; }
.article-detail__heading-copy { grid-column: 1; grid-row: 1; }
.article-detail__heading h1 { max-width: 900px; margin-bottom: 18px; color: #111; font-size: 42px; line-height: 1.12; }
.article-detail__heading .site-section__header-footer { color: #888; }
.article-detail__heading .site-section__time, .article-detail__heading .site-section__sub-title { color: #888; }
.article-detail__heading .site-section__sub-title { margin-left: 22px; }
.article-detail__body { padding-top: 0; }
.article-detail__main { width: 100%; max-width: 1100px; margin: 0 auto; }
.article-detail__image { position: relative; display: block; width: 100%; height: 560px; margin: 0 auto 44px; padding: 0; overflow: hidden; background: #111; border: 0; cursor: pointer; }
.article-detail__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease, filter .3s ease; }
.article-detail__image-overlay { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .25s ease; font-size: 15px; }
.article-detail__image:hover img { filter: brightness(.72); transform: scale(1.02); }
.article-detail__image:hover .article-detail__image-overlay, .article-detail__image:focus .article-detail__image-overlay { opacity: 1; }
.article-detail__zoom-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #111; background: #8fe233; border-radius: 50%; font-size: 30px; line-height: 1; }
.article-detail__image--heading { grid-column: 2; grid-row: 1; width: 500px; height: 360px; margin: 0; }
.article-detail__content { max-width: 840px; margin: 0 auto; }
.article-detail__related { max-width: 1100px; margin: 72px auto 0; padding-top: 42px; border-top: 1px solid #ddd; }
.article-detail__related h2 { margin-bottom: 28px; color: #111; font-size: 30px; }
.article-detail__related-list { display: flex; gap: 24px; }
.article-detail__related-card { position: relative; display: block; flex: 1 1 0; min-width: 0; padding-bottom: 24px; color: #222; background: #fff; border: 1px solid #e4e4e4; box-shadow: 0 4px 14px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.article-detail__related-card:hover { color: #222; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.1); }
.article-detail__related-image { height: 190px; overflow: hidden; background: #eee; }
.article-detail__related-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.article-detail__related-card time { display: block; margin: 14px 18px 7px; color: #999; font-size: 12px; }
.article-detail__related-card h3 { margin: 0 18px; color: #222; font-size: 18px; line-height: 1.25; }
@media (max-width: 900px) {
    .article-detail__heading .site-section__header-inside { grid-template-columns: minmax(0, 1fr) 42vw; gap: 28px; }
    .article-detail__heading-copy { grid-column: 1; grid-row: 1; }
    .article-detail__image--heading { grid-column: 2; grid-row: 1; }
    .article-detail__image--heading { width: 42vw; height: 30vw; min-height: 220px; }
    .article-detail__image { height: 48vw; min-height: 280px; }
    .article-detail__related-list { flex-wrap: wrap; }
    .article-detail__related-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
    .article-detail__heading { padding-top: 32px; padding-bottom: 24px; }
    .article-detail__heading h1 { font-size: 30px; }
    .article-detail__heading .site-section__header-inside { display: block; }
    .article-detail__heading-copy, .article-detail__image--heading { grid-column: auto; grid-row: auto; }
    .article-detail__heading .site-section__sub-title { display: block; margin: 6px 0 0; }
    .article-detail__image { height: 62vw; min-height: 210px; margin-bottom: 30px; }
    .article-detail__image--heading { width: 100%; height: 62vw; min-height: 210px; margin-top: 28px; }
    .article-detail__content { font-size: 15px; }
    .article-detail__related-card { flex-basis: 100%; }
}

/* The widget CSS is absent from the legacy collected stylesheet in the local image. */
@media screen and (max-width: 800px) {
    html, body { min-width: 0; max-width: 100%; overflow-x: hidden; }
    .site-main, .site-header, .site-footer, .wrapper, .grid--width { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
    .grid--width, .site-section__header-inside { min-width: 0; }
    .site-header__contacts { display: none; }
    .site-header__inside { padding: 0 16px; }
    .site-header__inside .grid--width { display: flex; flex-direction: column; align-items: center; }
    .site-header__inside .main-logo { width: auto; float: none; margin: 18px 0 12px; }
    .site-header__inside .site-navigation { width: 100%; float: none; margin: 0 0 16px; text-align: center; }
    .site-navigation__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
    .site-navigation__item { margin: 0; }
    .site-navigation__item-text { padding: 6px 0; font-size: 11px; }
    .site-section__header-inside { padding: 42px 16px 34px; }
    .site-section__header h1, .site-section__header h2 { font-size: 30px; line-height: 1.15; }
    .site-section__header .text__intro p { font-size: 14px; line-height: 1.45; }
    .site-section__header--service .site-section__header-inside { padding: 42px 16px 28px; }
    .site-section__header--service .service-price { width: 100%; }
    .site-section__header--service .service-price__item { max-width: 100%; padding: 10px 4px; }
    .site-section__header--service .service-price__item span { font-size: 13px; }
    .site-section__header--service .service-price__item em { font-size: 22px; }
    .site-section__inside { padding: 36px 16px; }
    body .site-section__content, body .site-section__aside, .site-section__inside > * { width: 100% !important; max-width: 100%; min-width: 0; float: none !important; box-sizing: border-box; }
    .previews__list, .services__list { display: block; width: 100%; }
    .previews__item, .services__item { display: block; width: 100% !important; max-width: 100%; margin: 0 0 20px !important; float: none !important; }
    .previews__item-image-wrap, .previews__item-image { width: 100%; }
    .previews__item-image { max-height: 220px; object-fit: cover; }
    .previews__item-text { min-height: 0; padding: 16px 14px 34px; }
    .previews__item-text h5 { font-size: 18px; line-height: 1.25; }
    .services__item { min-height: 0; padding: 18px 14px; }
    .services__item-wrapper { display: flex; align-items: center; gap: 14px; }
    .services__item-name { font-size: 16px; line-height: 1.25; }
    .principles__image-wrap, .principles__text { width: 100%; float: none; }
    .principles__image { width: 100%; height: auto; }
    .principles__image-text .text, .principles__text .text { width: auto; min-width: 0; padding: 24px 20px; }
    .services__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
    .services__item { width: auto !important; margin: 0 !important; padding: 0; }
    .services__item-wrapper { gap: 7px; }
    .services__item-image { flex: 0 0 48px; width: 48px; height: 48px; }
    .services__item-name { max-width: none; padding-left: 0; font-size: 12px; line-height: 1.2; }
    .recall { display: block; }
    .recall__items, .recall__clients { width: 100%; height: auto !important; min-height: 0 !important; float: none; margin: 0; }
    .recall__clients-list .recall__client-logo { width: 33.333%; margin: 0; }
    .recall__clients { height: auto; min-height: 0; padding: 24px 16px 58px; }
    .recall__clients-header { margin-bottom: 18px; }
    .recall__clients-list { min-height: 210px; align-content: flex-start; }
    .recall__clients-list .recall__client-logo { height: 70px; padding: 8px 4px; }
    .recall__client-logo-image { max-width: 92px; max-height: 54px; }
    .recall__clients-controls { right: 16px; bottom: 14px; left: 16px; display: flex; }
    .map { height: 420px; }
    .article-detail__heading { padding: 28px 16px 20px; }
    .article-detail__heading .site-section__header-inside { padding: 0; }
    .article-detail__heading h1 { font-size: 28px; line-height: 1.15; }
    .article-detail__main, .article-detail__related { width: 100%; max-width: 100%; padding: 0 16px; box-sizing: border-box; }
    .article-detail__image { height: 56vw; min-height: 190px; }
    .article-detail__content { width: 100%; max-width: 100%; font-size: 15px; line-height: 1.6; }
    .article-detail__related-list { display: block; }
    .article-detail__related-card { width: 100%; margin-bottom: 18px; }
    .site-footer { padding: 30px 16px; }
    .site-footer .grid--width { display: block; }
    .site-footer__section { width: 100%; margin-bottom: 24px; }
}

/* Give the home hero and the first content block enough breathing room on phones. */
@media screen and (max-width: 800px) {
    .home-page .site-section__header.site-section__header--slider,
    .home-page .site-section__header.site-section__header--slider .slider,
    .home-page .site-section__header.site-section__header--slider .slider__list,
    .home-page .site-section__header.site-section__header--slider .slider__item {
        height: 570px !important;
        min-height: 570px !important;
    }
    .home-page .site-section__header.site-section__header--slider .slider__item-text {
        padding-right: 24px;
        padding-left: 24px;
        padding-bottom: 202px;
    }
    .home-page .site-section__header.site-section__header--slider .request-form {
        bottom: 18px;
    }
    .home-page .site-section__header.site-section__header--slider .request-form .input,
    .home-page .site-section__header.site-section__header--slider .request-form .button,
    .home-page .site-section__header.site-section__header--slider .request-form a.button {
        margin-top: 8px;
        margin-bottom: 8px;
    }
    .home-page .site-section__header.site-section__header--slider .request-form .personal-data-consent {
        margin-top: 10px;
    }
    .home-page .site-section__inside {
        padding-top: 54px;
        padding-bottom: 48px;
    }
    .home-page .site-section__inside--close {
        padding-bottom: 0;
    }
    .home-page .services__header {
        margin-bottom: 38px;
    }
    .home-page .services__list {
        row-gap: 26px !important;
    }
}

/* Keep the reviews block aligned with the page content instead of pulling it to the viewport edge. */
@media screen and (max-width: 800px) {
    .home-page .site-section__inside--close .recall {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box;
    }
    .home-page .site-section__inside--close .recall__clients {
        width: calc(100% + 16px) !important;
        margin-left: -16px !important;
    }
}
.my-widget-wrapper { position: fixed; right: 30px; bottom: 30px; z-index: 9999; display: flex; flex-direction: column; align-items: center; font-family: 'Segoe UI', Roboto, sans-serif; user-select: none; touch-action: none; }
.my-widget-menu { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s cubic-bezier(.25,.8,.25,1); pointer-events: none; }
.my-widget-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.my-widget-item { position: relative; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.my-widget-item svg { width: 32px; height: 32px; fill: #fff; }
.my-widget-item.tg-btn { background: linear-gradient(135deg,#37aee2,#1e96c8); }
.my-widget-item.max-btn { background: linear-gradient(135deg,#4cf,#53e,#93d); }
.my-widget-item.phone-btn { background: #25d366; }
.my-widget-item::before { position: absolute; right: 100%; top: 50%; margin-right: 15px; padding: 6px 12px; content: attr(data-tooltip); color: #fff; background: #333; border-radius: 6px; transform: translateY(-50%); opacity: 0; visibility: hidden; white-space: nowrap; }
.my-widget-item:hover::before { opacity: 1; visibility: visible; }
.my-widget-main-btn { position: relative; display: flex; align-items: center; justify-content: center; width: 85px; height: 85px; padding: 0; background: #007bff; border: 0; border-radius: 50%; box-shadow: 0 4px 15px rgba(0,123,255,.4); cursor: grab; }
.my-widget-main-btn.is-pulsing { animation: my-widget-pulse 2s infinite; }
.my-widget-icon-box { position: relative; width: 46px; height: 46px; pointer-events: none; }
.my-widget-icon { position: absolute; top: 0; left: 0; width: 100%; height: 100%; fill: #fff; opacity: 0; transform: scale(.5) rotate(-45deg); transition: all .4s ease; }
.my-widget-icon.is-active { opacity: 1; transform: scale(1) rotate(0); }
@keyframes my-widget-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,123,255,.7); } 70% { box-shadow: 0 0 0 20px rgba(0,123,255,0); } }
@media (max-width: 768px) { .my-widget-wrapper { right: 16px; bottom: 16px; } .my-widget-main-btn { width: 64px; height: 64px; } .my-widget-item { width: 54px; height: 54px; } .my-widget-item svg { width: 28px; height: 28px; } .my-widget-icon-box { width: 36px; height: 36px; } .my-widget-item::before { display: none; } }

@media (max-width: 800px) {
    .recall__items, .recall__clients { height: auto; min-height: 0; }
    .recall__clients { padding-bottom: 54px; }
    .recall__clients-viewport { height: 300px; }
    .recall__clients-list .recall__client-logo { height: 50%; padding: 8px; }
    .recall__client-logo-image { max-width: 100px; max-height: 78px; }
    .articles-page__hero h1 { font-size: 32px; }
    .articles-feed__heading { display: block; }
    .articles-feed__count { display: block; margin-top: 10px; }
}

/* Local polish for service pricing, contacts and the company page. */
.site-header__contacts-item > a,
.site-footer .link-list__item > a[href^="tel:"] { color: inherit; text-decoration: none; }
.site-header__contacts-item > a:hover,
.site-footer .link-list__item > a[href^="tel:"]:hover { color: #8fd63b; }

.site-section__header--service .site-section__header-inside { display: flex; flex-direction: column; align-items: center; padding-top: 60px; padding-bottom: 30px; }
.site-section__header--service .text__intro { min-height: 0; }
.site-section__header--service .service-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 48px; width: 100%; margin: 16px auto 0; padding: 14px 24px; box-sizing: border-box; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); }
.site-section__header--service .service-price:empty { display: none; }
.site-section__header--service .service-price__item { display: flex; align-items: baseline; gap: 12px; margin: 0; padding: 14px 12px; }
.site-section__header--service .service-price__item em { color: #8fd63b; font-size: 28px; font-style: normal; font-weight: 700; white-space: nowrap; }
.site-section__header--service .request-form { position: static; width: auto; margin: 12px auto 0; }
.site-section__header--service .request-form .button { min-width: 200px; }

.site-section__header--hiw { min-height: 680px !important; background-size: cover; background-position: center center; }
.site-section__header--hiw h1 { text-transform: none; }

/* Smooth navigation between the «Как мы работаем» subsections. */
.hiw-page {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .26s ease, transform .26s ease;
}
.hiw-page.is-entering {
    opacity: 0;
    transform: translateY(8px);
}
.hiw-page.is-leaving {
    opacity: 0;
    transform: translateY(-8px);
}
@media (prefers-reduced-motion: reduce) {
    .hiw-page { transition: none; }
}

.about-page__hero { min-height: 560px !important; background-position: center center; }
.about-page__hero:before { position: absolute; top: 0; right: 0; bottom: 0; left: 0; content: ''; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.2)); }
.about-page__hero .site-section__header-inside { position: relative; z-index: 1; align-content: end; padding-bottom: 70px; }
.about-page__hero h1 { max-width: 760px; margin-bottom: 18px; color: #fff; font-size: 48px; line-height: 1.12; }
.about-page__hero .site-section__author { color: #8fd63b; font-size: 16px; }
.about-page__body { align-items: start; gap: 54px; padding-top: 64px; padding-bottom: 74px; }
.about-page__content { max-width: 760px; color: #5e5e5e; font-size: 16px; line-height: 1.75; }
.about-page__content p { margin-bottom: 1.35em; }
.about-page__content h2, .about-page__content h3 { margin: 0 0 20px; color: #141414; font-size: 32px; line-height: 1.2; }
.about-page__aside { position: sticky; top: 24px; }
.about-page .files { border-radius: 3px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.about-page .files__header { margin-bottom: 4px; }
.about-page .files__item { transition: background-color .2s ease; }
.about-page .files__item:hover { background: #f4f8ef; }
.about-page__body { padding-bottom: 0; }
.pwa-install { display: none; margin: 0 auto; padding: 48px 56px; color: #fff; background: linear-gradient(120deg, #111, #202b20); }
.pwa-install.is-visible { display: block; }
.pwa-install__content { max-width: 720px; }
.pwa-install__eyebrow { color: #8fd63b; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.pwa-install h2 { margin: 10px 0 12px; color: #fff; font-size: 32px; }
.pwa-install p { margin-bottom: 22px; color: rgba(255,255,255,.78); font-size: 16px; }
.pwa-install__button { margin-top: 4px; }
.pwa-install__hint { margin: 14px 0 0 !important; color: #8fd63b !important; font-size: 13px !important; }
.pwa-install-modal { position: fixed; z-index: 12000; top: 0; right: 0; bottom: 0; left: 0; display: none; align-items: center; justify-content: center; padding: 20px; }
.pwa-install-modal.is-open { display: flex; }
.pwa-install-modal__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0,0,0,.72); }
.pwa-install-modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 420px; padding: 34px 28px 28px; color: #444; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
.pwa-install-modal__dialog h2 { margin: 0 0 14px; color: #111; font-size: 25px; }
.pwa-install-modal__dialog p { margin: 0; color: #555; font-size: 16px; line-height: 1.55; }
.pwa-install-modal__close { position: absolute; top: 8px; right: 12px; padding: 0; color: #777; background: transparent; border: 0; cursor: pointer; font-size: 28px; line-height: 1; }
@media (max-width: 600px) { .pwa-install { padding: 32px 22px; } .pwa-install h2 { font-size: 27px; } }
@media (max-width: 900px) {
    .site-section__header--service .service-price__item { flex-direction: column; align-items: center; gap: 3px; text-align: center; }
    .about-page__hero h1 { font-size: 38px; }
    .about-page__body { display: block; }
    .about-page__content { max-width: none; }
    .about-page .site-section__aside { margin-top: 42px; }
    .about-page__aside { position: static; }
}
@media (max-width: 600px) {
    .site-section__header--service .service-price { gap: 16px; padding: 15px 10px; }
    .site-section__header--service .service-price__item em { font-size: 23px; }
    .site-section__header--hiw { min-height: 560px !important; }
    .about-page__hero { min-height: 460px !important; }
    .about-page__hero h1 { font-size: 31px; }
}

@media screen and (max-width: 800px) {
    /* Let the presentations panel reach both edges of the white about-page content area. */
    .about-page .site-section__aside {
        width: calc(100% + 32px) !important;
        max-width: none !important;
        margin-left: -16px !important;
    }
    .about-page .files {
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 800px) {
    .site-section__inside--close .recall { width: 100vw !important; max-width: 100vw; margin-left: -16px; }
    .recall__clients-list { height: 220px; }
    .recall__clients-controls { display: flex; }
}

@media screen and (max-width: 800px) {
    .site-section__header--slider,
    .site-section__header.site-section__header--slider .fotorama__stage,
    .slider,
    .slider__list { min-height: 0 !important; height: 520px !important; }
    .slider__item { min-height: 520px; height: 520px; background-position: center center; }
    .slider__item-text { width: 100%; padding: 0 18px 92px; }
    .slider--align .slider__item-text h3,
    .slider--align .slider__item-text p { max-width: 100%; }
    .slider__item-text h3 { margin-bottom: 10px; font-size: 27px; line-height: 1.15; }
    .slider__item-text p { font-size: 13px; line-height: 1.35; }
    .slider__item-text .button { margin-top: 18px; }
    .slider__control-list { bottom: 18px; padding: 0 12px; text-align: center; }
    .slider__control-list-item { margin: 0 5px; }
    .slider__control-list-item:before { display: none; }
    .slider__control-list-image { width: 28px; height: 28px; }
    .slider__control-list-text { margin-top: 3px; font-size: 10px; }
    .site-section__header.site-section__header--slider { height: 520px !important; min-height: 520px !important; }
    .site-section__header--variant { height: auto !important; min-height: 0 !important; }
    .site-section__header--variant .site-section__header-inside { min-height: 0; padding: 42px 16px 34px; }
    .site-section__header--variant .request-form { position: static; width: 100%; margin: 18px 0 0; }
    .site-section__header--variant .request-form .input,
    .site-section__header--variant .request-form .button,
    .site-section__header--variant .request-form .button--transparent { display: block; width: 100%; margin: 8px 0; box-sizing: border-box; }
    .site-section__header--variant .request-form .personal-data-consent { width: 100%; margin-top: 10px; }
}

/* Remove the unexplained side controls from the main hero slider on every screen. */
.site-section__header--slider .arrows-control,
.site-section__header--slider .fotorama__arr {
    display: none !important;
}

/* Mobile layout corrections: keep interactive blocks inside the narrow viewport. */
@media screen and (max-width: 800px) {
    /* The hero side arrows do not add useful navigation on the compact layout. */
    .site-section__header--slider .arrows-control,
    .site-section__header--slider .fotorama__arr {
        display: none !important;
    }

    /* Keep white hero copy readable even when an uploaded service image is light. */
    .site-section__header--service {
        position: relative;
        background-color: #202020;
    }
    .site-section__header--service::before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        content: '';
        background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.64));
        pointer-events: none;
    }
    .site-section__header--service .site-section__header-inside {
        position: relative;
        z-index: 1;
    }

    /* Override the legacy desktop :hover rule; on touch devices the menu is class-driven only. */
    .site-navigation__item--dropdown .dropdown { display: none !important; }
    .site-navigation__item--dropdown.is-mobile-open .dropdown {
        display: block !important;
        position: static;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
    }
    .site-navigation__item--dropdown.is-mobile-open .dropdown__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 8px;
        padding: 4px 8px 8px;
        background: #f7f7f7;
    }
    .site-navigation__item--dropdown.is-mobile-open .dropdown__item-text {
        display: block;
        padding: 8px 10px;
        font-size: 11px;
        line-height: 1.25;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .site-section__header.site-section__header--slider .slider__item-text {
        padding: 0 18px 178px;
    }
    .site-section__header.site-section__header--slider .slider__item-text h3 {
        max-width: 100%;
        margin-bottom: 7px;
        font-size: 24px;
        line-height: 1.12;
    }
    .site-section__header.site-section__header--slider .slider__item-text p {
        max-width: 100%;
        margin-bottom: 0;
        font-size: 11px;
        line-height: 1.25;
    }
    .site-section__header.site-section__header--slider .request-form {
        position: absolute;
        right: 0;
        bottom: 18px;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: center;
    }
    .site-section__header.site-section__header--slider .request-form .input,
    .site-section__header.site-section__header--slider .request-form .button,
    .site-section__header.site-section__header--slider .request-form a.button {
        display: block;
        width: calc(100% - 36px);
        height: 42px;
        min-height: 42px;
        margin: 5px auto;
        padding: 0 12px;
        line-height: 40px;
        box-sizing: border-box;
    }
    .site-section__header.site-section__header--slider .request-form .personal-data-consent {
        width: calc(100% - 28px);
        margin: 5px auto 0;
        font-size: 10px;
        line-height: 1.2;
    }

    .services__list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 12px !important;
        align-items: start;
    }
    .services__item { min-width: 0; }
    .services__item-wrapper { min-width: 0; }
    .services__item-name { overflow-wrap: anywhere; }

    .recall__items { min-height: 470px !important; }
    .recall__clients { min-height: 340px !important; padding: 24px 16px 54px; }
    .recall__clients-viewport { height: 220px !important; overflow: hidden; }
    .recall__clients-track { height: 220px; }
    .recall__clients-list {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: repeat(2, 1fr);
        height: 220px;
        min-height: 0;
        align-content: stretch;
    }
    .recall__clients-list .recall__client-logo {
        width: auto;
        height: auto;
        min-width: 0;
        padding: 6px 3px;
    }
    .recall__client-logo-image { width: 92px !important; height: 62px !important; max-width: 100% !important; max-height: 100% !important; }
    .quote__signature-image { width: 88px !important; height: 64px !important; margin-right: 14px !important; }
    .quote__signature { min-height: 64px; }

    .site-section__header--variant::before {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        content: '';
        background: rgba(0, 0, 0, .28);
        pointer-events: none;
    }
    .site-section__header--variant .site-section__header-inside { position: relative; z-index: 1; }
    .site-section__header--variant .request-form {
        padding: 8px 10px 10px;
        border-radius: 18px;
        background: rgba(0, 0, 0, .36);
        box-sizing: border-box;
    }

    /* Service detail: stack the principle block instead of preserving the desktop 50/50 layout. */
    .principles {
        display: block !important;
        width: 100%;
        overflow: hidden;
    }
    .principles__image-wrap,
    .principles__text {
        display: block;
        width: 100% !important;
        min-width: 0 !important;
        float: none !important;
    }
    .principles__image {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        float: none;
    }
    .principles__image-text .text,
    .principles__text .text {
        width: 100% !important;
        min-width: 0 !important;
        padding: 28px 22px 24px;
        box-sizing: border-box;
    }
    .principles__text .big-list li {
        margin-left: 42px;
        padding-left: 12px;
        overflow-wrap: anywhere;
    }
    .site-footer .link-list__item-text {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}
