:root {
    --color-header: #4c4c4c;
    --color-accent: #2e9bd5;
    --color-accent-hover: #2590c4;
    --color-accent-dark: #194364;
    --color-text: #333;
    --color-text-muted: #555;
    --color-text-muted-light: #777;
    --color-bg: #f5f5f5;
    --color-bg-alt: #f9f9f9;
    --color-white: #fff;
    --color-border: #ccc;
    --color-border-light: #eee;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-overlay: rgba(0, 0, 0, 0.3);
    --color-overlay-hover: rgba(0, 0, 0, 0.5);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, p {
    margin: 0 0 0.75em;
}

h1:last-child, h2:last-child, h3:last-child, h4:last-child, p:last-child {
    margin-bottom: 0;
}

input, button {
    font-family: inherit;
    font-size: inherit;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    background: var(--color-white);
    color: var(--color-header);
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
    transform: translateY(-150%);
    transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: translateY(0);
    text-decoration: none;
}

:where(a, button, input, select, textarea, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid #ffe082;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--color-accent);
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 48rem) {
    .container {
        padding: 0 1.5rem;
    }
}

.header {
    background: var(--color-header);
    color: var(--color-white);
    padding: 0.75rem 0;
}

.header__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
}

.header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3125rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-white);
    cursor: pointer;
    position: absolute;
    top: 0.75rem;
    right: 1.25rem;
    z-index: 11;
    transition: transform 0.2s;
}

.header__burger-line {
    display: block;
    width: 1.5rem;
    height: 0.1875rem;
    background: currentColor;
    border-radius: 0.125rem;
    transition: transform 0.2s, opacity 0.2s;
}

.header.is-menu-open .header__burger-line:nth-child(1) {
    transform: translateY(0.5rem) rotate(45deg);
}

.header.is-menu-open .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header.is-menu-open .header__burger-line:nth-child(3) {
    transform: translateY(-0.5rem) rotate(-45deg);
}

.header__nav {
    position: relative;
}

.header__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.header__menu-link {
    color: var(--color-white);
}

.header__menu-link:hover {
    text-decoration: underline;
}

.header__search {
    display: flex;
    align-items: center;
    max-width: 13.75rem;
}

.header__search-input {
    flex: 1;
    min-width: 0;
    height: 2.25rem;
    padding: 0 0.625rem;
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    border-right: 0;
    border-radius: 0.25rem 0 0 0.25rem;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
}

.header__search-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0.0625rem solid rgba(255, 255, 255, 0.3);
    border-radius: 0 0.25rem 0.25rem 0;
    background: rgba(255, 255, 255, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center no-repeat;
    cursor: pointer;
    box-sizing: border-box;
    flex-shrink: 0;
}

.header__contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    color: var(--color-white);
    transition: opacity 0.2s;
}

.header__phone:hover {
    opacity: 0.8;
    text-decoration: none;
}

.header__phone-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.header__schedule {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-white);
    opacity: 0.9;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.5);
    transition: opacity 0.2s, text-decoration-color 0.2s;
}

.header__schedule:hover {
    opacity: 1;
    text-decoration-color: var(--color-white);
}

.header__schedule-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

@media (max-width: 47.9375rem) {
    .header .container {
        position: relative;
        padding-top: 0.75rem;
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 0.5rem 1rem;
        align-items: center;
    }

    .header__burger {
        display: flex;
        position: static;
        grid-column: 2;
        grid-row: 1;
        align-self: center;
    }

    .header__nav {
        grid-column: 1;
        grid-row: 1;
        width: 0;
        min-width: 0;
        overflow: hidden;
    }

    .header__right {
        margin-top: 0;
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        min-width: 0;
    }

    .header__search {
        max-width: 100%;
        width: 100%;
    }

    .header__menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-header);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 4rem 1.5rem 2rem;
        z-index: 10;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
    }

    .header.is-menu-open .header__menu {
        opacity: 1;
        visibility: visible;
    }

    .header__menu-item {
        width: 100%;
        text-align: center;
        border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.15);
    }

    .header__menu-link {
        display: block;
        padding: 1rem;
        font-size: 1.125rem;
    }

    .header__contact {
        flex-wrap: wrap;
    }

    .header__phone {
        white-space: normal;
    }
}

@media (min-width: 48rem) {
    .header__burger {
        display: none;
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .header__right {
        margin-top: 0;
    }
}

.slider {
    position: relative;
    overflow-x: hidden;
}

.slider__container {
    position: relative;
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 48rem) {
    .slider__container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 47.9375rem) {
    .slider__arrow {
        display: none;
    }
}

.slider__inner {
    position: relative;
    width: 100%;
    max-width: 85rem;
    margin: 0 auto;
    min-height: 17.5rem;
    overflow: hidden;
    border-radius: 0;
}

@media (min-width: 48rem) {
    .slider__inner {
        min-height: 30.375rem;
    }
}

.slider__inner .swiper-slide {
    position: relative;
    height: 17.5rem;
    min-height: 17.5rem;
    overflow: hidden;
}

@media (min-width: 48rem) {
    .slider__inner .swiper-slide {
        height: 30.375rem;
        min-height: 30.375rem;
    }
}

.slider__slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #1a1a1a;
}

.slider__slide-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slider__inner .swiper-slide > .container {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.slider__slide-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    color: var(--color-white);
}

.slider__slide-content > .swiper-slide {
    padding: 2.5rem 1.25rem 3.75rem;
}

@media (min-width: 48rem) {
    .slider__slide-content > .swiper-slide {
        padding: 3.75rem 1.5rem 5rem;
    }
}

.slider__slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
}

.slider__slide-title-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 0;
}

.slider__slide-action {
    margin-top: auto;
    align-self: flex-start;
}

@media (min-width: 48rem) {
    .slider__slide-action {
        margin-bottom: -3rem;
    }
}

.slider__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.slider__logo-img {
    display: block;
    height: 2.5rem;
    width: auto;
}

.slider__logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.slider__logo_blue .slider__logo-text {
    color: var(--color-accent);
}

.slider__title {
    font-size: 1.125rem;
    margin: 0 0 1.25rem;
    line-height: 1.4;
}

.slider__slide-body > .slider__title:last-child {
    margin-bottom: 0;
}

@media (min-width: 48rem) {
    .slider__title {
        font-size: 1.25rem;
    }
}

.slider__title_large {
    font-size: 2.25rem;
    color: var(--color-text-muted);
}

.slider__title_big {
    font-size: 2.25rem;
}

.slider__cta {
    display: inline-block;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    cursor: pointer;
}

.slider__cta:hover {
    background: var(--color-accent-hover);
    text-decoration: none;
}

.slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #e5e5e5;
    color: var(--color-text);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.25rem;
}

.slider__arrow:hover {
    background-color: #d0d0d0;
}

.slider__arrow_prev {
    left: 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.slider__arrow_next {
    right: 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
}

@media (min-width: 48rem) {
    .slider__arrow {
        width: 3.25rem;
        height: 3.25rem;
        background-size: 1.5rem;
    }

    .slider__arrow_prev {
        left: 0.75rem;
    }

    .slider__arrow_next {
        right: 0.75rem;
    }
}

@media (min-width: 85rem) {
    .slider__arrow_prev {
        left: -2.5rem;
    }

    .slider__arrow_next {
        right: -2.5rem;
    }
}

.slider__pagination {
    position: absolute;
    bottom: 1.25rem;
    left: 0;
    right: 0;
    z-index: 2;
}

.slider__pagination .swiper-pagination-bullet {
    width: 0.625rem;
    height: 0.625rem;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: background 0.2s;
}

.slider__pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}

.quick-links {
    background: var(--color-white);
    padding: 2.5rem 0;
    box-shadow: 0 0.0625rem 0 var(--color-shadow);
}

.quick-links .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.quick-links__item {
    display: block;
    color: var(--color-white);
    border-radius: 0.25rem;
    text-align: left;
    font-weight: 500;
    transition: background 0.2s, transform 0.3s ease;
    height: 110px;
    color: var(--color-accent-dark);
    display: flex;
    align-items: center;
    padding-left: 8rem;
    font-size: 1.4rem;
    max-width: 25rem;
    line-height: 2rem;
    background-position: 1.25rem center;
    background-size: 6rem auto;
    background-repeat: no-repeat;
}

@media (max-width: 47.9375rem) {
    .quick-links__item {
        width: 100%;
        height: auto;
        min-height: 5.25rem;
        padding: 1rem 1rem 1rem 5.5rem;
        font-size: 1.125rem;
        line-height: 1.4;
        max-width: none;
        background-position: 1rem center;
        background-size: 3.5rem auto;
    }
}

.quick-links__item_desc {
    background-image: url(/local/templates/superokna/img/main/header-link-1.png);
    background-repeat: no-repeat;
}

.quick-links__item_demo {
    background-image: url(/local/templates/superokna/img/main/header-link-2.png);
    background-repeat: no-repeat;
    background-size: 350px;
}

@media (max-width: 48rem) {
    .quick-links__item_demo {    
        background-image: url(/local/templates/superokna/img/main/header-link-small-2.png);
        background-repeat: no-repeat;
        background-size: 56px;
    }
}

.quick-links__item_vers {
    background-image: url(/local/templates/superokna/img/main/header-link-3.png);
    background-repeat: no-repeat;
}

.quick-links a:hover {
    text-decoration: none;
    transform: scale(1.05);
}

.download_li,
.download_li a {
    color: #3c5d79;
    font-size: 18px;
    text-decoration: none;
    line-height: 34px;
}

.download_li a:hover {
    text-decoration: underline;
}

.download_li span {
    display: inline-block;
    width: 26px;
    height: 26px;
    background: url("images/donload.gif") no-repeat 0 -31px;
    margin-bottom: -6px;
}

.download_li {
    padding-bottom: 4px;
}

.download_li a {
    display: inline-block;
    margin-left: 8px;
    line-height: 26px;
}

.iconfile-pdf span {
    background-position: 0 0;
}

.iconfile-video span {
    background-position: 0 -64px;
}

.subscribe-banner {
    padding: 1.25rem 0;
    background-color: var(--color-white);
}

.subscribe-banner__inner {
    width: 100%;
    height: 10.25rem;
    box-sizing: border-box;
    padding: 1.25rem 1.5rem;
    background: #ebecec url(/local/templates/superokna/img/main/podpiska-bg.png) repeat;
    border-radius: 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    justify-content: center;
}

.subscribe-banner__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 5.5rem;
    background: #ff9900;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: 0 2px 0 0 #e68a00;
    white-space: nowrap;
    transition: background 0.2s, box-shadow 0.2s;
}

.subscribe-banner__link:hover {
    background: #e68a00;
    text-decoration: none;
    box-shadow: 0 2px 0 0 #cc7a00;
}

.subscribe-banner__link:focus-visible {
    text-decoration: none;
}

.subscribe-banner__desc {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
    line-height: 1.4;
    max-width: 32rem;
}

.subscribe-banner__text {
    display: inline-block;
    position: relative;
    top: 2px;
}

@media (max-width: 47.9375rem) {
    .subscribe-banner__inner {
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }

    .subscribe-banner__link {
        width: 100%;
        padding: 1rem 1.25rem;
        white-space: normal;
        text-align: center;
    }

    .subscribe-banner__desc {
        font-size: 1.125rem;
        max-width: none;
        text-align: center;
    }
}

.about__item {
    padding: 2.5rem 0;
    background: var(--color-white);
}

.about__item_alt {
    background: var(--color-bg);
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
@media (min-width: 48rem) {
    .about__item {
        min-height: 500px;
        display: flex;
        align-items: center;
    }

    .about__content {
        flex-direction: row;
        align-items: center;
        gap: 2.5rem;
    }

    

.about__content_reverse {
    flex-direction: row-reverse;
}

}

.about__img-wrap {
    flex-shrink: 0;
}

.about__img {
    width: 100%;
    max-width: 36rem;
    height: auto;
    object-fit: cover;
    border-radius: 0.25rem;
    display: block;
}

.about__title {
    font-size: 2.2rem;
    line-height: 2.5rem;
    color: var(--color-text-muted-light);
    margin-bottom: 0.75rem;
}

.about__desc {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.leader {
    background: var(--color-white);
    color: var(--color-text);
    padding: 6.5rem 0 1.5rem;
}

@media (max-width: 47.9375rem) {
    .leader {
        padding: 3.25rem 0 1.25rem;
    }
}

.leader__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #6b6b6b;
    text-align: center;
}

@media (min-width: 48rem) {
    .leader__title {
        font-size: 2.5rem;
    }
}

@keyframes stats-bg-pulse {
    0%, 100% { background-color: #2e9bd5; }
    50% { background-color: #1a7fb5; }
}

.stats {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 1.75rem 0;
    animation: stats-bg-pulse 4s ease-in-out infinite;
}

.stats .container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
}

@media (max-width: 47.9375rem) {
    .stats .container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stats__item {
        text-align: center;
    }
}

.stats__item {
    flex: 1;
    min-width: 0;
    font-size: 0.9375rem;
    text-align: left;
}

.stats__num {
    font-weight: 700;
    font-size: 1.4em;
    letter-spacing: 0.02em;
    color: #ffe082;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

@media (min-width: 48rem) {
    .stats__item {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .stats__num {
        font-size: 1.25em;
    }
}

.content {
    flex: 1;
    padding: 2.5rem 0 3.75rem;
    background: var(--color-white);
}

.content__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 48rem) {
    .content__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 64rem) {
    .content__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.content__col-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.125rem solid var(--color-accent);
}

.content__col-title a {
    color: var(--color-accent);
}

.content__col-title a:hover {
    text-decoration: underline;
}

.content__col-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.news-item__date,
.review-item__author {
    font-size: 0.8125rem;
    color: var(--color-text-muted-light);
    margin-bottom: 0.25rem;
}

.news-item__title,
.review-item__author {
    font-size: 0.9375rem;
    font-weight: 600;
}

.news-item__title a,
.review-item__author {
    color: var(--color-text);
}

.news-item__text,
.review-item__text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0 0 0.5rem;
}

.content__subscribe {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 0.0625rem solid var(--color-border-light);
}

.subscribe-form__label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    color: var(--color-text-muted);
}

.subscribe-form__input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0.0625rem solid var(--color-border);
    border-radius: 0.25rem;
    margin-bottom: 0.625rem;
}

.subscribe-form__btn {
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
}

.subscribe-form__btn:hover {
    background: var(--color-accent-hover);
}

.content__review-link {
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background 0.2s;
    width: fit-content;
}

#addReviewBtn {
    display: none;
}

.content__review-link:hover {
    background: var(--color-accent-hover);
    text-decoration: none;
}

.content__video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 0.25rem;
    background: #000;
}

.content__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.content__video-list {
    margin-top: 0.75rem;
}

.content__video-link {
    font-size: 0.9375rem;
    color: var(--color-accent);
}

.footer {
    background: var(--color-header);
    color: var(--color-white);
    padding: 2rem 0 1.5rem;
}

.footer__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: center;
    padding-bottom: 1.5rem;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.15);
}

.footer__menu-link {
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
}

.footer__menu-link:hover {
    color: var(--color-white);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    align-items: center;
    justify-content: center;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer__brand a,
.footer__schedule,
.footer__dev a {
    color: rgba(255,255,255,0.9);
}

.footer__brand a:hover,
.footer__schedule:hover,
.footer__dev a:hover {
    color: var(--color-white);
}

@media (min-width: 48rem) {
    .footer__bottom {
        justify-content: space-between;
    }
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal[hidden] {
    display: none !important;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal__box {
    position: relative;
    width: 100%;
    max-width: 28.25rem;
    max-height: 90vh;
    overflow: auto;
    background: var(--color-white);
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.2);
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.modal.is-open .modal__box {
    transform: scale(1);
    opacity: 1;
}

.modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--color-border-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E") center no-repeat;
    cursor: pointer;
    transition: background 0.2s;
}

.modal__close:hover {
    background-color: var(--color-border);
}

.modal__body {
    padding: 2rem 1.5rem 1.5rem;
}

.modal__title {
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
    color: var(--color-header);
}

.modal-form__row {
    margin-bottom: 1rem;
}

.modal-form__row_checkbox {
    margin-bottom: 1.25rem;
}

.modal-form__label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.modal-form__req {
    color: #c00;
}

.modal-form__input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 0.0625rem solid var(--color-border);
    border-radius: 0.25rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.modal-form__input:focus {
    border-color: var(--color-accent);
}

.modal-form__input:focus-visible {
    border-color: var(--color-accent);
}

.modal-form__input.error {
    border-color: #c00;
}

.modal-form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.modal-form__checkbox {
    flex-shrink: 0;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
}

.modal-form__checkbox-text {
    line-height: 1.4;
}

.modal-form__link {
    color: var(--color-accent);
}

.modal-form__link:hover {
    text-decoration: underline;
}

.modal-form__submit {
    padding: 0.625rem 1.5rem;
    background: var(--color-accent);
    color: var(--color-white);
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    display: block;
    margin-left: auto;
}

.modal-form__submit:hover {
    background: var(--color-accent-hover);
}

.modal-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.news {
    flex: 1;
    background: var(--color-white);
}

.page-hero {
    position: relative;
    min-height: 11.25rem;
    color: var(--color-white);
    overflow: hidden;
    width: 100%;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.65)),
        url("/local/templates/superokna/img/main/news-hero-city.jpg")
        center/cover no-repeat;
    z-index: 0;
}

.page-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 11.25rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.page-hero__content {
    max-width: 40rem;
}

.page-hero__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.page-hero__logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.375rem;
    background: rgba(255, 255, 255, 0.9);
}

.page-hero__logo-img {
    max-width: 2.5rem;
    height: auto;
}

.page-hero__logo-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.page-hero__logo-title {
    font-size: 1.625rem;
    font-weight: 700;
}

.page-hero__logo-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.page-hero__desc {
    margin: 0;
    font-size: 0.9375rem;
    max-width: 28rem;
    opacity: 0.95;
}

@media (min-width: 48rem) {
    .page-hero {
        min-height: 13.75rem;
    }

    .page-hero__inner {
        min-height: 13.75rem;
    }

    .page-hero__desc {
        font-size: 1.0625rem;
    }
}

.page-layout {
    padding: 2.5rem 0 3.75rem;
}

.page-layout__grid {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 56.25rem) {
    .page-layout__grid {
        grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr);
        align-items: flex-start;
    }
}

.page-layout__grid_full {
    grid-template-columns: 1fr;
}

.page-layout__title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.125rem solid var(--color-border-light);
}

.page-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.page-card {
    padding-bottom: 1.25rem;
    border-bottom: 0.0625rem solid var(--color-border-light);
}

.page-card:last-of-type {
    border-bottom: none;
}

.page-card__title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.page-card__title a {
    color: var(--color-accent-dark);
}

.page-card__title a:hover {
    text-decoration: underline;
}

.page-card__date {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted-light);
    margin-bottom: 0.5rem;
}

.page-card__excerpt {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.page-pagination {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 0.0625rem solid var(--color-border-light);
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.page-pagination__summary {
    margin-bottom: 0.5rem;
}

.page-pagination__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
}

.page-layout__body .oneNewsWrap.newslist,
.page-layout__body .oneNewsWrap.newslist * {
    background: transparent !important;
}

.page-pagination__page,
.page-pagination__edge,
.page-pagination__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 0.0625rem solid var(--color-border-light);
    background: var(--color-white);
    color: var(--color-text-muted);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-pagination__page {
    font-weight: 500;
}

.page-pagination__page_current {
    font-weight: 700;
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px rgba(46, 155, 213, 0.25);
}

.page-pagination__page:not(.page-pagination__page_current),
.page-pagination__edge,
.page-pagination__all {
    color: var(--color-text-muted);
}

.page-pagination__page:not(.page-pagination__page_current):hover,
.page-pagination__edge:hover,
.page-pagination__all:hover {
    background: #f0f7fb;
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

.page-pagination__sep {
    opacity: 0.5;
}

.page-pagination__edge_first::before {
    content: "«";
    margin-right: 0.3rem;
    font-size: 0.9em;
}

.page-pagination__edge_prev::before {
    content: "‹";
    margin-right: 0.3rem;
    font-size: 0.9em;
}

.page-pagination__edge_next::after {
    content: "›";
    margin-left: 0.3rem;
    font-size: 0.9em;
}

.page-pagination__edge_last::after {
    content: "»";
    margin-left: 0.3rem;
    font-size: 0.9em;
}

.page-pagination__nav a,
.page-pagination__nav .nav-pages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 0.0625rem solid var(--color-border-light);
    background: var(--color-white);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.page-pagination__nav a:hover,
.page-pagination__nav .nav-pages a:hover {
    background: #f0f7fb;
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

.page-pagination__nav .nav-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0.5rem;
}

.page-pagination_minimal {
    margin-top: 2rem;
    padding: 1.25rem 0 0;
    background: transparent;
    border: none;
    border-top: 0.0625rem solid var(--color-border-light);
    box-shadow: none;
}

.page-pagination_minimal .page-pagination__summary {
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

.page-pagination_minimal .page-pagination__nav {
    gap: 0.25rem 0.5rem;
}

.page-pagination_minimal .page-pagination__page,
.page-pagination_minimal .page-pagination__edge,
.page-pagination_minimal .page-pagination__all {
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: transparent;
    border: 0.0625rem solid var(--color-border);
    color: var(--color-text-muted);
}

.page-pagination_minimal .page-pagination__page_current {
    background: transparent;
    border-color: var(--color-accent);
    color: var(--color-accent);
    font-weight: 600;
    box-shadow: none;
}

.page-pagination_minimal .page-pagination__page:not(.page-pagination__page_current):hover,
.page-pagination_minimal .page-pagination__edge:hover,
.page-pagination_minimal .page-pagination__all:hover {
    background: rgba(46, 155, 213, 0.08);
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
    box-shadow: none;
}

.page-pagination_minimal .page-pagination__nav a,
.page-pagination_minimal .page-pagination__nav .nav-pages a {
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background: transparent;
    border: 0.0625rem solid var(--color-border);
}

.page-pagination_minimal .page-pagination__nav a:hover {
    background: rgba(46, 155, 213, 0.08);
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
    box-shadow: none;
}

.page-layout__col_sidebar {
    position: relative;
}

.page-subscribe {
    position: sticky;
    top: 6.5rem;
    padding: 1.5rem 1.5rem 1.75rem;
    background: var(--color-bg-alt);
    border-radius: 0.375rem;
    box-shadow: 0 0.25rem 1rem var(--color-shadow);
}

@media (max-width: 56.1875rem) {
    .page-subscribe {
        position: static;
    }
}

.page-subscribe__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.page-subscribe__text {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.page-subscribe__label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    color: var(--color-text-muted);
}

.page-subscribe__input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    border: 0.0625rem solid var(--color-border);
    margin-bottom: 0.25rem;
}

.page-subscribe__input.error {
    border-color: #c00;
    box-shadow: 0 0 0 1px #c00;
}

.page-subscribe__input.error:focus {
    outline: none;
    box-shadow: 0 0 0 2px #c00;
}

.page-subscribe__error {
    display: block;
    min-height: 1.25rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: #c00;
}

.page-subscribe__btn {
    display: inline-block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 0.25rem;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.page-subscribe__btn:hover {
    background: var(--color-accent-hover);
}

.page-subscribe__hint {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: var(--color-text-muted-light);
}

.page-subscribe__link {
    color: var(--color-accent);
}

.page-subscribe__link:hover {
    text-decoration: underline;
}

.accordionWrap {
    font-size: 1.0625rem;
    line-height: 1.5;
}

.accordionWrap .accordionItem a {
    font-size: 1.125rem;
}

.accordionWrap .accordionContent {
    font-size: 1.0625rem;
}

.dowloadWrap .accordionWrap .accordionItem + .accordionItem {
    margin-top: 0.5rem;
}

.header__menu-link_active,
.footer__menu-link_active {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.page-layout__body.page-content .product ul > li {
    list-style: none;
    background: url('/local/templates/superokna/img/ulmarker.jpg') no-repeat left 0.5em;
    padding-left: 1.125rem;
}

.page-layout__body.page-content .product h2 {
    margin-top: 1.75rem;
}

.page-layout__body.page-content .product p img {
    float: left;
    margin: 0 1rem 0.75rem 0;
}

@media (prefers-reduced-motion: reduce) {
    .stats {
        animation: none;
    }

    .quick-links a:hover {
        transform: none;
    }

    .modal,
    .modal__box,
    .header__burger,
    .header__burger-line,
    .header__menu {
        transition: none;
    }
}
