:root{--yellow:#ffcc00;--ink:#1d1d1d;--muted:#5a5a5a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);font-weight:400}button,input{font:inherit}a{color:inherit}.container{max-width:1200px;width:calc(100% - 48px);margin:auto}.header{background:#fff;box-shadow:0 3px 16px #00000012;position:relative;z-index:5}.header-grid{display:grid;grid-template-columns:auto minmax(250px,1fr) auto auto;align-items:center;gap:20px;min-height:96px}.brand{font-size:25px;font-weight:700;text-decoration:none;white-space:nowrap}.official{text-align:center;background:var(--yellow);padding:11px 20px;border-radius:14px;font-size:14px;line-height:1.28;font-weight:500}.official strong{font-size:20px;font-weight:700}.header-address,.header-phones{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;line-height:1.5}.header-address small{font-size:12px}.header-phones{font-size:20px}.header-phones span{display:flex;flex-direction:column}.header-phones a{font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap}.menu-btn{display:none;border:0;background:transparent;font-size:28px}.mobile-menu{padding:16px 24px;background:white}.mobile-menu a{display:block;padding:12px;border-bottom:1px solid #eee;text-decoration:none}.hero{background:#f7f8fa;overflow:hidden}.hero-inner{min-height:390px;display:grid;grid-template-columns:53% 47%;position:relative;align-items:center}.hero-text{z-index:1;padding:55px 0}.hero h1{font-size:clamp(35px,4.1vw,58px);font-weight:600;line-height:1.15;letter-spacing:-.035em;margin:0 0 22px}.hero p{font-size:18px;line-height:1.6;max-width:500px;margin:0 0 26px}.hero-visual{height:100%;min-height:390px;background:url('/assets/kremlin.jpg') center/cover no-repeat;clip-path:ellipse(100% 100% at 100% 50%);border-left:0}.yellow-button{display:inline-flex;gap:30px;align-items:center;justify-content:center;background:var(--yellow);border-radius:40px;padding:16px 30px;text-decoration:none;font-weight:600}.yellow-button span{font-size:28px;line-height:15px}.features{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:30px 0}.feature{display:flex;align-items:center;gap:12px}.feature:not(:last-child){border-right:1px solid #ddd}.feature-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--yellow);font-size:26px}.feature b{font-size:15px;font-weight:600;display:block}.feature small{display:block;font-size:12px;line-height:1.4;margin-top:3px;color:var(--muted)}.work-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:40px;padding:38px 0 65px;align-items:start}h2{font-size:clamp(28px,3vw,38px);font-weight:600;letter-spacing:-.025em;margin:0 0 25px}.step{display:flex;gap:18px;align-items:center;margin:13px 0}.step>span{width:46px;height:46px;flex:none;border-radius:50%;background:var(--yellow);display:grid;place-items:center;font-size:23px;font-weight:600}.step>div{flex:1;background:#f6f6f6;border-radius:22px;padding:18px 22px}.step b{font-size:17px;font-weight:600}.step p{font-size:13px;line-height:1.5;margin:5px 0 0}.application{background:var(--yellow);border-radius:24px;padding:30px;box-shadow:0 10px 30px #00000014}.application h2{font-size:clamp(26px,2.8vw,35px);margin-bottom:20px}.application label:not(.checkbox){display:block;margin:0 0 13px;position:relative}.application label>span:first-child{display:block;font-size:12px;font-weight:600;margin:0 0 5px}.application input:not([type=checkbox]){width:100%;border:1px solid #d8d8d8;background:white;border-radius:10px;height:44px;padding:0 13px;font-size:14px;outline:none}.application input:focus{border-color:#333;box-shadow:0 0 0 2px #0002}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:13px 0}.checkbox input{width:18px;height:18px;flex:none;accent-color:#111}.consent{font-size:11px;line-height:1.6}.consent span{display:inline!important;font-size:11px!important;font-weight:400!important;margin:0!important}.submit{width:100%;border:0;border-radius:30px;background:#1d1d1d;color:white;padding:16px;font-size:17px;font-weight:600;cursor:pointer;margin-top:10px}.submit:disabled{opacity:.65;cursor:wait}.form-status{min-height:18px;font-size:13px;margin:9px 0 0}.location-button{border:0;background:transparent;text-decoration:underline;cursor:pointer;font-size:12px;padding:0 0 12px}.city-options{position:absolute;top:100%;left:0;right:0;z-index:10;max-height:220px;overflow:auto;background:white;border:1px solid #ddd;border-radius:10px;box-shadow:0 8px 20px #0002}.city-options button{display:block;width:100%;text-align:left;background:white;border:0;padding:11px 13px;cursor:pointer;font-size:14px}.city-options button:hover,.city-options button:focus{background:#fff4ba}.trap{position:absolute!important;left:-9999px!important}footer{background:#222;color:#fff;padding:35px 0 20px;border-bottom:18px solid var(--yellow)}.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:28px}.footer-grid>div:not(:last-child){border-right:1px solid #ffcc00}.footer-grid h3{font-size:17px;font-weight:600;margin:0 0 12px}.footer-grid a{display:block;text-decoration:none;line-height:1.7;font-size:14px}.footer-grid p{margin:0;font-size:14px}.footer-grid u{color:var(--yellow)}.footer-note{font-size:11px;color:#bbb;margin-top:25px}.footer-note a{color:#bbb}@media(max-width:1050px){.header-grid{grid-template-columns:auto 1fr auto}.header-address{display:none}.header-phones{font-size:0}.hero-inner{grid-template-columns:55% 45%}.work-grid{gap:22px}}@media(max-width:720px){.container{width:calc(100% - 32px)}.header-grid{grid-template-columns:1fr auto;min-height:66px;gap:8px;padding:10px 0}.brand{font-size:22px}.official{grid-column:1/-1;grid-row:2;padding:10px;font-size:13px}.official strong{font-size:18px}.header-phones{display:none}.menu-btn{display:block;grid-column:2;grid-row:1}.hero-inner{display:flex;flex-direction:column;align-items:stretch;min-height:0}.hero-text{padding:32px 0 24px}.hero h1{font-size:clamp(31px,8vw,42px)}.hero p{font-size:15px}.hero-visual{height:190px;min-height:190px;clip-path:none;border-left:0;border-top:7px solid var(--yellow);margin:0 -16px}.features{grid-template-columns:1fr 1fr;gap:20px;padding:25px 0}.feature{align-items:flex-start}.feature:not(:last-child){border:0}.feature-icon{width:40px;height:40px;font-size:22px}.feature b{font-size:13px}.feature small{font-size:11px}.work-grid{grid-template-columns:1fr;padding:24px 0 45px;gap:30px}.step>div{padding:14px 17px}.step b{font-size:15px}.application{padding:23px 18px;border-radius:20px}.application h2{font-size:27px}.two-fields{grid-template-columns:1fr;gap:0}.footer-grid{grid-template-columns:1fr;gap:22px}.footer-grid>div:not(:last-child){border-right:0;border-bottom:1px solid #666;padding-bottom:18px}}@media(min-width:721px){.mobile-menu{display:none!important}}@media(max-width:360px){.features{grid-template-columns:1fr}.hero h1{font-size:29px}}

.application{scroll-margin-top:18px}.application input[aria-invalid="true"]{border:2px solid #c62828!important;background:#fffafa!important}.field-error{display:block;color:#9b1010;font-size:11px;font-weight:600;margin:4px 2px 0}.application .checkbox .field-error{margin-top:3px}.application .form-status{font-weight:600}


.success-overlay[hidden]{display:none!important}
.success-overlay{
 position:fixed;inset:0;z-index:9999;
 background:rgba(0,0,0,.7);
 display:flex;align-items:center;justify-content:center;
 padding:20px;overflow-y:auto
}
.success-dialog{
 position:relative;background:#fff;border-radius:28px;
 width:min(100%,520px);padding:36px;
 text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.25);
 outline:none
}
.success-close{
 position:absolute;right:18px;top:12px;
 background:transparent;border:0;font-size:34px;
 cursor:pointer;color:#666
}
.success-check{
 width:76px;height:76px;border-radius:50%;
 background:#ffcc00;color:#111;
 display:grid;place-items:center;margin:0 auto 20px;
 font-size:42px;font-weight:800
}
.success-dialog h2{font-size:28px;line-height:1.2;margin:0 0 16px}
.success-dialog p{font-size:16px;line-height:1.55;color:#555}
.success-call{
 background:#fff7d1;border-radius:20px;
 padding:22px;margin:24px 0
}
.success-call h3{font-size:20px;margin:0 0 10px}
.success-call a{
 display:block;background:#1d1d1d;color:#fff;
 padding:15px;margin-top:10px;border-radius:12px;
 text-decoration:none;font-weight:700;font-size:18px
}
.success-call a:hover{background:#333}
.success-done{
 background:#ffcc00;border:0;border-radius:14px;
 padding:14px 35px;font-size:16px;font-weight:700;
 cursor:pointer
}
@media(max-width:600px){
 .success-dialog{padding:28px 20px}
 .success-dialog h2{font-size:23px}
 .success-call{padding:16px}
 .success-call a{font-size:16px}
}

/* Исправление фотографии Кремля на мобильных устройствах */
@media (max-width: 768px) {
  .hero-visual {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1040 / 680;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* Компактная кликабельная карточка разрешений */
.feature-permit {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    min-width: 0;
}

.feature-permit:visited {
    color: inherit;
}

.feature-permit .feature-permit-content {
    min-width: 0;
}

.feature-permit .permit-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    padding: 7px 10px;
    border-radius: 7px;
    background: #ffcc00;
    color: #181818;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
}

.feature-permit:hover .permit-action {
    background: #ffe066;
}

.feature-permit:focus-visible {
    outline: 3px solid #e5ad00;
    outline-offset: 3px;
}


/* Компактное размещение первого экрана */
@media (min-width: 1000px) {

    .hero-inner {
        min-height: 380px !important;
    }

    .hero {
        min-height: 0 !important;
    }

    .hero-text {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }

    .hero-visual {
        min-height: 380px !important;
    }

    .features {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .features .feature {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

}


/* Компактная ссылка оформления разрешения */
.features .feature-permit {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.features .feature-permit b {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.features .permit-mini {
    display: inline-block;
    padding: 3px 8px;
    background: #ffcc00;
    color: #111;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    white-space: nowrap;
}

.features .feature-permit:hover .permit-mini {
    background: #f0b900;
}


/* Подгонка первого экрана по высоте браузера */
@media (min-width: 1000px) and (max-height: 850px) {

    .hero,
    .hero-inner,
    .hero-visual {
        height: 390px !important;
        min-height: 0 !important;
    }

    .hero-text {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .features {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .features .feature {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
}


/* Компактная кнопка под описанием */
.features .feature-permit .permit-mini {
    display: none !important;
}

.features .feature-permit .permit-action {
    display: inline-block !important;
    width: auto !important;
    margin-top: 8px !important;
    padding: 6px 12px !important;
    background: #ffcc00 !important;
    color: #111 !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: nowrap;
}

.features .feature-permit:hover .permit-action {
    background: #eebd00 !important;
}


/* Финальная подгонка главной страницы по высоте экрана */
@media (min-width: 1000px) {

    .hero,
    .hero-inner,
    .hero-visual {
        height: clamp(330px, 43vh, 440px) !important;
        min-height: 0 !important;
    }

    .hero-text {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .features {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-top: 0 !important;
    }

    .features .feature {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
}




/* Телефоны: одинаковый размер и ровное выравнивание */
.header-phones {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.header-phones > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.header-phones a {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

/* Убираем жёлтую полосу слева от изображения Кремля */
.hero-visual {
    border: none !important;
    border-left: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Полностью убираем белый градиент на мобильных */
@media (max-width: 768px) {
    .hero-visual {
        background-image: url('/assets/kremlin.jpg?v=3') !important;
        background-color: transparent !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
    }
}

/* Финальная мобильная компоновка */
@media (max-width: 720px) {

    /* Шапка */
    .header-grid {
        grid-template-columns: 1fr auto 1fr !important;
    }

    .brand {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center !important;
        text-align: center;
    }

    .menu-btn {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
    }

    .header-phones,
    .header-address {
        display: none !important;
    }

    .official {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
    }

    /* Перестраиваем порядок блоков */
    main {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .hero,
    .hero-inner {
        display: contents !important;
    }

    /* Первый блок — текст и кнопка */
    .hero-text {
        grid-row: 1 !important;
        background: #f7f8fa !important;
        padding: 32px 16px 24px !important;
    }

    /* Второй блок — преимущества */
    .features {
        grid-row: 2 !important;
        width: calc(100% - 32px) !important;
        margin: 0 auto !important;
        padding: 25px 0 !important;
    }

    /* Третий блок — фотография Кремля */
    .hero-visual {
        grid-row: 3 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1040 / 680 !important;
        margin: 0 !important;
        clip-path: none !important;
        border: none !important;
        background-image: url('/assets/kremlin.jpg?v=4') !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}


/* FINAL MOBILE ORDER FIX */
@media (max-width: 720px) {
    main {
        display: flex !important;
        flex-direction: column !important;
    }

    .hero,
    .hero-inner {
        display: contents !important;
    }

    .hero-text {
        order: 1 !important;
    }

    .features {
        order: 2 !important;
        width: calc(100% - 32px) !important;
        margin: 0 auto !important;
    }

    .hero-visual {
        order: 3 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1040 / 680 !important;
        margin: 0 !important;
        clip-path: none !important;
        border: none !important;
        background-image: url('/assets/kremlin.jpg?v=22') !important;
        background-size: cover !important;
        background-position: center !important;
    }

    .work-grid {
        order: 4 !important;
    }
}

/* Меняем местами название парка и плашку */
@media (max-width: 720px) {
    .header-grid {
        grid-template-columns: 1fr auto 1fr !important;
    }

    .official {
        grid-column: 1 / -1 !important;
        grid-row: 1 !important;
        width: 100%;
        justify-self: stretch;
    }

    .brand {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        justify-self: center !important;
        text-align: center !important;
    }

    .menu-btn {
        grid-column: 3 !important;
        grid-row: 2 !important;
        justify-self: end !important;
    }
}

/* Убираем название парка и плашку Яндекс Такси на телефонах */
@media (max-width: 720px) {
    .brand,
    .official {
        display: none !important;
    }

    .header-grid {
        grid-template-columns: 1fr auto !important;
        min-height: 55px !important;
        padding: 5px 0 !important;
    }

    .menu-btn {
        grid-column: 2 !important;
        justify-self: end !important;
    }
}
}
}

/* ИСПРАВЛЕНИЕ МОБИЛЬНОЙ ШАПКИ */
@media (max-width: 720px) {
    .brand,
    .official {
        display: none !important;
    }

    .header-grid {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        min-height: 55px !important;
    }

    .menu-btn {
        display: block !important;
        grid-column: 2 !important;
        justify-self: end !important;
    }

    /* Возвращаем кнопку подключения */
    .hero-text > .yellow-button {
        display: inline-flex !important;
    }
}

/* Скрываем фотографию Кремля на мобильных */
@media (max-width: 720px) {
    .hero-visual {
        display: none !important;
    }
}

    
/* Мобильное меню внутри блока заголовка */
@media (max-width: 720px) {
    .header {
        height: 0 !important;
        min-height: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .header-grid {
        min-height: 0 !important;
        height: 0 !important;
        padding: 0 !important;
    }

    .hero-text {
        position: relative !important;
        padding-top: 65px !important;
    }

    .hero-text .menu-btn {
        display: block !important;
        position: absolute !important;
        top: 12px !important;
        right: 16px !important;
        z-index: 100 !important;
        font-size: 28px !important;
    }

    .mobile-menu:not([hidden]) {
        position: fixed !important;
        top: 65px !important;
        right: 16px !important;
        left: 16px !important;
        z-index: 9999 !important;
        box-shadow: 0 8px 25px #0002;
        border-radius: 14px;
    }
}

/* Финальное положение мобильного меню */
@media (max-width: 720px) {
    .hero-text {
        position: relative !important;
    }

    .hero-text .menu-btn {
        display: block !important;
        position: absolute !important;
        top: 12px !important;
        right: 16px !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        padding: 5px !important;
        z-index: 1000 !important;
    }
}


/* FIX MENU POSITION MOBILE */
@media screen and (max-width: 720px) {
    .hero-text {
        position: relative !important;
        padding-top: 75px !important;
    }

    .hero-text > .menu-btn {
        display: block !important;
        position: absolute !important;
        top: 12px !important;
        right: 16px !important;
        left: auto !important;
        bottom: auto !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 9999 !important;
    }
}


/* MOBILE MENU FINAL POSITION */
@media (max-width: 720px) {
    .hero-text {
        position: relative !important;
        padding-top: 20px !important;
    }

    .hero-text > .menu-btn {
        position: absolute !important;
        top: 15px !important;
        right: 16px !important;
        left: auto !important;
        bottom: auto !important;
        display: block !important;
        z-index: 9999 !important;
        margin: 0 !important;
    }
}


/* FEATURE ICONS UPDATE */
.feature-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

.feature:nth-child(1) .feature-icon {
    font-size: 31px !important;
    font-weight: 800 !important;
}

.feature:nth-child(2) .feature-icon {
    font-size: 38px !important;
    font-weight: 700 !important;
}

.feature:nth-child(4) .feature-icon {
    font-size: 37px !important;
    font-weight: 900 !important;
}

.permit-mobile-text {
    display: none !important;
}

@media (max-width: 720px) {
    .feature-permit .permit-desktop-text,
    .feature-permit .permit-action {
        display: none !important;
    }

    .feature-permit .permit-mobile-text {
        display: block !important;
    }

    .mobile-permit-link {
        display: block !important;
    }
}

@media (max-width: 720px) {
    .feature-permit .permit-action {
        display: none !important;
    }
}


/* UNIFIED_FEATURE_ICONS */
@media (max-width: 720px) {
    .features .feature-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .features .feature-icon svg {
        display: block !important;
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
        margin: 0 !important;
        transform: none !important;
    }
}


/* DESKTOP_DROPDOWN_MENU_V1 */
@media (min-width: 721px) {
  .desktop-dropdown {
    display: block !important;
    position: relative !important;
    justify-self: end !important;
    z-index: 1000 !important;
  }

  .desktop-dropdown-button {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 18px !important;
    border: 1px solid #dedede !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
  }

  .desktop-dropdown-button span {
    font-size: 11px !important;
  }

  .desktop-dropdown-list:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 235px !important;
    padding: 8px !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 35px #0002 !important;
    z-index: 1001 !important;
  }

  .desktop-dropdown-list[hidden] {
    display: none !important;
  }

  .desktop-dropdown-list a {
    display: block !important;
    padding: 13px 15px !important;
    color: #222 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    border-radius: 8px !important;
  }

  .desktop-dropdown-list a:hover {
    background: #f4f4f4 !important;
  }

  .feature-permit .permit-desktop-text,
  .feature-permit .permit-action {
    display: none !important;
  }

  .feature-permit .permit-mobile-text {
    display: block !important;
  }
}

@media (max-width: 720px) {
  .desktop-dropdown {
    display: none !important;
  }
}


/* DESKTOP_HEADER_FIX_V2 */
@media (min-width: 721px) {

  .header {
    position: relative !important;
  }

  .header-grid {
    position: relative !important;
  }

  .desktop-dropdown {
    display: block !important;
    position: absolute !important;
    top: 50% !important;
    right: 16px !important;
    transform: translateY(-50%) !important;
    z-index: 10000 !important;
  }

  .desktop-dropdown-button {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    padding: 10px 14px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    color: #222 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
  }

  .desktop-dropdown-list:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: calc(100% + 8px) !important;
    right: 0 !important;
    min-width: 230px !important;
    padding: 8px !important;
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    box-shadow: 0 12px 30px #0002 !important;
    z-index: 10001 !important;
  }

  .desktop-dropdown-list[hidden] {
    display: none !important;
  }

  .feature-permit .permit-action {
    display: none !important;
    visibility: hidden !important;
  }

  .feature-permit .permit-desktop-text {
    display: none !important;
  }

  .feature-permit .permit-mobile-text {
    display: block !important;
  }
}

@media (max-width: 720px) {
  .desktop-dropdown {
    display: none !important;
  }
}


/* DESKTOP_HEADER_COMPACT_V3 */
@media (min-width: 721px) {

    /* Жёлтая плашка — по содержимому */
    .header .official {
        width: max-content !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 10px 22px !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
        justify-self: center !important;
    }

    /* Место для компактной плашки */
    .header .header-grid {
        grid-template-columns:
            minmax(230px, 1fr)
            auto
            auto
            auto !important;
        gap: 24px !important;
        align-items: center !important;
    }

    /* Меню слева, под названием парка */
    .header .desktop-dropdown {
        position: absolute !important;
        top: 50% !important;
        left: 195px !important;
        right: auto !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 10000 !important;
    }

    /* Название парка */
    .header .brand {
        position: relative !important;
        z-index: 1 !important;
    }
}


/* DESKTOP_HEADER_ALIGNMENT_V4 */
@media (min-width: 721px) {

    /* Единое семейство шрифтов */
    body,
    button,
    input,
    textarea,
    select {
        font-family: Arial, Helvetica, sans-serif !important;
    }

    /* Шапка */
    .header {
        position: relative !important;
    }

    .header-grid {
        position: relative !important;
        display: grid !important;
        grid-template-columns: 1fr auto auto !important;
        align-items: center !important;
        padding-left: 155px !important;
        gap: 22px !important;
    }

    /* Меню слева от названия парка */
    .header .desktop-dropdown {
        position: absolute !important;
        left: 16px !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10000 !important;
    }

    /* Название парка */
    .header .brand {
        justify-self: start !important;
        white-space: nowrap !important;
    }

    /* Жёлтая плашка строго по центру экрана */
    .header .official {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;

        width: max-content !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 10px 22px !important;
        margin: 0 !important;

        text-align: center !important;
        z-index: 2 !important;
    }

    /* Адрес и телефоны */
    .header .header-address,
    .header .header-phones {
        position: relative !important;
        z-index: 3 !important;
    }
}


/* DESKTOP_MENU_AND_FEATURES_FIX_V1 */
@media (min-width: 721px) {

    /* Выпадающее меню открывается вправо */
    .header .desktop-dropdown {
        position: absolute !important;
        left: 16px !important;
        right: auto !important;
        overflow: visible !important;
    }

    .header .desktop-dropdown-menu,
    .header .dropdown-menu {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        min-width: 230px !important;
        max-width: calc(100vw - 32px) !important;
        z-index: 10001 !important;
    }

    /* Все четыре карточки выравниваем сверху */
    .features {
        align-items: start !important;
    }

    .features .feature {
        align-self: start !important;
        align-items: center !important;
    }

    .features .feature-permit {
        align-items: center !important;
    }

    .features .feature-permit-content {
        align-self: center !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .features .feature-permit-content b {
        margin-top: 0 !important;
    }
}


/* DESKTOP_MENU_AND_FEATURES_FIX */
@media (min-width: 721px) {

    /* Меню открывается от левого края кнопки */
    .header {
        position: relative !important;
    }

    .mobile-menu:not([hidden]) {
        position: absolute !important;
        top: 100% !important;
        left: 20px !important;
        right: auto !important;
        width: 250px !important;
        max-width: calc(100vw - 40px) !important;
        transform: none !important;
        margin: 0 !important;
        z-index: 99999 !important;
        box-sizing: border-box !important;
    }

    /* Все карточки начинаются на одной высоте */
    .features {
        align-items: start !important;
    }

    .features > .feature {
        align-self: start !important;
        margin-top: 0 !important;
        padding-top: 20px !important;
        transform: none !important;
    }

    .features > .feature .feature-icon {
        align-self: start !important;
        margin-top: 0 !important;
        flex-shrink: 0 !important;
    }

    .features > .feature .feature-permit-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}


/* DESKTOP_DROPDOWN_REPAIR_V1 */
@media (min-width: 721px) {

    #desktopDropdown {
        position: absolute !important;
        left: 20px !important;
        top: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 10000 !important;
    }

    #desktopDropdownList {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 260px !important;
        max-width: calc(100vw - 40px) !important;
        box-sizing: border-box !important;
        z-index: 10001 !important;
    }

    #desktopDropdownList[hidden] {
        display: none !important;
    }

    #desktopDropdownList:not([hidden]) {
        display: block !important;
    }

    .header {
        position: relative !important;
        overflow: visible !important;
    }
}


/* CLEAN_DESKTOP_HEADER_V1 */
@media (min-width: 1100px) {

    .header {
        position: relative !important;
        overflow: visible !important;
    }

    .header .header-grid {
        display: grid !important;
        grid-template-columns:
            125px
            minmax(0, 1fr)
            205px
            205px !important;

        column-gap: 20px !important;
        align-items: center !important;

        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;

        padding: 12px 24px !important;
        box-sizing: border-box !important;

        position: relative !important;
    }

    /* Меню слева */
    .header #desktopDropdown {
        display: block !important;
        position: absolute !important;
        left: 24px !important;
        top: 50% !important;
        right: auto !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 10000 !important;
    }

    /* Жёлтая плашка — вторая колонка */
    .header .header-grid .official {
        display: block !important;
        grid-column: 2 !important;
        grid-row: 1 !important;

        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;

        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;

        height: auto !important;
        margin: 0 !important;
        padding: 12px 16px !important;

        box-sizing: border-box !important;
        text-align: center !important;
        align-self: center !important;
    }

    /* Адрес — отдельная третья колонка */
    .header .header-grid .header-address {
        display: flex !important;
        grid-column: 3 !important;
        grid-row: 1 !important;

        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;

        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    /* Телефоны — четвёртая колонка */
    .header .header-grid .header-phones {
        display: flex !important;
        grid-column: 4 !important;
        grid-row: 1 !important;

        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;

        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        white-space: nowrap !important;
    }

    /* Выпадающее меню */
    .header #desktopDropdownList:not([hidden]) {
        display: flex !important;
        flex-direction: column !important;

        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;

        width: 260px !important;
        z-index: 10001 !important;
    }

    .header #desktopDropdownList[hidden] {
        display: none !important;
    }
}


/* LANDSCAPE_HEADER_VERIFIED_V1 */
@media (min-width: 721px) and (max-width: 1099px) {

  .header {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  .header .header-grid {
    display: grid !important;
    grid-template-columns:
      100px
      minmax(0, 1fr)
      minmax(145px, 170px)
      minmax(145px, 170px) !important;

    grid-template-rows: auto !important;
    column-gap: clamp(8px, 1.3vw, 15px) !important;
    row-gap: 0 !important;
    align-items: center !important;

    width: 100% !important;
    max-width: none !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    min-height: 90px !important;
    height: auto !important;
    box-sizing: border-box !important;
    position: relative !important;
  }

  .header .header-grid > .official {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;

    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 9px 5px !important;
    box-sizing: border-box !important;
    justify-self: stretch !important;
    text-align: center !important;

    font-size: clamp(11px, 1.25vw, 14px) !important;
    line-height: 1.3 !important;
  }

  .header .header-grid > .official strong {
    font-size: clamp(15px, 1.65vw, 19px) !important;
  }

  .header .header-grid > .header-address {
    display: flex !important;
    grid-column: 3 !important;
    grid-row: 1 !important;

    position: static !important;
    transform: none !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: clamp(11px, 1.25vw, 14px) !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    justify-self: start !important;
  }

  .header .header-grid > .header-phones {
    display: flex !important;
    grid-column: 4 !important;
    grid-row: 1 !important;

    position: static !important;
    transform: none !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: clamp(11px, 1.25vw, 14px) !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    justify-self: end !important;
  }

  .header .header-phones a {
    font-size: clamp(11px, 1.25vw, 14px) !important;
  }

  .header #menuBtn {
    display: none !important;
  }

  .header #desktopDropdown {
    display: block !important;
    position: absolute !important;

    left: 12px !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;

    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 10000 !important;
  }

  .header #desktopDropdownButton {
    font-size: 13px !important;
    padding: 9px 11px !important;
  }

  .header #desktopDropdownList {
    left: 0 !important;
    right: auto !important;
    top: calc(100% + 8px) !important;
    transform: none !important;
  }

  .header #desktopDropdownList[hidden] {
    display: none !important;
  }
}


/* PECHKIN_MOBILE_HERO_COMPACT_V2 */
@media screen and (max-width: 720px) {

    .hero,
    .hero-inner {
        min-height: 0 !important;
        height: auto !important;
    }

    .hero-text {
        min-height: 0 !important;
        height: auto !important;
        padding: 62px 16px 18px !important;
    }

    .hero-text h1 {
        font-size: clamp(25px, 6.5vw, 32px) !important;
        line-height: 1.12 !important;
        margin: 0 0 16px !important;
    }

    .hero-text > .yellow-button {
        padding: 12px 22px !important;
        font-size: 14px !important;
    }
}


/* IPHONE_LANDSCAPE_HERO_COMPACT */
@media screen and (min-width: 721px) and (max-width: 1099px)
       and (orientation: landscape) {

    .hero,
    .hero-inner {
        min-height: 0 !important;
        height: 140px !important;
        max-height: 140px !important;
    }

    .hero-inner {
        overflow: hidden !important;
    }

    .hero-text {
        min-height: 0 !important;
        height: 140px !important;
        padding: 25px 30px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }

    .hero h1 {
        font-size: 26px !important;
        line-height: 1.12 !important;
        margin: 0 0 10px !important;
    }

    .hero-text .yellow-button {
        padding: 13px 26px !important;
        font-size: 17px !important;
    }

    .hero-visual {
        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
    }

    .hero-text > .yellow-button {
        width: max-content !important;
        max-width: 100% !important;
        min-width: 0 !important;
        align-self: flex-start !important;
        padding: 11px 24px !important;
        font-size: 15px !important;
    }

}







/* PORTRAIT_MENU_FINAL */
@media screen and (max-width: 720px) and (orientation: portrait) {
    .hero-text {
        position: relative !important;
    }

    .hero-text > #menuBtn {
        display: block !important;
        position: absolute !important;
        top: 12px !important;
        right: 16px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 5px !important;
        z-index: 10002 !important;
    }
}


/* PORTRAIT_MENU_CORNER_FIXED */
@media screen and (max-width: 720px) and (orientation: portrait) {

    .hero-text {
        position: relative !important;
        padding-top: 18px !important;
    }

    .hero-text > #menuBtn {
        display: block !important;
        position: absolute !important;
        top: 4px !important;
        right: 8px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 5px !important;
        z-index: 10002 !important;
    }
}





/* LANDSCAPE_KREMLIN_SCALE_V2 */
@media screen and (min-width: 721px) and (max-width: 1099px)
       and (orientation: landscape) {

    .hero-visual {
        background-size: 100% 100% !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }
}


/* LANDSCAPE_PHONE_ALIGNMENT_V1 */
@media screen and (min-width: 721px) and (max-width: 1099px)
       and (orientation: landscape) {

    .header .header-grid > .header-phones {
        justify-self: end !important;
        margin-right: 22px !important;
    }

    .header .header-phones .phone-icon {
        color: #1d1d1d !important;
        font-family: Arial, sans-serif !important;
        font-size: 18px !important;
        font-weight: normal !important;
    }
}
