/* ============================================
   BDK Wheels Solutions S.R.L. — Responsive
   Media queries pentru mobil și tabletă
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .hero-title-main {
        position: static;
        left: auto;
    }
    /* Sectiuni majore: 56px pe mobil (desktop 100px, scalat proportional).
       Carduri (de-ce, testimoniale) raman 40px prin regula lor din new-sections.css. */
    section {
        padding: 48px 0;
    }

    /* ========== HERO ========== */
    /* Header fix masoara 112px pe mobil; titlul trebuie sa inceapa COMPET sub el,
       deci padding-top = 128px (nu 6rem=96px care suprapunea bara de header). */
    .hero {
        padding-top: 128px;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
    }

    .hero-content { container-type: inline-size;
        position: static;
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
        transform: none;
        text-align: left;
    }

    .hero-badge {
        margin-bottom: 12px;
        padding: 4px 10px;
        font-size: 0.65rem;
        flex-shrink: 0;
    }

    .hero-title {
        margin-bottom: 12px;
    }

    .hero-title-top {
        font-size: clamp(2.05rem, 12cqi, 2.9rem);
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .hero-title-main {
        font-size: clamp(1.3rem, 8cqi, 1.8rem);
    }

    .hero-title-sub {
        font-size: 0.9rem;
        letter-spacing: 0.5px;
        margin-top: 6px;
    }

    .hero-desc {
        font-size: 0.8rem;
        margin-bottom: 16px;
        line-height: 1.5;
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    .btn-text {
        display: block;
    }

    .btn-phone {
        display: block;
        font-size: 0.75rem;
        font-weight: 400;
        margin-top: 2px;
        opacity: 0.9;
    }

    .hero-stats {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .stat-num {
        font-size: 1.1rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }

    .hero-scroll {
        display: none;
    }

    /* ========== HERO BG ========== */
    .hero-bg::before {
        background:
            radial-gradient(ellipse at 20% 50%, rgba(255,107,0,0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 20%, rgba(255,107,0,0.1) 0%, transparent 40%),
            radial-gradient(ellipse at 50% 80%, rgba(255,255,255,0.03) 0%, transparent 50%);
    }

    /* ========== NAV ========== */
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    /* Buton meniu — abordare A: navy opac + blur, linii albe, colturi moi.
       Identic cu regula din mobile.css, consistent pe toate breakpoint-urile. */
    .nav-toggle {
        display: flex;
        padding: 12px;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        background: var(--navy);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        z-index: 1001;
        border-radius: 10px;
    }

    /* Peste hero (header transparent): butonul semi-transparent ca sa se
       vada fundalul prin el; blur pastreaza lizibilitatea liniilor albe. */
    .header:not(.scrolled) .nav-toggle {
        background: rgba(10, 22, 40, 0.55);
    }

    .nav-toggle span {
        width: 28px;
        height: 3px;
        background: var(--white);
    }

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

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

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

    /* ========== FLOATING BUTTONS ========== */
    /* Ancorat prin bottom: 148px din components.css (referinta: baza sagetii
       la 706px din 854px viewport mobil). Fara top, fara offset - butoanele
       complet vizibile. */
    .floating-stack {
        transform: none;
    }
    .floating-btn {
        transform: translateX(0);
        animation: none;
    }

    /* ========== SECTIONS ========== */
    .despre-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .despre-features {
        grid-template-columns: 1fr;
    }

    .servicii-grid {
        grid-template-columns: 1fr;
    }

    .galerie-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    /* ========== BODY LOCK ========== */
    body.nav-locked {
        overflow: hidden;
    }

    body.nav-locked .floating-call,
    body.nav-locked .floating-stack,
    body.cookie-visible .floating-call,
    body.cookie-visible .floating-stack {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

/* ========== LANDSCAPE PE MOBIL ========== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 20px;
        min-height: 100dvh;
        justify-content: flex-start;
    }

    .hero-content { container-type: inline-size;
        padding: 0 24px;
        text-align: center;
    }

    .hero-badge {
        margin-bottom: 10px;
        padding: 4px 10px;
        font-size: 0.65rem;
    }

    .hero-title {
        margin-bottom: 10px;
    }

    .hero-title-top {
        font-size: clamp(1.05rem, 4.3vw, 1.4rem);
        margin-bottom: 2px;
    }

    .hero-title-main {
        font-size: clamp(0.85rem, 4.5cqi, 1.1rem);
    }

    .hero-title-sub {
        font-size: 0.65rem;
        margin-top: 4px;
    }

    .hero-desc {
        font-size: 0.75rem;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .hero-actions {
        flex-direction: row;
        gap: 8px;
        margin-bottom: 12px;
    }

    .hero-actions .btn {
        width: auto;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .btn-phone {
        font-size: 0.7rem;
        margin-top: 2px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stat-num {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.55rem;
    }
}

/* ========== FONTURI MARI PE MOBIL ========== */
@media (max-width: 768px) {
    .hero-title-main {
        position: static;
        left: auto;
    }
    .nav-link {
        font-size: 1.1rem;
    }

    .nav-cta {
        font-size: 1.05rem;
    }

    .hero-badge {
        font-size: 0.8rem;
    }

    .hero-title-top {
        font-size: clamp(2.05rem, 12cqi, 2.9rem);
    }

    .hero-title-main {
        font-size: clamp(1.3rem, 8cqi, 1.8rem);
    }

    .hero-title-sub {
        font-size: 0.85rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-actions .btn {
        font-size: 1rem;
    }

    .btn-phone {
        font-size: 0.9rem;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .section-tag {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 28px;
        line-height: 29.4px;
    }

    .section-sub {
        font-size: 17px;
    }

    .serviciu-card h3 {
        font-size: 17.6px;
    }

    .serviciu-card p {
        font-size: 1.1rem;
    }

    .serviciu-features li {
        font-size: 1.1rem;
    }

    .despre-text {
        font-size: 1.1rem;
    }

    .zone-card h3 {
        font-size: 1.5rem;
    }

    .zone-card p {
        font-size: 1.1rem;
    }




    .btn-large {
        font-size: 1.4rem;
    }

    .footer-col h3 {
        font-size: 1.3rem;
    }

    .footer-col p,
    .footer-col ul li {
        font-size: 1.1rem;
    }

    .footer-bottom {
        font-size: 1rem;
    }

    .cookie-text {
        font-size: 1.05rem;
    }

    .cookie-btn {
        font-size: 1.05rem;
    }
}
