@media (max-width: 1024px) {
    .site-header {
        width: calc(100% - 60px);
        margin: 20px 30px;
        padding: 20px 0;
    }

    .header-wrap {
        padding: 0 24px;
    }

    .main-nav ul {
        gap: 4px;
    }

    .main-nav ul li a {
        padding: 8px 14px;
        font-size: 14px;
    }

    .header-cta a {
        padding: 8px 18px;
        font-size: 14px;
    }

    .footer-cta-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .site-header {
        width: calc(100% - 32px);
        margin: 16px;
        padding: 16px 0;
        border-radius: 12px;
    }

    .site-header.scrolled {
        width: 100%;
        margin: 0;
        padding: 12px 0;
        border-radius: 0;
    }

    .header-wrap {
        padding: 0 16px;
    }

    .logo a {
        font-size: 18px;
    }

    /* Show hamburger menu */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 8px;
        transition: background 0.2s ease;
        z-index: 1001;
    }

    .menu-toggle:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    /* Hide CTA on mobile header - move to drawer */
    .header-cta {
        display: none;
    }

    /* Drawer Navigation */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: #fff;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 24px 40px;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 10000;
    }

    .main-nav.active {
        right: 0;
    }

    /* Drawer close button */
    .drawer-close {
        display: flex;
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .drawer-close:hover {
        background: #e0e0e0;
    }

    /* Mobile CTA inside drawer */
    .mobile-cta {
        display: block;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid #f0f0f0;
    }

    .mobile-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px 24px;
        background: #008BCB;
        color: #fff;
        text-decoration: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 500;
        transition: background 0.2s ease;
    }

    .mobile-cta a:hover {
        background: #0077b0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        padding: 16px 0;
        font-size: 16px;
        font-weight: 400;
        border-radius: 0;
        justify-content: space-between;
    }

    /* Remove hover underline on mobile */
    .main-nav > ul > li > a::before {
        display: none;
    }

    /* Active state on mobile */
    .main-nav ul li.current-menu-item > a,
    .main-nav ul li.current_page_item > a {
        background: transparent !important;
        color: #008BCB;
        font-weight: 500;
    }

    /* Dropdown/Submenu on Mobile */
    .main-nav ul li ul.sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: #f9f9f9;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .main-nav ul li.menu-open > ul.sub-menu {
        max-height: 500px;
    }

    .main-nav ul li ul.sub-menu li {
        border-bottom: none;
    }

    .main-nav ul li ul.sub-menu li a {
        padding: 12px 20px;
        font-size: 14px;
        min-width: unset;
    }

    .main-nav ul li ul.sub-menu li a:hover {
        background: #e9e9e9;
    }

    /* Dropdown arrow rotation */
    .main-nav ul li.menu-item-has-children > a .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .main-nav ul li.menu-item-has-children.menu-open > a .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* CTA inside drawer */
    .main-nav::after {
        content: '';
        display: block;
        height: 100px;
    }

    /* Overlay when drawer is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    /* Hamburger to X animation */
    .menu-toggle.active svg line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active svg line:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active svg line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .menu-toggle svg line {
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .footer-cta-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer_column_top {
        margin-top: 50px;
    }

    .footer_divider {
        margin: 40px 0;
    }
}

@media (max-width: 480px) {
    .site-header {
        width: calc(100% - 24px);
        margin: 12px;
        padding: 12px 0;
    }

    .site-header.scrolled {
        width: 100%;
        margin: 0;
        padding: 10px 0;
        border-radius: 0;
    }

    .header-wrap {
        padding: 0 12px;
    }

    .logo a {
        font-size: 16px;
    }

    .main-nav {
        width: 280px;
        padding: 70px 20px 30px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .footer-cta-section {
        padding: 30px;
    }

    .footer-cta-text {
        font-size: 14px;
    }

    .footer-cta-wrap {
        gap: 10px;
    }

    .footer-cta-heading {
        font-size: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 30px;
    }

    .hero_bottom_section {
        padding-top: 50px;
    }

    .why_consign_title {
        font-size: 27px;
        text-align: center;
    }

    .why_consign_description {
        font-size: 16px;
        text-align: center;
    }
}