.diagnostics-submit-btn, .submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--color-accent-gold) 0%, var(--color-accent-gold) 100%);
    border: none;
    border-radius: 7px;
    padding: 18px 30px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.72px;
    color: #161f35;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
.privacy-text p {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(169, 169, 169, 0.7);
    margin: 0;
}
.privacy-link {
    color: var(--color-accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(28 36 61 / 0%); 
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}


.popup-container {
  width: 100%;
  max-width: 850px;
  position: relative;
  animation: popupAppear 0.4s ease-out;
}


.popup-content {
  background-color: var(--color-header); 
  border-radius: 16px;
  padding: 25px 50px 50px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}


.popup-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background-color: #e5e5e5;
  border-radius: 31%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
}

.popup-close-btn svg {
  color: var(--color-header); 
  width: 20px;
  height: 20px;
}

.popup-close-btn:hover {
  background-color: var(--color-accent-gold-lighter); 
  transform: rotate(90deg);
}


.popup-title {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 1.6px;
  color: var(--color-accent-gold); 
  text-transform: uppercase;
  
  margin: 0 0 20px 0;
  width: 621px;
}


.popup-description {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary); 
  margin: 0 0 40px 0;
  max-width: 600px;
  
  margin-right: auto;
}


.popup-form {
  margin-bottom: 30px;
  width: 100%;
  max-width: 500px;
}

.form-group {
  margin-bottom: 25px;
}

.form-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 16px 20px;
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-light); 
  transition: all 0.3s ease;
  outline: none;
}

.form-input::placeholder {
  color: rgba(169, 169, 169, 0.6); 
}

.form-input:focus {
  border-color: var(--color-accent-gold); 
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(224, 189, 72, 0.2);
}


.site-header-first {
    width: 1166px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: auto;
}

.logo-first {
    display: block;
}

.logo-images-first {
    position: relative;
    width: 120px;
    height: 30px;
}

.logo-images-first img {
    position: absolute;
}

.logo-union-first {
    top: 0;
    left: 0;
    width: 27.81px;
    height: 28px;
}

.header-block {
    width: 100%;
    position: fixed;
    left: 0;
    height: 70px;
    top: 0;
    padding-top: 20px;
    padding-left: 10px;
    background-color: var(--color-header);
    z-index: 1006;
}

.logo-text-first {
    top: 7.2px;
    left: 32.32px;
    width: 87.03px;
    height: 14.6px;
}

.main-nav-ul-first {
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav-first a {
    font-weight: 300;
    font-size: 17px;
    line-height: 22.5px;
    letter-spacing: 0.6px;
    text-decoration: none;
    color: var(--color-accent-gold);
    transition: color 0.3s ease;
}

.main-nav-first a:hover {
    color: var(--color-accent-gold);
}

.header-contacts-first {
    display: flex;
    gap: 15px;
    align-items: center;
}

.contact-link {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.8;
}

.login-link-first {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.48px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--color-text-light);
}

.login-icon-wrapper-first {
    position: relative;
    width: 26px;
    height: 26px;
}

.login-icon-wrapper-first img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-icon-bg-first {
    width: 26px;
    height: 26px;
    display: none;
}

.login-icon-user-first {
    width: 16.25px;
    height: 15.78px;
}

.header_menu-page {
    position: relative;
}

.header_submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-background);
    min-width: 320px;
    border: 1px solid #3a4a50;
    border-radius: 4px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 0;
    list-style: none;
}

.header_menu-page:hover .header_submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header_submenu li {
    margin: 0;
    padding: 0;
}

.header_submenu a {
    display: block;
    padding: 8px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    text-decoration: none;
    color: var(--color-text-light);
    transition: all 0.2s ease;
}

.header_submenu a:hover {
    background-color: rgba(224, 189, 72, 0.1);
    color: var(--color-accent-gold);
}


.header_submenu li[th\\:if] a {
    border-top: 1px solid #3a4a50;
    margin-top: 5px;
    padding-top: 10px;
    color: var(--color-accent-gold-lighter);
}


@media screen and (max-width: 1199px) {
    .site-header-first {
        width: 98%;
        padding: 0 20px;
        justify-content: space-between;
        height: 70px;
        align-items: center;
    }

    .main-nav-first {
        display: none;
    }
    .colling{
        order: 2;
        padding: 5px 10px;
        color: var(--color-accent-gold);
        border: 1px solid;
        font-size: 12px;
        
    }

    .header-contacts-first {
        display: none;
    }

    .header-auth-first {
        display: flex;
        align-items: center;
        margin-right: 15px;
    }

    .header-auth-first .login-text {
        display: none !important; 
    }

    .login-link-first {
        padding: 0;
    }

    .mobile-first {
        display: flex;
        align-items: center;
        order: 3; 
    }

    .mobile-menu-first {
        width: 30px;
        height: 30px;
        cursor: pointer;
        position: relative;
        background-image: url(/img/header/menu.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        filter: brightness(0) invert(1);
        margin-left: 10px; 
    }

    
    .site-header-first {
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        margin-left: 5px;
    }

    .logo-first {
        order: 1;
        margin-right: auto;
    }

    .header-block{
        padding-top: 0;
    }

    .header-auth-first {
        order: 2;
        margin-left: 10px;
        margin-right: 0;
    }

    .mobile-first {
        order: 3;
    }

    .mobile-menu-block-first {
        position: fixed;
        top: 0;
        left: -400px; 
        width: 300px;
        height: 100vh;
        background-color: var(--color-background);
        z-index: 1001;
        transition: left 0.3s ease; 
        overflow-y: auto;
        padding: 20px;
        border-right: 1px solid #3a4a50; 
    }

    .mobile-menu-block-first.active {
        left: 0; 
    }

    .mobile-menu-overlay-first {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none; 
    }

    .mobile-menu-overlay-first.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto; 
    }

    .mobile-menu-list-first {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-menu-list-first li {
        padding: 12px 0;
        border-bottom: 1px solid #3a4a50;
    }

    .mobile-menu-list-first li a {
        text-decoration: none;
        color: var(--color-text-light);
        display: block;
        font-family: var(--font-primary);
        font-size: 16px;
        transition: color 0.2s ease;
    }

    .mobile-menu-list-first li a:hover {
        color: var(--color-accent-gold);
    }

    .close-menu-first {
        cursor: pointer;
        font-weight: bold;
        color: var(--color-text-light);
        text-align: right;
        border-bottom: 1px solid #3a4a50;
        padding-bottom: 15px;
        margin-bottom: 10px;
        transition: color 0.2s ease;
    }

    .close-menu-first:hover {
        color: var(--color-accent-gold);
    }

    .has-submenu-first {
        position: relative;
    }

    .submenu-first {
        display: none;
        list-style: none;
        padding-left: 20px;
        margin-top: 10px;
    }

    .submenu-first.active {
        display: block;
    }

    .submenu-first li {
        border-bottom: none;
        padding: 8px 0;
    }

    .submenu-first a {
        font-size: 14px;
        color: var(--color-text-lighter);
    }

    .submenu-first a:hover {
        color: var(--color-accent-gold);
    }

    .arrow-first {
        cursor: pointer;
        display: inline-block;
        margin-left: 5px;
        font-size: 12px;
        color: var(--color-accent-gold);
        transition: transform 0.3s ease;
    }

    .has-submenu-first.active .arrow-first {
        transform: rotate(180deg);
    }
}


@media screen and (min-width: 1200px) {
    .mobile-first {
        display: none;
    }

    .mobile-menu-overlay-first {
        display: none;
    }

    .header-contacts-first {
        display: flex;
    }

    .header-auth-first .login-text {
        display: inline !important;
    }

    .logo-first {
        order: 1;
    }

    .main-nav-first {
        order: 2;
        margin: 0 auto;
        margin-left: 90px;
    }

    .header-contacts-first {
        order: 3;
        margin-left: auto;
        margin-right: 20px;
    }

    .header-auth-first {
        order: 5;
    }

    .colling {
        order: 4;
        margin-right: 28px;
        border: 1px solid;
        padding: 4px 22px;
        font-size: 13px;
        background: var(--color-background);
        color: var(--color-accent-gold);
    }
}
@media (max-width: 767px) {
    .popup-title{
        width: 400px;
        font-size: 22px;
    }
}
@media (max-width: 480px) {
    .popup-close-btn {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
    .popup-description {
            font-size: 13px;
            margin-bottom: 25px;
        }
    .popup-content {
        padding: 40px 20px 30px;
        margin: 10px;
    }
    .popup-title {
        font-size: 24px;
        letter-spacing: 1.2px;
        margin-bottom: 15px;
    }
    .popup-title {
        font-size: 24px;
        letter-spacing: 1.2px;
        margin-bottom: 15px;
    }
}
@media (max-width: 575px) {
    .popup-title {
        width: 240px;
        font-size: 13px;
    }
    .diagnostics-button-container, .invitation-text, .diagnostics-block.block-no-bg, .diagnostics-block.block-bg {
        width: 256px;
        padding: 5px 10px;
    }
    .block-title {
        margin: 0;
        margin-top: 13px;
    }
    .invitation-text, .block-text {
        font-size: 11px;
    }
    .diagnostics-submit-btn, .submit-btn {
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0px;
    }
}


.header-block {
    width: 100%;
    min-height: 122px;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1006;
    padding: 16px;
    box-sizing: border-box;
    background-color: var(--color-header, #0e162d);
}

.site-header-first {
    width: min(1166px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-main-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(224, 189, 72, 0.45);
}

.logo-first {
    display: block;
    flex: 0 0 auto;
}

.logo-images-first {
    position: relative;
    width: 112px;
    height: 30px;
}

.logo-images-first img {
    position: absolute;
    display: block;
}

.logo-union-first {
    top: 1px;
    left: 0;
    width: 26px;
    height: 26px;
}

.logo-text-first {
    top: 8px;
    left: 30px;
    width: 82px;
    height: auto;
}

.main-nav-first {
    margin: 0;
}

.main-nav-ul-first {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav-ul-first li,
.main-nav-ul-first a,
.header_link-menu,
.mobile-menu-list-first li,
.mobile-menu-list-first a,
.submenu-trigger {
    border: 0 !important;
    outline: 0;
    box-shadow: none;
}

.main-nav-first a,
.header_link-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 28px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: var(--color-accent-gold, #e0bd48);
    font-family: var(--font-secondary, Arial, sans-serif);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.header_link-menu.header-products-trigger {
    min-width: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
}

.header-arrow {
    font-size: 9px;
    line-height: 1;
}

.header_menu-page {
    position: relative;
}

.header_submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header_menu-page:hover .header_submenu,
.header_menu-page.is-open .header_submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header_submenu a {
    display: block;
    padding: 9px 14px;
    color: #101833;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    white-space: normal;
}

.header_submenu a:hover {
    background: rgba(224, 189, 72, 0.14);
    color: #101833;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.header-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 94px;
    height: 28px;
    padding: 0 16px;
    border-radius: 18px;
    box-sizing: border-box;
    font-family: var(--font-secondary, Arial, sans-serif);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.header-action-outline {
    border: 1px solid var(--color-accent-gold, #e0bd48);
    color: var(--color-accent-gold, #e0bd48);
    background: transparent;
}

.header-action-primary {
    border: 1px solid #b95a12;
    color: #ffffff;
    background: #b95a12;
}

.header-route-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--font-secondary, Arial, sans-serif);
    font-size: 12px;
}

.route-label {
    margin-right: 2px;
}

.route-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 16px;
    box-sizing: border-box;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.route-business {
    background: #2f5099;
}

.route-solo {
    background: #bf5a11;
}

.mobile-menu-first {
    display: none;
    width: 34px;
    height: 30px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-first span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    border-radius: 2px;
    background: #ffffff;
}

.mobile-menu-block-first {
    position: fixed;
    top: 0;
    right: -340px;
    left: auto;
    width: 300px;
    height: 100vh;
    padding: 22px;
    box-sizing: border-box;
    background: var(--color-header, #0e162d);
    z-index: 1008;
    overflow-y: auto;
    transition: right 0.25s ease;
}

.mobile-menu-block-first.active {
    right: 0;
    left: auto;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.close-menu-first {
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.mobile-menu-list-first {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-list-first a,
.submenu-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    background: transparent;
    color: var(--color-accent-gold, #e0bd48);
    font-family: var(--font-secondary, Arial, sans-serif);
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.submenu-first {
    display: none;
    margin: 12px 0 0;
    padding: 0 0 0 14px;
    list-style: none;
}

.submenu-first.active,
.has-submenu-first.active .submenu-first {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.submenu-first a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.arrow-first {
    display: inline-block;
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.2s ease;
}

.has-submenu-first.active .arrow-first {
    transform: rotate(180deg);
}

.mobile-menu-overlay-first {
    position: fixed;
    inset: 0;
    z-index: 1007;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mobile-menu-overlay-first.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width: 1199px) {
    .header-block {
        min-height: 76px;
        padding: 16px;
    }

    .site-header-first {
        width: 100%;
    }

    .header-main-row {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .main-nav-first,
    .header-actions,
    .header-route-row {
        display: none;
    }

    .mobile-menu-first {
        display: block;
    }
}

@media (min-width: 1200px) {
    .mobile-menu-block-first,
    .mobile-menu-overlay-first {
        display: none;
    }
}

@media (max-width: 1199px) {
    .header-block {
        min-height: 104px;
        padding: 16px;
    }

    .site-header-first {
        width: 100%;
        gap: 12px;
    }

    .header-main-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .header-main-row > .logo-first {
        order: 1;
        margin: 0;
    }

    .header-main-row > .mobile-menu-first {
        order: 2;
        margin: 0 0 0 auto;
    }

    .mobile-menu-first {
        display: block;
    }

    .header-route-row {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .route-label {
        width: 100%;
        text-align: center;
        margin: 0 0 2px;
    }

    .route-link {
        min-height: 28px;
        padding: 0 14px;
    }

    .mobile-menu-block-first {
        left: -340px;
        right: auto;
        border-right: 1px solid rgba(224, 189, 72, 0.65);
        border-left: 0;
    }

    .mobile-menu-block-first.active {
        left: 0;
        right: auto;
    }

    .mobile-menu-list-first {
        gap: 0;
    }

    .mobile-menu-list-first > li {
        padding: 14px 0;
        border-bottom: 1px solid rgba(224, 189, 72, 0.45) !important;
    }

    .mobile-menu-list-first > li:first-child {
        border-top: 1px solid rgba(224, 189, 72, 0.45) !important;
    }

    .submenu-first {
        margin-top: 14px;
        padding-left: 14px;
    }

    .submenu-first li {
        padding: 10px 0;
        border-top: 1px solid rgba(224, 189, 72, 0.25) !important;
    }
}

@media (max-width: 575px) {
    .header-block {
        min-height: 96px;
        padding: 14px 16px 12px;
    }

    .route-link {
        font-size: 9px;
        padding: 0 10px;
    }
}

@media (min-width: 1200px) {
    .header-block {
        padding-left: 144px;
        padding-right: 144px;
    }

    .site-header-first {
        width: 100%;
        max-width: none;
    }

    .header-main-row {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        width: 100%;
    }

    .header-main-row > .logo-first {
        order: 1;
        margin-right: 0;
    }

    .header-main-row > .main-nav-first {
        order: 2;
        margin: 0;
        justify-self: center;
    }

    .header-main-row > .header-actions {
        order: 3;
        justify-self: end;
        margin-left: 0;
    }

    .header_submenu {
        background: #0a1124;
        border: 1px solid var(--color-accent-gold, #e0bd48);
        border-radius: 0;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
    }

    .header_submenu a {
        color: var(--color-accent-gold, #e0bd48);
    }

    .header_submenu a:hover {
        background: rgba(224, 189, 72, 0.16);
        color: var(--color-accent-gold, #e0bd48);
    }
}

@media (min-width: 1200px) {
    .header-block {
        padding-left: 0;
        padding-right: 0;
    }

    .site-header-first {
        display: flex;
        flex-direction: column;
        width: min(1632px, calc(100% - 48px));
        max-width: 1632px;
        margin: 0 auto;
        gap: 12px;
        align-items: stretch;
    }

    .header-main-row {
        order: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 920px minmax(0, 1fr);
        align-items: center;
        width: 100%;
    }

    .header-main-row > .logo-first {
        grid-column: 1;
        justify-self: start;
    }

    .header-main-row > .main-nav-first {
        grid-column: 2;
        width: 920px;
        justify-self: center;
    }

    .header-main-row > .header-actions {
        grid-column: 3;
        justify-self: end;
    }

    .main-nav-ul-first {
        justify-content: flex-start;
    }

    .main-nav-first a,
    .header_link-menu {
        color: #ffffff;
        font-size: 14px;
    }

    .header-route-row {
        order: 2;
        width: 920px;
        margin: 0 auto;
        justify-content: flex-start;
    }

    .header-route-row,
    .route-link {
        font-size: 14px;
    }

    .header-action {
        height: 32px;
        font-size: 14px;
        font-weight: 400;
    }
}

@media (max-width: 1199px) {
    .header-block {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header-first {
        width: 100%;
        margin: 0;
    }

    .header-main-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .header-main-row > .logo-first {
        order: 1;
        margin: 0;
    }

    .header-main-row > .mobile-menu-first {
        order: 2;
        margin-left: auto;
    }

    .mobile-menu-block-first {
        left: -340px;
        right: auto;
    }

    .mobile-menu-block-first.active {
        left: 0;
        right: auto;
    }
}

.meeting-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    background: var(--color-accent-gold-light-bg, #eee8dc);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.meeting-popup.active {
    opacity: 1;
    visibility: visible;
}

.meeting-popup-dialog {
    position: relative;
    width: min(635px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 10px 50px 16px;
    border: 1px solid rgba(216, 190, 135, .45);
    border-radius: 14px;
    box-sizing: border-box;
    background: #1a233f;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    transform: translateY(14px);
    transition: transform .2s ease;
}

.meeting-popup.active .meeting-popup-dialog {
    transform: translateY(0);
}

.meeting-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 36px;
    height: 32px;
    padding: 0;
    border: 1px solid #c9ced8;
    border-radius: 7px;
    background: #f4f4f4;
    color: #17203a;
    font-size: 27px;
    font-weight: 700;
    line-height: 28px;
    cursor: pointer;
}

.meeting-popup-heading {
    width: calc(100% + 42px);
    max-width: 495px;
    margin: 0 0 30px -42px;
    padding: 8px 20px 10px;
    border-radius: 9px;
    box-sizing: border-box;
    background: #202b50;
    overflow: hidden;
}

.meeting-popup-heading h2 {
    max-width: 100%;
    margin: 0;
    color: #dfc382;
    font-family: Arial, sans-serif;
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 400;
    line-height: 1.18;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

.meeting-popup-heading p {
    max-width: 340px;
    margin: -1px 0 0 31px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.meeting-popup-form {
    width: 304px;
    margin-left: 2px;
}

.meeting-popup-field {
    display: block;
    margin-bottom: 10px;
}

.meeting-popup-field input {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #d7d9df;
    border-radius: 0;
    box-sizing: border-box;
    background: #f4f4f4;
    color: #17203a;
    font: 16px/1.2 Arial, sans-serif;
    outline: none;
}

.meeting-popup-field input:focus {
    border-color: #dfc382;
    box-shadow: 0 0 0 2px rgba(223, 195, 130, .22);
}

.meeting-popup-captcha {
    width: 304px;
    min-height: 102px;
    margin: 14px 0 10px;
}

.meeting-popup-submit {
    width: 100%;
    min-height: 42px;
    margin-top: 8px;
    padding: 10px 18px;
    border: 0;
    background: #dfc382;
    color: #11182d;
    font: 16px/1.25 Arial, sans-serif;
    cursor: pointer;
}

.meeting-popup-submit:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.meeting-popup-policy {
    margin: 11px 0 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.25;
    white-space: nowrap;
}

.meeting-popup-policy a {
    color: inherit;
}

.meeting-popup-success {
    margin: 10px 0;
    color: #9ee6a2;
    font-size: 14px;
    font-weight: 700;
}

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

@media (max-width: 680px) {
    .meeting-popup {
        padding: 14px;
    }

    .meeting-popup-dialog {
        max-height: calc(100vh - 28px);
        padding: 54px 20px 20px;
    }

    .meeting-popup-heading {
        width: auto;
        max-width: none;
        margin: -44px 42px 24px 0;
        padding: 10px 12px;
    }

    .meeting-popup-heading h2 {
        font-size: clamp(19px, 5.8vw, 24px);
        white-space: normal;
    }

    .meeting-popup-heading p {
        margin: 5px 0 0;
        font-size: 12px;
    }

    .meeting-popup-form,
    .meeting-popup-captcha {
        width: 100%;
        margin-left: 0;
    }

    .meeting-popup-policy {
        white-space: normal;
    }
}

@media (max-width: 380px) {
    .meeting-popup-dialog {
        padding-right: 14px;
        padding-left: 14px;
    }

    .meeting-popup-close {
        top: 12px;
        right: 12px;
    }
}
