.mobile-burger { display: none; }

@media (max-width: 768px) {
    html { -webkit-text-size-adjust: 100%; }
    body { overflow-x: hidden; }
    img  { max-width: 100%; height: auto; }

    /* logo + burger pe un rând */
    .header-flex {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        width: 100%;
    }
    .logo { margin: 0; flex: 0 0 auto; }

    .mobile-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: #fff0eb;
        border: none;
        border-radius: 12px;
        c‍ursor: pointer;
        position: relative;
        z-index: 300;
        flex: 0 0 auto;
    }
    .mobile-burger span {
        display: block;
        height: 3px;
        width: 100%;
        background: #d48d7a;
        border-radius: 3px;
        transition: 0.3s;
    }
    .mobile-burger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-burger.active span:nth-child(2) { opacity: 0; }
    .mobile-burger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    header #navList { display: none; }
    header #navList.open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff0eb;
        border-radius: 0 0 24px 24px;
        padding: 16px 0;
        text-align: center;
        gap: 8px;
        z-index: 250;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    header #navList.open li { width: 100%; display: block; }

    /* === HEADER care se ascunde la scroll jos / apare la scroll sus === */
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        transition: transform 0.3s ease;
        will-change: transform;
    }
    header.hide-header {
        transform: translateY(-100%);
    }
    /* spațiu ca conținutul să nu intre sub header */
    body {
        padding-top: 80px;
    }

    .container { padding-left: 16px; padding-right: 16px; }
    .btn-primary, .btn-large { white-space: normal; }

    /* ascundem butonul vechi din HTML, ca să nu apară dublu */
    #menuToggle, .menu-toggle { display: none !important; }

    /* === STELE CENTRATE === */
    .testimonial .stars {
        display: flex !important;
        justify-content: center !important;
        text-align: center !important;
    }
}