/*
Theme Name: ЭЛАД
Theme URI: https://elad.by
Author: ЭЛАД Team
Author URI: https://elad.by
Description: Кастомная тема WordPress для компании ЭЛАД - Аренда спецтехники в Беларуси
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elad
Tags: business, responsive, custom-design
*/

/* ==========================================
   Reset & Base Styles
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цвета из макета ЭЛАД */
    --primary-color: #FFD200;        /* Желтый основной */
    --secondary-color: #FFC700;      /* Желтый темнее для hover */
    --accent-color: #2F80ED;         /* Голубой для кнопок */
    --text-color: #1C1C1C;           /* Черный для текста */
    --text-light: #666666;           /* Серый для вторичного текста */
    --bg-light: #f5f5f5;             /* Светлый фон секций */
    --white: #ffffff;                /* Белый */
    --black: #000000;                /* Черный */
    
    /* Шрифты */
    --font-primary: 'Open Sans', Arial, sans-serif;
    --font-heading: 'Oswald', 'Arial Black', sans-serif;
    
    /* Отступы --spacing-lg: 48px;*/
    --spacing-xs: 8px;
    --spacing-sm: 10px;
    --spacing-md: 24px;
    --spacing-lg: 36px;
    --spacing-xl: 80px;
    
    /* Переходы */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    overflow-x: hidden;
}

img {
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================
   Container
   ========================================== */

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.hero .container {
    max-width: none;
    margin: 0 auto 0 360px;
    padding: 0;
}

/* ==========================================
   Buttons
   ========================================== */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--black);
    font-weight: 700;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 210, 0, 0.4);
}

.btn-secondary {
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #4AA8D9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 185, 234, 0.4);
}

/* ==========================================
   Typography
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

h1 {
    font-size: 50px;
    font-weight: 700;
}

h2 {
    font-size: 32px;
    font-weight: 600;
}

h3 {
    font-size: 24px;
    font-weight: 500;
}

p, a, li {
    font-size: 18px;
    font-weight: 400;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
}

/* ==========================================
   Header & Navigation
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-wrapper {
    position: relative;
}

/* Header Main Section */
.header-main {
    height: 161px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
    box-shadow: 0px 4px 4px 0px #00000040;
}

.header-content {
    display: flex;
    align-items: center;
}

/* Logo */
.logo-main {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
    margin-right: 61px;
}

.logo-desktop {
    display: block;
    height: 56px;
    width: auto;
}

.logo-mobile {
    display: none;
    height: auto;
    width: auto;
}

.header-subtitle {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.2;
}

/* Phones */
.header-phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-right: 36px;
}

.phone-item {
    display: flex;
    align-items: end;
    gap: 13px;
}

.phone-link {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1;
    transition: var(--transition);
    order: 1;
}

.phone-description {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    order: 2;
}

.phone-link:hover {
    color: var(--accent-color);
}

/* 24/7 Badge */
.header-badge {
    flex-shrink: 0;
    margin-right: 76px;
}

.badge-desktop {
    display: block;
    width: auto;
    animation: blink 2s infinite;
}

.badge-mobile {
    display: none;
    animation: blink 2s infinite;
}

/* Мигание для 24/7 badge */
@keyframes blink {
    0%, 90% {
        opacity: 1;
    }
    91%, 95% {
        opacity: 0;
    }
    96%, 100% {
        opacity: 1;
    }
}

/* Mobile Menu Toggle */
.header-mobile-toggle {
    display: none;
}

.btn-call {
    color: var(--accent-color);
    text-decoration: underline;
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    transition: var(--transition);
}

.btn-call:hover {
    opacity: 0.8;
}

.burger-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    width: 32px;
    height: 32px;
}

.burger-icon {
    display: block;
    width: 32px;
    height: auto;
}

.cross-icon {
    display: none;
    width: 32px;
    height: auto;
}

.burger-toggle.active .burger-icon {
    display: none;
}

.burger-toggle.active .cross-icon {
    display: block;
}

/* Navigation Bar (Outside Header) */
.site-nav {
    height: 225px;
    padding-bottom: 19px;
    background-color: var(--white);
    display: flex;
    align-items: end;
}

.site-nav.site-nav-hidden {
    display: none !important;
}

.nav-menu {
    display: flex;
    gap: 141px;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-primary);
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 1;
    visibility: hidden;
    transition: opacity 500ms linear, visibility 0s 0s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 500ms linear, visibility 0s 0s;
}

/* Mobile Navigation Menu */
.mobile-nav-menu {
    display: flex;
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 420px;
    max-height: 85vh;
    background-color: var(--white);
    flex-direction: column;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 1002;
    overflow: hidden;
    opacity: 1;
    visibility: hidden;
    transition: top 500ms linear, visibility 0s 500ms;
}

.mobile-nav-menu.active {
    top: 20%;
    opacity: 1;
    visibility: visible;
    transition: top 500ms linear, visibility 0s 0s;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 17px 20px;
    position: relative;
    flex-shrink: 0;
}

.mobile-menu-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    text-align: center;
}

.mobile-menu-close {
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.mobile-menu-close img {
    width: 100%;
    height: 100%;
}

/* Prevent scrolling when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Mobile Menu Content */
.mobile-menu-content {
    padding: 0 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-content::-webkit-scrollbar {
    width: 0;
    display: none;
}

.mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}

.mobile-menu-phone {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.2;
}

.mobile-menu-phone-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.4;
}

.mobile-menu-email {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.4;
}

.mobile-menu-subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color);
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.mobile-menu-address {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

.mobile-menu-unp {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
    line-height: 1.4;
}

/* ==========================================
   Hero Section
   ========================================== */

.hero {
    padding: var(--spacing-xl) 0;
    margin-top: 0;
    background-image: url('assets/images/background.png');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    text-align: left;
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-content {
    display: grid;
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-text-block {
    position: relative;
    display: inline-block;
    padding: 8px 0;
    z-index: 0;
}

.hero-text-block::before {
    content: "";
    position: absolute;
    inset: -20px 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 100px;
    filter: blur(55px);
    z-index: -1;
    pointer-events: none;
}

.hero-title {
    color: var(--text-color);
    margin-bottom: 27px;
}

.hero-subtitle {
    font-size: 24px;
    font-family: var(--font-heading);
    color: var(--text-color);
    font-weight: 300;
}

.hero-badge {
    display: inline-block;
    margin-left: 36px;
    object-fit: contain;
    animation: blink 2s infinite;
}

/* Hero Arrow */
.hero-arrow {
    display: none;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-arrow-img {
    width: 40px;
    height: auto;
    display: block;
}

/* ==========================================
   Sections
   ========================================== */

section {
    padding: 40px 0;
}

.about {
    background-color: var(--white);
}

section.about {
    padding-top: 80px;
}

section.contacts {
    padding-bottom: 20px;
}

.about-content {
    margin: 0 auto;
    font-size: 18px;
    font-weight: 400;
}

/* ==========================================
   Services / Equipment
   ========================================== */

.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.service-card {
    display: grid;
    grid-template-columns: 692px 488px;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.service-card:nth-child(even) {
    direction: rtl;
    margin-bottom: 38px;
}

.service-card:nth-child(even) > * {
    direction: ltr;
}

.service-images {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-image {
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 454px;
}

.car2-image {
    max-width: 513px;
    object-fit: contain;
}

.car3-image {
    max-width: 692px;
    object-fit: contain;
}

.service-info h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 600;
}

.service-specs {
    display: grid;
    gap: 20px;
}

.service-spec-item strong {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
}

.service-price {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
}

/* ==========================================
   FAQ Section
   ========================================== */

.faq {
}

.faq-list {
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px 24px;
    background-color: var(--white);
    border: 1px solid var(--text-color);
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
}

.faq-question.active {
    background-color: var(--white);
}

.faq-text {
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

.faq-arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================
   Contacts & Form
   ========================================== */

.contacts {
    background-color: var(--white);
    text-align: center;
}

.contacts-intro {
    max-width: 1180px;
    margin: 0 auto 80px;
}

.contacts-intro h2 {
    line-height: 1.3;
}

.contact-map {
    width: 100%;
    height: 575px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


.contact-form {
    display: none; /* Hidden by design, direct call preferred */
}

/* ==========================================
   Footer
   ========================================== */

.footer {
    background-color: var(--white);
    color: var(--text-color);
    padding: 20px 0 17px;
}

/* Hide mobile footer on desktop */
.footer-mobile {
    display: none;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer .logo-main {
    margin-right: 0;
}

.footer-top {
    display: grid;
    grid-template-columns: max-content auto;
    gap: 80px;
    align-items: center;
    margin-bottom: 40px;
}

.footer-tagline {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 64px;
    align-items: center;
    justify-self: start;
}

.footer-nav a {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #666;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 40px 83px;
}

.footer-column {
    display: grid;
    grid-template-rows: max-content max-content max-content;
    gap: 12px;
}

.footer-title {
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.footer-phone {
    display: flex;
    align-items: end;
    gap: 20px;
}

.phone-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.4;
}

.phone-label {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    padding-bottom: 5px;
}

.footer-email a {
    font-family: var(--font-primary);
    color: var(--text-color);
    text-decoration: none;
    line-height: 1.4;
}

.footer-address,
.footer-unp {
    font-family: var(--font-primary);

    color: var(--text-color);
    line-height: 1.4;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright,
.footer-policy {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.footer-policy {
    margin-bottom: 0;
    cursor: pointer;
}

.footer-policy a {
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-policy a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ==========================================
   Cookie Policy Page
   ========================================== */

.cookie-policy-page {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    padding: 161px 0 60px;
    min-height: 100vh;
}

.breadcrumb {
    margin: 40px 0 19px 0;
    font-size: 18px;
}

.breadcrumb a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}


.policy-content {
    font-size: 16px;
}

.policy-content ul {
    padding-left: 25px;
}

.policy-content a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==========================================
   Cookie Banner
   ========================================== */

   .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1057px, 95vw);
    max-width: 1057px;
    min-width: 320px;
    height: 120px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 26px 9px 19px 39px;
    box-sizing: border-box;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 23px;
    width: 100%;
}

.cookie-text {
    flex: 1;
}

.cookie-text-main {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.4;
}

.cookie-text-link {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}

.cookie-link {
    color: var(--text-color);
    cursor: pointer;
}

.cookie-link:hover {
    color: var(--primary-color);
}

.cookie-close {
    width: 258px;
    height: 56px;
    background-color: #FFD600;
    border: none;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.cookie-close:hover {
    background-color: #E6C200;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1420px) {

    .hero::before {
        background-position: left 20%;
    }

    .hero .container {
        margin: 0 auto;
    }
}

@media (max-width: 1220px) {
    .service-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .service-card:nth-child(even) {
        direction: ltr;
    }
    
    .logo-main {
        margin-right: 41px;
    }

    .header-phones {
        gap: 6px;
        margin-right: 24px;
    }

    .phone-link {
        font-size: 24px;
    }
    
    .phone-description {
        font-size: 10px;
    }
    
    .btn-call {
        font-size: 14px;
    }

    .service-image {
        height: auto;
        margin: 0 auto;
    }

    .footer-nav {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
        font-weight: 700;
    }
    
    h2 {
        font-size: 22px;
        font-weight: 600;
    }
    
    h3 {
        font-size: 18px;
        font-weight: 500;
    }
    
    p, a {
        font-size: 16px;
        font-weight: 400;
    }
    /* Mobile Footer */
    .footer-mobile {
        display: grid;
        grid-template-rows: auto auto auto auto auto;
        gap: 20px;
    }
    
    /* Hide desktop footer on mobile */
    .footer-top,
    .footer-main,
    .footer-bottom {
        display: none;
    }
    
    /* Mobile Row 1: Logo + 24/7 Badge */
    .footer-mobile-logo {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 20px;
        align-items: center;
    }
    
    .footer-mobile-logo-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .footer-mobile-logo-img {
        height: 41px;
        width: 70px;
    }
    
    .footer-mobile-tagline {
        font-family: var(--font-primary);
        font-size: 10px;
        font-weight: 400;
        text-align: center;
        color: var(--text-light);
        margin: 0;
        line-height: 1.2;
    }
    
    .footer-mobile-badge {
        justify-self: end;
    }
    
    .footer-mobile-badge img {
        height: 60px;
        width: auto;
        animation: blink 2s infinite;
    }
    
    /* Mobile Row 2: Navigation */
    .footer-mobile-nav {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .footer-mobile-nav a {
        font-family: var(--font-primary);
        font-size: 16px;
        font-weight: 400;
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .footer-mobile-nav a:hover {
        color: #666;
    }
    
    /* Mobile Row 3: Contacts */
    .footer-mobile-contacts-grid {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 18px;
        align-items: start;
    }
    
    .footer-mobile-contacts-title {
        font-family: var(--font-heading);
        font-size: 16px;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
        line-height: 1.4;
    }
    
    .footer-mobile-contacts-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .footer-mobile-phone {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .footer-mobile-phone-number {
        font-family: var(--font-heading);
        font-size: 22px;
        font-weight: 600;
        color: var(--text-color);
        text-decoration: none;
        line-height: 1.2;
    }
    
    .footer-mobile-phone-label {
        font-family: var(--font-primary);
        font-size: 14px;
        font-weight: 400;
        margin-top: 6px;
        color: var(--text-light);
        line-height: 1.2;
    }
    
    .footer-mobile-email a {
        font-family: var(--font-primary);
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }
    
    /* Mobile Row 4: Legal Address */
    .footer-mobile-legal-grid {
        display: grid;
        grid-template-rows: auto auto;
        gap: 12px;
        align-items: start;
    }
    
    .footer-mobile-legal-title {
        font-family: var(--font-heading);
        font-size: 16px;
        font-weight: 600;
        color: var(--text-color);
        margin: 0;
        line-height: 1.4;
    }
    
    .footer-mobile-legal-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-mobile-address,
    .footer-mobile-unp {
        font-family: var(--font-primary);
        font-size: 14px;
        font-weight: 400;
        color: var(--text-color);
        margin: 0;
        line-height: 1.4;
    }
    
    /* Mobile Row 5: Copyright */
    .footer-mobile-bottom {
        text-align: center;
        padding-top: 20px;
    }
    
    .footer-mobile-copyright,
    .footer-mobile-policy {
        font-family: var(--font-primary);
        font-size: 12px;
        font-weight: 400;
        color: var(--text-light);
        margin: 0 0 4px 0;
        line-height: 1.4;
    }
    
     .footer-mobile-policy {
         margin-bottom: 0;
         cursor: pointer;
     }
     
     .footer-mobile-policy a {
         color: var(--text-light);
         text-decoration: none;
         transition: color 0.3s ease;
     }
     
     .footer-mobile-policy a:hover {
         color: var(--accent-color);
         text-decoration: underline;
     }

    .header{
        padding: 38px 10px;
    }
    /* Mobile Header */
    .header-main {
        height: 115px;
        background: linear-gradient(180deg, var(--white) 0%, var(--white) 168px, transparent 168px);
    }
    
    .logo-main {
        order: 1;
        flex: 0 0 auto;
        margin-right: 23px;
    }
    
    .logo-desktop {
        display: none;
    }
    
    .logo-mobile {
        display: block;
        height: 28px;
    }
    
    .header-subtitle {
        font-size: 10px;
        width: 105px;
    }
    
    .header-phones {
        display: none;
    }
    
    .header-badge {
        order: 2;
        margin-right: 39px;
        flex: 0 0 auto;
    }
    
    .badge-desktop {
        display: none;
    }
    
    .badge-mobile {
        display: block;
    }
    
    .btn-call {
        display: none;
    }
    
    .header-mobile-toggle {
        display: block;
        order: 3;
        flex: 0 0 auto;
    }
    
    .burger-icon {
        width: 24px;
    }

    .site-nav {
        height: 168px;
    }
    
    /* Desktop Navigation hidden on mobile */
    .nav-menu {
        display: none;
    }
    
    /* Mobile Navigation Menu shown */
    .mobile-nav-menu {
        display: flex;
    }

    section {
        padding: 20px 0;
    }
    
    section.about {
        padding-top: 40px;
    }

    .section-title {
        margin-bottom: 20px;
    }
    
    .hero {
        height: 580px;
        padding: var(--spacing-lg) 0;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        bottom: 90px;
    }
    
    .hero-text-block {
        background-size: cover;
    }
    
    .hero-badge {
        width: 160px;
        height: 81px;
        margin: 0 auto;
    }
    
    /* Show arrow on mobile */
    .hero-arrow {
        display: block;
    }
    
    .about-content p {
        text-align: center;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card:nth-child(1) {
        margin-bottom: 26px;
    }

    .service-card:nth-child(even) {
        margin-bottom: 0;
    }

    .service-specs {
        gap: 12px;
    }

    .service-spec-item {
        text-align: left;
    }

    .service-info h2 {
        margin-bottom: 12px;
    }

    .service-spec-item strong, .service-price {
        font-size: 18px;
        font-weight: 500;
        text-align: left;
    }
    
    .service-image {
        max-width: 340px;
    }
    
    .car2-image {
        max-width: 340px;
        height: 227px;
    }
    
    .car3-image {
        max-width: 340px;
        height: 164px;
    }
    
    .contacts-intro {
        margin-bottom: 40px;
    }

    .faq-item {
        margin-bottom: 8px;
    }

    .faq-question {
        padding: 10px 16px;
        min-height: 40px;
    }
    
    .cookie-policy-page {
        padding: 121px 0 7px;
    }

    .breadcrumb {
        font-size: 16px;
    }
    /* Footer mobile */
    .footer {
        padding: 33px 0 38px;
    }
    
    .footer .container {
        padding: 0 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-logo {
        gap: 8px;
        text-align: center;
    }
    
    .footer-logo-img {
        height: 48px;
        justify-self: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 15px;
        justify-self: center;
    }
    
    .footer-nav a {
        font-size: 14px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        width: 100%;
    }

    .cookie-banner {
        height: 200px;
        padding: 26px 9px 19px 39px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-lg: 32px;
        --spacing-xl: 48px;
    }
    .hero {
        background-image: url('assets/images/hero_phone_car.jpg');
    }

    .hero-text-block {
        background-size: cover;
    }
    
    .hero-title {
        text-align: center;
        margin-bottom: 8px;
    }

    .hero-subtitle {
        font-size: 18px;
        font-weight: 500;
        text-align: center;
    }
    
    /* Arrow for small mobile screens */
    .hero-arrow {
        bottom: 15px;
    }
    
    .hero-arrow-img {
        width: 35px;
    }
    
     .contact-map {
         height: 173px;
     }
     
     /* Cookie Policy Page Mobile */
     .cookie-policy-page {
         padding: 115px 0 20px;
     }
     
     .breadcrumb {
         margin-bottom: 20px;
     }
     
     .policy-content {
         font-family: 'Source Sans Pro', Arial, sans-serif;
         font-size: 14px;
         line-height: 1.5;
     }
     .policy-content ul {
         padding-left: 16px;
     }

     /* Footer small mobile */
     .footer .container {
        padding: 0 15px;
    }
    
    .footer-company-name {
        font-size: 32px;
    }
    
    /* Cookie banner mobile - small screens */
    .cookie-banner {
        width: calc(100% - 16px);
        max-width: 360px;
        min-width: 280px;
        height: 187px;
        min-height: 140px;
        padding: 12px 18px 17px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
        width: 100%;
    }
    
     .cookie-text-main {
         font-size: 16px;
         font-weight: 400;
     }
     
     .cookie-text-link {
         font-size: 16px;
         font-weight: 400;
     }
    
    .cookie-close {
        width: 323px;
        height: 48px;
        font-size: 16px;
        font-weight: 600;
        align-self: center;
    }
}



/* ==========================================
   Utilities
   ========================================== */

.text-center {
    text-align: center;
}

.mb-sm {
    margin-bottom: var(--spacing-sm);
}

.mb-md {
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

