/* Go Mobile Hub — page-specific CSS module. */
/* =========================
   Media Queries
========================= */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .buyback-hero,
    .partner-hero,
    .quote-section,
    .process-section,
    .why-gmh,
    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .hero-copy h1 {
        font-size: 36px;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-row {
        grid-template-columns: 1fr;
    }
    .work-row.reverse .work-image {
        order: 0;
    }
}

@media (max-width: 768px) {
    .top-bar {
        justify-content: center;
        gap: 12px 18px;
        font-size: 12px;
        padding: 8px 10px;
    }

    .navbar {
        height: 70px;
        padding: 0 15px;
        top: 38px; /* below mobile top-bar */
    }

    .navbar.sticky {
        top: 0;
        height: 65px;
    }

    .logo {
        height: 58px;
    }

    body {
        padding-top: 108px; /* mobile top-bar + navbar */
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 16px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
        z-index: 9998;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > a,
    .dropdown .dropbtn {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 22px;
        color: #333;
        text-decoration: none;
        font-weight: 600;
        background: none;
        border: none;
        text-align: left;
        box-sizing: border-box;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown .dropbtn {
        justify-content: space-between;
    }

    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: #f8fafc;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 11px 40px;
        min-height: 44px;
    }

    .nav-links .login-btn {
        width: calc(100% - 44px);
        margin: 10px 22px 6px;
        justify-content: center;
    }

    .steps-container,
    .services-grid,
    .why-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .section-badge {
        font-size: 22px;
        padding: 10px 22px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-logo {
        height: 60px;
    }

    .sell-hero {
        grid-template-columns: 1fr;
        padding: 30px 22px;
        margin-top: 100px;
    }

    .sell-left h1 {
        font-size: 32px;
    }

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

    .sell-right img {
        width: 260px;
    }

    .iphone-page-header,
    .Smartphone-page-header,
.Android-page-header,
    .laptop-page-header,
    .tablet-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .iphone-search-box,
    .Smartphone-search-box,
.Android-search-box,
    .laptop-search-box,
    .tablet-search-box {
        width: 100%;
    }

    .iphone-models-grid,
    .Smartphone-models-grid,
.Android-models-grid,
    .laptop-models-grid,
    .tablet-models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .login-container,
    .signup-container {
        grid-template-columns: 1fr;
    }

    .login-left,
    .signup-left {
        padding: 40px 28px;
        text-align: center;
    }

    .login-left h1,
    .signup-left h1 {
        font-size: 28px;
    }

    .login-right,
    .signup-right {
        padding: 30px 22px;
    }

    .buyback-hero {
        padding: 110px 20px 30px;
        text-align: left;
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .quote-section {
        grid-template-columns: 1fr;
        padding: 30px 18px;
    }

    .two-cols,
    .three-cols {
        grid-template-columns: 1fr;
    }

    .process-section {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .partner-cta {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .hero-copy h1 {
        font-size: 28px;
    }
    .iphone-models-grid,
    .Smartphone-models-grid,
.Android-models-grid,
    .laptop-models-grid,
    .tablet-models-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .device-img-wrap {
        height: 110px;
    }
    .orange-btn,
    .submit-btn {
        width: 100%;
    }
}

/* =========================================================
   GLOBAL PAGE CONSISTENCY
   ========================================================= */

/* All main content sections use consistent horizontal padding on mobile */
@media (max-width: 640px) {
    .A-brand-page,
    .Smartphone-brand-page,
    .laptop-brand-page,
    .tablet-brand-page,
    .iphone-models-page,
    .Android-brand-page,
    .buy-page,
    .sell-hero,
    .login-section,
    .signup-section {
        width: 94%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Breadcrumb consistency site-wide */
.breadcrumb,
.Smartphone-breadcrumb,
.laptop-breadcrumb,
.tablet-breadcrumb,
.iphone-breadcrumb {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 12px;
}

.breadcrumb a,
.Smartphone-breadcrumb a,
.laptop-breadcrumb a,
.tablet-breadcrumb a,
.iphone-breadcrumb a {
    color: #2563EB;
    text-decoration: none;
}

.breadcrumb .current,
.Smartphone-breadcrumb .current,
.laptop-breadcrumb .current,
.tablet-breadcrumb .current,
.iphone-breadcrumb .current {
    color: #0F172A;
    font-weight: 500;
}

/* Footer always full-width consistent */
.footer {
    margin-top: 0;
}

