html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

iframe {
  max-width: 100%;
}
/* ============================================= */
/*                WAYPRO SERVICE CSS             */
/*     МОБИЛЬНАЯ ВЕРСИЯ - КОМПАКТНАЯ             */
/* ============================================= */

/* 🔥 ОСНОВА */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
}

body {
    background: #000;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

section {
    position: relative;
    width: 100%;
    padding: 30px 15px;
    scroll-margin-top: 60px;
}

/* ============================================= */
/* 🔥 ТЕЛЕФОН В ШАПКЕ                           */
/* ============================================= */
.top-phone {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: max-content;
}

.top-phone a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 700;
    color: #4da6ff;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0,0,0,0.9);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(77, 166, 255, 0.3);
    white-space: nowrap;
}

.top-phone a::before {
    content: "📞";
    font-size: 16px;
}

/* ============================================= */
/* 🔥 НАВИГАЦИЯ (ТОЛЬКО ДЛЯ ДЕСКТОПА)            */
/* ============================================= */
.main-nav {
    display: none;
}

/* ============================================= */
/* 🔥 HERO — ГЛАВНЫЙ ЭКРАН                       */
/* ============================================= */
.hero {
    width: 100%;
    height: 85vh;
    min-height: 500px;

    background: url("images/bg365.jpg?v=2") center center / cover no-repeat;

    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.18);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.motto-small {
    font-size: 14px;
    font-style: italic;
    margin-bottom: 15px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.service-main {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.service-sub {
    font-size: 18px;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 2px;
    line-height: 1.2;
}

/* ============================================= */
/* 🔥 СЕКЦИИ С ФОНАМИ                           */
/* ============================================= */
.about {
    background: #000 url("images/photokarta.jpg") center / cover no-repeat;
    position: relative;
    padding: 25px 15px;
}

.about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
}

.about h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.about p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

/* ============================================= */
/* 🔥 УСЛУГИ                                    */
/* ============================================= */
.services {
    background: #000;
    color: #fff;
    padding: 25px 15px;
}

.services-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    color: #4da6ff;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
}

.service-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #4da6ff;
}

.service-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* ============================================= */
/* 🔥 ТРАНСПОРТ                                 */
/* ============================================= */
.cars {
    background: #000 url("images/fleet.jpg") center / cover no-repeat;
    position: relative;
    padding: 25px 15px;
}

.cars::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.cars-content {
    position: relative;
    z-index: 2;
}

.cars h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    color: #fff;
}

.cars p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.cars ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.cars li {
    font-size: 13px;
    margin-bottom: 12px;
    padding-left: 15px;
    position: relative;
    color: rgba(255, 255, 255, 0.95);
}

.cars li::before {
    content: "•";
    color: #4da6ff;
    font-size: 16px;
    position: absolute;
    left: 0;
}

.cars li strong {
    color: #4da6ff;
    font-weight: 600;
    display: block;
    margin-bottom: 3px;
}

/* ============================================= */
/* 🔥 ТАРИФЫ                                    */
/* ============================================= */
.tariffs {
    background: #000 url("images/cases.jpg") center / cover no-repeat;
    position: relative;
    color: #fff;
    padding: 25px 15px;
}

.tariffs::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.tariffs-content {
    position: relative;
    z-index: 2;
}

.tariffs-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
}

.tariff-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    backdrop-filter: blur(5px);
}

.tariff-main {
    font-size: 20px;
    font-weight: 700;
    color: #4da6ff;
    margin-bottom: 8px;
}

.tariff-desc {
    font-size: 13px;
    opacity: 0.95;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.95);
}

.tariff-desc strong {
    display: block;
    margin-bottom: 3px;
    color: #4da6ff;
}

/* ============================================= */
/* 🔥 ФОРМА ЗАКАЗА                              */
/* ============================================= */
.order-section {
    background: #0f0f0f;
    border-radius: 12px;
    max-width: 500px;
    margin: 25px auto;
    padding: 20px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.order-section h2 {
    text-align: center;
    color: #4da6ff;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.order-section > p {
    text-align: center;
    color: #aaa;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.4;
}

.order-section label {
    display: block;
    margin: 10px 0 5px;
    color: #bbb;
    font-size: 13px;
}

.order-section input,
.order-section textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: rgba(27, 27, 27, 0.9);
    color: #fff;
    font-size: 15px;
    outline: none;
    margin-bottom: 12px;
    -webkit-appearance: none;
}

.order-section input:focus,
.order-section textarea:focus {
    border-color: #4da6ff;
}

.order-section button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #4da6ff;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 8px;
}

.geo-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #4da6ff;
    background: rgba(17, 17, 17, 0.9);
    color: #4da6ff;
    border-radius: 6px;
    font-size: 14px;
    margin: 5px 0 12px 0;
    cursor: pointer;
}

/* ============================================= */
/* 🔥 КАРТА                                     */
/* ============================================= */
.map-section {
    padding: 25px 15px 0 15px; /* Убрал отступ снизу */
    background: #111;
}

.map-block {
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    background: #222;
}

/* ============================================= */
/* 🔥 КОНТАКТЫ — ФОН cases2.jpg                */
/* ============================================= */
.contacts {
    position: relative;
    background: url("images/cases2.jpg") center center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 60px 15px 40px;
    margin-top: 0;
    overflow: hidden;
}

/* затемнение поверх картинки */
.contacts::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* весь контент поверх затемнения */
.contacts-content,
.contact-driver {
    position: relative;
    z-index: 2;
}

/* ============================================= */
/* 🔥 ДЕСКТОП ВЕРСИЯ                           */
/* ============================================= */
@media (min-width: 768px) {
    section {
        padding: 50px 30px;
    }
    
    .main-nav {
        display: flex;
        position: fixed;
        top: 60px;
        left: 50%;
        transform: translateX(-50%);
        gap: 20px;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        padding: 10px 20px;
        border-radius: 25px;
        max-width: 90%;
    }
    
    .main-nav a {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        opacity: 0.85;
        padding: 4px 8px;
        white-space: nowrap;
    }
    
    .main-nav a:hover {
        opacity: 1;
        color: #4da6ff;
    }
    
    .top-phone a {
        font-size: 20px;
        padding: 10px 20px;
    }
    
    .hero {
        height: 80vh;
        min-height: 600px;
        background-image: url("images/bg365.jpg?v=2");
    }
    
    .hero-content {
        padding-top: 20vh;
    }
    
    .motto-small {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .service-main {
        font-size: 42px;
    }
    
    .service-sub {
        font-size: 24px;
    }
    
    .about, .cars, .tariffs {
        background-attachment: fixed;
    }
    
    .about h2,
    .cars h2,
    .tariffs-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .services-title,
    .contacts h2,
    .order-section h2 {
        font-size: 32px;
    }
    
    .about p,
    .cars p,
    .contacts > p {
        font-size: 17px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
    
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-width: 1000px;
        margin: 30px auto 0;
    }
    
    .service-item {
        padding: 20px;
        margin-bottom: 0;
    }
    
    .service-item h3 {
        font-size: 20px;
    }
    
    .service-item p {
        font-size: 15px;
    }
    
    .tariff-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        max-width: 1000px;
        margin: 30px auto 0;
    }
    
    .tariff-card {
        padding: 25px;
        margin-bottom: 0;
    }
    
    .tariff-main {
        font-size: 28px;
    }
    
    .tariff-desc {
        font-size: 15px;
    }
    
    .contact-item {
        display: inline-block;
        min-width: 200px;
        margin: 10px;
        vertical-align: top;
        padding: 20px;
    }
    
    .order-section {
        padding: 40px;
        margin: 40px auto;
    }
    
    .map-section {
        padding: 40px 30px 0 30px;
    }
    
    .map-block {
        height: 400px;
    }
    
    .contacts {
        padding: 40px 30px 30px 30px;
    }
    
    .qr-img {
        width: 150px;
        height: 150px;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding-top: 25vh;
    }
    
    .service-main {
        font-size: 48px;
    }
    
    .service-sub {
        font-size: 28px;
    }
    
    .main-nav {
        gap: 25px;
        padding: 12px 25px;
    }
    
    .main-nav a {
        font-size: 15px;
    }
}

/* Тарифы — кликабельные карточки */
.tariff-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tariff-link:hover .tariff-card {
    box-shadow: 0 0 0 1px rgba(77, 166, 255, 0.4);
    transition: box-shadow 0.2s ease;
}

/* ================================= */
/* HERO — FINAL CLEAN VERSION        */
/* ================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("images/bg365.jpg?v=2") center / cover no-repeat;
  overflow: hidden;
  padding-top: 120px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  padding: 0 20px;
}

/* ===== BRAND ===== */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.hero-brand .brand-main {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
}

.hero-brand .brand-sub {
  font-size: 14px;
  letter-spacing: 2.5px;
  opacity: 0.7;
}

/* ===== TEXT ===== */
.hero-title {
  font-size: 30px;
  font-weight: 600;
  margin: 6px 0 8px;
}

.hero-slogan {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 15px;
  opacity: 0.7;
  margin-top: 16px;
}

/* ===== CTA ===== */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(135deg, #1fbf6a, #159957);
  color: #0b1a12;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(21,153,87,.35);
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-left: 2px solid rgba(255,255,255,.55);
  border-bottom: 2px solid rgba(255,255,255,.55);
  transform: rotate(-45deg);
  animation: scrollHint 1.8s infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes scrollHint {
  0%   { opacity: 0; transform: translateY(0) rotate(-45deg); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px) rotate(-45deg); }
}

/* ===== MOBILE ===== */
@media (max-width: 480px) {

  .hero {
    align-items: flex-start;
    padding-top: 140px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-slogan {
    font-size: 16px;
  }

  .hero-cta {
    max-width: 240px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .scroll-indicator {
    bottom: 18px;
  }
}

/* ========================= */
/* HERO — SINGLE SOURCE 🔥   */
/* ========================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("images/bg365.jpg?v=2") center / cover no-repeat;
  overflow: hidden;
  padding-top: 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  padding: 0 20px;
}

/* BRAND */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.hero-brand .brand-main {
  font-size: 44px;
  font-weight: 900;
}

.hero-brand .brand-sub {
  font-size: 14px;
  letter-spacing: 2.5px;
  opacity: 0.7;
}

/* TEXT */
.hero-title {
  font-size: 32px;
  font-weight: 900;
  margin: 8px 0;
}

.hero-slogan {
  font-size: 18px;
  margin-bottom: 18px;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 16px;
  opacity: 0.75;
  margin-top: 16px;
}

/* CTA */
.hero .hero-cta {
  margin-top: 24px;
  padding: 14px 18px;
  font-size: 15px;
  border-radius: 12px;
  max-width: 260px;
}

/* SCROLL */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border-left: 2px solid rgba(255,255,255,0.55);
  border-bottom: 2px solid rgba(255,255,255,0.55);
  transform: rotate(-45deg);
  animation: scrollHint 1.8s infinite;
  z-index: 3;
}

@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0) rotate(-45deg); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px) rotate(-45deg); }
}
/* ===== DESKTOP FIX: BRAND SIZE ===== */
@media (min-width: 1024px) {
  .hero-brand .brand-main {
    font-size: 88px;   /* было ~72, стало заметно крупнее */
    font-weight: 900;
  }

  .hero-brand .brand-sub {
    font-size: 32px;
    letter-spacing: 3px;
  }
}

/* ===== DESKTOP FIX: SCROLL INDICATOR ===== */
@media (min-width: 1024px) {
  .scroll-indicator {
    bottom: 40px;   /* было ~22px */
  }
}
/* ================================= */
/* DESKTOP FIX — HERO FINAL          */
/* ================================= */
@media (min-width: 1024px) {

  /* 1️⃣ БРЕНД В ОДНУ СТРОКУ */
  .hero-brand {
    flex-direction: row;
    align-items: baseline;
    gap: 18px;
  }

  .hero-brand .brand-main {
    font-size: 96px;     /* крупно, премиум */
    font-weight: 900;
    line-height: 1;
  }

  .hero-brand .brand-sub {
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 3px;
    opacity: 0.8;
    transform: translateY(6px); /* визуальное выравнивание */
  }

  /* 2️⃣ КНОПКУ ОПУСТИТЬ */
  .hero .hero-cta {
    margin-top: 60px;   /* было ~24 */
  }

  /* 3️⃣ СТРЕЛКУ ЕЩЁ НИЖЕ */
  .scroll-indicator {
    bottom: 48px;
  }
}

/* =============================== */
/* DESKTOP HERO — HARD OVERRIDE    */
/* =============================== */
@media (min-width: 1024px) {

  /* БРЕНД — ЦЕНТР, ОДНА СТРОКА */
  .hero-brand {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: baseline !important;
    gap: 22px !important;
    margin-bottom: 32px !important;
    text-align: center !important;
  }

  .hero-brand .brand-main {
    font-size: 120px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }

  .hero-brand .brand-sub {
    font-size: 42px !important;
    font-weight: 400 !important;
    letter-spacing: 4px !important;
    opacity: 0.85 !important;
    transform: translateY(10px) !important;
  }

  /* ЗАГОЛОВОК */
  .hero-title {
    font-size: 64px !important;
    margin-top: 10px !important;
  }

  /* КНОПКУ — НИЖЕ */
  .hero .hero-cta {
    margin-top: 90px !important;
  }

  /* СТРЕЛКУ — В САМ НИЗ */
  .scroll-indicator {
    bottom: 28px !important;
  }
}

/* === SCROLL INDICATOR — TRUE BOTTOM === */
.scroll-indicator {
  position: absolute !important;
  left: 50%;
  bottom: 14px !important;
  transform: translateX(-50%) rotate(-45deg) !important;
}

/* === HERO — FIX POSITION CONTEXT === */
.hero {
  position: relative !important;
}

/* ===== ФОН ЗА ФОРМОЙ ЗАКАЗА ===== */

.order-section {
  position: relative;
  padding: 100px 20px;
  background-image: url("images/order-map.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.order-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

/* весь контент формы поверх фона */
.order-section > * {
  position: relative;
  z-index: 2;
}

/* ===== ПРИНУДИТЕЛЬНЫЙ ФОН КАРТЫ ЗА ФОРМОЙ ===== */

.order-section {
  position: relative;
  padding: 100px 20px;
  background: url("images/order-map.jpg") center center / cover no-repeat !important;
}

.order-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.order-section > * {
  position: relative;
  z-index: 2;
}
/* ================================ */
/* ORDER — BACKGROUND FIX (FINAL)   */
/* ================================ */

section.order-wrapper {
  position: relative;
  min-height: 100vh;              /* ← КЛЮЧ */
  display: flex;                  /* ← КЛЮЧ */
  align-items: center;            /* ← КЛЮЧ */
  justify-content: center;        /* ← КЛЮЧ */
  background-image: url("images/order-map.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  padding: 120px 20px !important;
}

section.order-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1;
}

/* карточка формы */
section.order-wrapper .order-section {
  position: relative;
  z-index: 2;
  background: rgba(15,15,15,0.92) !important;
}

/* === ORDER BACKGROUND — FINAL FIX === */
section.order-wrapper {
  min-height: 100vh !important;
  background-image: url("./images/order-map.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
/* =============================== */
/* ORDER — REAL BACKGROUND FIX     */
/* =============================== */

/* ФОН НА ВЕСЬ ЭКРАН */
section.order-wrapper {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background-image: url("./images/order-map.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* КАРТОЧКА ФОРМЫ */
section.order-wrapper .order-section {
  position: relative !important;
  z-index: 2 !important;

  max-width: 520px !important;
  width: 100% !important;

  background: rgba(15,15,15,0.92) !important;
}

/* =============================== */
/* ORDER — FINAL, WORKING VERSION  */
/* =============================== */

section.order-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: url("./images/order-map.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ЛЁГКОЕ затемнение — НЕ УБИВАЕТ КАРТУ */
section.order-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* ← ВАЖНО: было 0.65 */
  z-index: 1;
}

/* Карточка формы */
section.order-wrapper .order-section {
  position: relative;
  z-index: 2;
  background: rgba(15,15,15,0.92);
}

.contact-driver-btn {
  margin-top: 28px;
}

/* ============================================= */
/* 🔥 CONTACT CARDS — FORCE APPLY               */
/* ============================================= */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 30px auto;
}

.contact-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(6px);
}

.contact-card .card-label {
  display: block;
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.contact-card a {
  font-size: 18px;
  font-weight: 700;
  color: #4da6ff;
  text-decoration: none;
}

/* ===== QR CARD ===== */

.qr-card {
  margin: 40px auto 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  padding: 24px;
  display: inline-block;
  backdrop-filter: blur(6px);
}

.qr-card img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
}

.qr-card p {
  font-size: 13px;
  opacity: 0.75;
  margin-top: 10px;
}

/* ============================================= */
/* 🎥 VIDEO SECTION                             */
/* ============================================= */

.video-section {
  position: relative;
  background: #000;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.95)
  );
  z-index: 1;
}

.video-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.video-content h2 {
  font-size: 28px;
  color: #4da6ff;
  margin-bottom: 10px;
}

.video-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 25px;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: #000;
}

/* ===== СТИЛЬ ДЛЯ КНОПКИ TELEGRAM ===== */

.tg-order-btn {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 16px;
    text-align: center;

    background: linear-gradient(135deg, #2AABEE, #229ED9);
    color: #ffffff;

    font-size: 16px;
    font-weight: 600;

    border-radius: 10px;
    text-decoration: none;

    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.35);
}

.tg-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(34, 158, 217, 0.45);
}

/* ===== СТИЛЬ ЧЕКБОКСА СОГЛАСИЯ ===== */

.form-consent {
    margin-top: 20px;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
}

.form-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    margin-top: 3px;
    flex-shrink: 0;
}

.form-consent input[type="checkbox"]:checked {
    background-color: #4da6ff;
    border-color: #4da6ff;
}

.form-consent input[type="checkbox"]:checked::after {
    content: "✓";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 4px;
    top: -2px;
    font-size: 16px;
}

.form-consent a {
    color: #a066ff;
    text-decoration: underline;
}

.form-consent a:hover {
    color: #c48bff;
}

/* FORCE NEW HERO BACKGROUND ALL DEVICES */
.hero,
section.hero {
  background-image: url("/images/bg365.jpg?v=777") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 768px) {
  .hero,
  section.hero {
    background-image: url("/images/bg365.jpg?v=777") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }
}

/* MOBILE HERO BACKGROUND FIT */
@media (max-width: 768px) {
  .hero,
  section.hero {
    background-image: url("/images/bg365.jpg?v=888") !important;
    background-size: cover !important;
    background-position: 58% center !important;
    min-height: 78vh !important;
  }

  .hero-content {
    min-height: 78vh !important;
    padding-bottom: 95px !important;
  }
}

/* MOBILE HERO FULL IMAGE FIT */
@media (max-width: 768px) {
  .hero,
  section.hero {
    background-image: url("/images/bg365.jpg?v=999") !important;
    background-size: contain !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
    background-color: #020406 !important;
    min-height: 72vh !important;
  }

  .hero-content {
    min-height: 72vh !important;
    padding-bottom: 55px !important;
  }
}

/* MOBILE HERO FINAL FIX */
@media (max-width: 768px) {
  .hero,
  section.hero {
    background-image: url("/images/bg365.jpg?v=1001") !important;
    background-size: cover !important;
    background-position: 34% center !important;
    background-repeat: no-repeat !important;
    min-height: 92vh !important;
  }

  .hero-content {
    min-height: 92vh !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 135px !important;
  }

  .hero .hero-cta,
  .hero-cta {
    transform: translateY(-20px) !important;
  }
}

/* MOBILE ONLY: USE CLEAN OLD BACKGROUND */
@media (max-width: 768px) {
  .hero,
  section.hero {
    background-image: url("/images/hero600.jpg.bak_2026-06-05_21-33") !important;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 88vh !important;
  }

  .hero-content {
    min-height: 88vh !important;
    padding-bottom: 110px !important;
  }
}

/* MOBILE HERO DEDICATED BACKGROUND */
@media (max-width: 768px) {
  .hero,
  section.hero {
    background-image: url("/images/bg-mobile.png?v=1") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 90vh !important;
  }

  .hero-content {
    min-height: 90vh !important;
    padding-bottom: 120px !important;
  }
}

/* MOBILE HERO TEXT OVERLAY */
@media (max-width: 768px) {
  .hero-brand {
    display: block !important;
    position: absolute !important;
    top: 118px !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    z-index: 6 !important;
  }

  .hero-brand .brand-main {
    display: block !important;
    font-size: 34px !important;
    line-height: 1 !important;
    letter-spacing: .06em !important;
    color: #ffffff !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.7) !important;
  }

  .hero-title {
    display: block !important;
    position: absolute !important;
    top: 170px !important;
    left: 28px !important;
    right: 28px !important;
    z-index: 6 !important;
    font-size: 28px !important;
    line-height: 1.15 !important;
    text-align: center !important;
    color: #e8edf3 !important;
    text-shadow: 0 3px 14px rgba(0,0,0,.75) !important;
  }

  .hero-slogan {
    display: block !important;
    position: absolute !important;
    top: 255px !important;
    left: 34px !important;
    right: 34px !important;
    z-index: 6 !important;
    font-size: 17px !important;
    line-height: 1.35 !important;
    text-align: center !important;
    color: #d2d8df !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.75) !important;
  }
}

/* MOBILE HERO TEXT FORCE */
@media (max-width: 768px) {
  .hero::after {
    content: "АВТОПИЛОТ 365\A Трезвый водитель 24/7";
    white-space: pre-line;
    position: absolute;
    top: 135px;
    left: 20px;
    right: 20px;
    z-index: 9;
    text-align: center;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
    letter-spacing: .03em;
    text-shadow: 0 3px 16px rgba(0,0,0,.85);
    pointer-events: none;
  }
}

/* МОБИЛКА: текст уже встроен в картинку */
@media (max-width: 768px) {

  .hero-brand,
  .hero-title,
  .hero-slogan,
  .hero-subtitle,
  .hero-bottom,
  .hero-meta {
      display: none !important;
  }

  .hero-content {
      justify-content: flex-end !important;
      padding-bottom: 120px !important;
  }

  .hero-cta {
      margin-bottom: 120px !important;
      z-index: 20 !important;
  }
}

/* MOBILE FINAL: KILL ALL OVERLAY TEXT */
@media (max-width: 768px) {

  .hero::before,
  .hero::after,
  section.hero::before,
  section.hero::after {
    content: none !important;
    display: none !important;
  }

  .hero-brand,
  .hero-title,
  .hero-slogan,
  .hero-subtitle,
  .hero-bottom,
  .hero-meta,
  .hero-features {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .hero-content {
    min-height: 90vh !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding-bottom: 160px !important;
  }

  .hero .hero-cta,
  .hero-cta {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    margin: 0 !important;
    transform: translateY(-70px) !important;
    z-index: 50 !important;
  }
}

/* ПК: поднять кнопку выше */
@media (min-width: 769px) {

  .hero .hero-cta,
  .hero-cta {
      transform: translateY(-80px) !important;
      position: relative;
      z-index: 20;
  }

}

/* ПК: поднять кнопку еще выше */
@media (min-width: 769px) {

  .hero .hero-cta,
  .hero-cta {
      transform: translateY(-130px) !important;
      position: relative !important;
      z-index: 30 !important;
  }

}

/* ПК: финально поднимаем кнопку через контейнер */
@media (min-width: 769px) {
  .hero-content {
    padding-bottom: 260px !important;
  }

  .hero .hero-cta,
  .hero-cta {
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    position: relative !important;
    z-index: 50 !important;
  }
}

/* ПК: фиксируем кнопку выше поверх hero */
@media (min-width: 769px) {
  .hero {
    position: relative !important;
  }

  .hero .hero-cta,
  section.hero .hero-cta,
  a.hero-cta {
    position: absolute !important;
    left: 50% !important;
    bottom: 210px !important;
    transform: translateX(-50%) !important;
    z-index: 999 !important;
    margin: 0 !important;
  }
}

/* PC FINAL BUTTON POSITION */
@media (min-width: 769px) {
  section.hero .hero-cta,
  .hero .hero-cta,
  a#openOrder {
    position: absolute !important;
    left: 50% !important;
    bottom: 330px !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    margin: 0 !important;
  }
}

/* PC FINAL BUTTON POSITION — adjusted */
@media (min-width: 769px) {
  section.hero .hero-cta,
  .hero .hero-cta,
  a#openOrder {
    position: absolute !important;
    left: 50% !important;
    bottom: 285px !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    margin: 0 !important;
  }
}

/* PC BUTTON FINAL 260 */
@media (min-width: 769px) {
  section.hero .hero-cta,
  .hero .hero-cta,
  a#openOrder {
    bottom: 260px !important;
  }
}

/* PC BUTTON FINAL 245 */
@media (min-width: 769px) {
  section.hero .hero-cta,
  .hero .hero-cta,
  a#openOrder {
    bottom: 245px !important;
  }
}

/* PC BUTTON FINAL 225 */
@media (min-width: 769px) {
  section.hero .hero-cta,
  .hero .hero-cta,
  a#openOrder {
    bottom: 225px !important;
  }
}

/* PC BUTTON FINAL 210 */
@media (min-width: 769px) {
  section.hero .hero-cta,
  .hero .hero-cta,
  a#openOrder {
    bottom: 210px !important;
  }
}

/* FINAL DESKTOP HERO BUTTON */
@media (min-width: 769px) {
  .hero {
    position: relative !important;
  }

  a#openOrder {
    position: absolute !important;
    left: 50% !important;
    bottom: 150px !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    margin: 0 !important;
  }
}

/* SHARE BUTTONS */
.share-buttons {
  max-width: 760px;
  margin: 34px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #c7ccd1;
  font-size: 15px;
}

.share-buttons a {
  color: #ffffff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  padding: 10px 16px;
  border-radius: 999px;
}

.share-buttons a:hover {
  background: rgba(255,255,255,.12);
}
