﻿/* ============================================
   BUD-TRANS — Design System & Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --black: #0A0A0A;
    --black-light: #141414;
    --gray-900: #1A1A1A;
    --gray-800: #222222;
    --gray-700: #333333;
    --gray-600: #555555;
    --gray-400: #888888;
    --gray-200: #CCCCCC;
    --gray-100: #E8E8E8;
    --gray-50: #F4F4F4;
    --white: #FAFAFA;
    --yellow: #FFD700;
    --yellow-dark: #E6C200;
    --yellow-light: #FFE44D;
    --yellow-glow: rgba(255, 215, 0, 0.15);
    --yellow-glow-strong: rgba(255, 215, 0, 0.3);

    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);
    --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.2);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text--accent {
    color: var(--yellow);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.08);
    transition: all var(--transition);
}

.header--scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo__img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition);
}

.logo:hover .logo__img {
    transform: scale(1.05);
}

.footer__brand .logo__img {
    height: 60px;
}

/* Navigation */
.nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__link {
    color: var(--gray-200);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
    color: var(--yellow);
    background: var(--yellow-glow);
}

.nav__chevron {
    transition: transform var(--transition);
}

/* Dropdown */
.nav__dropdown {
    position: relative;
}

.nav__submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
}

.nav__dropdown:hover .nav__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav__dropdown:hover .nav__chevron {
    transform: rotate(180deg);
}

.nav__submenu a {
    display: block;
    padding: 10px 16px;
    color: var(--gray-200);
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav__submenu a:hover {
    color: var(--yellow);
    background: var(--yellow-glow);
}

/* Header phone */
.header__phone {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 16px;
    border: 1px solid var(--yellow);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.header__phone:hover {
    background: var(--yellow);
    color: var(--black);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 10, 10, 0.92) 0%,
            rgba(10, 10, 10, 0.75) 40%,
            rgba(10, 10, 10, 0.5) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow-glow);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--yellow);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 24px;
    font-style: italic;
}

.hero__title--accent {
    color: var(--yellow);
    display: block;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-200);
    max-width: 550px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn--primary {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
}

.btn--primary:hover {
    background: var(--yellow-light);
    border-color: var(--yellow-light);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    background: var(--yellow-glow);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* Stats */
.hero__stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat__number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--yellow);
    line-height: 1;
}

.stat__plus {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--yellow);
}

.stat__label {
    display: block;
    color: var(--gray-400);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: bounce 2s infinite;
    z-index: 1;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-8px);
    }

    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

.section--light {
    background: var(--white);
}

.section--dark {
    background: var(--black);
    color: var(--gray-200);
}

.section__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section__tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--yellow);
    margin-bottom: 16px;
    position: relative;
}

.section__tag::before,
.section__tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--yellow);
    opacity: 0.5;
}

.section__tag::before {
    right: calc(100% + 12px);
}

.section__tag::after {
    left: calc(100% + 12px);
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    font-style: italic;
}

.section--light .section__title {
    color: var(--black);
}

.section--dark .section__title {
    color: var(--white);
}

.section__desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.section--dark .section__desc {
    color: var(--gray-400);
}

/* --- SERVICES SECTION BACKGROUND --- */
.section--light#uslugi {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    position: relative;
}

.section--light#uslugi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: stripeSweep 4s ease-in-out infinite;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--yellow);
    transition: height var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--yellow);
}

.service-card:hover::before {
    height: 100%;
}

.service-card__icon {
    color: var(--yellow);
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 215, 0, 0.15);
}

.service-card__icon svg {
    width: 36px;
    height: 36px;
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.service-card__desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- FLEET --- */
.fleet-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: var(--shadow-lg);
}

.fleet-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fleet-card {
    background: var(--gray-900);
    border: 1px solid var(--gray-800);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.fleet-card:hover {
    border-color: var(--yellow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.fleet-card__img {
    height: 220px;
    overflow: hidden;
}

.fleet-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.fleet-card:hover .fleet-card__img img {
    transform: scale(1.05);
}

.fleet-card__content {
    padding: 24px;
}

.fleet-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.fleet-card__specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fleet-card__specs li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--gray-800);
    font-size: 0.85rem;
}

.fleet-card__specs li:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--gray-400);
    font-weight: 500;
}

.spec-value {
    color: var(--yellow);
    font-weight: 600;
    text-align: right;
}

/* --- GALLERY --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-600);
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.filter-btn.active {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    width: fit-content;
}

.gallery-item__overlay p {
    color: var(--white);
    font-size: 0.9rem;
}

.gallery-item.hidden {
    display: none;
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--white);
}

/* Light section overrides for about text */
.section--light .about-text {
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 24px;
}

.section--light .about-text strong {
    color: var(--black);
    font-weight: 700;
    background: linear-gradient(120deg, rgba(255, 215, 0, 0.35) 0%, rgba(255, 215, 0, 0.05) 100%);
    background-position: 0 85%;
    background-size: 100% 35%;
    background-repeat: no-repeat;
    padding: 0 2px;
}



.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-feature__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--yellow-glow);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature strong {
    color: var(--white);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 4px;
}

.about-feature p {
    color: var(--gray-400);
    font-size: 0.85rem;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-image__accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--yellow);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .about-image__accent {
        display: none;
    }

    .section {
        overflow: hidden;
    }

    .hero {
        overflow: hidden;
    }

    .footer {
        overflow: hidden;
    }

    /* Kill shimmer effect on mobile — causes overflow */
    .service-card::after {
        display: none;
    }

    /* Kill animated stripe width overflow */
    .section--dark::before {
        overflow: hidden;
    }
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--gray-100);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--black);
    transition: all var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 4px var(--yellow-glow);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.form-success {
    grid-column: 1 / -1;
    display: none;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--yellow-glow);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    text-align: center;
    flex-direction: column;
}

.form-success.show {
    display: flex;
}

.form-success p {
    color: var(--gray-700);
    font-size: 0.95rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info__card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
}

.contact-info__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--yellow);
    color: var(--black);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info__card strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--black);
    margin-bottom: 4px;
}

.contact-info__card a {
    display: block;
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.contact-info__card a:hover {
    color: var(--yellow-dark);
}

.contact-info__card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

/* --- FOOTER --- */
.footer {
    background: var(--black);
    color: var(--gray-400);
    padding: 64px 0 0;
    border-top: 1px solid var(--gray-800);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-800);
}

.footer__brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer__links h4,
.footer__contact h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links a {
    font-size: 0.85rem;
    color: var(--gray-400);
    transition: all var(--transition);
}

.footer__links a:hover {
    color: var(--yellow);
    padding-left: 8px;
}

.footer__contact a,
.footer__contact p {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer__contact a:hover {
    color: var(--yellow);
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* --- MOBILE CTA --- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--yellow);
    color: var(--black);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 16px 28px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(255, 215, 0, 0.7);
    }

    100% {
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    }
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
    position: absolute;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 16px;
    transition: all var(--transition);
    z-index: 2001;
}

.lightbox__close {
    top: 20px;
    right: 24px;
}

.lightbox__prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
    color: var(--yellow);
}

/* ============================================
   ANIMATIONS — Premium Suite
   ============================================ */

/* --- Base animate-on-scroll (slide up) --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) rotate(0) scale(1);
}

/* Slide from left */
.anim-slide-left {
    opacity: 0;
    transform: translateX(-60px);
}

.anim-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.anim-slide-right {
    opacity: 0;
    transform: translateX(60px);
}

.anim-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.anim-scale {
    opacity: 0;
    transform: scale(0.85);
}

.anim-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gray-700);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray-100);
}

.cookie-banner a {
    color: var(--yellow);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        width: 90%;
        bottom: 10px;
        text-align: center;
    }
}

/* Blur in */
.anim-blur {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
    transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
}

.anim-blur.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

/* Rotate in */
.anim-rotate {
    opacity: 0;
    transform: rotate(-5deg) translateY(30px);
}

.anim-rotate.visible {
    opacity: 1;
    transform: rotate(0) translateY(0);
}

/* --- Hero: Text stagger reveal --- */
.hero__badge {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__title {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.9s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.9s 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__actions {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.9s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__stats {
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.9s 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero title accent: golden shimmer --- */
.hero__title--accent {
    background: linear-gradient(90deg,
            var(--yellow) 0%,
            var(--yellow-light) 40%,
            #FFF 50%,
            var(--yellow-light) 60%,
            var(--yellow) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out 2s infinite;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 200% center;
    }

    50% {
        background-position: -200% center;
    }
}

/* --- Hero background: Ken Burns zoom --- */
.hero__bg img {
    animation: kenBurns 25s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.08) translate(-1%, -1%);
    }
}

/* --- Hero scroll indicator: enhanced bounce --- */
.hero__scroll {
    animation: scrollBounce 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(-12px);
        opacity: 0.6;
    }
}

/* --- Section tag: line expand animation --- */
.section__tag::before,
.section__tag::after {
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
    width: 0;
}

.animate-on-scroll.visible .section__tag::before,
.animate-on-scroll.visible .section__tag::after,
.section__tag.visible::before,
.section__tag.visible::after {
    width: 30px;
}

/* --- Service cards: shimmer line on hover --- */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 215, 0, 0.04) 50%,
            transparent 100%);
    transition: left 0.6s ease;
    pointer-events: none;
}

.service-card:hover::after {
    left: 100%;
}

/* --- Service card icon: bounce on hover --- */
.service-card__icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-card__icon {
    transform: scale(1.15) translateY(-4px);
}

/* --- Fleet cards: 3D perspective tilt --- */
.fleet-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.fleet-card__content {
    transition: transform 0.4s ease;
}

.fleet-card:hover .fleet-card__content {
    transform: translateZ(20px);
}

/* --- Fleet card: glow effect on hover --- */
.fleet-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--yellow-glow) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: -1;
}

.fleet-card:hover::after {
    opacity: 1;
}

/* --- Gallery items: entrance stagger --- */
.gallery-item {
    transition: transform var(--transition-slow), opacity 0.5s ease;
}

.gallery-item img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Gallery overlay: slide up on hover --- */
.gallery-item__overlay {
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-item__overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- Gallery tag: pop-in on hover --- */
.gallery-item__tag {
    transform: translateY(8px) scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.gallery-item:hover .gallery-item__tag {
    transform: translateY(0) scale(1);
}

/* --- Buttons: magnetic ripple --- */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* --- About feature icons: rotate on hover --- */
.about-feature__icon {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-feature:hover .about-feature__icon {
    transform: rotate(8deg) scale(1.1);
}

/* --- About image: floating parallax --- */
.about-image {
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* --- Contact form inputs: focus underline expand --- */
.form-group input,
.form-group textarea {
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: 0 2px 0 0 var(--yellow);
}

/* --- Stats counter: number glow + scale --- */
.stat__number {
    transition: transform 0.4s ease, text-shadow 0.4s ease;
}

.stat:hover .stat__number {
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

/* --- Logo: subtle breathing animation --- */
.logo__dash {
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* --- Floating construction particles (decorative) --- */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255, 215, 0, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 60%, rgba(255, 215, 0, 0.2) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 50% 30%, rgba(255, 215, 0, 0.25) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 70%, rgba(255, 215, 0, 0.2) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 85% 40%, rgba(255, 215, 0, 0.3) 50%, transparent 50%),
        radial-gradient(1px 1px at 95% 80%, rgba(255, 215, 0, 0.15) 50%, transparent 50%);
    animation: particlesDrift 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particlesDrift {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100vh);
    }
}

/* --- Section divider: animated stripe --- */
.section--dark::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: stripeSweep 4s ease-in-out infinite;
}

@keyframes stripeSweep {

    0%,
    100% {
        background-position: -200% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* --- Lightbox: enhanced entrance --- */
.lightbox {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__img {
    animation: lightboxZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes lightboxZoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- Mobile CTA: enhanced pulse + entrance --- */
.mobile-cta {
    animation: ctaEntrance 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
        pulse 2.5s ease-in-out 0.5s infinite;
}

@keyframes ctaEntrance {
    from {
        transform: translateY(100px) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* --- Smooth page load --- */
body {
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Parallax layer hint for JS --- */
.parallax-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* --- Magnetic hover for nav links --- */
.nav__link {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav__link:hover {
    transform: translateY(-2px);
}

/* --- Footer links: slide underline --- */
.footer__links a,
.footer__contact a {
    position: relative;
    display: inline-block;
}

.footer__links a::after,
.footer__contact a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--yellow);
    transition: width 0.3s ease;
}

.footer__links a:hover::after,
.footer__contact a:hover::after {
    width: 100%;
}

/* --- Spec values: count-up reveal --- */
.fleet-card__specs li {
    transition: transform 0.3s ease, background 0.3s ease;
}

.fleet-card__specs li:hover {
    background: rgba(255, 215, 0, 0.05);
    transform: translateX(4px);
}

/* --- Contact info cards: slide hover --- */
.contact-info__card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info__card:hover {
    transform: translateX(8px);
    box-shadow: -4px 0 0 var(--yellow);
}

/* ============================================
   RESPONSIVE — Mobile Optimization
   ============================================ */

/* --- Tablet landscape (≤1024px) --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fleet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__content {
        max-width: 90%;
    }
}

/* --- Tablet portrait / Large phone (≤768px) --- */
@media (max-width: 768px) {

    /* --- GLOBAL LAYOUT FIXES --- */
    html,
    body {
        overflow-x: clip !important;
        max-width: 100vw !important;
        width: 100% !important;
        position: relative;
    }

    .section,
    .hero,
    .footer {
        overflow: hidden;
        width: 100%;
        max-width: 100vw;
    }

    /* --- HEADER & NAV --- */
    .header__inner {
        height: 60px;
        padding: 0 16px;
    }

    .logo__img {
        height: 32px;
    }

    .header__phone {
        display: none;
    }

    .header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
        /* Above nav overlay */
    }

    /* Mobile Nav Overlay - The Core Fix */
    .nav {
        display: none !important;
        /* Build-proof hiding */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 100px;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.active {
        display: flex !important;
        /* Force show when active */
    }

    .nav__list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 320px;
        text-align: center;
    }

    .nav__link {
        font-size: 1.1rem;
        padding: 16px;
        border-radius: var(--radius-sm);
        width: 100%;
        justify-content: center;
        color: var(--gray-200);
    }

    .nav__link.active {
        background: rgba(255, 215, 0, 0.1);
        color: var(--yellow);
    }

    /* Mobile Submenu */
    .nav__dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nav__submenu {
        position: static;
        display: none;
        /* Hidden by default */
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin-top: 5px;
        padding: 5px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__dropdown.submenu-open .nav__submenu {
        display: block;
        /* Show on toggle */
    }

    .nav__submenu a {
        padding: 12px;
        color: var(--gray-300);
        justify-content: center;
    }

    /* Header Tools */
    .header__tools {
        gap: 8px;
    }

    .lang-selector__code {
        display: none;
    }

    .lang-selector__dropdown {
        display: none;
        /* Hide default hover behavior */
    }

    .lang-selector.open .lang-selector__dropdown {
        display: block;
        /* Show only when clicked */
        top: 100%;
        right: -10px;
    }

    /* --- HERO --- */
    .hero__content {
        padding: 100px 20px 60px;
        max-width: 100%;
    }

    .hero__title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .hero__stats {
        gap: 20px;
    }

    /* --- GRIDS --- */
    .services-grid,
    .about-grid,
    .contact-grid,
    .fleet-grid,
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* --- CARDS & ELEMENTS --- */
    .service-card {
        padding: 24px;
        background: var(--white);
        /* Ensure visibility */
        border: 1px solid var(--gray-100);
    }

    /* Remove overflowing decorations */
    .service-card::after,
    .about-image__accent,
    .hero::after {
        display: none !important;
        /* Hide decorations */
    }

    /* --- FOOTER --- */
    .footer {
        padding-bottom: 80px;
        /* Space for mobile CTA */
    }

    .lang-selector__btn {
        padding: 6px 10px;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .hero__subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero__badge {
        font-size: 0.7rem;
    }

    .stat__number {
        font-size: 2.2rem;
    }

    .stat__label {
        font-size: 0.75rem;
    }

    .hero__scroll {
        display: none;
    }

    .section {
        padding: 64px 0;
    }

    .section__header {
        margin-bottom: 40px;
    }

    .section__title {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .section__desc {
        font-size: 0.95rem;
    }

    .service-card__icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .service-card__icon svg {
        width: 30px;
        height: 30px;
    }

    .fleet-hero img {
        height: 250px;
    }

    .fleet-card__img {
        height: 200px;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .gallery-item__overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 70%);
    }

    .gallery-item__tag {
        transform: translateY(0) scale(1);
    }

    .gallery-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.8rem;
        min-height: 44px;
    }

    .about-features {
        gap: 20px;
    }

    .about-feature {
        padding: 16px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
        min-height: 48px;
    }

    .contact-info__card {
        padding: 16px;
    }

    .footer__brand .logo__img {
        height: 48px;
    }

    .mobile-cta {
        display: flex;
        min-height: 48px;
        font-size: 0.85rem;
        padding: 14px 24px;
    }

    .about-image {
        animation: none;
    }

    .lightbox {
        padding: 16px;
    }

    .lightbox__close {
        top: 16px;
        right: 16px;
    }

    .lightbox__prev {
        left: 8px;
    }

    .lightbox__next {
        right: 8px;
    }
}

/* --- Phone (≤480px) --- */
@media (max-width: 480px) {
    .header__inner {
        height: 56px;
        padding: 0 12px;
    }

    .header__tools {
        gap: 6px;
    }

    .logo__img {
        height: 28px;
    }

    .theme-toggle {
        width: 32px;
        height: 32px;
    }

    .theme-toggle svg {
        width: 16px;
        height: 16px;
    }

    .lang-selector__btn {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .lang-selector__flag {
        font-size: 1rem;
    }

    /* Hero */
    .hero__content {
        padding: 90px 16px 50px;
        max-width: 100%;
    }

    .hero__title {
        font-size: 1.8rem;
    }

    .hero__subtitle {
        font-size: 0.85rem;
    }

    .hero__actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.9rem;
        min-height: 48px;
    }

    .hero__stats {
        gap: 16px;
    }

    .stat__number {
        font-size: 1.8rem;
    }

    .stat__label {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    /* Sections */
    .section {
        padding: 48px 0;
    }

    .section__header {
        margin-bottom: 32px;
    }

    .section__tag {
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .section__tag::before,
    .section__tag::after {
        width: 20px;
    }

    .section__title {
        font-size: 1.5rem;
    }

    .section__desc {
        font-size: 0.9rem;
    }

    /* Services */
    .service-card {
        padding: 20px 16px;
    }

    .service-card__title {
        font-size: 1.1rem;
    }

    .service-card__desc {
        font-size: 0.85rem;
    }

    /* Fleet */
    .fleet-hero img {
        height: 180px;
    }

    .fleet-card__img {
        height: 180px;
    }

    .fleet-card__content {
        padding: 16px;
    }

    .fleet-card__title {
        font-size: 1.1rem;
    }

    .fleet-card__specs li {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    /* Gallery */
    .gallery-masonry {
        grid-template-columns: 1fr;
        /* Force 1 column on phone */
        gap: 12px;
    }

    .gallery-item {
        aspect-ratio: 16/9;
        /* Consistent aspect ratio */
    }

    .gallery-item--wide {
        grid-column: span 1;
        aspect-ratio: 16/9;
    }

    .gallery-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }

    /* About */
    .about-feature__icon {
        width: 40px;
        height: 40px;
    }

    /* Contact */
    .contact-info__card {
        padding: 12px;
    }

    .contact-map iframe {
        height: 160px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 0;
    }

    .footer__brand .logo__img {
        height: 40px;
    }

    .footer__links h4,
    .footer__contact h4 {
        font-size: 0.9rem;
    }

    .footer__bottom {
        padding: 16px 0;
        font-size: 0.75rem;
    }

    /* Mobile CTA: full-width bar */
    .mobile-cta {
        bottom: 0;
        right: 0;
        left: 0;
        border-radius: 0;
        justify-content: center;
        padding: 16px;
        font-size: 0.9rem;
        box-shadow: 0 -2px 20px rgba(255, 215, 0, 0.3);
    }

    /* Add bottom padding to body to account for fixed CTA */
    body {
        padding-bottom: 56px;
    }
}

/* --- Very small phones (≤360px) --- */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero__content {
        padding: 80px 12px 40px;
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .stat {
        min-width: 75px;
    }

    .stat__number {
        font-size: 1.4rem;
    }

    .service-card__icon {
        width: 48px;
        height: 48px;
    }

    .fleet-card__img {
        height: 150px;
    }
}




/* --- Utility: header phone for large screens --- */
@media (min-width: 1100px) {
    .header__phone {
        display: flex;
    }
}

/* ============================================
   THEME TOGGLE & LANGUAGE SELECTOR
   ============================================ */

/* Header tools container */
.header__tools {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Theme Toggle */
.theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gray-200);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
}

.theme-toggle:hover {
    background: var(--yellow-glow);
    border-color: var(--yellow);
    color: var(--yellow);
}

.theme-toggle__icon--light {
    display: none;
}

body.light-theme .theme-toggle__icon--dark {
    display: none;
}

body.light-theme .theme-toggle__icon--light {
    display: block;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-selector__btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--gray-200);
    padding: 7px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
}

.lang-selector__btn:hover {
    background: var(--yellow-glow);
    border-color: var(--yellow);
    color: var(--yellow);
}

.lang-selector__flag {
    font-size: 1.1rem;
    line-height: 1;
}

.lang-selector__chevron {
    transition: transform var(--transition);
}

.lang-selector.open .lang-selector__chevron {
    transform: rotate(180deg);
}

.lang-selector__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: var(--radius-md);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
}

.lang-selector.open .lang-selector__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    color: var(--gray-200);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition);
    text-align: left;
    min-height: 44px;
}

.lang-option:hover {
    background: var(--yellow-glow);
    color: var(--yellow);
}

.lang-option.active {
    background: var(--yellow);
    color: var(--black);
    font-weight: 600;
}

.lang-option span {
    font-size: 1.2rem;
}

/* ============================================
   LIGHT THEME
   ============================================ */

body.light-theme {
    background: var(--white);
}

body.light-theme .header {
    background: rgba(250, 250, 250, 0.92);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .header--scrolled {
    background: rgba(250, 250, 250, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

body.light-theme .nav__link {
    color: var(--gray-700);
}

body.light-theme .nav__link:hover,
body.light-theme .nav__link.active {
    color: var(--yellow-dark);
    background: var(--yellow-glow);
}

body.light-theme .nav__submenu {
    background: var(--white);
    border-color: var(--gray-100);
}

body.light-theme .nav__submenu a {
    color: var(--gray-700);
}

body.light-theme .nav__submenu a:hover {
    color: var(--yellow-dark);
}

body.light-theme .hamburger span {
    background: var(--black);
}

body.light-theme .theme-toggle,
body.light-theme .lang-selector__btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--gray-700);
}

body.light-theme .theme-toggle:hover,
body.light-theme .lang-selector__btn:hover {
    background: var(--yellow-glow);
    border-color: var(--yellow-dark);
    color: var(--yellow-dark);
}

body.light-theme .lang-selector__dropdown {
    background: var(--white);
    border-color: var(--gray-100);
    box-shadow: var(--shadow-md);
}

body.light-theme .lang-option {
    color: var(--gray-700);
}

body.light-theme .lang-option:hover {
    background: var(--yellow-glow);
    color: var(--yellow-dark);
}

body.light-theme .lang-option.active {
    background: var(--yellow);
    color: var(--black);
}

body.light-theme .header__phone {
    color: var(--yellow-dark);
    border-color: var(--yellow-dark);
}

body.light-theme .header__phone:hover {
    background: var(--yellow);
    color: var(--black);
}

/* Light theme: Dark sections → Light */
body.light-theme .section--dark {
    background: var(--gray-50);
    color: var(--gray-700);
}

body.light-theme .section--dark .section__title {
    color: var(--black);
}

body.light-theme .section--dark .section__desc {
    color: var(--gray-600);
}

body.light-theme .fleet-card {
    background: var(--white);
    border-color: var(--gray-100);
}

body.light-theme .fleet-card:hover {
    border-color: var(--yellow);
    box-shadow: var(--shadow-md);
}

body.light-theme .fleet-card__title {
    color: var(--black);
}

body.light-theme .fleet-card__specs li {
    border-bottom-color: var(--gray-100);
}

body.light-theme .spec-label {
    color: var(--gray-600);
}

body.light-theme .spec-value {
    color: var(--yellow-dark);
}

body.light-theme .about-text {
    color: var(--gray-600);
}

body.light-theme .about-text strong {
    color: var(--black);
}

body.light-theme .about-feature strong {
    color: var(--black);
}

body.light-theme .about-feature p {
    color: var(--gray-600);
}

body.light-theme .about-feature__icon {
    background: var(--yellow-glow);
}

body.light-theme .about-image__accent {
    border-color: var(--yellow-dark);
}

/* Light theme: Footer */
body.light-theme .footer {
    background: var(--gray-50);
    border-top-color: var(--gray-100);
}

body.light-theme .footer__grid {
    border-bottom-color: var(--gray-100);
}

body.light-theme .footer__links h4,
body.light-theme .footer__contact h4 {
    color: var(--black);
}

body.light-theme .footer__links a,
body.light-theme .footer__contact a,
body.light-theme .footer__contact p,
body.light-theme .footer__brand p {
    color: var(--gray-600);
}

body.light-theme .footer__bottom {
    color: var(--gray-400);
}

/* Light theme: Mobile nav */
body.light-theme .nav.active {
    background: rgba(250, 250, 250, 0.98);
}

/* Theme transition */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

.header,
.section--dark,
.fleet-card,
.footer,
.nav,
.theme-toggle,
.lang-selector__btn,
.lang-selector__dropdown,
.nav__link,
.hamburger span {
    transition: all var(--transition);
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {

    /* Hide cursor trailer on touch devices */
    #cursor-trailer {
        display: none !important;
    }

    /* Disable 3D tilt effects — they need hover */
    .fleet-card {
        transform: none !important;
    }

    /* Disable parallax on touch */
    .hero__bg img {
        animation: none !important;
        transform: none !important;
    }

    /* Improve tap targets */
    .btn {
        min-height: 48px;
        min-width: 48px;
    }

    .filter-btn {
        min-height: 44px;
    }

    .nav__link {
        min-height: 44px;
    }

    .contact-info__card {
        min-height: 44px;
    }

    /* Disable hover-only effects */
    .service-card:hover::after {
        display: none;
    }

    .fleet-card:hover::after {
        display: none;
    }

    /* Smoother scrolling */
    html {
        -webkit-overflow-scrolling: touch;
    }
}

/* Safe area insets for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-cta {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }

    @media (max-width: 480px) {
        body {
            padding-bottom: calc(56px + env(safe-area-inset-bottom));
        }
    }
}

/* Landscape phone */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }

    .hero__stats {
        display: none;
    }

    .hero__title {
        font-size: 1.6rem;
    }

    .nav__link {
        font-size: 1rem;
        padding: 8px 16px;
    }
}

/* --- SUBPAGE REDESIGN --- */
.subpage-hero {
    position: relative;
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.subpage-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.subpage-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.subpage-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 17, 17, 0.9) 0%, rgba(17, 17, 17, 0.4) 60%, rgba(17, 17, 17, 0.7) 100%);
}

.subpage-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding-top: 15vh;
}

.subpage-hero__badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid var(--yellow);
    border-radius: 100px;
    color: var(--yellow);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.subpage-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.subpage-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray-300);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.subpage-header {
    text-align: center;
    margin-bottom: 60px;
}

.subpage-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    color: var(--black);
    text-transform: uppercase;
    margin-top: 16px;
}

.subpage-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

@media (min-width: 992px) {
    .subpage-layout {
        grid-template-columns: 1fr 1.2fr;
        align-items: start;
    }
}

.subpage-text {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--gray-600);
}

.subpage-paragraph {
    margin-bottom: 28px;
}

.subpage-paragraph strong {
    color: var(--black);
    font-weight: 700;
    box-shadow: inset 0 -8px 0 rgba(255, 215, 0, 0.4);
}

.subpage-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.subpage-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.dark-theme .subpage-title {
    color: var(--white);
}

body.dark-theme .subpage-paragraph {
    color: var(--gray-400);
}

body.dark-theme .subpage-paragraph strong {
    color: var(--white);
}

body.dark-theme .subpage-text {
    color: var(--gray-400);
}

/* ============================================
   MOBILE ULTRA-OPTIMIZATION (Phase 4)
   ============================================ */

/* Ensure minimum touch targets for WCAG compliance */
.hamburger {
    padding: 12px;
}

/* Safe Area Insets for iOS Notch Phones */
body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.header {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

.footer {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Fix iOS Auto-Zooming on Form Inputs */
@media (max-width: 768px) {

    input,
    textarea,
    select {
        font-size: 16px !important;
    }
}