/* ============================================
   DESKTOP LAYOUT - FULL WIDTH SERVICES
   Mobile = UNTOUCHED | Desktop = REFERENCE
   ============================================ */

/* Desktop: 1024px+ */
@media (min-width: 1024px) {

    /* ========================================
       HEADER - CLEAN & MINIMAL
       ======================================== */

    .main-header {
        padding: 0;
        background: white;
        box-shadow: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .header-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        height: 70px;
        gap: 40px;
    }

    .header-top-row {
        margin: 0;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 24px;
        /* Increased gap between logo and menu */
    }

    .logo-area {
        display: flex;
        align-items: center;
        gap: 12px;
        text-decoration: none;
    }

    .logo-icon {
        font-size: 32px;
        color: var(--red-brand);
    }

    .logo-text {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .logo-main {
        font-size: 24px;
        font-weight: 800;
        color: var(--text-primary);
        line-height: 1;
        letter-spacing: -0.5px;
    }

    .logo-sub {
        font-size: 12px;
        font-weight: 500;
        color: var(--text-secondary);
        line-height: 1;
    }

    .header-bottom-row {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0;
        flex: 0 0 auto;
    }

    /* Hide Mobile Button on Desktop */
    /* Hide Mobile Button on Desktop (Aggressive) */
    .mobile-menu-btn,
    #drawer-toggle-mobile,
    .header-bottom-row .menu-toggle-btn {
        display: none !important;
    }

    .menu-toggle-btn {
        display: flex !important;
        /* Visible next to logo */
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 1px solid rgba(0, 0, 0, 0.08);
        /* Subtle border */
        color: var(--text-primary);
        /* Dark gray/black */
        font-size: 16px;
        /* Smaller icon set */
        cursor: pointer;
        padding: 0;
        border-radius: 50%;
        transition: all 0.2s ease;
        width: 38px;
        height: 38px;
        margin: 0;
    }

    .menu-toggle-btn:hover {
        background-color: rgba(0, 0, 0, 0.04);
        border-color: rgba(0, 0, 0, 0.15);
        color: black;
        transform: translateY(-1px);
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 24px;
        margin: 0;
    }

    /* Clear Button Hierarchy */
    .btn-header-action {
        padding: 0;
        font-size: 14px;
        font-weight: 600;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
        height: auto;
        background: transparent;
        border: none;
        text-transform: none;
        letter-spacing: 0;
    }

    .btn-header-action i {
        display: none;
    }

    /* Secondary CTA - Text Style */
    .btn-header-presupuesto {
        color: var(--text-primary);
        padding: 0;
    }

    .btn-header-presupuesto:hover {
        color: var(--red-brand);
    }

    /* Primary CTA - Solid Button */
    .btn-header-llama {
        background: var(--red-brand);
        color: white;
        padding: 10px 24px;
        border-radius: 8px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        font-size: 13px;
    }

    .btn-header-llama:hover {
        background: var(--red-dark);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    }

    /* Add "Iniciar sesión" link */
    .header-actions::after {
        content: "Iniciar sesión";
        font-size: 14px;
        font-weight: 400;
        color: var(--text-secondary);
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .header-actions::after:hover {
        color: var(--text-primary);
    }

    /* ========================================
       HERO - CENTERED CONTENT
       ======================================== */

    .hero-section {
        min-height: 500px;
        padding: 100px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background-size: cover;
        background-position: center;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.55);
        /* +5% Darker for crisp text */
        z-index: 1;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        max-width: 760px;
        /* Tighter & More Premium (720-800px range) */
        margin: 0 auto;
        text-align: center;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* ... skipped headings/text ... */

    .hero-btns-group {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 32px;
        /* Precise 32px Anchor */
        order: 4;
        width: 100%;
    }

    .hero-content h1 {
        font-size: 56px;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 0;
        letter-spacing: -1.5px;
        text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
        order: 1;
        white-space: nowrap;
        /* Force single line */
    }

    .hero-content h2 {
        font-size: 20px;
        font-weight: 700;
        margin: 16px 0 0 0;
        letter-spacing: 1px;
        color: #F4A261;
        /* Premium Orange/Gold like Mobile */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        order: 2;
        text-transform: uppercase;
    }

    .hero-content p {
        font-size: 19px;
        font-weight: 400;
        line-height: 1.5;
        margin: 16px auto 0 auto;
        max-width: 680px;
        opacity: 0.95;
        order: 3;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }

    .hero-btns-group {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 36px;
        order: 4;
        width: 100%;
    }

    .btn-hero-cta,
    .btn-hero-secondary {
        padding: 14px 36px;
        font-size: 15px;
        font-weight: 700;
        border-radius: 10px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.25s ease;
        min-width: 180px;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    .btn-hero-cta {
        background: var(--red-brand);
        color: white;
        border: 2px solid var(--red-brand);
        box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
    }

    .btn-hero-cta:hover {
        background: var(--red-dark);
        border-color: var(--red-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
    }

    .btn-hero-secondary {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(10px);
    }

    .btn-hero-secondary:hover {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-2px);
    }

    /* ========================================
       INTRO HERO - COMPACT PREMIUM LAYOUT
       ======================================== */

    .intro-section {
        max-width: 1200px !important;
        /* Same as catalog & sections */
        margin: 0 auto !important;
        padding: 48px 24px 36px !important;
        /* Reduced from 80px/60px - ~60% height */
    }

    .intro-container {
        max-width: 100%;
    }

    /* Badge - Closer to Title */
    .intro-text-block span {
        display: inline-block !important;
        vertical-align: middle;
        margin-bottom: 6px !important;
        /* Reduced from 12px - tighter */
        font-size: 0.6rem !important;
        /* Slightly smaller */
    }

    /* Title Block - Compact */
    .intro-text-block h2 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.15;
        /* Solid feel */
        margin-bottom: 8px !important;
        /* Reduced from 16px - closer to cards */
    }

    /* Cards Grid - Closer to Title */
    .intro-image-carousel {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        /* 3 solid columns */
        gap: 24px !important;
        overflow: visible !important;
        padding: 0 !important;
        margin-top: 20px !important;
        /* Reduced from 32px - cards appear faster */
    }

    .intro-img-card {
        min-width: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        flex: unset !important;
    }

    /* Swipe hint hidden on desktop */
    .swipe-hint {
        display: none !important;
    }

    /* ========================================
       RECOMENDADO PARA TI - 3 CARDS
       ======================================== */

    .curated-section {
        padding: 60px 40px 40px;
        max-width: 1200px;
        margin: 0 auto;
        background: #f8f9fa;
    }

    .curated-header {
        text-align: center;
        margin-bottom: 32px;
    }

    .curated-label {
        font-size: 32px;
        font-weight: 800;
        letter-spacing: -0.5px;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .curated-tagline {
        font-size: 15px;
        color: var(--text-secondary);
        font-weight: 400;
    }

    .curated-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        overflow: visible;
        margin-bottom: 28px;
    }

    .merchant-card,
    .curated-card {
        min-width: auto;
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.25s ease;
    }

    .merchant-visual {
        position: relative;
        overflow: hidden;
        margin: 0;
    }

    .merchant-visual img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        display: block;
    }

    .merchant-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
        padding: 5px 12px;
        font-size: 11px;
        font-weight: 700;
        border-radius: 6px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .badge-top {
        background: var(--red-brand);
        color: white;
    }

    .merchant-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 16px;
    }

    .merchant-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
        color: var(--text-primary);
    }

    .merchant-metadata {
        font-size: 13px;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .m-rating {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .amazon-star-row {
        display: flex;
        gap: 2px;
        color: #FFA41C;
    }

    .amazon-star-row i {
        font-size: 12px;
    }

    .rating-num {
        font-weight: 600;
        color: var(--text-primary);
        font-size: 13px;
    }

    .rating-count {
        color: var(--text-tertiary);
        font-size: 13px;
    }

    .merchant-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }

    /* CTA Button */
    .curated-section .btn-cta-primary,
    .curated-section .btn-hero-secondary {
        min-width: 260px;
        max-width: 280px;
        height: 46px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        font-size: 15px;
        font-weight: 700;
        transition: all 0.2s ease;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* ========================================
       ÁREAS DE SERVICIO - CLEAN CARD
       ======================================== */

    .coverage-section {
        padding: 50px 40px;
        max-width: 1200px;
        margin: 0 auto;
        background: white;
    }

    .coverage-container {
        background: #f8f9fa;
        border-radius: 16px;
        padding: 36px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .coverage-header {
        text-align: center;
        margin-bottom: 24px;
    }

    .coverage-header h2 {
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 6px;
        text-transform: uppercase;
    }

    .coverage-header p {
        font-size: 14px;
        color: var(--text-secondary);
    }

    .coverage-search {
        max-width: 520px;
        margin: 0 auto 28px;
    }

    .coverage-search input {
        width: 100%;
        height: 44px;
        padding: 0 18px;
        font-size: 14px;
        border-radius: 10px;
        border: 1px solid #ddd;
    }

    .cities-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
        margin-bottom: 20px;
    }

    .city-item {
        padding: 10px 14px;
        background: white;
        border-radius: 8px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .city-item i {
        color: var(--green-brand);
        font-size: 12px;
    }

    .coverage-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 20px;
    }

    .btn-show-all-cities {
        padding: 10px 24px;
        font-size: 14px;
        border-radius: 8px;
        background: transparent;
        color: var(--red-brand);
        border: 1px solid var(--red-brand);
    }

    .coverage-help-link {
        font-size: 13px;
        color: var(--text-secondary);
        text-decoration: none;
    }

    /* ========================================
       SERVICIOS - FULL WIDTH
       ======================================== */

    .services-section {
        padding: 40px 40px 60px;
        /* Reduced gap (was 60px) */
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
    }

    /* Premium Title */
    .services-section .section-title {
        text-align: center;
        margin-bottom: 48px;
        font-size: 38px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: -0.8px;
        color: var(--text-primary);
        position: relative;
        padding-top: 0;
        /* Removed huge gap (was 48px) */
    }

    /* Pill Badge (Pre-headline) */
    .services-section .section-title::before {
        content: "DISPONIBLE HOY";
        display: block;
        width: fit-content;
        margin: 0 auto 16px auto;
        /* Locked to title */
        padding: 6px 14px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        background: rgba(230, 57, 70, 0.06);
        /* Subtle Premium */
        color: var(--red-brand);
        border: 1px solid rgba(230, 57, 70, 0.15);
        border-radius: 100px;
        text-transform: uppercase;
    }



    /* Subtitle */
    .services-section .section-title::after {
        content: "Profesionales verificados en tu área";
        display: block;
        font-size: 16px;
        color: var(--text-secondary);
        font-weight: 500;
        text-transform: none;
        letter-spacing: 0;
        margin-top: 12px;
        opacity: 0.85;
    }

    /* ========================================
       CURATED SECTION (Desktop Override)
       ======================================== */
    .curated-section {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding-top: 0;
        padding-bottom: 30px !important;
        /* Optimized Gap */
    }

    /* 3-Column Fixed Grid - WRAPPER (Magic Unified Grid) */
    .services-grid-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 28px !important;
        overflow: visible !important;
        align-items: stretch !important;
        width: 100%;
        margin-top: 40px;
    }

    /* Rows become transparent to grid - Direct Children Promotion */
    .services-row,
    .services-carousel {
        display: contents !important;
        /* Children become direct grid items of wrapper */
    }

    /* Cards - Equal Height & Premium Style */
    .service-item,
    .service-card {
        min-width: auto !important;
        max-width: none !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        background: white;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        height: 360px;
    }

    /* Image Container - Fixed Height */
    .service-img,
    .service-image-wrapper {
        position: relative;
        width: 100%;
        height: 170px !important;
        flex-shrink: 0;
        overflow: hidden;
    }

    .service-image,
    .service-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Hide button on image for desktop */
    .service-img .btn-selection-trigger {
        display: none !important;
    }

    /* Content Area - Flex Layout with Fixed Structure */
    .service-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 20px;
        height: 190px;
        justify-content: space-between;
    }

    .service-content h3 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 8px;
        color: var(--text-primary);
        line-height: 1.3;
        letter-spacing: -0.3px;
        flex-shrink: 0;
    }

    .service-content p {
        font-size: 14px;
        color: var(--text-secondary);
        line-height: 1.6;
        margin: 0 0 16px 0;
        flex: 1;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    /* Button in Content Area - Always Same Position */
    .service-content .btn-selection-trigger,
    .service-card .btn-selection-trigger:not(.service-img .btn-selection-trigger) {
        display: inline-flex !important;
        align-items: center;
        gap: 5px;
        padding: 8px 16px;
        font-size: 11px;
        font-weight: 700;
        border-radius: 8px;
        background: var(--red-brand);
        color: white;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        align-self: flex-start;
        margin-top: auto;
        flex-shrink: 0;
    }

    .service-content .btn-selection-trigger:hover,
    .service-card .btn-selection-trigger:hover {
        background: var(--red-dark);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    }

    .service-content .btn-selection-trigger i,
    .service-card .btn-selection-trigger i {
        font-size: 11px;
    }

    /* Premium Hover Effect */
    .service-item:hover,
    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
    }

    /* ========================================
       AREAS OF SERVICE (Desktop Refinements)
       ======================================== */
    .areas-section {
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 30px;
        /* Tighter Gap (Total ~60px with Curated) */
        padding-bottom: 30px;
    }

    /* Grouped Header Block */
    .header-action-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 30px;
        width: 100%;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .header-action-group p,
    .header-action-group .status-indicator-wrapper {
        margin: 0 !important;
    }

    .header-action-group .area-search-wrapper {
        margin: 0 !important;
        width: 100%;
        max-width: 480px;
    }

    .areas-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        /* 4 Columns for Wide Desktop Look */
        gap: 16px;
        margin-bottom: 24px;
        max-width: 100% !important;
        /* Fix: Enforce full width */
        width: 100%;
    }

    .area-chip {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #fff;
        padding: 12px 16px;
        border-radius: 12px;
        border: 1px solid #f0f0f0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
        transition: all 0.2s ease;
    }

    .area-chip:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-color: #e5e7eb;
    }

    /* Force show all cities on Desktop (Override Mobile 'Show More' Logic) */
    .area-chip:nth-child(n+5) {
        max-height: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        overflow: visible !important;
        padding: 12px 16px !important;
        margin: 0 !important;
        border-width: 1px !important;
        transform: none !important;
    }

    .btn-show-more {
        background: transparent;
        border: 1px solid #d1d5db;
        /* Subtle Gray Outline */
        color: #6b7280;
        /* Low contrast text */
        padding: 10px 24px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.2s;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .btn-show-more:hover {
        border-color: #374151;
        color: #111;
        background: #f3f4f6;
    }

    /* ========================================
       TESTIMONIALS (Desktop Carousel - Solid Container)
       ======================================== */

    .testimonials-section {
        background: transparent !important;
        /* Pure Look on Desktop */
        max-width: 100% !important;
        /* Allow background to span full width */
        width: 100%;
        margin: 0;
        padding: 60px 0;
        /* Vertical breathing room */
        overflow: visible !important;
        /* Critical: Allow arrows to hang outside */
    }

    .testimonials-header {
        max-width: 800px;
        margin: 0 auto 40px;
        text-align: center;
        padding: 0 20px;
    }

    .testimonials-header h3 {
        font-size: 32px;
        font-weight: 900;
        color: #111;
        margin-bottom: 8px;
    }

    .testimonials-header p {
        color: #666;
        font-size: 16px;
    }

    /* New Wrapper for Constraint + Arrow Context */
    .reviews-desktop-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        position: relative;
        /* Arrows stick to this */
        padding: 0 10px;
        /* Slight safety for small screens */
    }

    .reviews-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 24px;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 40px;
        /* Shadow space */
        justify-content: flex-start;
    }

    .reviews-grid::-webkit-scrollbar {
        display: none;
    }

    .review-card {
        min-width: 360px;
        /* Slightly wider for premium feel */
        max-width: 360px;
        flex: 0 0 auto;
        height: auto;
    }

    /* Navigation Arrows - Hanging Outside Grid */
    .review-nav-btn {
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        width: 56px;
        /* Larger, more solid */
        height: 56px;
        border-radius: 50%;
        background: white;
        border: 1px solid #e5e7eb;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #333;
        z-index: 50;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        opacity: 1;
    }

    .review-nav-btn:hover {
        background: var(--red-brand);
        color: white;
        border-color: var(--red-brand);
        box-shadow: 0 12px 28px rgba(230, 57, 70, 0.3);
        transform: translateY(-50%) scale(1.05);
    }

    /* Hanging positioning */
    .prev-btn {
        left: -28px;
    }

    .next-btn {
        right: -28px;
    }

    @media (max-width: 1280px) {

        /* If screen is tight, pull arrows inside or hide */
        .prev-btn {
            left: 10px;
        }

        .next-btn {
            right: 10px;
        }
    }

    /* Hide on Tablet/Mobile */
    @media (max-width: 1024px) {
        .review-nav-btn {
            display: none !important;
        }
    }




}

/* Large Desktop: 1440px+ */
@media (min-width: 1440px) {

    .header-container,
    .curated-section,
    .coverage-section,
    .services-section,
    .testimonials-section {
        max-width: 1280px;
    }
}

/* ========================================
   MODAL PC OPTIMIZATIONS (Complete View)
   ======================================== */
@media (min-width: 1024px) {
    .service-modal {
        align-items: center !important;
        /* Center vertically */
        padding: 40px;
    }

    .modal-card {
        max-width: 750px !important;
        /* Comfortable PC width */
        width: 100% !important;
        height: auto !important;
        /* Allow content to define height */
        max-height: 85vh !important;
        /* Prevent cutoff */
        border-radius: 24px !important;
        box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25) !important;
        margin: 0 auto;
        /* Reset Bottom Sheet Transform for simple Fade/Scale */
        transform: scale(0.95);
        opacity: 0;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .service-modal.active .modal-card {
        transform: scale(1) !important;
        opacity: 1 !important;
    }

    .modal-content-wrapper {
        border-radius: 0 !important;
        margin-top: 0 !important;
        padding-bottom: 0 !important;
        min-height: auto !important;
        background: transparent !important;
    }

    /* Adjust scrolling behavior for PC */
    .modal-scroll-body {
        overflow-y: auto !important;
        padding-bottom: 100px;
        /* Space for sticky footer */
    }

    /* Sticky footer optimized for PC */
    .modal-sticky-footer {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 1000 !important;
        /* Ensure it's on top */
        border-radius: 0 0 24px 24px;
        background: white !important;
        box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12) !important;
        /* Stronger shadow */
    }

    /* Force visibility on desktop when scrolled */
    .modal-sticky-footer.is-visible {
        transform: translateY(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Ensure footer content is visible */
    .footer-content-wrapper {
        padding: 20px 24px;
    }

    /* Larger Hero for PC */
    .modal-hero-container {
        height: 320px !important;
    }
}

/* ========================================
   MODAL REVIEW ARROWS & RELATED GRID (PC)
   ======================================== */
@media (min-width: 1024px) {

    /* Anchoring */
    .section-reviews {
        position: relative;
    }

    .modal-review-nav {
        display: flex !important;
        /* Reveal on PC */
        position: absolute;
        top: 60%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: white;
        border: 1px solid #e5e7eb;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 100;
        /* Ensure on top */
        color: #333;
        transition: all 0.2s;
    }

    .modal-review-nav:hover {
        background: var(--red-brand);
        color: white;
        border-color: var(--red-brand);
        transform: translateY(-50%) scale(1.1);
    }

    .modal-review-nav.prev-btn {
        left: 0px;
        /* Aligned with edge */
    }

    .modal-review-nav.next-btn {
        right: 0px;
        /* Aligned with edge */
    }

    /* Related Services: Full Width Grid */
    .related-services-scroll {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 16px !important;
        overflow: visible !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: space-between;
    }

    .related-card {
        flex: unset !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    /* ========================================
       MODAL REVIEWS - CLEAN WHITE BACKGROUND
       ======================================== */
    .section-reviews {
        background: white !important;
        /* Remove any gray background */
        padding: 32px 0 !important;
    }

    .reviews-horizontal-carousel {
        overflow: visible !important;
        /* Allow cards to show shadows fully */
        padding-bottom: 20px !important;
        /* Space for shadows */
        background: transparent !important;
    }

    .review-card-large {
        background: white !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        /* Premium floating shadow */
        border-radius: 16px !important;
        border: 1px solid #f0f0f0 !important;
    }
}

/* ========================================
   SERVICES SECTION (CATALOG) - DESKTOP
   ======================================== */
@media (min-width: 1024px) {
    .services-section {
        max-width: 1400px;
        /* Increased to fill more screen */
        margin: 0 auto;
        padding: 100px 40px;
        /* More horizontal padding */
    }

    .services-grid-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3-column for standard desktop */
        gap: 32px;
        /* Increased gap for premium feel */
        max-width: 100%;
        overflow: visible;
    }

    .services-row {
        display: contents;
        /* Flatten rows into single grid */
    }

    .service-card {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 20px;
        /* Larger radius for premium feel */
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        /* Deeper initial shadow */
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        cursor: pointer;
        height: 100%;
        border: 2px solid #f5f5f5;
        /* Thicker border */
    }

    .service-card:hover {
        transform: translateY(-8px) scale(1.02);
        /* Subtle scale on hover */
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
        border-color: var(--red-brand);
    }

    .service-img {
        position: relative;
        overflow: hidden;
        height: 280px;
        /* INCREASED: More prominent image */
        flex-shrink: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.05) 100%);
    }

    .service-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .service-card:hover .service-img img {
        transform: scale(1.1);
    }

    /* Premium Action Button */
    .btn-selection-trigger {
        position: absolute;
        bottom: 16px;
        right: 16px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--red-brand);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s;
        opacity: 0;
        transform: translateY(10px);
    }

    .service-card:hover .btn-selection-trigger {
        opacity: 1;
        transform: translateY(0);
        background: var(--red-brand);
        color: white;
        border-color: var(--red-brand);
    }

    .btn-selection-trigger i {
        margin-left: 8px;
        transition: transform 0.3s;
    }

    .service-card:hover .btn-selection-trigger i {
        transform: translateX(4px);
    }

    .service-content {
        padding: 28px;
        /* Increased padding */
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 12px;
    }

    /* Enhanced Typography Hierarchy */
    .service-content h3 {
        font-size: 1.35rem;
        /* INCREASED: More prominent titles */
        font-weight: 800;
        /* Bolder for hierarchy */
        margin-bottom: 8px;
        color: #1a1a1a;
        letter-spacing: -0.02em;
        line-height: 1.3;
    }

    .service-content p {
        font-size: 0.95rem;
        /* Slightly larger */
        color: #666;
        line-height: 1.6;
        font-weight: 500;
    }

    /* Section Title - Enhanced */
    .services-section .section-title {
        font-size: 2.5rem;
        /* Larger, more impactful */
        text-align: center;
        margin-bottom: 64px;
        /* More space before grid */
        font-weight: 800;
        line-height: 1.2;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        white-space: normal;
        word-wrap: break-word;
        padding: 0 20px;
        color: #1a1a1a;
        letter-spacing: -0.03em;
        /* Tighter for premium feel */
    }

    /* Add subtle badge for visual interest */
    .service-card::before {
        content: '';
        position: absolute;
        top: 20px;
        left: 20px;
        width: 8px;
        height: 8px;
        background: var(--green-brand);
        border-radius: 50%;
        z-index: 10;
        box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.4);
        animation: pulse-badge 2s infinite;
    }

    @keyframes pulse-badge {
        0% {
            box-shadow: 0 0 0 0 rgba(45, 106, 79, 0.4);
        }

        70% {
            box-shadow: 0 0 0 10px rgba(45, 106, 79, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(45, 106, 79, 0);
        }
    }
}

/* ========================================
   EXTRA WIDE SCREENS - 4 COLUMN LAYOUT
   ======================================== */
@media (min-width: 1600px) {
    .services-section {
        max-width: 1600px;
        /* Fill even wider screens */
        padding: 100px 60px;
    }

    .services-grid-wrapper {
        grid-template-columns: repeat(4, 1fr);
        /* 4 columns for wide screens */
        gap: 36px;
        /* Slightly larger gap */
    }
}

/* ========================================
   CONSISTENT SECTION WIDTHS & SPACING
   ======================================== */
@media (min-width: 1024px) {

    /* All major sections share same max-width for visual consistency */
    .curated-section,
    .areas-section,
    .testimonials-section {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 40px;
        padding-right: 40px;
    }

    /* Reduce excessive spacing between sections */
    .curated-section {
        padding-bottom: 40px;
        /* Reduced from excessive spacing */
    }

    .curated-footer {
        margin-top: 48px;
        /* Consistent spacing for button */
    }

    .areas-section {
        padding-top: 40px;
        /* Reduced to close gap */
        padding-bottom: 60px;
    }

    .testimonials-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    /* Ensure consistent grid layouts */
    .areas-grid {
        max-width: 100% !important;
    }

    .reviews-grid {
        max-width: 100% !important;
    }
}