/* Work with us page styles (reuses global look) */
html { min-height: 100%; max-height: none; overflow-x: hidden; overflow-y: auto; width: 100%; position: relative; -webkit-overflow-scrolling: touch; height: auto; }
body { background-color: #000; color: #fff; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; touch-action: pan-y; overscroll-behavior-y: none; overscroll-behavior: none; -webkit-overscroll-behavior: none; min-height: 100vh; height: auto; max-height: none; display: block; position: relative; margin: 0; padding: 0; width: 100%; }
.header-up{ width:100%; height:57px; position:fixed; top:0; left:0; right:0; z-index:1000; box-sizing:border-box; background:#a56b00; display:flex; align-items:center; justify-content:space-between; padding:0 87px 0 40px; }
.header-left{ display:flex; align-items:center; gap:5px; }
.header-right{ display:flex; align-items:center; gap:10px; }
.header_alarm{ width:24px; height:24px; }
.header_booking,.header_contact,.header_language{ font:400 16px/21px 'Inter',sans-serif; color:#fff; display:flex; align-items:center; }
.header_language_logo{ width:16px; height:11px; margin-left:8px; }
.main-content{ margin-top:57px; width: 100%; overflow-x: hidden; overflow-y: visible; height: auto; min-height: auto; max-height: none; position: relative; }
.footer-start{ margin-top: 0; }

/* Hero секция с логотипом - УМЕНЬШЕННЫЕ ОТСТУПЫ */
.hero{ 
    width:100%; 
    height:120px; /* Уменьшена высота */
    background:#370617; 
    display:flex; 
    flex-direction: column;
    align-items:center; 
    justify-content:center; 
    gap:0; /* Убраны промежутки */
    padding:15px 20px 10px 20px; /* Уменьшены отступы */
    box-sizing:border-box; 
}

.hero-logo {
    width: 200px;
    height: 50px;
    object-fit: contain;
    margin: 0 0 12px 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hero-logo:hover {
    opacity: 0.8;
}

.hero a {
    text-decoration: none;
    display: inline-block;
}

/* Показываем навигационные кнопки в hero на десктопе */
.hero-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Показываем кнопки в hero на десктопе */
.hero .btn-text {
    display: inline-block;
}

/* Скрываем навигацию на мобильных */
@media (max-width: 768px) {
    .hero-nav {
        display: none !important;
    }
    
    .hero .btn-text {
        display: none !important;
    }
}

.btn-text{ background:transparent; border:none; color:#fff; font:400 16px/1.5 'Inter',sans-serif; padding:8px 16px; cursor:pointer; transition:all .3s ease; text-decoration:none; margin-bottom:0; }
.btn-text:hover{ color:#ccc; transform:translateY(-2px); }

/* Mobile menu button - СКРЫВАЕМ НА ДЕСКТОПЕ */
.mobile-menu-btn{ 
    background:transparent; 
    border:1px solid rgba(255,255,255,.25); 
    border-radius:8px; 
    padding:6px; 
    margin-left:10px; 
    cursor:pointer; 
    display:none; /* По умолчанию скрыта */
    flex-direction:column; 
    gap:3px; 
}
.mobile-menu-btn__bar{ width:18px; height:2px; background:#fff; display:block; }

.mobile-menu{ position:fixed; top:57px; left:0; right:0; background:rgba(0,0,0,.98); border-bottom:1px solid rgba(255,255,255,.14); z-index:1500; display:none; grid-template-columns:1fr; gap:6px; padding:12px 14px; box-sizing:border-box; }
.mobile-menu .btn-text{ display:block; width:100%; text-align:left; padding:10px 12px; border:1px solid rgba(255,255,255,.14); border-radius:8px; background:rgba(255,255,255,.04); }
.mobile-menu .btn-text:hover{ background:rgba(255,255,255,.08); }

.middle{ width:100%; background:#000; display:flex; flex-direction:column; align-items:center; padding:32px 20px; box-sizing:border-box; overflow-x: hidden; overflow-y: visible; height: auto; min-height: auto; max-height: none; }
.payment{ color: rgba(255, 207, 132, 1); font-family:'Inter',sans-serif; font-size:64px; font-weight:400; line-height:77px; text-align:center; margin:0 0 28px 0; }
.information{ width:100%; display:flex; justify-content:center; }

/* Work content styles */
.work-content{ width:100%; max-width:900px; margin: 0 auto; color:#fff; font-family:'Inter',sans-serif; }
.work-section{ margin-bottom:32px; }
.work-title{ color: rgba(255, 207, 132, 1); font-family:'Inter',sans-serif; font-size:32px; font-weight:400; line-height:1.4; margin:0 0 16px 0; }
.work-subtitle{ color: rgba(255, 207, 132, 1); font-family:'Inter',sans-serif; font-size:24px; font-weight:400; line-height:1.4; margin:0 0 12px 0; }
.work-text{ font-size:16px; line-height:1.6; margin:0 0 12px 0; opacity:0.95; }
.work-list{ list-style:none; padding:0; margin:0 0 16px 0; }
.work-list li{ font-size:16px; line-height:1.6; margin:0 0 8px 0; padding-left:24px; position:relative; opacity:0.95; }
.work-list li:before{ content:'•'; position:absolute; left:8px; color: rgba(255, 207, 132, 1); font-size:20px; }
.work-note{ font-size:16px; line-height:1.6; margin:12px 0; opacity:0.9; font-style:italic; }

/* Contact lines */
.contact-lines{ display:flex; flex-direction:column; gap:8px; margin: 16px 0 20px 0; }
.contact-line{ display:flex; align-items:center; gap:8px; }
.contact-line .emoji{ width:18px; display:inline-flex; align-items:center; justify-content:center; }
.contact-line .label{ opacity:.9; min-width:84px; }
.contact-line a{ color:#fff; text-decoration:underline; }
.contact-line a:hover{ color: rgba(255, 207, 132, 1); }

.btn-back{ box-sizing:border-box; border:2px solid rgba(255,255,255,0.6); border-radius:10px; color:rgba(255,255,255,0.9); font-family:'Inter',sans-serif; font-size:16px; background:linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%); padding:10px 16px; cursor:pointer; transition:all .3s ease; text-decoration:none; }
.btn-back:hover{ border-color:rgba(255,255,255,0.9); color:#fff; }
.book{ width:100%; height:50px; background:#211708; display:flex; align-items:center; justify-content:center; gap:20px; padding:0 20px; box-sizing:border-box; }
.reserved{ width:100%; height:20px; background:#370617; display:flex; align-items:center; justify-content:center; }
.bottom-btn{ width:100%; height:60px; background:#211708; display:flex; align-items:center; gap:20px; padding:0 200px; box-sizing:border-box; }
.RoyalEscort-bottom{ color:#fff; font-family:'Inter',sans-serif; font-size:16px; margin-left:auto; }
@media (max-width:768px){ .bottom-btn{ display:none; } }

.header_booking{ margin-top: 1; }
.header_contact{ margin-right: 0; }
.header_call{ margin-right: 6.6; }

.book-group { display: flex; align-items: center; gap: 10px; }
.book .alarm, .book .call-contact { width: 24px; height: 24px; }
.alarm-booking, .call-contactus {
  color: rgba(255, 255, 255, 1);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 44px;
}

/* ===== АДАПТАЦИЯ ДЛЯ РАЗНЫХ РАЗРЕШЕНИЙ ===== */

/* 1440px */
@media (max-width:1440px){ 
    .header-up{ padding:0 60px 0 35px; } 
    .hero{ 
        height:100px; /* Еще меньше на больших экранах */
        padding:12px 40px 8px 40px; 
    } 
    .hero-logo {
        width: 180px;
        height: 45px;
        margin-bottom: 10px;
    }
    .payment{ font-size:56px; line-height:1.2; margin-bottom:45px; } 
    .work-content{ max-width:800px; } 
    
    /* Скрываем кнопку на десктопе */
    .mobile-menu-btn {
        display: none !important;
    }
}

/* 1024px */
@media (max-width:1024px){ 
    .header-up{ padding:0 40px 0 25px; } 
    .hero{ 
        height:90px;
        padding:10px 30px 6px 30px; 
    } 
    .hero-logo {
        width: 170px;
        height: 42px;
        margin-bottom: 10px;
    }
    .payment{ font-size:48px; line-height:1.15; margin-bottom:40px; } 
    .work-content{ max-width:700px; } 
    
    /* Скрываем кнопку на планшетах */
    .mobile-menu-btn {
        display: none !important;
    }
}

/* 768px - ПОКАЗЫВАЕМ КНОПКУ */
@media (max-width:768px){ 
    html {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }
    
    body {
        display: block !important;
        flex-direction: unset !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        position: relative !important;
        overscroll-behavior: none !important;
        -webkit-overscroll-behavior: none !important;
        -webkit-touch-callout: default !important;
    }
    
    .main-content,
    .middle,
    section {
        overflow: visible !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .main-content {
        min-height: auto !important;
        max-height: none !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .header-up{ padding:0 16px; height:57px; } 
    .header_booking{ font-size:14px; } 
    .header_contact{ 
        display: none !important; 
    } 
    .header_language{ 
        font-size: 13px;
    }
    .header_language_logo{ 
        width: 14px;
        height: 10px;
    }
    .header_alarm,.header_call{ width:20px; height:20px; }
    
    /* Hero с логотипом */
    .hero{ 
        height:80px;
        padding:8px 16px 4px 16px;
    } 
    .hero-logo {
        width: 160px;
        height: auto;
        margin-bottom: 8px;
    }
    
    /* ПОКАЗЫВАЕМ кнопку бургера */
    .mobile-menu-btn {
        display: inline-flex !important;
        margin-left: 12px;
    }
    
    .mobile-menu-btn[hidden] {
        display: inline-flex !important;
    }
    
    .btn-text{ font-size:15px; padding:7px 14px; } 
    .middle{ padding:28px 16px; } 
    .payment{ font-size:36px; line-height:1.3; margin-bottom:35px; } 
    .work-content{ 
        max-width:100% !important; 
        padding:0 !important; 
    }
    
    .work-section {
        margin-bottom: 24px;
    }
    
    .work-title {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .work-subtitle {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .work-text {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .work-list {
        margin-bottom: 12px;
    }
    
    .work-list li {
        font-size: 15px;
        margin-bottom: 6px;
        padding-left: 20px;
    }
    
    .work-note {
        font-size: 15px;
        margin: 10px 0;
    }
    
    .contact-lines {
        margin: 12px 0 16px 0;
    }
    
    .contact-line {
        flex-wrap: wrap;
        gap: 6px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    .contact-line .label {
        min-width: auto;
        font-size: 14px;
    }
    
    .contact-line a {
        font-size: 14px;
        word-break: break-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .information {
        display: flex !important;
        visibility: visible !important;
    }
    
    .payment {
        display: block !important;
        visibility: visible !important;
    }
    
    .work-content {
        display: block !important;
        visibility: visible !important;
    }
    
    .book {
        height: auto;
        min-height: 48px;
        padding: 12px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .book-group {
        gap: 8px;
    }
    
    .alarm-booking,
    .call-contactus {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .reserved {
        height: auto;
        min-height: 18px;
        padding: 8px 16px;
    }
    
    .reserved-text {
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
    }
    
    /* Меню для планшетов */
    body.menu-open .mobile-menu {
        display: grid !important;
        top: 55px;
    }
}

/* 425px - ПОКАЗЫВАЕМ КНОПКУ */
@media (max-width:425px){ 
    html {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }
    
    body {
        display: block !important;
        flex-direction: unset !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        position: relative !important;
        overscroll-behavior: none !important;
        -webkit-overscroll-behavior: none !important;
        -webkit-touch-callout: default !important;
    }
    
    .main-content,
    .middle,
    section {
        overflow: visible !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .main-content {
        min-height: auto !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .header-up{ padding:0 14px; height:57px; } 
    .header_booking{ font-size:13px; } 
    .header_contact{ 
        display: none !important; 
    } 
    .header_language{ 
        font-size: 12px;
    }
    .header_language_logo{ 
        width: 12px;
        height: 9px;
    }
    .header_alarm,.header_call{ width:18px; height:18px; }
    
    /* Hero с логотипом */
    .hero{ 
        height:70px;
        padding:6px 12px 2px 12px;
    } 
    .hero-logo {
        width: 140px;
        height: auto;
    }
    
    /* ПОКАЗЫВАЕМ кнопку бургера */
    .mobile-menu-btn {
        display: inline-flex !important;
        margin-left: 12px;
    }
    
    .mobile-menu-btn[hidden] {
        display: inline-flex !important;
    }
    
    .payment{ font-size:28px; line-height:1.2; margin-bottom:24px; } 
    
    .work-content {
        padding: 0;
    }
    
    .work-section {
        margin-bottom: 20px;
    }
    
    .work-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .work-subtitle {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .work-text {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .work-list {
        margin-bottom: 10px;
    }
    
    .work-list li {
        font-size: 14px;
        margin-bottom: 5px;
        padding-left: 18px;
    }
    
    .work-note {
        font-size: 14px;
        margin: 8px 0;
    }
    
    .contact-lines {
        margin: 10px 0 14px 0;
        gap: 6px;
    }
    
    .contact-line {
        font-size: 13px;
        gap: 4px;
    }
    
    .contact-line .emoji {
        width: 16px;
        font-size: 14px;
    }
    
    .contact-line .label {
        font-size: 13px;
        min-width: 70px;
    }
    
    .contact-line a {
        font-size: 13px;
        word-break: break-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .book {
        padding: 10px 14px;
        gap: 10px;
    }
    
    .alarm-booking,
    .call-contactus {
        font-size: 13px;
    }
    
    .reserved {
        padding: 6px 14px;
    }
    
    .reserved-text {
        font-size: 11px;
    }
    
    /* Меню для мобильных */
    body.menu-open .mobile-menu {
        display: grid !important;
        top: 50px;
    }
}

/* 375px - ПОКАЗЫВАЕМ КНОПКУ */
@media (max-width:375px){ 
    html {
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        position: relative !important;
    }
    
    body {
        display: block !important;
        flex-direction: unset !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-y !important;
        position: relative !important;
        overscroll-behavior: none !important;
        -webkit-overscroll-behavior: none !important;
        -webkit-touch-callout: default !important;
    }
    
    .main-content,
    .middle,
    section {
        overflow: visible !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .main-content {
        min-height: auto !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
    
    .header-up{ padding:0 10px; height:57px; } 
    .header_booking{ font-size:12px; } 
    .header_contact{ 
        display: none !important; 
    } 
    .header_language{ 
        font-size: 11px;
    }
    .header_language_logo{ 
        width: 11px;
        height: 8px;
    }
    .header_alarm,.header_call{ width:16px; height:16px; }
    
    /* Hero с логотипом */
    .hero{ 
        height:60px;
        padding:4px 10px 0 10px;
    } 
    .hero-logo {
        width: 130px;
        height: auto;
    }
    
    /* ПОКАЗЫВАЕМ кнопку бургера */
    .mobile-menu-btn {
        display: inline-flex !important;
        margin-left: 10px;
        padding: 4px;
    }
    
    .mobile-menu-btn__bar{ width:16px; } 
    .payment{ font-size:24px; margin-bottom:20px; } 
    
    .middle {
        padding: 24px 12px;
    }
    
    .work-section {
        margin-bottom: 18px;
    }
    
    .work-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .work-subtitle {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .work-text {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .work-list li {
        font-size: 13px;
        margin-bottom: 4px;
        padding-left: 16px;
    }
    
    .work-note {
        font-size: 13px;
        margin: 6px 0;
    }
    
    .contact-line {
        font-size: 12px;
    }
    
    .contact-line .label {
        min-width: 65px;
        font-size: 12px;
    }
    
    .contact-line a {
        font-size: 12px;
        word-break: break-all;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .book {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .alarm-booking,
    .call-contactus {
        font-size: 12px;
    }
    
    .reserved {
        padding: 5px 10px;
    }
    
    .reserved-text {
        font-size: 10px;
    }
    
    /* Меню для мобильных */
    body.menu-open .mobile-menu {
        top: 48px;
    }
}

/* Для экранов больше 768px - скрываем кнопку */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

/* Скрываем меню на больших экранах */
@media (min-width: 769px) {
    .mobile-menu {
        display: none !important;
    }
}

/* КРИТИЧЕСКИЙ ФИКС ДЛЯ МОБИЛЬНЫХ - переопределяем все возможные блокировки */
@media (max-width: 768px) {
    html {
        overflow-x: hidden !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        height: auto !important;
        min-height: 100% !important;
        max-height: none !important;
        position: relative !important;
    }
    
    body {
        display: block !important;
        flex-direction: unset !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        touch-action: pan-y !important;
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
        position: relative !important;
        overscroll-behavior: none !important;
        -webkit-overscroll-behavior: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .main-content,
    .middle,
    section {
        overflow: visible !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    /* Убеждаемся, что контент виден на мобильных */
    body {
        background-color: #000 !important;
    }
    
    .main-content {
        background-color: transparent !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .middle {
        background-color: #000 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .work-content {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .work-section,
    .work-title,
    .work-subtitle,
    .work-text,
    .work-list,
    .work-list li,
    .work-note,
    .information {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
    }
    
    .payment {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        color: rgba(255, 207, 132, 1) !important;
    }
    
    .contact-line {
        display: flex !important;
        visibility: visible !important;
    }
    
    .contact-line a {
        visibility: visible !important;
        color: #fff !important;
    }
    
    /* Убеждаемся, что контент может быть выше экрана */
    main,
    .main-content {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
        left: 0 !important;
    }
}

