/* Mobile-First Styles */
@media (max-width: 768px) {
    * {
        box-sizing: border-box;
        -webkit-tap-highlight-color: transparent;
        max-width: 100% !important;
    }

    html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
        overflow-x: hidden !important;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth;
        height: 100%;
        width: 100%;
        position: relative;
        touch-action: pan-y !important;
        overscroll-behavior-y: auto !important;
        overscroll-behavior-x: none !important;
    }

    body {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden !important;
        overflow-y: scroll !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        line-height: 1.6;
        color: #1a1a1a;
        background: #ffffff;
        min-height: 100vh;
        position: relative;
        -webkit-overflow-scrolling: touch !important;
    }

    main,
    section {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        width: 100%;
        max-width: 100vw;
        padding: 40px 15px;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
        text-align: center;
        box-sizing: border-box;
        overflow-x: hidden !important;
        overflow-y: visible !important;
    }

    header {
        position: relative;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        width: 100%;
        z-index: 1000;
    }

    .header-top {
        display: none;
    }

    .header-main {
        padding: 12px 15px;
    }

    .header-main .container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 0 18px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        text-align: center;
    }

    .header-main .search-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .search-container .search-bar {
        max-width: 100%;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        text-decoration: none;
        width: 100%;
        justify-content: center;
    }

    .logo-image {
        height: 56px;
        width: auto;
        object-fit: contain;
    }

    .logo-text {
        display: none;
    }

    nav {
         background: white;
         border-top: 1px solid #e5e7eb;
         width: 100%;
         padding: 0;
     }
 
     nav .container {
        width: 100%;
        padding: 0 18px 12px 18px;
        max-width: 420px;
        margin: 0 auto;
    }
 
     nav ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
 
     nav ul li {
        flex-shrink: 0;
    }
 
     nav ul li a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px;
        color: #1f2937;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 600;
        background: #f3f4f6;
        border-radius: 12px;
        border: 1px solid rgba(148, 163, 184, 0.25);
        transition: all 0.2s ease;
    }
 
     nav ul li a i {
        font-size: 1rem;
        color: #1e40af;
    }
 
     nav ul li a:hover,
     nav ul li a:active {
        color: #1e3a8a;
        background: rgba(30, 64, 175, 0.12);
        border-color: rgba(30, 64, 175, 0.3);
    }

    .announcement-bar {
        background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
        color: white;
        padding: 8px 15px;
        font-size: 0.85rem;
        text-align: center;
        width: 100%;
    }

    .hero {
        padding: 40px 15px;
        background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
        color: white;
        text-align: center;
    }

    .hero .container {
        padding: 0;
    }

    .hero-text h1 {
        font-size: 2rem;
        font-weight: 800;
        margin: 0 0 15px 0;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin: 0 0 25px 0;
        line-height: 1.5;
        opacity: 0.95;
    }

    .hero-cta-group {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }

    .hero-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 14px 24px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
        width: 100% !important;
        margin: 10px auto !important;
    }

    .hero-visual,
    .floating-stat {
        display: none !important;
    }

    .section-header {
        margin: 0 auto 30px;
        padding: 0 15px;
    }

    .section-header h2 {
        font-size: 1.75rem;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 auto 10px;
        line-height: 1.3;
    }

    .section-header p {
        font-size: 1rem;
        color: #6b7280;
        margin: 0 auto;
        line-height: 1.6;
    }

    .categories-grid,
    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
    }

    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card,
    .service-card,
    .product-card {
        background: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: 1px solid #e5e7eb;
        text-align: center;
    }

    .products-tabs {
        gap: 8px;
    }

    .tab-button {
        width: 100%;
        justify-content: center;
    }

    .search-results-banner {
        margin: 0 0 25px;
        max-width: 100%;
        padding: 16px 18px;
    }

    .search-results-banner__content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .products-grid,
    .services-grid,
    .feature-card-row,
    .two-column-grid,
    .keyword-list {
        grid-template-columns: 1fr !important;
    }

    .review-strip .container {
        grid-template-columns: 1fr !important;
    }

    .review-card {
        grid-template-columns: auto 1fr;
        width: 100%;
    }

    .response-section {
        padding: 50px 15px;
    }

    .response-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .response-card {
        padding: 22px;
        align-items: flex-start;
    }
    
    .convenience-list {
        flex-direction: column;
        align-items: stretch;
    }

    .convenience-list li {
        max-width: 100%;
    }

    .convenience-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .convenience-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }

    .premium-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .premium-card {
        padding: 28px 22px;
        text-align: left;
    }

    .premium-cta {
        width: 100%;
    }

    button,
    .btn,
    .cta-button {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        touch-action: manipulation;
    }

    footer {
        background: #1a1a1a;
        color: white;
        padding: 40px 15px 20px;
        width: 100%;
    }

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

    .footer-column h4 {
        font-size: 1.1rem;
        font-weight: 700;
        margin: 0 0 15px 0;
    }

    .footer-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 30px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }

    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
        display: block;
    }

    iframe[src*="maps"],
    iframe[src*="google.com"] {
        width: 100%;
        height: 300px;
        border-radius: 8px;
    }

    ul,
    ol {
        text-align: left;
        padding-left: 25px;
        padding-right: 15px;
        margin: 0 auto;
    }

    li {
        margin-bottom: 10px;
    }

    input,
    textarea,
    select {
        width: 100%;
        padding: 12px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        -webkit-appearance: none;
        appearance: none;
    }

    .fixed-actions {
        position: fixed;
        bottom: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
        z-index: 9999;
        max-width: calc(100vw - 40px);
    }

    .fixed-button {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #1e40af;
        color: white;
        border: none;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.3rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .marquee-content {
        animation-duration: 100s !important;
    }

    .purchase-notification {
        display: none !important;
    }

    .response-actions {
        margin-top: 28px;
        flex-direction: column;
        gap: 12px;
    }

    .response-actions a {
        width: 100%;
        padding: 16px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 100%;
        margin: 0;
    }

    .benefit-card {
        padding: 22px;
        width: 100%;
        box-sizing: border-box;
    }

    .while-you-wait {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }

    .service-card {
        padding: 22px;
        gap: 14px;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .service-icon-wrapper {
        width: 52px;
        height: 52px;
        font-size: 1.7rem;
    }

    .contact-grid {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .fixed-actions {
        bottom: 15px;
        right: 15px;
    }

    .fixed-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

