@import url("../../css/rc-mobile-menu.css");

.el-topbar {
    background: #0b101d;
    color: #d2ddf3;
    font-size: 14px;
}

body.is-boxed {
    overflow-x: hidden;
}

.el-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    flex-wrap: wrap;
}

.el-topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.el-topbar a {
    color: #ffffff;
    text-decoration: none;
}

.el-site-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: #ffffff;
    border-bottom: 1px solid #e8edf7;
}

.el-site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 86px;
}

.el-logo-image {
    max-height: 56px;
    width: auto;
}

.el-main-nav {
    margin-left: auto;
    min-width: 0;
}

.el-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    min-width: 0;
}

.el-nav-item {
    min-width: 0;
}

.el-nav-link,
.el-nav-summary {
    display: inline-flex;
    align-items: center;
    color: #22304f;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all .2s ease;
}

.el-nav-link:hover,
.el-nav-summary:hover,
.el-nav-link.is-active,
.el-nav-summary.is-active {
    color: #0270d7;
    background: rgba(2, 112, 215, 0.08);
}

.el-nav-dropdown {
    position: relative;
}

.el-nav-dropdown[open] .el-nav-summary {
    color: #0270d7;
    background: rgba(2, 112, 215, 0.08);
}

.el-nav-dropdown summary {
    list-style: none;
    cursor: pointer;
}

.el-nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.el-dropdown-list {
    margin: 8px 0 0;
    padding: 10px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e7ecf8;
    border-radius: 10px;
    box-shadow: 0 20px 45px rgba(25, 35, 70, .14);
    max-height: 360px;
    overflow: auto;
    min-width: 310px;
}

.el-content-grid--with-sidebar {
    align-items: start;
}

.el-content-grid--with-sidebar .el-article-card {
    min-width: 0;
}

.el-dropdown-link {
    display: block;
    color: #2c3f66;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.el-dropdown-link:hover,
.el-dropdown-link.is-active {
    background: rgba(2, 112, 215, 0.08);
    color: #0270d7;
}

.el-page-hero {
    padding-top: 84px;
    padding-bottom: 50px;
}

.el-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

@media (max-width: 991.98px) {
    .el-content-grid--with-sidebar .el-article-card {
        order: 1;
    }

    .el-content-grid--with-sidebar .el-sidebar-card {
        display: none;
    }
}

@media (min-width: 992px) {
    .el-content-grid--with-sidebar {
        grid-template-columns: 320px minmax(0, 1fr);
    }
}

.el-article-card,
.el-sidebar-card,
.el-service-card {
    background: #ffffff;
    border: 1px solid #e8edf7;
    border-radius: 14px;
    padding: 24px;
}

.el-article-card h2,
.el-article-card h3 {
    margin-top: 0;
}

.el-article-card p,
.el-article-card li {
    color: #4f5d7a;
}

.el-sidebar-title {
    margin-top: 0;
}

.el-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.el-sidebar-link {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #2c3f66;
    text-decoration: none;
    font-size: 14px;
}

.el-sidebar-link:hover,
.el-sidebar-link.is-active {
    background: rgba(2, 112, 215, 0.08);
    color: #0270d7;
}

.el-sidebar-contact {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e8edf7;
    font-size: 14px;
}

.el-sidebar-contact p {
    margin: 0 0 8px;
}

.el-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.el-service-card h3 {
    margin-top: 0;
    font-size: 20px;
}

.el-service-card p {
    color: #4f5d7a;
}

.button-sm {
    padding: 8px 14px;
    font-size: 13px;
}

.el-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 992px) {
    .el-contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.el-contact-form {
    margin-top: 10px;
}

.el-contact-form .el-hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.el-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 768px) {
    .el-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.el-form-group {
    margin-bottom: 14px;
}

.el-form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #2c3f66;
}

.el-form-group input,
.el-form-group textarea {
    width: 100%;
    border: 1px solid #d7dfef;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    color: #1f2b45;
}

.el-form-group input:focus,
.el-form-group textarea:focus {
    outline: none;
    border-color: #0270d7;
    box-shadow: 0 0 0 3px rgba(2, 112, 215, .14);
}

.el-alert-success {
    padding: 12px 14px;
    border: 1px solid #b7e3c5;
    border-radius: 8px;
    background: #f0fff5;
    color: #21653d;
    margin-bottom: 14px;
}

.el-form-status {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3f66;
    min-height: 22px;
}

.el-form-status--success {
    color: #21653d;
}

.el-form-status--error {
    color: #b42318;
}

.el-contact-form .button[disabled] {
    opacity: .65;
    cursor: not-allowed;
}

.el-site-footer {
    margin-top: 40px;
}

.el-footer-inner {
    display: grid;
    gap: 16px;
}

.el-footer-contact {
    color: #95a2c0;
    font-size: 14px;
}

.el-footer-contact a {
    color: #d4dcf0;
}

@media (max-width: 1024px) {
    .el-site-header {
        position: static;
    }

    .el-site-header-inner {
        flex-wrap: wrap;
        align-items: center;
        padding: 12px 0;
    }

    .el-main-nav {
        width: 100%;
        margin-left: 0;
        overflow: hidden;
    }

    .el-nav-list {
        width: 100%;
        align-items: center;
        gap: 6px;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 4px;
    }

    .el-nav-item {
        width: auto;
        flex: 0 0 auto;
    }

    .el-nav-link,
    .el-nav-summary {
        width: auto;
        justify-content: flex-start;
        padding: 7px 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .el-nav-dropdown {
        position: static;
    }

    .el-dropdown-list {
        min-width: 260px;
        max-width: min(92vw, 420px);
        position: absolute;
        z-index: 90;
    }
}
/* I18N_LANG_SWITCHER_START */
.el-lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    flex: 0 0 auto;
}

.el-lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid #dfe6f5;
    color: #22304f;
    background: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: all .2s ease;
}

.el-lang-link:hover,
.el-lang-link.is-active {
    color: #ffffff;
    background: #0270d7;
    border-color: #0270d7;
}

@media (max-width: 1024px) {
    .el-lang-switcher {
        width: auto;
        margin-left: auto;
        margin-right: 0;
    }
}
/* I18N_LANG_SWITCHER_END */
