/* TEXIM ONE mobile layout */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 1px solid #e3e8e8;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 8px 18px rgba(17, 17, 17, 0.05);
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #111111;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    body {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header {
        backdrop-filter: blur(14px);
    }

    .header-container {
        padding: 0.7rem 1rem;
        gap: 0.7rem;
    }

    .logo-img {
        height: 30px;
    }

    .lang-switcher {
        min-width: 54px;
        height: 36px;
        padding: 0.3rem 0.5rem;
        border-radius: 8px;
        font-size: 0.72rem;
        flex-shrink: 0;
    }

    .nav-toggle {
        display: flex !important;
        margin-left: auto;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid #e3e8e8;
        box-shadow: 0 16px 32px rgba(17, 17, 17, 0.08);
        display: none;
    }

    .nav.is-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 1rem 1rem;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.9rem 0.5rem;
        font-size: 0.82rem;
        border-bottom: 1px solid #f0f2f3;
        letter-spacing: 0.02em;
    }

    .nav-list li:last-child .nav-link {
        border-bottom: 0;
    }

    .hero {
        min-height: 610px;
        height: auto;
        padding: 5rem 0 2.75rem;
        margin-top: 58px;
    }

    .hero-row {
        flex-direction: column;
        gap: 1.25rem;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        gap: 0.9rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
        line-height: 1.08;
        letter-spacing: -0.04em;
        overflow-wrap: anywhere;
    }

    .hero-subtitle {
        font-size: 1.04rem;
        margin-bottom: 0;
    }

    .hero-text {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .hero-btns {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .hero-truck {
        width: 100%;
        margin-top: 0.5rem;
    }

    .hero-truck-img {
        width: min(92vw, 500px);
        margin: 0 auto;
        filter: drop-shadow(0 16px 30px rgba(17, 17, 17, 0.12));
    }

    .section {
        padding: 3.25rem 0;
    }

    .section-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        line-height: 1.1;
    }

    .section-subtitle {
        margin-bottom: 2rem;
        font-size: 0.96rem;
    }

    .stats-grid,
    .features-grid,
    .team-grid,
    .activity-grid,
    .about-grid,
    .form-row,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card,
    .feature-card,
    .team-card,
    .activity-card,
    .convoy-card,
    .event-card,
    .team-member,
    .fleet-card {
        border-radius: 14px;
    }

    .stat-card,
    .feature-card,
    .team-card,
    .activity-content,
    .convoy-card,
    .event-card {
        padding: 1.2rem;
    }

    .btn,
    .btn-primary,
    .btn-outline,
    .btn-tmp {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .join-cta,
    .foreign-cta,
    .calendar-actions,
    .summary-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .summary-row b,
    .summary-row a,
    .summary-row span {
        text-align: left;
        width: 100%;
    }

    .event-card {
        gap: 1rem;
        flex-direction: column;
    }

    .event-date {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .about-image {
        min-height: 250px;
    }

    .page-hero {
        min-height: 320px;
        margin-top: 58px;
        padding-top: 4rem;
        padding-bottom: 2rem;
    }

    .page-title {
        font-size: clamp(2rem, 8vw, 2.7rem);
    }

    .social-links {
        flex-wrap: wrap;
        gap: 0.85rem 1rem;
    }

    .social-link img {
        width: 26px;
        height: 26px;
    }

    .footer-bottom p {
        font-size: 0.78rem;
        line-height: 1.45;
        max-width: 100%;
    }

    .fleet-carousel-section {
        padding-top: 1.5rem !important;
    }

    .carousel-3d-wrapper {
        height: 310px;
    }

    .fleet-card {
        width: 220px;
        padding: 18px 14px 16px;
    }

    .fleet-card.card-center {
        transform: translateX(0) scale(1.05);
    }

    .fleet-card.card-left {
        transform: translateX(-145px) scale(0.8) rotateY(16deg);
    }

    .fleet-card.card-right {
        transform: translateX(145px) scale(0.8) rotateY(-16deg);
    }

    .carousel-pagination {
        margin-top: 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.65rem 0.9rem;
    }

    .logo-img {
        height: 26px;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
        padding: 7px;
    }

    .lang-switcher {
        min-width: 50px;
        height: 32px;
        font-size: 0.7rem;
    }

    .hero {
        min-height: 520px;
        padding-top: 4.25rem;
    }

    .hero-content {
        gap: 0.75rem !important;
    }

    .hero-title {
        font-size: clamp(1.55rem, 9vw, 2.1rem) !important;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    .page-hero {
        min-height: 250px;
        padding-top: 3.25rem;
    }

    .event-card,
    .convoy-card,
    .team-card,
    .feature-card,
    .stat-card {
        padding: 1rem;
    }

    .summary-actions {
        flex-direction: column;
    }

    .social-link img {
        width: 24px;
        height: 24px;
    }

    .fleet-card {
        width: 190px;
        padding: 14px 12px;
    }

    .fleet-card .truck-title {
        font-size: 1rem;
    }

    .truck-image-box {
        height: 120px;
    }
}
