/* ==========================================================================
   ExpertST - Головна таблиця стилів 2026 (Швидкість, Конверсія, Mobile-First)
   ========================================================================== */

:root {
    --primary-orange: #FF6B00;
    --primary-orange-hover: #E05E00;
    --primary-dark: #1E2229;
    --bg-dark-card: #272C35;
    --bg-light: #F8F9FA;
    --bg-gray: #EAEAEA;
    --text-main: #2D3139;
    --text-muted: #6B7280;
    --border-color: #E5E7EB;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

/* Відступ для якорів під фіксовану/липку шапку */
section[id],
header[id],
div[id] {
    scroll-margin-top: 80px;
}

body {
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow-wrap: break-word;
    word-break: break-word;
}

#page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

section, .section, header, footer {
    max-width: 100%;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ----------------------------------------------------
   КОНТЕЙНЕР
   ---------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 640px) { .container { padding-left: 32px; padding-right: 32px; } }
@media (min-width: 1024px) { .container { padding-left: 48px; padding-right: 48px; } }

/* ----------------------------------------------------
   1. ШАПКА САЙТУ (Header)
   ---------------------------------------------------- */
#masthead {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 58px;
}

@media (min-width: 768px) {
    .header-inner {
        height: 84px;
    }
}

.site-logo {
    font-size: 26px;
    font-weight: 900;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (min-width: 768px) {
    .site-logo {
        font-size: 38px;
    }
}

.site-nav {
    display: none;
    align-items: center;
    gap: 26px;
    font-size: 15px;
    font-weight: 700;
}

@media (min-width: 960px) {
    .site-nav {
        display: flex;
    }
}

.site-nav a {
    color: var(--text-main);
    position: relative;
    padding: 6px 0;
}

.site-nav a:hover {
    color: var(--primary-orange);
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: width 0.2s ease;
}

.site-nav a:hover::after {
    width: 100%;
}

/* Десктопний Dropdown меню послуг */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 290px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    padding: 8px 0;
    display: none;
    flex-direction: column;
    z-index: 1000;
}
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
}
.nav-dropdown-menu a {
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.nav-dropdown-menu a:last-child {
    border-bottom: none;
}
.nav-dropdown-menu a::after {
    display: none !important;
}
.nav-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-orange) !important;
}

.header-phone-btn {
    display: none;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-orange);
    background: #FFF5EE;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 0, 0.2);
    transition: all 0.2s ease;
}

.header-phone-btn:hover {
    background: var(--primary-orange);
    color: #ffffff;
    transform: translateY(-1px);
}

.header-phone-btn svg path {
    transition: fill 0.2s ease;
}

.header-phone-btn:hover svg path {
    fill: #ffffff;
}

@media (min-width: 768px) {
    .header-phone-btn {
        display: flex;
    }
}

/* Бургер меню */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
}

@media (min-width: 960px) {
    .burger-btn {
        display: none;
    }
}

.burger-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-orange);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    padding: 20px 16px;
    flex-direction: column;
    gap: 12px;
    border-top: 2px solid var(--primary-orange);
}

.mobile-drawer.open {
    display: flex;
}

.mobile-drawer a {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    padding: 10px 4px;
    border-bottom: 1px solid #f3f4f6;
}

.mobile-drawer a:hover {
    color: var(--primary-orange);
}

.drawer-section-title {
    font-size: 11.5px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 10px 4px 2px;
}

.mobile-drawer a.drawer-sublink {
    font-size: 14.5px;
    font-weight: 600;
    padding: 8px 12px;
    border-bottom: 1px solid #f9fafb;
    color: var(--text-muted);
}

.mobile-drawer a.drawer-sublink:hover {
    color: var(--primary-orange);
}

/* ----------------------------------------------------
   2. ГОЛОВНИЙ ЕКРАН (Hero Section)
   ---------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, #FF6B00 0%, #E85D00 100%);
    padding: 24px 0 0;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 44px 0 0;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: end;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 48px;
        align-items: end;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 1024px) {
    .hero-content {
        padding-bottom: 40px;
    }
}

.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-title {
    font-size: 23px;
    line-height: 1.18;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 40px;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
}

.hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.96);
    font-weight: 500;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 17px;
    }
}

/* Права колонка Hero - Фотографія */
.hero-image-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-end;
    position: relative;
    width: 100%;
    margin-bottom: 0;
}

.hero-image-wrap img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
    vertical-align: bottom;
    margin-bottom: 0;
    filter: drop-shadow(0 -8px 18px rgba(0, 0, 0, 0.12)) drop-shadow(12px 0 20px rgba(0, 0, 0, 0.18)) drop-shadow(-12px 0 20px rgba(0, 0, 0, 0.18));
}

/* ----------------------------------------------------
   3. КАРТКА ЗАЯВКИ ТА КОНТАКТІВ
   ---------------------------------------------------- */
.lead-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
    .lead-card {
        padding: 30px;
    }
}

.messengers-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 12px;
}

.messengers-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 22px;
    width: 100%;
    max-width: 100%;
}

.messenger-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 2px;
    border-radius: var(--radius-md);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    min-width: 0;
    overflow: hidden;
}

.messenger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.messenger-btn svg {
    width: 32px;
    height: 32px;
}

.messenger-btn span {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Чіпси вибору послуги */
.service-chips-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.chip-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip-btn:hover,
.chip-btn.active {
    background: var(--primary-orange);
    color: #ffffff;
    border-color: var(--primary-orange);
}

/* Поля форми */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px; /* 16px запобігає авто-зуму на iOS */
    font-family: inherit;
    color: var(--text-main);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    margin-bottom: 14px;
}

.submit-btn {
    width: 100%;
    padding: 15px 20px;
    background: var(--primary-orange);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 107, 0, 0.45);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-response-output {
    display: none;
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.form-response-output.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form-response-output.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

.form-input.input-error,
.form-textarea.input-error {
    border-color: #E53935 !important;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.2) !important;
}

/* ----------------------------------------------------
   4. РОЗДІЛ "ВИДИ ПОСЛУГ" (Services)
   ---------------------------------------------------- */
.section-services {
    padding: 50px 0;
    background: #ffffff;
}

@media (min-width: 768px) {
    .section-services {
        padding: 76px 0;
    }
}

.section-header {
    margin-bottom: 34px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--primary-dark);
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 40px;
    }
}

.section-title span {
    color: var(--primary-orange);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ----------------------------------------------------
   Свайп-карусель для послуг та автопарку (Mobile-First)
   ---------------------------------------------------- */
.services-nav-chips,
.fleet-nav-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 14px 2px;
    margin-bottom: 4px;
}

.services-nav-chips::-webkit-scrollbar,
.fleet-nav-chips::-webkit-scrollbar {
    display: none;
}

.service-nav-chip,
.fleet-nav-chip {
    flex: 0 0 auto;
    padding: 8px 14px;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.service-nav-chip:hover,
.fleet-nav-chip:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.service-nav-chip.active,
.fleet-nav-chip.active {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(255, 107, 0, 0.35);
}

.services-track-wrapper,
.fleet-track-wrapper {
    position: relative;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 24px;
}

/* На мобільному: горизонтальний плавний скрол зі scroll-snap та підгляданням наступної картки */
.services-grid,
.fleet-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 4px 16px 14px 0;
    margin: 0;
}

.services-grid::-webkit-scrollbar,
.fleet-grid::-webkit-scrollbar {
    display: none;
}

.service-card,
.fleet-card {
    /* 84% ширини дозволяє наступній картці на 16% виглядати праворуч — користувач відразу бачить, що є продовження */
    flex: 0 0 84%;
    max-width: 330px;
    min-width: 260px;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

@media (min-width: 640px) and (max-width: 899px) {
    .service-card,
    .fleet-card {
        flex: 0 0 46%;
        max-width: 360px;
    }
}

/* Нижня панель навігації та індикаторів */
.carousel-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    margin-bottom: 28px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.carousel-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.carousel-hint-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.carousel-count-badge {
    display: inline-block;
    background: var(--bg-gray);
    color: var(--primary-dark);
    font-size: 11.5px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
}

.carousel-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dot.active {
    width: 22px;
    border-radius: 10px;
    background: var(--primary-orange);
}

.carousel-arrows {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carousel-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 700;
    padding: 0;
}

.carousel-arrow:hover:not(:disabled) {
    background: var(--primary-orange);
    color: #ffffff;
    border-color: var(--primary-orange);
}

.carousel-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* Десктоп (від 900px): повноцінна зручна сітка без свайпу */
@media (min-width: 900px) {
    .services-nav-chips,
    .fleet-nav-chips,
    .carousel-nav-bar {
        display: none !important;
    }

    .services-track-wrapper,
    .fleet-track-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 0 !important;
    }

    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 22px !important;
        overflow-x: visible !important;
        padding: 0 !important;
        margin-bottom: 0 !important;
    }

    .fleet-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
        overflow-x: visible !important;
        padding: 0 !important;
        margin-bottom: 36px !important;
    }

    .service-card,
    .fleet-card {
        flex: initial !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 107, 0, 0.4);
}

.service-card-img-wrap {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: var(--bg-gray);
}

.service-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img-wrap img {
    transform: scale(1.05);
}

.service-price-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(30, 34, 41, 0.92);
    backdrop-filter: blur(6px);
    color: #FFE600;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(255, 230, 0, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.service-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.service-card-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.service-card:hover .service-card-title {
    color: var(--primary-orange);
}

.service-card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-orange);
}

.service-card-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.service-card:hover .service-card-link::after {
    transform: translateX(4px);
}

/* ----------------------------------------------------
   5. АВТОПАРК ТА ТАРИФИ + МОБІЛЬНИЙ ЕКСПРЕС-КАЛЬКУЛЯТОР
   ---------------------------------------------------- */
.section-fleet {
    padding: 50px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .section-fleet {
        padding: 76px 0;
    }
}

.fleet-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1.5px solid var(--border-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease;
    position: relative;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.fleet-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-orange);
}

.fleet-card.popular {
    border-color: var(--primary-orange);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.12);
}

.fleet-popular-tag {
    position: absolute;
    top: 0;
    right: 14px;
    background: var(--primary-orange);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 0 0 8px 8px;
    letter-spacing: 0.4px;
    z-index: 2;
}

.fleet-card-top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.fleet-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
}

.fleet-card-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
    font-weight: 600;
}

.fleet-price-pill {
    background: #FFF5EE;
    color: var(--primary-orange);
    border: 1px solid rgba(255, 107, 0, 0.25);
    font-size: 14px;
    font-weight: 900;
    padding: 6px 12px;
    border-radius: 10px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
}

.fleet-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    background: #F8FAFC;
    padding: 12px;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    font-size: 13px;
    max-width: 100%;
}

.fleet-spec-item {
    display: flex;
    flex-direction: column;
}

.fleet-spec-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.fleet-spec-val {
    font-weight: 800;
    color: var(--primary-dark);
}

.fleet-use-case {
    font-size: 13.5px;
    color: #4B5563;
    margin-bottom: 16px;
    line-height: 1.45;
}

.fleet-order-btn {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--primary-dark);
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
}

.fleet-order-btn:hover {
    background: var(--primary-orange);
}

.fleet-order-btn:active {
    transform: scale(0.98);
}

/* Інтерактивний Експрес-калькулятор */
.calc-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(255, 107, 0, 0.3);
    padding: 22px 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .calc-card {
        padding: 32px 36px;
    }
}

.calc-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    text-align: center;
}

.calc-title {
    font-size: 21px;
    font-weight: 900;
    color: var(--primary-dark);
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .calc-title {
        font-size: 26px;
    }
}

.calc-subtitle {
    font-size: 14px;
    color: var(--text-muted);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

@media (min-width: 900px) {
    .calc-grid {
        grid-template-columns: 1.2fr 1.1fr 0.9fr;
        gap: 24px;
    }
}

.calc-step-label {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-dark);
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.calc-opt-btn {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 8px 12px;
    background: #F8FAFC;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
}

.calc-opt-btn small {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
}

.calc-opt-btn.active {
    background: #FFF5EE;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.15);
}

.calc-opt-btn.active small {
    color: var(--primary-orange);
}

.calc-footer {
    background: var(--primary-dark);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .calc-footer {
        flex-direction: row;
        padding: 20px 28px;
    }
}

.calc-result-info {
    text-align: center;
}

@media (min-width: 768px) {
    .calc-result-info {
        text-align: left;
    }
}

.calc-result-label {
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 600;
}

.calc-result-price {
    font-size: 28px;
    font-weight: 900;
    color: #FFE600;
    line-height: 1.15;
}

.calc-result-note {
    font-size: 12px;
    color: #D1D5DB;
    margin-top: 2px;
}

.calc-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #FF6B00 0%, #E85D00 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.4);
    transition: transform 0.15s ease;
}

@media (min-width: 768px) {
    .calc-submit-btn {
        width: auto;
        white-space: nowrap;
    }
}

.calc-submit-btn:active {
    transform: scale(0.98);
}

/* Банер оцінки по фото у Viber / Telegram */
.photo-eval-banner {
    background: linear-gradient(135deg, #1E2229 0%, #2D333F 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
    .photo-eval-banner {
        flex-direction: row;
        padding: 24px 30px;
    }
}

.photo-eval-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

@media (min-width: 768px) {
    .photo-eval-text {
        text-align: left;
    }
}

.photo-eval-title {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
}

.photo-eval-sub {
    font-size: 13.5px;
    color: #D1D5DB;
}

.photo-eval-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .photo-eval-actions {
        display: flex;
        width: auto;
        flex-shrink: 0;
        gap: 12px;
    }
}

.photo-eval-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px 4px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.15s ease, opacity 0.15s ease;
    min-width: 0;
    overflow: hidden;
}

.photo-eval-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 380px) {
    .photo-eval-actions {
        gap: 8px;
    }
    .photo-eval-btn {
        padding: 11px 8px;
        font-size: 13.5px;
        gap: 6px;
    }
}

@media (min-width: 768px) {
    .photo-eval-btn {
        padding: 12px 18px;
        font-size: 14px;
        gap: 8px;
    }
}

.photo-eval-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.photo-eval-btn.whatsapp {
    background: #25D366;
}

.photo-eval-btn.viber {
    background: #7360F2;
}

.photo-eval-btn.telegram {
    background: #2AABEE;
}

.photo-eval-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* ----------------------------------------------------
   6. РОЗДІЛ "НАШІ ПЕРЕВАГИ" (Advantages)
   ---------------------------------------------------- */
.section-about {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .section-about {
        padding: 76px 0;
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }
}

.about-lead-box {
    border-left: 6px solid var(--primary-orange);
    padding-left: 20px;
}

.about-text {
    font-size: 15.5px;
    line-height: 1.65;
    color: #4A5568;
    margin-top: 14px;
}

.trust-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFF5EE;
    color: var(--primary-dark);
    border: 1px solid rgba(255, 107, 0, 0.25);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 700;
}

.advantages-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .advantages-list {
        grid-template-columns: 1fr 1fr;
    }
}

.advantage-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 14px;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: #FFF5EE;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.advantage-title {
    font-size: 14.5px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary-dark);
    line-height: 1.3;
}

/* ----------------------------------------------------
   7. ВІДГУКИ КЛІЄНТІВ НА GOOGLE КАРТАХ (Reviews)
   ---------------------------------------------------- */
.section-reviews {
    padding: 50px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    max-width: 100%;
}

@media (min-width: 768px) {
    .section-reviews {
        padding: 76px 0;
    }
}

.reviews-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 14px;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--primary-dark);
    max-width: 100%;
}

.reviews-stars {
    color: #F59E0B;
    letter-spacing: 2px;
    font-size: 15px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* На мобільному - зручний горизонтальний свайп (scroll-snap), на ПК - сітка */
.reviews-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin-bottom: 24px;
    scrollbar-width: none;
    max-width: 100%;
    overscroll-behavior-x: contain;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

@media (min-width: 900px) {
    .reviews-track {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
        overflow-x: visible;
        padding-bottom: 0;
    }
}

.review-card {
    flex: 0 0 86%;
    max-width: 360px;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

@media (min-width: 900px) {
    .review-card {
        flex: initial;
        max-width: none;
    }
}

.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FFF5EE;
    color: var(--primary-orange);
    font-weight: 900;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.review-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
}

.review-service-tag {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.review-text {
    font-size: 14px;
    line-height: 1.55;
    color: #374151;
}

.review-verified {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.review-verified:hover {
    color: #047857;
    text-decoration: underline;
}

.reviews-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.google-maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1.5px solid var(--primary-dark);
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 800;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.google-maps-btn:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

.mobile-swipe-hint {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}

@media (min-width: 900px) {
    .mobile-swipe-hint {
        display: none;
    }
}

/* ----------------------------------------------------
   8. РОЗДІЛ FAQ (Часті питання)
   ---------------------------------------------------- */
.section-faq {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 768px) {
    .section-faq {
        padding: 76px 0;
    }
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #ffffff;
    transition: border-color 0.2s ease;
}

.faq-item.active {
    border-color: var(--primary-orange);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-family: inherit;
}

.faq-icon {
    font-size: 22px;
    font-weight: 400;
    color: var(--primary-orange);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    display: block;
}

/* ----------------------------------------------------
   9. ПІДВАЛ САЙТУ (Footer)
   ---------------------------------------------------- */
#colophon {
    background: var(--primary-dark);
    color: #ffffff;
    padding: 44px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        align-items: center;
    }
}

.footer-logo svg {
    max-width: 280px;
    height: auto;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-phone {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 4px solid var(--primary-orange);
    padding-bottom: 8px;
}

.footer-phone:hover {
    color: var(--primary-orange);
}

.footer-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ----------------------------------------------------
   10. ВНУТРІШНІ СТОРІНКИ (Subpage entry content)
   ---------------------------------------------------- */
.entry-content {
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

.entry-content p {
    margin-bottom: 20px;
}

.entry-content strong {
    color: var(--primary-dark);
}

.entry-content img {
    border-radius: var(--radius-md);
    margin: 24px auto;
    box-shadow: var(--shadow-soft);
    cursor: zoom-in;
}

.entry-content ul, .entry-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.entry-content li {
    margin-bottom: 8px;
}

/* ----------------------------------------------------
   11. МОДАЛЬНЕ ВІКНО ПІДТВЕРДЖЕННЯ КЛІКІВ (Action Confirm Modal)
   ---------------------------------------------------- */
.contact-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.68);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 0;
}

.contact-confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.contact-confirm-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 28px;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: center;
}

@media (min-width: 640px) {
    .contact-confirm-overlay {
        align-items: center;
        padding: 20px;
    }
    .contact-confirm-card {
        border-radius: 20px;
        transform: scale(0.92);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .contact-confirm-overlay.active .contact-confirm-card {
        transform: scale(1);
    }
}

.contact-confirm-overlay.active .contact-confirm-card {
    transform: translateY(0);
}

.contact-confirm-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
}

.contact-confirm-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-confirm-icon svg {
    width: 32px;
    height: 32px;
}

.contact-confirm-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 6px;
}

.contact-confirm-subtitle {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.contact-confirm-note {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.contact-confirm-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.contact-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, filter 0.15s ease;
    border: none;
    outline: none;
}

.contact-confirm-btn:active {
    transform: scale(0.98);
}

.contact-confirm-btn.primary {
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.contact-confirm-btn.primary svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-confirm-btn.copy {
    background: #FFF5EE;
    color: var(--primary-orange);
    border: 1px solid rgba(255, 107, 0, 0.25);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
}

.contact-confirm-btn.cancel {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
}

.contact-confirm-btn.cancel:hover {
    background: #e2e8f0;
}

.contact-confirm-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s ease;
}

.contact-confirm-close:hover {
    background: #e2e8f0;
}

/* Lightbox для перегляду фото у статтях */
.img-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: zoom-out;
}

.img-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.img-lightbox-overlay img {
    max-width: 96vw;
    max-height: 88vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   ExpertST - High-Conversion Mobile-First UX & Direct Contact Hub (2026)
   ========================================================================== */

.hero-taxi-tag {
    color: #FFE600;
    font-weight: 900;
}

.contact-hub-card {
    background: #ffffff;
    border-radius: var(--radius-xl);
    padding: 16px 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
    margin-top: 4px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 480px) {
    .contact-hub-card {
        padding: 20px 22px;
    }
}

@media (min-width: 640px) {
    .contact-hub-card {
        padding: 24px 28px;
    }
}

/* Live статус диспетчера у Contact Hub */
.hub-schedule-badge {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 9px 12px;
    margin-bottom: 12px;
    font-size: 12.5px;
    line-height: 1.4;
    color: var(--text-main);
    text-align: left;
}

.hub-schedule-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--primary-dark);
}

.hub-schedule-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    display: inline-block;
    flex-shrink: 0;
    animation: pulseGreen 2s infinite;
}

.hub-schedule-dot.night {
    background: #F59E0B;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
    animation: none;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hub-schedule-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    padding-left: 17px;
    margin-top: 2px;
}

/* Головна кнопка дзвінка в Hub */
.hub-main-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(135deg, #FF6B00 0%, #E85D00 100%);
    color: #ffffff;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(255, 107, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 14px;
}

.hub-main-call-btn:active {
    transform: scale(0.98);
}

.hub-call-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hub-call-icon svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.hub-call-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.hub-call-title {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hub-call-sub {
    font-size: 14px;
    font-weight: 700;
    opacity: 0.95;
}

/* Сітка швидкого контакту: 4 канали */
.hub-channels-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.35;
}

.hub-direct-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
    width: 100%;
    max-width: 100%;
}

.hub-channel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 4px;
    border-radius: var(--radius-md);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    min-width: 0;
}

.hub-channel-btn:active {
    transform: scale(0.94);
}

.hub-channel-btn.whatsapp { background: #E8F8EE; color: #1E824C; }
.hub-channel-btn.viber { background: #F1EFFE; color: #5846C7; }
.hub-channel-btn.telegram { background: #E9F6FD; color: #1282BA; }
.hub-channel-btn.request { background: #FFF5EE; color: var(--primary-orange); border: 1px solid rgba(255, 107, 0, 0.25); }

.hub-channel-btn svg {
    width: 30px;
    height: 30px;
}

.hub-channel-btn.whatsapp svg path { fill: #25D366; }
.hub-channel-btn.viber svg path { fill: #7360F2; }
.hub-channel-btn.telegram svg path { fill: #2AABEE; }
.hub-channel-btn.request svg path { fill: var(--primary-orange); }

.hub-channel-btn span {
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 3. Кнопка розгортання форми всередині Hub */
.hub-form-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    background: #F8F9FA;
    border: 1.5px dashed var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.hub-form-toggle:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: #FFF9F5;
}

.hub-form-toggle .hub-toggle-icon {
    color: var(--primary-orange);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hub-form-toggle[aria-expanded="true"] .hub-toggle-icon {
    transform: rotate(180deg);
}

.hub-form-body {
    display: none;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
}

.calc-prefill-badge {
    background: #EFFDF5;
    border: 1.5px solid #22C55E;
    border-radius: var(--radius-md);
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 13.5px;
    color: #14532D;
    line-height: 1.45;
    animation: badgeFadeIn 0.3s ease;
}

@keyframes badgeFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.hub-form-body.open {
    display: block;
}

@media (min-width: 900px) {
    .hub-form-toggle {
        display: none;
    }
    .hub-form-body {
        display: block;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }
}

/* 4. Прогресивне розкриття описів послуг */
.service-card-short {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.service-read-more-btn {
    display: inline-flex;
    align-items: center;
    background: #FFF5EE;
    color: var(--primary-orange);
    border: 1px solid rgba(255, 107, 0, 0.25);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.service-read-more-btn:hover {
    background: var(--primary-orange);
    color: #ffffff;
}

.service-card-desc-collapsible {
    display: none;
}

.service-card-desc-collapsible.open {
    display: block;
}

@media (min-width: 900px) {
    .service-read-more-btn {
        display: none;
    }
    .service-card-desc-collapsible {
        display: block;
    }
}

/* 5. ПЛАВАЮЧА НИЖНЯ МОБІЛЬНА ПАНЕЛЬ (УСІ 5 КНОПОК ЗВ'ЯЗКУ) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(26, 30, 37, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 2.5px solid var(--primary-orange);
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.45);
}

@media (max-width: 899px) {
    .mobile-bottom-bar {
        display: block;
    }
    body {
        padding-bottom: 74px !important;
    }
}

.mobile-bottom-bar-inner {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.bottom-call-btn {
    flex: 1.25;
    min-width: 0;
    height: 44px;
    background: linear-gradient(135deg, #FF6B00 0%, #E85D00 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14.5px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.45);
    transition: transform 0.15s ease;
    padding: 0 10px;
}

.bottom-call-btn:active {
    transform: scale(0.96);
}

.bottom-call-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    fill: #ffffff;
}

.bottom-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.15s ease;
}

.bottom-icon-btn:active {
    transform: scale(0.92);
}

.bottom-icon-btn.whatsapp { background: #25D366; }
.bottom-icon-btn.viber { background: #7360F2; }
.bottom-icon-btn.telegram { background: #2AABEE; }
.bottom-icon-btn.request {
    background: #1E2229;
    border: 1.5px solid var(--primary-orange);
}

.bottom-icon-btn svg {
    width: 19px;
    height: 19px;
}

/* Оптимізація для екранів до 390px (iPhone 12/13/14/15, Samsung Galaxy) */
@media (max-width: 390px) {
    .mobile-bottom-bar-inner {
        gap: 5px;
    }
    .bottom-icon-btn {
        width: 38px;
        height: 38px;
    }
    .bottom-icon-btn svg {
        width: 18px;
        height: 18px;
    }
    .bottom-call-btn {
        height: 38px;
        font-size: 13.5px;
        padding: 0 8px;
    }
}

/* Оптимізація для надкомпактних екранів (iPhone SE, Android 320-360px) */
@media (max-width: 360px) {
    .mobile-bottom-bar-inner {
        gap: 4px;
    }
    .bottom-icon-btn {
        width: 35px;
        height: 35px;
    }
    .bottom-icon-btn svg {
        width: 16px;
        height: 16px;
    }
    .bottom-call-btn {
        height: 35px;
        font-size: 12px;
        padding: 0 6px;
        gap: 4px;
    }
    .bottom-call-btn svg {
        width: 14px;
        height: 14px;
    }
    .hub-channel-btn span {
        font-size: 10px;
    }
}

/* =========================================================================
   13. МОДАЛЬНЕ ВІКНО РЕЗУЛЬТАТУ ЗАЯВКИ (Успіх / Помилка / Ліміт)
   ========================================================================= */
.form-result-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.form-result-overlay.active {
    opacity: 1;
    visibility: visible;
}

.form-result-modal {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 460px;
    border-radius: 22px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 32px 24px 24px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-result-overlay.active .form-result-modal {
    transform: scale(1);
}

.form-result-status-stripe {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: #22C55E;
}
.form-result-modal.is-error .form-result-status-stripe {
    background: #EF4444;
}

.form-result-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.form-result-close:hover {
    background: #E2E8F0;
    color: #1E293B;
}
.form-result-close:active {
    transform: scale(0.92);
}

.form-result-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}
.form-result-modal.is-error .form-result-icon-wrapper {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.35);
}
.form-result-icon-wrapper svg {
    width: 38px;
    height: 38px;
    fill: #ffffff;
}

.form-result-title {
    font-size: 21px;
    font-weight: 800;
    color: #15803D;
    margin: 0 0 10px;
    line-height: 1.25;
}
.form-result-modal.is-error .form-result-title {
    color: #B91C1C;
}

.form-result-message {
    font-size: 14.5px;
    line-height: 1.55;
    color: #475569;
    margin: 0 0 20px;
}

.form-result-contacts {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 14px 14px 12px;
    margin-bottom: 20px;
    text-align: left;
}
.form-result-contacts-label {
    font-size: 11.5px;
    font-weight: 800;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.form-result-contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-result-link-btn.call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #FFF7ED;
    border: 1.5px solid #FFEDD5;
    color: #EA580C;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.form-result-link-btn.call:hover {
    background: #FFEDD5;
    border-color: #FDBA74;
}
.form-result-link-btn.call:active {
    transform: scale(0.98);
}
.form-result-link-btn.call svg {
    width: 18px;
    height: 18px;
}

.form-result-messengers-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
.form-result-link-btn.viber,
.form-result-link-btn.telegram,
.form-result-link-btn.whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 6px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 700;
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.form-result-link-btn:active {
    transform: scale(0.96);
}
.form-result-link-btn.viber { background: #F1EFFE; color: #5846C7; }
.form-result-link-btn.telegram { background: #E9F6FD; color: #1282BA; }
.form-result-link-btn.whatsapp { background: #E8F8EE; color: #1E824C; }
.form-result-link-btn svg {
    width: 16px;
    height: 16px;
}

.form-result-ok-btn {
    width: 100%;
    height: 48px;
    border-radius: 14px;
    border: none;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(135deg, #22C55E, #16A34A);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.form-result-modal.is-error .form-result-ok-btn {
    background: #334155;
    box-shadow: 0 4px 14px rgba(51, 65, 85, 0.3);
}
.form-result-ok-btn:hover {
    opacity: 0.95;
}
.form-result-ok-btn:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .form-result-modal {
        padding: 24px 16px 18px;
        border-radius: 18px;
    }
    .form-result-title {
        font-size: 19px;
    }
    .form-result-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    .form-result-icon-wrapper svg {
        width: 30px;
        height: 30px;
    }
}

/* =========================================================================
   14. ПОВНИЙ ЗАХИСТ ВІД ГОРИЗОНТАЛЬНОГО СКРОЛУ НА ВСІХ МОБІЛЬНИХ ПРИСТРОЯХ
   ========================================================================= */
@media (max-width: 480px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
    }
    .fleet-card {
        padding: 18px 14px;
    }
    .fleet-card-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .fleet-price-pill {
        align-self: flex-start;
    }
    .lead-card {
        padding: 18px 14px;
    }
    .contact-hub-card {
        padding: 16px 12px;
    }
    .calc-card {
        padding: 18px 14px;
    }
    .photo-eval-banner {
        padding: 18px 14px;
    }
    .hero-title {
        font-size: 26px;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .hero-title {
        font-size: 23px;
    }
    .hero-badge-row {
        gap: 6px;
    }
    .hero-badge {
        font-size: 11.5px;
        padding: 4px 8px;
    }
    .bottom-call-btn {
        font-size: 12.5px;
        padding: 0 4px;
    }
    .bottom-icon-btn {
        width: 36px;
        height: 36px;
    }
}

/* =========================================================================
   15. ОНОВЛЕННЯ 2026: КАЛЬКУЛЯТОР (МІЖМІСТО), ХЛІБНІ КРИХТИ, ФОТО У ФОРМІ, B2B ТА ПЕРЕЛІНКОВКА
   ========================================================================= */

/* Візуальні чіпси місткості в картках автопарку */
.fleet-capacity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.fleet-cap-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #F1F5F9;
    color: #334155;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid #E2E8F0;
}

/* Перемикач режимів калькулятора (По місту / Міжмісто) */
.calc-mode-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 12px auto 4px;
    background: #F1F5F9;
    padding: 5px;
    border-radius: 14px;
    max-width: 480px;
    width: 100%;
}

.calc-mode-tab {
    flex: 1;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #475569;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.calc-mode-tab.active {
    background: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.28);
}

.calc-opt-btn.disabled-opt {
    opacity: 0.45;
    cursor: not-allowed;
}

.calc-intercity-box {
    display: none;
    margin-bottom: 20px;
}

.calc-intercity-box.active {
    display: block;
}

.calc-city-box.hidden {
    display: none;
}

.calc-route-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.calc-route-pill {
    background: #F8FAFC;
    border: 1.5px solid var(--border-color);
    border-radius: 50px;
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s ease;
}

.calc-route-pill:hover,
.calc-route-pill.active {
    background: #FFF5EE;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.calc-distance-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F8FAFC;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
}

.calc-distance-slider {
    flex: 1;
    accent-color: var(--primary-orange);
    cursor: pointer;
}

.calc-distance-input-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 800;
    font-size: 14px;
    color: var(--primary-dark);
}

.calc-distance-input {
    width: 68px;
    padding: 6px 8px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    color: var(--primary-dark);
}

/* Вибір часу подачі та прикріплення фото у формі замовлення */
.form-time-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.time-chip-btn {
    flex: 1 1 auto;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: inherit;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.time-chip-btn:hover,
.time-chip-btn.active {
    background: #FFF5EE;
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.form-photo-upload {
    margin-bottom: 12px;
}

.form-photo-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    background: #F8FAFC;
    border: 1.5px dashed #CBD5E1;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.form-photo-label:hover,
.form-photo-label.has-file {
    border-color: var(--primary-orange);
    background: #FFF9F5;
    color: var(--primary-orange);
}

.form-photo-input {
    display: none;
}


.form-photo-hint {
    font-size: 11.5px;
    color: #94A3B8;
    text-align: center;
    margin-top: 5px;
}

.form-photo-clear {
    display: none;
    margin-top: 4px;
    background: none;
    border: none;
    color: #DC2626;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
}

/* Локальне SEO (мікрорайони) та B2B-блок */
.local-seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--border-color);
}

@media (min-width: 900px) {
    .local-seo-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.local-seo-card {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
}

.local-seo-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.districts-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.district-pill {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 4px 11px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Розгортальний блок мікрорайонів (Збереження SEO + Чистий UI) */
details.districts-card {
    transition: all 0.25s ease;
}

.districts-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 14px;
    cursor: pointer;
    user-select: none;
    list-style: none;
}

.districts-summary::-webkit-details-marker {
    display: none;
}

.districts-summary-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.districts-summary-title-wrap .local-seo-title {
    margin-bottom: 0;
}

.districts-summary-sub {
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}

.districts-summary-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--primary-dark);
    font-size: 12.5px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

details.districts-card:hover .districts-summary-btn {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

details.districts-card[open] .districts-summary-btn {
    background: var(--bg-gray);
    border-color: var(--border-color);
    color: var(--text-muted);
}

.districts-summary-btn .btn-text-open {
    display: none;
}

details.districts-card[open] .districts-summary-btn .btn-text-closed {
    display: none;
}

details.districts-card[open] .districts-summary-btn .btn-text-open {
    display: inline;
}

.districts-content {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
    animation: districtsFadeIn 0.25s ease;
}

@keyframes districtsFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Хлібні крихти (Breadcrumbs) на внутрішніх сторінках */
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.breadcrumbs a {
    color: var(--primary-orange);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs-sep {
    color: #CBD5E1;
}

/* Таблиця цін на внутрішніх сторінках (Desktop & Tablet) */
.seo-price-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #ffffff;
}

.seo-price-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    font-size: 14.5px;
    text-align: left;
    background: #ffffff;
}

.seo-price-table th {
    background: var(--primary-dark);
    color: #ffffff;
    font-weight: 800;
    padding: 12px 16px;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.seo-price-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    line-height: 1.5;
}

.seo-price-table tr:last-child td {
    border-bottom: none;
}

.seo-price-table tr:nth-child(even) td {
    background: #F8FAFC;
}

.seo-price-val,
.seo-price-table .price-cell {
    font-weight: 800;
    color: var(--primary-orange);
    white-space: nowrap;
}

/* Мобільна адаптація таблиці: стильний картковий вигляд (Stacked Card Layout) */
@media (max-width: 680px) {
    .seo-price-table-wrap {
        border: none !important;
        background: transparent !important;
        overflow: visible !important;
        margin: 16px 0 24px !important;
        padding: 0 !important;
    }

    .seo-price-table {
        min-width: 0 !important;
        width: 100% !important;
        background: transparent !important;
        display: block !important;
    }

    .seo-price-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
    }

    .seo-price-table thead {
        display: none !important;
    }

    .seo-price-table tr {
        display: block !important;
        background: #ffffff !important;
        border: 1px solid #E2E8F0 !important;
        border-radius: 14px !important;
        padding: 14px 16px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }

    .seo-price-table tr:nth-child(even) td {
        background: transparent !important;
    }

    .seo-price-table td {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 9px 0 !important;
        border-bottom: 1px dashed #E2E8F0 !important;
        font-size: 14px !important;
        color: var(--text-main) !important;
        text-align: right !important;
    }

    .seo-price-table td:last-child {
        border-bottom: none !important;
    }

    .seo-price-table td:first-child {
        display: block !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        color: var(--primary-dark) !important;
        text-align: left !important;
        padding: 0 0 10px 0 !important;
        margin-bottom: 6px !important;
        border-bottom: 2px solid #FFF3EB !important;
    }

    .seo-price-table td:first-child::before {
        display: none !important;
    }

    .seo-price-table td:not(:first-child)::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748B;
        font-size: 13px;
        text-align: left;
        flex-shrink: 0;
        max-width: 48%;
    }

    .seo-price-table .seo-price-val,
    .seo-price-table .price-cell {
        font-weight: 800 !important;
        color: var(--primary-orange) !important;
        font-size: 15.5px !important;
        text-align: right !important;
        white-space: normal !important;
    }
}

/* Блок перелінковки "Інші наші послуги" на внутрішніх сторінках */
.related-services-section {
    padding: 40px 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.related-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .related-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-service-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

.related-service-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.related-service-card:hover .related-service-title {
    color: var(--primary-orange);
}

.related-service-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.45;
}

.related-service-price {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-orange);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Розширений футер з посиланнями на всі послуги для SEO-перелінковки */
.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.footer-links-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FF6B00;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    width: 100%;
    margin-bottom: 4px;
}

.footer-links-details {
    width: 100%;
}

.footer-links-summary {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    color: #FF6B00;
    letter-spacing: 0.5px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links-summary::-webkit-details-marker {
    display: none;
}

.footer-links-arrow {
    transition: transform 0.2s ease;
    font-size: 14px;
}

.footer-links-details[open] .footer-links-arrow {
    transform: rotate(180deg);
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list a {
    font-size: 13.5px;
    color: #D1D5DB;
    font-weight: 500;
    transition: color 0.15s ease;
}

.footer-links-list a:hover {
    color: #FF6B00;
}

@media (min-width: 768px) {
    .footer-links-col {
        width: auto;
    }
    .footer-links-summary {
        padding: 0;
        background: transparent;
        border: none;
        cursor: default;
        pointer-events: none;
        margin-bottom: 2px;
    }
    .footer-links-arrow {
        display: none;
    }
    .footer-links-list {
        margin-top: 0;
        gap: 6px;
    }
}

/* Власна кількість годин у калькуляторі */
.calc-custom-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.calc-custom-hours-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.calc-custom-hours-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-hours-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--bg-gray);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.calc-hours-btn:hover {
    background: var(--primary-orange);
    color: #ffffff;
    border-color: var(--primary-orange);
}

.calc-custom-hours-input {
    width: 52px;
    height: 32px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    background: #ffffff;
    padding: 0 4px;
}

.calc-custom-hours-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.calc-hours-suffix {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
}

.calc-roundtrip-hint {
    margin-top: 10px;
    padding: 9px 14px;
    background: #FFF9F5;
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
}

.calc-roundtrip-hint strong {
    color: var(--primary-orange);
    font-weight: 800;
}

/* ====================================================
   НОВІ СТИЛІ: ОПТИМІЗОВАНА МОДУЛЬНА СТРУКТУРА ГОЛОВНОЇ СТОРІНКИ (IA & CRO)
   ==================================================== */

/* 1. Модернізовані картки послуг */
.service-card-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-card-features li {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 11px 16px;
    background: #FFF5EE;
    color: var(--primary-orange);
    border: 1.5px solid rgba(255, 107, 0, 0.35);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.service-card-btn:hover {
    background: var(--primary-orange);
    color: #ffffff;
    border-color: var(--primary-orange);
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.25);
    transform: translateY(-2px);
}

/* 2. Спеціальні послуги та напрямки (Блок перелінковки) */
.special-services-block {
    margin-top: 32px;
    padding: 18px 14px;
    background: #F8FAFC;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .special-services-block {
        padding: 24px 20px;
    }
}

.special-services-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.special-services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
}

@media (min-width: 768px) {
    .special-services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}

.special-service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.special-service-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.special-service-icon {
    font-size: 26px;
    flex-shrink: 0;
    line-height: 1;
}

.special-service-info {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

.special-service-name {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
}

.special-service-card:hover .special-service-name {
    color: var(--primary-orange);
}

.special-service-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.35;
    margin-top: 3px;
    white-space: normal;
    overflow-wrap: break-word;
}

.special-service-arrow {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 800;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.special-service-card:hover .special-service-arrow {
    color: var(--primary-orange);
    transform: translateX(4px);
}

/* 3. Перемикач режимів в секції Автопарк / Калькулятор */
.fleet-switch-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.fleet-view-switcher {
    display: flex;
    background: #ffffff;
    padding: 4px;
    border-radius: 50px;
    border: 1.5px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
}

.fleet-view-btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 14px;
    border: none;
    border-radius: 50px;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
}

.fleet-view-btn:hover {
    color: var(--primary-orange);
}

.fleet-view-btn.active {
    background: var(--primary-orange);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.fleet-view-btn .btn-text-short {
    display: none;
}

.fleet-view-btn .btn-text-full {
    display: inline;
}

@media (max-width: 480px) {
    .fleet-view-switcher {
        max-width: 100%;
    }
    .fleet-view-btn {
        padding: 9px 6px;
        font-size: 13px;
        gap: 5px;
    }
    .fleet-view-btn .btn-text-short {
        display: inline;
    }
    .fleet-view-btn .btn-text-full {
        display: none;
    }
}

@media (max-width: 340px) {
    .fleet-view-btn {
        padding: 8px 3px;
        font-size: 12px;
        gap: 3px;
    }
}

.fleet-tab-panel {
    display: none;
}

.fleet-tab-panel.active {
    display: block;
    animation: fleetFadeIn 0.25s ease;
}

@keyframes fleetFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопки дій у картці автопарку */
.fleet-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.fleet-card-calc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    background: #F8FAFC;
    color: var(--primary-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fleet-card-calc-btn:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: #FFF5EE;
}

/* 4. Єдина сітка переваг (Advantages Unified) */
.advantages-unified-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 24px;
}

@media (min-width: 540px) {
    .advantages-unified-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 992px) {
    .advantages-unified-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.advantage-clean-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.25s ease;
}

.advantage-clean-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-hover);
}

.advantage-clean-icon {
    font-size: 32px;
    line-height: 1;
}

.advantage-clean-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
}

.advantage-clean-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ----------------------------------------------------
   LIGHTBOX ДЛЯ ГАЛЕРЕЙ ЗОБРАЖЕНЬ
   ---------------------------------------------------- */
.gallery-zoom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}
.gallery-zoom-grid img {
    cursor: zoom-in;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.gallery-zoom-grid img:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
.img-lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.img-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}
.img-lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.img-lightbox-img {
    max-width: 100%;
    max-height: 84vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-lightbox-modal.active .img-lightbox-img {
    transform: scale(1);
}
.img-lightbox-caption {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    text-align: center;
}
.img-lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}
.img-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.4);
}



