html {
    scrollbar-gutter: stable;
}

/* === ШРИФТЫ === */
@font-face {
    font-family: 'Open Sans Local';
    src: url('../fonts/OpenSansRegular.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans Local';
    src: url('../fonts/OpenSansRegularCyr.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans Local';
    src: url('../fonts/OpenSansItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans Local';
    src: url('../fonts/OpenSansItalicCyr.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    unicode-range: U+0301, U+0400-045F, U+0490-04B1, U+2116, U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Slab Local';
    src: url('../fonts/RobotoSlab.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto Slab Local';
    src: url('../fonts/RobotoSlabCyr.woff2') format('woff2');
    font-weight: 400 800;
    font-style: normal;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116, U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
    font-display: swap;
}

/* === БАЗОВЫЕ СТИЛИ === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans Local', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f4f4f4;
    background-image: url('../img/background.webp');
    background-repeat: repeat;
    background-size: auto;
    overflow-x: hidden;
}

.main-layout-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* === HEADER === */
header {
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
    text-wrap: balance;
}

.header-content-wrapper {
    background-color: #0a2342;
    display: flex;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    padding: 15px 15px;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow-x: auto;
    min-width: 0;
}

.header-logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 1;
    flex-grow: 0;
    min-width: 0;
    text-decoration: none;
    color: #fff;
}

.header-logo:link,
.header-logo:visited {
    color: #fff;
}

.header-logo img {
    height: 40px;
    margin-right: 10px;
    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}

.header-logo span {
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: bold;
    white-space: normal;
    word-wrap: break-word;
    user-select: none;
}

/* === NAVIGATION === */
nav {
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    max-height: none;
    overflow: visible;
    transition: none;
    padding: 0;
    justify-content: flex-end;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    width: 100%;
    flex-wrap: wrap;
}

nav ul li {
    flex: 1 1 0;
    margin: 0 5px;
    max-width: none;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 5px;
    flex-grow: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 400;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-wrap: break-word;
    border-radius: 4px;
    box-sizing: border-box;
    line-height: 1.2;
    font-size: clamp(0.8em, 0.9vw + 0.3em, 1em);
    user-select: none;
}

nav ul li a:link,
nav ul li a:visited {
    color: #fff;
}

nav ul li a:hover {
    background-color: #f7b267;
    color: #0a2342;
}

/* === HAMBURGER MENU === */
.hamburger-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
    user-select: none;
}

.hamburger-icon {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin-bottom: 6px;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hamburger-icon:last-child {
    margin-bottom: 0;
}

.hamburger-menu-toggle.is-active .hamburger-icon:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu-toggle.is-active .hamburger-icon:nth-child(2) {
    opacity: 0;
}

.hamburger-menu-toggle.is-active .hamburger-icon:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* === SIDEBAR === */
.sidebar {
    width: 250px;
    padding: 20px;
    border-right: 1px solid #ddd;
    flex-shrink: 0;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

.contact-block {
    background-color: #f7f7f7;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    user-select: none;
}

.contact-block p {
    margin: 5px 0;
    font-size: 0.95em;
    user-select: none;
}

.contact-block a {
    color: #0a2342;
    text-decoration: none;
    font-weight: 400;
    user-select: text;
}

.contact-block a:link,
.contact-block a:visited {
    color: #0a2342;
}

.contact-block a:hover {
    text-decoration: underline;
}

.sidebar-menu-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid #0a2342;
    color: #0a2342;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.sidebar-menu-title::after {
    content: '▼';
    margin-left: 10px;
    transition: transform 0.3s ease;
    display: none;
}

.sidebar-menu-title.sidebar-open::after {
    transform: rotate(180deg);
}

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

.sidebar-menu-list ul li {
    margin-bottom: 8px;
}

.sidebar-menu-list ul li:last-child {
    margin-bottom: 0;
}

.sidebar-menu-list ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    display: block;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 4px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.2;
    font-size: clamp(0.9em, 0.8vw + 0.2em, 1em);
    user-select: none;
}

.sidebar-menu-list ul li a:link,
.sidebar-menu-list ul li a:visited {
    color: #333;
}

.sidebar-menu-list ul li a:hover {
    background-color: #d3d3d3;
    color: #0a2342;
}

/* === CONTENT AREA === */
.content-area {
    flex-grow: 1;
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    box-sizing: border-box;
}

.content-section {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-area h1 {
    font-family: 'Roboto Slab Local', serif;
    font-size: 2em;
    font-weight: 700;
    color: #0a2342;
    margin-top: 30px;
    margin-bottom: 20px;
    text-wrap: balance;
    text-align: center;
    line-height: 1.2;
}

.content-area h2 {
    font-family: 'Roboto Slab Local', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #0a2342;
    margin-top: 40px;
    margin-bottom: 20px;
    text-wrap: balance;
    border-bottom: none;
    padding-bottom: 0;
    line-height: 1.3;
}

.content-area h3 {
    font-family: 'Roboto Slab Local', serif;
    font-size: 1.4em;
    font-weight: 600;
    color: #0a2342;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    text-wrap: balance;
    line-height: 1.4;
}

.content-area p {
    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 15px;
    user-select: text;
}

.content-area p:last-child {
    margin-bottom: 0;
}

/* === FOOTER === */
footer {
    color: #fff;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0;
    width: 100%;
}

.footer-content-wrapper {
    background-color: #0a2342;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
}

.footer-nav {
    text-align: left;
}

.footer-social {
    text-align: center;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    margin: 4px 0;
}

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

footer ul li {
    margin: 0 0 10px 0;
}

footer ul li:last-child {
    margin-bottom: 0;
}

footer ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    user-select: text;
    display: inline-block;
}

footer ul li a:link,
footer ul li a:visited {
    color: #fff;
}

footer ul li a:hover {
    color: #f7b267;
}

.footer-info a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:link,
.footer-info a:visited {
    color: #fff;
}

.footer-info a:hover {
    color: #f7b267;
}

/* === ICONS === */
.icons-container {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.icon-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    color: #ccc;
}

.icon-link:hover {
    transform: scale(1.1);
    color: #f7b267;
}

.icon-link use {
    pointer-events: none;
}

.icon-link svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* === BACK TO TOP === */
#back-to-top {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #0a2342;
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    user-select: none;
}

#back-to-top:hover {
    background-color: #f7b267;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* === VIDEO === */
.video-container {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.video-container video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* === ИЗОБРАЖЕНИЯ В ТЕКСТЕ === */

.content-image-wrapper {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    user-select: none;
    -webkit-user-drag: none;
}

.content-image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

.content-image-wrapper figcaption {
    font-size: 0.85em;
    color: #666;
    padding: 8px 10px;
    line-height: 1.4;
    font-style: italic;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-radius: 0 0 8px 8px;
}

.content-image-wrapper--left {
    float: left;
    width: 45%;
    margin-right: 20px;
    margin-bottom: 10px;
    margin-top: 4px;
}

.content-image-wrapper--right {
    float: right;
    width: 45%;
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 4px;
}

.content-image-wrapper--full {
    float: none;
    width: 100%;
    clear: both;
    margin-right: 0;
}

.content-image-wrapper--center {
    float: none;
    width: 60%;
    margin-right: auto;
    margin-left: auto;
    clear: both;
    display: block;
}

.content-clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* === OBJECT PAGE === */
.object-page {
    margin: 0;
    padding: 0;
}

.object-page__breadcrumbs {
    font-size: 0.85em;
    color: #888;
    margin-top: 20px;
    margin-bottom: 10px;
}

.object-page__breadcrumbs a {
    color: #0a2342;
    text-decoration: none;
}

.object-page__breadcrumbs a:hover {
    text-decoration: underline;
    color: #f7b267;
}

.object-page__breadcrumbs span {
    color: #555;
}

.object-page__title {
    font-family: 'Roboto Slab Local', serif;
    font-size: 1.6em;
    font-weight: 700;
    color: #0a2342;
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.3;
    text-wrap: balance;
}

.object-page__desc {
    font-size: 1em;
    font-weight: 400;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
    padding: 12px 16px;
    background-color: #f4f7fb;
    border-left: 3px solid #0a2342;
    border-radius: 0 4px 4px 0;
}

.object-page__gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.object-page__gallery-item {
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    background-color: #f0f0f0;
    aspect-ratio: 4 / 3;
}

.object-page__gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.object-page__gallery-item:hover img {
    transform: scale(1.03);
}

.object-page__back {
    margin-top: 10px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.95em;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
}

.btn--outline {
    background-color: transparent;
    border: 2px solid #0a2342;
    color: #0a2342;
}

.btn--outline:link,
.btn--outline:visited {
    color: #0a2342;
}

.btn--outline:hover {
    background-color: #0a2342;
    color: #fff;
}

/* === MEDIA QUERIES === */

@media (max-width: 1024px) {
    .content-image-wrapper--left,
    .content-image-wrapper--right {
        width: 50%;
    }

    .sidebar {
        width: 200px;
        padding: 15px;
    }

    .content-area h1 {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .main-layout-container {
        flex-direction: column;
        width: 95%;
        margin-top: 0;
        margin-bottom: 0;
        margin-right: auto;
        margin-left: auto;
        padding: 0;
        box-shadow: none;
        border-radius: 0;
    }

    header {
        width: 100%;
    }

    .header-content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 10px 10px;
        width: 95%;
        margin: 0 auto;
        min-width: auto;
        overflow-x: visible;
    }

    .header-logo {
        flex-direction: row;
        align-items: center;
        flex-grow: 1;
        flex-shrink: 1;
        min-width: 0;
        margin-right: 10px;
        margin-bottom: 0;
        width: auto;
        justify-content: flex-start;
    }

    .header-logo img {
        height: 30px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .header-logo span {
        font-size: 1em;
    }

    .hamburger-menu-toggle {
        display: block;
        position: static;
        transform: none;
        margin-left: 10px;
        margin-bottom: 0;
        order: auto;
        align-self: auto;
        flex-shrink: 0;
    }

    nav {
        order: 1;
        width: 100%;
        background-color: #0a2342;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        padding: 0 10px;
        justify-content: center;
        flex-direction: column;
        flex-wrap: nowrap;
        flex-grow: 0;
        flex-shrink: 0;
        min-width: auto;
        margin-top: 10px;
    }

    nav.menu-open {
        max-height: 500px;
        padding-bottom: 10px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        flex-wrap: nowrap;
    }

    nav ul li {
        flex: none;
        width: 90%;
        margin: 5px auto;
        min-width: auto;
        box-sizing: border-box;
        display: block;
    }

    nav ul li a {
        display: block;
        padding: 10px 15px;
        text-align: center;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        line-height: 1.2;
        font-size: 1.1em;
        flex-grow: 0;
    }

    nav ul li:first-child {
        margin-left: auto;
    }

    nav ul li:last-child {
        margin-right: auto;
    }

    .sidebar {
        width: 100%;
        padding: 15px;
        border-right: none;
        box-shadow: none;
        border-bottom: 1px solid #ccc;
        margin-bottom: 10px;
    }

    .sidebar-menu-title::after {
        display: block;
    }

    .sidebar-menu-list {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .sidebar-menu-list.sidebar-open {
        max-height: 1000px;
    }

    .sidebar-menu-list ul li a {
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.2;
        font-size: 1em;
    }

    .content-area {
        padding-top: 0px;
        padding-right: 15px;
        padding-bottom: 15px;
        padding-left: 15px;
    }

    .content-area h1 {
        font-size: 1.8em;
        margin-top: 25px;
        line-height: 1.2;
    }

    .content-area h2 {
        font-size: 1.4em;
        margin-top: 30px;
        line-height: 1.3;
    }

    .content-area h3 {
        font-size: 1.1em;
        margin-top: 25px;
        line-height: 1.4;
    }

    #back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .footer-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .footer-social {
        order: 2;
        text-align: center;
    }

    .footer-copyright {
        order: 3;
        text-align: center;
    }

    .footer-nav {
        order: 4;
        text-align: center;
    }

    footer ul {
        margin-bottom: 0;
    }

    footer ul li {
        margin: 5px 0;
        width: auto;
        text-align: center;
    }

    footer ul li a {
        text-wrap: balance;
        display: inline-block;
    }

    .icons-container {
        justify-content: center;
    }

    .icon-link {
        width: 30px;
        height: 30px;
    }

    .content-image-wrapper--left,
    .content-image-wrapper--right,
    .content-image-wrapper--center {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        clear: both;
    }

    .object-page__gallery {
        grid-template-columns: 1fr;
    }

    .object-page__title {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    .content-image-wrapper figcaption {
        font-size: 0.8em;
    }

    .content-image-wrapper--left,
    .content-image-wrapper--right {
        float: none;
        width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .content-area h1 {
        font-size: 1.5em;
        margin-top: 20px;
    }

    .content-area h2 {
        font-size: 1.2em;
    }

    .content-area h3 {
        font-size: 1em;
    }

    .object-page__gallery {
        gap: 8px;
    }
}

/* === CALLBACK (кнопка + модалка) === */
/* Стиль — как .hd-btn--primary на главной (#f97316 / #e06210) */
/* Ширина = ширина блока icons-container (полная ширина контента сайдбара) */
.callback-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 10px 0 20px;
    padding: 4px 10px;
    background: #f97316;
    color: #fff !important;
    border: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
    white-space: nowrap;
}

.callback-btn:hover {
    background: #e06210;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transform: translateY(-2px);
}

.callback-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.callback-btn__icon {
    width: 40px;
    height: 40px;
    display: block;
    flex-shrink: 0;
}

.callback-btn__text {
    white-space: nowrap;
}

.callback-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.callback-modal[hidden] {
    display: none;
}

.callback-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 35, 66, 0.55);
}

.callback-modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    color: #0a2342;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 28px 24px 24px;
    box-sizing: border-box;
}

.callback-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.8em;
    line-height: 1;
    color: #0a2342;
    padding: 4px;
}

.callback-modal__close:hover {
    color: #f7b267;
}

.callback-modal__title {
    margin: 0 0 8px;
    font-size: 1.4em;
}

.callback-modal__desc {
    margin: 0 0 18px;
    font-size: 0.95em;
    color: #555;
}

.callback-modal__label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.9em;
    font-weight: 700;
}

.callback-modal__input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 1.05em;
    border: 2px solid #d3d3d3;
    border-radius: 4px;
    color: #0a2342;
}

.callback-modal__input:focus {
    outline: none;
    border-color: #f7b267;
}

.callback-modal__error {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: #dc2626;
}

.callback-modal__error[hidden],
.callback-modal__status[hidden] {
    display: none;
}

.callback-modal__submit {
    width: 100%;
    margin-top: 16px;
    padding: 14px 20px;
    background-color: #f7b267;
    color: #0a2342;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.callback-modal__submit:hover {
    background-color: #0a2342;
    color: #fff;
}

.callback-modal__submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.callback-modal__status {
    display: block;
    margin-top: 12px;
    padding: 12px 14px;
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    border-radius: 4px;
    font-size: 0.95em;
}

.callback-hp {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.callback-modal-open {
    overflow: hidden;
}
