/* ============================================
   CMP Elementor — Component CSS v1.0
   Clean single-file, ordered breakpoints
   ============================================ */

/* ── Global overflow fix ── */
html, body { overflow-x: hidden !important; max-width: 100%; }

[class*="elementor-widget-cmp_"] {
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* ── CSS Variables ── */
:root {
    /* ── Elementor Global Color hooks ──
       Set these in Elementor → Site Settings → Global Colors:
       Primary   → your main brand color  (orange for Cloud Media)
       Secondary → your accent color      (blue for Cloud Media)
       ─────────────────────────────────────────────────────── */
    --cmp-orange:       var(--e-global-color-primary,   #f5921e);
    --cmp-orange-dark:  var(--e-global-color-accent,    #e07810);
    --cmp-blue:         var(--e-global-color-secondary, #2e7fd4);
    --cmp-blue-dark:    var(--e-global-color-text,      #1a5faa);

    /* ── Derived / fixed values ── */
    --cmp-bg:           #ffffff;
    --cmp-bg-light:     #f7f9fc;
    --cmp-bg-card:      #ffffff;
    --cmp-blue-light:   #5aa3e8;
    --cmp-blue-pale:    #e4f0fb;
    --cmp-orange-light: #f7a94a;
    --cmp-orange-pale:  #fef3e4;
    --cmp-text:         #1a1a2e;
    --cmp-text-muted:   #5a6577;
    --cmp-text-dim:     #8e99a8;
    --cmp-border:       #e4e9f0;
    --cmp-border-light: #f0f3f7;
    --cmp-radius:       14px;
    --cmp-shadow-sm:    0 2px 8px rgba(0,0,0,0.04);
    --cmp-shadow-md:    0 8px 30px rgba(0,0,0,0.06);
    --cmp-shadow-lg:    0 20px 60px rgba(0,0,0,0.08);
}

/* ── Box sizing for all widget children ── */
.cmp-services-grid *, .cmp-carousel-wrapper *, .cmp-stats-grid *,
.cmp-reel-container *, .cmp-why-grid *, .cmp-testimonials-grid *,
.cmp-test-slider-wrapper *, .cmp-cta-buttons *, .cmp-pricing-grid *,
.cmp-re-services-grid *, .cmp-process-timeline *, .cmp-gallery-grid *,
.cmp-trust-grid *, .cmp-faq-list * { box-sizing: border-box; }

/* Reset heading/paragraph default margins inside widgets */
[class*="elementor-widget-cmp_"] h1,
[class*="elementor-widget-cmp_"] h2,
[class*="elementor-widget-cmp_"] h3,
[class*="elementor-widget-cmp_"] h4,
[class*="elementor-widget-cmp_"] h5,
[class*="elementor-widget-cmp_"] h6,
[class*="elementor-widget-cmp_"] p {
    margin: 0;
}

/* ── Scroll Reveal ── */
.cmp-reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.cmp-reveal.cmp-visible { opacity: 1; transform: translateY(0); }
.cmp-reveal-delay-1 { transition-delay: 0.1s; }
.cmp-reveal-delay-2 { transition-delay: 0.2s; }
.cmp-reveal-delay-3 { transition-delay: 0.3s; }
.cmp-reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   BUTTONS
   ============================================ */
.cmp-btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, var(--cmp-orange), var(--cmp-orange-dark));
    color: #fff; border: none; border-radius: 10px;
    font-weight: 600; font-size: 0.9rem; cursor: pointer;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(245,146,30,0.35);
    font-family: 'Inter', sans-serif;
}
.cmp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,146,30,0.5); color: #fff; text-decoration: none; }
.cmp-btn-primary.cmp-blue { background: linear-gradient(135deg, var(--cmp-blue), var(--cmp-blue-dark)); box-shadow: 0 4px 20px rgba(46,127,212,0.3); }
.cmp-btn-primary.cmp-blue:hover { box-shadow: 0 8px 30px rgba(46,127,212,0.4); }
.cmp-btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2.25rem; background: var(--cmp-bg);
    color: var(--cmp-text); border: 1px solid var(--cmp-border); border-radius: 10px;
    font-weight: 500; font-size: 0.9rem; cursor: pointer;
    text-decoration: none; transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.cmp-btn-secondary:hover { border-color: var(--cmp-blue); color: var(--cmp-blue); box-shadow: var(--cmp-shadow-sm); text-decoration: none; }

/* ============================================
   HERO SECTION
   ============================================ */
.cmp-hero-section {
    position: relative; display: flex; align-items: center; justify-content: center;
    min-height: 85vh; overflow: hidden;
}
.cmp-hero-blobs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.cmp-hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.6; }
.cmp-hero-blob-1 { width: 500px; height: 500px; top: -100px; left: -150px; }
.cmp-hero-blob-2 { width: 350px; height: 350px; bottom: -80px; left: 50px; opacity: 0.4; }
.cmp-hero-blob-3 { width: 400px; height: 400px; top: -80px; right: -100px; opacity: 0.5; }
.cmp-hero-inner { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; }
.cmp-hero-badge-wrap { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.cmp-hero-badge {
    display: inline-flex; align-items: center; padding: 0.5rem 1.5rem;
    background: #e4f0fb; border-radius: 50px; border: 1px solid rgba(46,127,212,0.2);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; color: var(--cmp-blue-dark); font-family: 'Inter', sans-serif;
}
.cmp-hero-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 700; line-height: 1.1;
    color: var(--cmp-text); margin-bottom: 1.5rem;
}
.cmp-hero-heading em { font-style: italic; color: var(--cmp-blue); }
.cmp-hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--cmp-text-muted);
    line-height: 1.7; margin-bottom: 2.5rem;
}
.cmp-hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.cmp-hero-btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2.25rem;
    background: linear-gradient(135deg, var(--cmp-orange), var(--cmp-orange-dark));
    color: #fff; border: none; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; text-decoration: none; transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(245,146,30,0.35); font-family: 'Inter', sans-serif;
}
.cmp-hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,146,30,0.5); color: #fff; text-decoration: none; }
.cmp-hero-btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 1rem 2.25rem;
    background: transparent; color: var(--cmp-text); border: 1px solid var(--cmp-border);
    border-radius: 10px; font-weight: 500; font-size: 0.9rem; cursor: pointer;
    text-decoration: none; transition: all 0.3s; font-family: 'Inter', sans-serif;
}
.cmp-hero-btn-secondary:hover { border-color: var(--cmp-blue); color: var(--cmp-blue); text-decoration: none; }

/* ============================================
   PRODUCTION SERVICES
   ============================================ */
.cmp-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cmp-service-card {
    position: relative; border-radius: var(--cmp-radius); overflow: hidden;
    aspect-ratio: 3/4; min-height: 200px; cursor: pointer;
    border: 1px solid var(--cmp-border-light);
    transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
}
.cmp-service-card:hover { transform: translateY(-6px); box-shadow: var(--cmp-shadow-lg); border-color: transparent; }
.cmp-service-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.cmp-service-card:hover .cmp-service-card-bg { transform: scale(1.08); }
.cmp-service-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,20,35,0.92) 0%, rgba(15,20,35,0.4) 40%, rgba(15,20,35,0.1) 100%); transition: background 0.4s; }
.cmp-service-card:hover::after { background: linear-gradient(to top, rgba(15,20,35,0.95) 0%, rgba(15,20,35,0.5) 50%, rgba(15,20,35,0.2) 100%); }
.cmp-service-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 2rem 1.75rem; z-index: 2; color: #fff; }
.cmp-service-card-icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.2rem; border: 1px solid rgba(255,255,255,0.1); }
.cmp-service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.5rem; }
.cmp-service-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); line-height: 1.6; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s, opacity 0.4s, margin 0.4s; margin: 0; }
.cmp-service-card:hover p { max-height: 80px; opacity: 1; margin-bottom: 0.75rem; }
.cmp-service-card .cmp-learn-more { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; font-weight: 600; color: var(--cmp-orange-light); text-decoration: none; opacity: 0; transform: translateY(8px); transition: opacity 0.3s 0.1s, transform 0.3s 0.1s; }
.cmp-service-card:hover .cmp-learn-more { opacity: 1; transform: translateY(0); }

/* ============================================
   PORTFOLIO CAROUSEL (JS-driven, no CSS animation)
   ============================================ */
.cmp-carousel-wrapper { overflow: hidden; position: relative; width: 100%; contain: layout style; }
.cmp-carousel-row { display: flex; gap: 1rem; will-change: transform; }
.cmp-carousel-row-2 { margin-top: 1rem; }
.cmp-carousel-item {
    flex-shrink: 0; width: 350px; height: 240px;
    border-radius: var(--cmp-radius); overflow: hidden; position: relative;
    cursor: pointer; border: 1px solid var(--cmp-border-light); transition: transform 0.3s, box-shadow 0.3s;
}
.cmp-carousel-item:hover { transform: scale(1.03); box-shadow: var(--cmp-shadow-lg); z-index: 2; }
.cmp-carousel-item-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s; }
.cmp-carousel-item:hover .cmp-carousel-item-bg { transform: scale(1.08); }
.cmp-carousel-item-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,20,35,0.85) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; color: #fff; opacity: 0; transition: opacity 0.3s; }
.cmp-carousel-item:hover .cmp-carousel-item-overlay { opacity: 1; }
.cmp-carousel-item-overlay span { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cmp-orange); font-weight: 700; }
.cmp-carousel-item-overlay h4 { font-size: 0.95rem; font-weight: 600; margin-top: 0.2rem; }
/* Carousel row visibility: desktop vs mobile */
.cmp-car-desk-1 .cmp-carousel-row-2 { display: none; }
@media (max-width: 768px) {
    .cmp-car-mob-1 .cmp-carousel-row-2 { display: none !important; }
    .cmp-car-mob-2 .cmp-carousel-row-2 { display: flex !important; }
}

/* Lightbox */
.cmp-lightbox { display: none; position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); align-items: center; justify-content: center; padding: 2rem; cursor: pointer; }
.cmp-lightbox.cmp-active { display: flex; }
.cmp-lightbox-content { max-width: 900px; width: 100%; border-radius: var(--cmp-radius); overflow: hidden; position: relative; cursor: default; }
.cmp-lightbox-img { width: 100%; aspect-ratio: 16/10; background-size: cover; background-position: center; }
.cmp-lightbox-info { background: #fff; padding: 1.5rem 2rem; }
.cmp-lightbox-info span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cmp-orange); font-weight: 700; }
.cmp-lightbox-info h3 { font-size: 1.25rem; font-weight: 700; margin-top: 0.25rem; color: var(--cmp-text); }
.cmp-lightbox-info p { font-size: 0.9rem; color: var(--cmp-text-muted); margin-top: 0.5rem; }
.cmp-lightbox-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; line-height: 1; }
.cmp-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; transition: background 0.3s; backdrop-filter: blur(5px); }
.cmp-lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.cmp-lightbox-prev { left: -60px; }
.cmp-lightbox-next { right: -60px; }

/* ============================================
   STATS COUNTER
   ============================================ */
.cmp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.cmp-stat-item { text-align: center; padding: 2rem 1rem; }
.cmp-stat-number { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 700; color: var(--cmp-orange); line-height: 1; }
.cmp-stat-label { font-size: 0.8rem; color: var(--cmp-text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 0.75rem; }

/* ============================================
   SHOWREEL
   ============================================ */
.cmp-reel-container { position: relative; border-radius: var(--cmp-radius); overflow: hidden; aspect-ratio: 16/9; background: linear-gradient(135deg, #1a2744, #2b4a7a, #1a3356); border: 1px solid var(--cmp-border); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--cmp-shadow-lg); }
.cmp-reel-play { position: relative; z-index: 2; width: 90px; height: 90px; border-radius: 50%; background: rgba(245,146,30,0.2); border: 2px solid var(--cmp-orange); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.cmp-reel-play::after { content: ''; width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent var(--cmp-orange); margin-left: 4px; }
.cmp-reel-container:hover .cmp-reel-play { background: rgba(245,146,30,0.35); transform: scale(1.1); box-shadow: 0 0 40px rgba(245,146,30,0.3); }
.cmp-reel-text { position: absolute; bottom: 2rem; left: 2rem; z-index: 2; color: #fff; }
.cmp-reel-text h3 { font-size: 1.5rem; font-weight: 600; }
.cmp-reel-text p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 0.25rem; }

/* ============================================
   WHY US
   ============================================ */
.cmp-why-grid { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: stretch; }
.cmp-why-features-col { flex: 1 1 0; min-width: 0; padding: 1rem 0; display: flex; flex-direction: column; justify-content: center; }
.cmp-why-image-col { flex: 0 0 45%; max-width: 45%; }
.cmp-why-features { display: flex; flex-direction: column; gap: 1.5rem; }
.cmp-why-feature { display: flex; gap: 1.25rem; padding: 1.25rem 1.5rem; border-radius: var(--cmp-radius); border: 1px solid transparent; transition: all 0.3s; }
.cmp-why-feature:hover { background: var(--cmp-bg-light); border-color: var(--cmp-border-light); box-shadow: var(--cmp-shadow-sm); }
.cmp-why-feature-icon { flex-shrink: 0; width: 46px; height: 46px; min-width: 46px; min-height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; line-height: 1; align-self: flex-start; margin-top: 3px; box-sizing: content-box; }
.cmp-why-feature-text { flex: 1; min-width: 0; padding-top: 2px; }
.cmp-why-feature:nth-child(odd) .cmp-why-feature-icon { background: var(--cmp-blue-pale); }
.cmp-why-feature:nth-child(even) .cmp-why-feature-icon { background: var(--cmp-orange-pale); }
.cmp-why-feature h4 { font-size: 1rem; font-weight: 700; margin: 0 0 0.35rem; line-height: 1.3; color: var(--cmp-text); }
.cmp-why-feature p { font-size: 0.85rem; color: var(--cmp-text-muted); line-height: 1.6; margin: 0; }
.cmp-why-section-header { margin-bottom: 2.5rem; }
.cmp-why-section-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--cmp-blue); font-family: 'Inter', sans-serif; margin-bottom: 0.75rem; }
.cmp-why-section-heading { font-family: 'Playfair Display', serif; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; color: var(--cmp-text); margin: 0; }
.cmp-why-section-heading em { font-style: italic; color: var(--cmp-blue); }
.cmp-why-image { position: relative; width: 100%; height: 600px; overflow: hidden; background: linear-gradient(135deg, #e4f0fb, #d4ecfa); border-radius: var(--cmp-radius); }
.cmp-why-image img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.cmp-why-image-badge { position: absolute; bottom: 1.5rem; left: 1.5rem; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 1rem 1.5rem; border-radius: 12px; border: 1px solid var(--cmp-border-light); box-shadow: var(--cmp-shadow-md); }
.cmp-why-image-badge .cmp-stat-number { font-size: 2rem; color: var(--cmp-blue); }
.cmp-why-image-badge .cmp-stat-label { margin-top: 0.25rem; font-size: 0.7rem; color: var(--cmp-text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ============================================
   TESTIMONIALS GRID
   ============================================ */
.cmp-testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.5rem; }
.cmp-testimonial-card { background: var(--cmp-bg-card); border: 1px solid var(--cmp-border-light); border-radius: var(--cmp-radius); padding: 2.5rem 2rem; transition: all 0.3s; }
.cmp-testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--cmp-shadow-lg); border-color: transparent; }
.cmp-testimonial-stars { color: var(--cmp-orange); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 1.25rem; }
.cmp-testimonial-text { font-size: 1rem; line-height: 1.8; color: var(--cmp-text-muted); margin-bottom: 1.5rem; font-style: italic; }
.cmp-testimonial-author { display: flex; align-items: center; gap: 1rem; }
.cmp-testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: #fff; }
.cmp-testimonial-card:nth-child(odd) .cmp-testimonial-avatar { background: linear-gradient(135deg, var(--cmp-blue), var(--cmp-blue-dark)); }
.cmp-testimonial-card:nth-child(even) .cmp-testimonial-avatar { background: linear-gradient(135deg, var(--cmp-orange), var(--cmp-orange-dark)); }
.cmp-testimonial-name { font-weight: 700; font-size: 0.9rem; }
.cmp-testimonial-role { font-size: 0.75rem; color: var(--cmp-text-dim); margin-top: 0.15rem; }

/* ============================================
   TESTIMONIAL SLIDER
   ============================================ */
.cmp-test-slider-wrapper { max-width: 800px; margin: 0 auto; position: relative; }
.cmp-test-slider { position: relative; overflow: hidden; transition: height 0.4s ease; }
.cmp-test-track { display: flex; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.cmp-test-slide { min-width: 100%; text-align: center; padding: 0 1rem; opacity: 0; visibility: hidden; transition: opacity 0.4s ease; }
.cmp-test-slide.cmp-slide-active { opacity: 1; visibility: visible; }
.cmp-test-slide .cmp-testimonial-stars { color: var(--cmp-orange); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 2rem; }
.cmp-test-slide blockquote { font-family: 'Playfair Display', serif; font-size: clamp(1.2rem, 2.5vw, 1.7rem); font-weight: 400; line-height: 1.6; font-style: italic; margin: 0 0 2rem 0; border: none; padding: 0; }
.cmp-test-slide .cmp-author-info { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.cmp-test-slide .cmp-author-avatar { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--cmp-orange), var(--cmp-orange-dark)); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; color: #fff; flex-shrink: 0; }
.cmp-test-slide .cmp-author-text { text-align: left; }
.cmp-test-slide .cmp-author-name { font-size: 1rem; font-weight: 600; }
.cmp-test-slide .cmp-author-role { font-size: 0.8rem; color: var(--cmp-text-muted); margin-top: 0.2rem; }
.cmp-test-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2.5rem; }
.cmp-test-btn { width: 44px !important; height: 44px !important; border-radius: 50% !important; background: var(--cmp-bg-light); border: 1px solid var(--cmp-border) !important; color: var(--cmp-text); display: flex !important; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; transition: all 0.3s; padding: 0 !important; min-width: 0 !important; min-height: 0 !important; }
.cmp-test-btn:hover { background: var(--cmp-orange); border-color: var(--cmp-orange); color: #fff; }
.cmp-test-dots { display: flex; align-items: center; gap: 0.5rem; }
.cmp-test-dot { width: 10px !important; height: 10px !important; border-radius: 50% !important; background: var(--cmp-border); border: none !important; cursor: pointer; transition: all 0.3s; padding: 0 !important; flex-shrink: 0; min-width: 0 !important; min-height: 0 !important; }
.cmp-test-dot.cmp-active { background: var(--cmp-orange); width: 28px !important; border-radius: 5px !important; }

/* ============================================
   CTA BUTTONS
   ============================================ */
.cmp-cta-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============================================
   PRICING CARDS
   ============================================ */
.cmp-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; align-items: start; }
.cmp-pricing-card { background: var(--cmp-bg-card); border: 1px solid var(--cmp-border-light); border-radius: var(--cmp-radius); padding: 2.5rem 2rem; position: relative; transition: all 0.3s; }
.cmp-pricing-card:hover { transform: translateY(-4px); box-shadow: var(--cmp-shadow-lg); border-color: transparent; }
.cmp-pricing-card.cmp-featured { border-color: var(--cmp-blue); box-shadow: 0 0 0 1px var(--cmp-blue), var(--cmp-shadow-lg); }
.cmp-pricing-card.cmp-featured::before { content: 'Most Popular'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 0.35rem 1.25rem; background: linear-gradient(135deg, var(--cmp-blue), var(--cmp-blue-dark)); color: #fff; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 50px; }
.cmp-pricing-tier { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 0.75rem; color: var(--cmp-blue); }
.cmp-pricing-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.cmp-pricing-desc { font-size: 0.85rem; color: var(--cmp-text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.cmp-pricing-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--cmp-border-light); }
.cmp-pricing-amount { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--cmp-text); }
.cmp-pricing-period { font-size: 0.85rem; color: var(--cmp-text-dim); }
.cmp-pricing-features { list-style: none; margin: 0 0 2rem; padding: 0; }
.cmp-pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; font-size: 0.85rem; color: var(--cmp-text-muted); }
.cmp-pricing-features li::before { content: '\2713'; font-weight: 700; flex-shrink: 0; margin-top: 1px; color: var(--cmp-blue); }
.cmp-pricing-card .cmp-btn-primary, .cmp-pricing-card .cmp-btn-secondary { width: 100%; justify-content: center; }

/* ============================================
   RE SERVICES
   ============================================ */
.cmp-re-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cmp-re-service-card { background: var(--cmp-bg-card); border: 1px solid var(--cmp-border-light); border-radius: var(--cmp-radius); overflow: hidden; transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.cmp-re-service-card:hover { transform: translateY(-4px); box-shadow: var(--cmp-shadow-lg); border-color: transparent; }
.cmp-re-service-card.cmp-no-hover:hover { transform: none; box-shadow: none; }
.cmp-re-service-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.cmp-re-service-card:nth-child(odd) .cmp-re-service-thumb { background: linear-gradient(135deg, #d4ecfa, #e8f4fd); }
.cmp-re-service-card:nth-child(even) .cmp-re-service-thumb { background: linear-gradient(135deg, #fef3e6, #fde8cd); }
.cmp-re-service-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--cmp-bg-card) 0%, transparent 40%); }
.cmp-re-service-number { position: absolute; top: 1rem; left: 1.25rem; font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; z-index: 1; }
.cmp-re-service-card:nth-child(odd) .cmp-re-service-number { color: rgba(46,127,212,0.15); }
.cmp-re-service-card:nth-child(even) .cmp-re-service-number { color: rgba(245,146,30,0.15); }
.cmp-re-service-body { padding: 1.5rem 1.75rem 2rem; }
.cmp-re-service-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.cmp-re-service-body p { font-size: 0.85rem; color: var(--cmp-text-muted); line-height: 1.7; margin: 0; }
.cmp-re-service-features { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cmp-re-service-tag { padding: 0.3rem 0.75rem; border-radius: 50px; font-size: 0.7rem; font-weight: 500; }
.cmp-re-service-card:nth-child(odd) .cmp-re-service-tag { background: var(--cmp-blue-pale); color: var(--cmp-blue-dark); }
.cmp-re-service-card:nth-child(even) .cmp-re-service-tag { background: var(--cmp-orange-pale); color: var(--cmp-orange-dark); }

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.cmp-process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.cmp-process-timeline::before { content: ''; position: absolute; top: 40px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--cmp-blue), var(--cmp-orange)); opacity: 0.2; }
.cmp-process-step { text-align: center; padding: 0 1.5rem; position: relative; }
.cmp-process-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--cmp-bg); border: 2px solid var(--cmp-blue); margin: 30px auto 1.5rem; position: relative; z-index: 1; transition: all 0.3s; }
.cmp-process-step:nth-child(even) .cmp-process-dot { border-color: var(--cmp-orange); }
.cmp-process-step:hover .cmp-process-dot { background: var(--cmp-blue); box-shadow: 0 0 20px rgba(46,127,212,0.3); }
.cmp-process-step:nth-child(even):hover .cmp-process-dot { background: var(--cmp-orange); box-shadow: 0 0 20px rgba(245,146,30,0.3); }
.cmp-process-num { font-family: 'Playfair Display', serif; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.5rem; }
.cmp-process-step:nth-child(odd) .cmp-process-num { color: var(--cmp-blue); }
.cmp-process-step:nth-child(even) .cmp-process-num { color: var(--cmp-orange); }
.cmp-process-step h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.cmp-process-step p { font-size: 0.8rem; color: var(--cmp-text-muted); line-height: 1.6; margin: 0; }

/* ============================================
   GALLERY GRID
   ============================================ */
.cmp-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 1rem; }
.cmp-gallery-item { position: relative; border-radius: var(--cmp-radius); overflow: hidden; background: var(--cmp-bg-card); border: 1px solid var(--cmp-border-light); cursor: pointer; }
.cmp-gallery-item:first-child { grid-column: 1 / 3; grid-row: 1 / 3; }
.cmp-gallery-item-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.cmp-gallery-item:hover .cmp-gallery-item-bg { transform: scale(1.05); }
.cmp-gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,39,68,0.85) 0%, transparent 50%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: #fff; opacity: 0; transition: opacity 0.4s; }
.cmp-gallery-item:hover .cmp-gallery-overlay { opacity: 1; }
.cmp-gallery-overlay span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cmp-orange); font-weight: 700; }
.cmp-gallery-overlay h4 { font-size: 1rem; font-weight: 600; margin-top: 0.25rem; }

/* ============================================
   TRUST CARDS
   ============================================ */
.cmp-trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.cmp-trust-card { text-align: center; padding: 2.5rem 1.5rem; background: var(--cmp-bg-card); border: 1px solid var(--cmp-border-light); border-radius: var(--cmp-radius); transition: all 0.3s; }
.cmp-trust-card:hover { transform: translateY(-3px); box-shadow: var(--cmp-shadow-lg); border-color: transparent; }
.cmp-trust-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; font-size: 1.5rem; }
.cmp-trust-card:nth-child(odd) .cmp-trust-icon { background: var(--cmp-blue-pale); }
.cmp-trust-card:nth-child(even) .cmp-trust-icon { background: var(--cmp-orange-pale); }
.cmp-trust-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.cmp-trust-card p { font-size: 0.85rem; color: var(--cmp-text-muted); line-height: 1.6; margin: 0; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.cmp-faq-list { max-width: 750px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.cmp-faq-item { background: var(--cmp-bg-card); border: 1px solid var(--cmp-border-light); border-radius: var(--cmp-radius); overflow: hidden; transition: box-shadow 0.3s; }
.cmp-faq-item:hover { box-shadow: var(--cmp-shadow-sm); }
.cmp-faq-question { width: 100%; padding: 1.25rem 1.5rem; background: none; border: none; color: var(--cmp-text); font-size: 0.95rem; font-weight: 700; text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: 'Inter', sans-serif; transition: color 0.3s; }
.cmp-faq-question:hover { color: var(--cmp-blue); }
.cmp-faq-icon { font-size: 1.2rem; color: var(--cmp-orange); transition: transform 0.3s; flex-shrink: 0; }
.cmp-faq-item.cmp-open .cmp-faq-icon { transform: rotate(45deg); }
.cmp-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.cmp-faq-item.cmp-open .cmp-faq-answer { max-height: 200px; }
.cmp-faq-answer-inner { padding: 0 1.5rem 1.25rem; font-size: 0.85rem; color: var(--cmp-text-muted); line-height: 1.7; }

/* ============================================
   RESPONSIVE — Single clean cascade
   1280px → 1024px → 768px → 540px → 380px
   ============================================ */

/* ── 1024px ── */
@media (max-width: 1024px) {
    .cmp-services-grid { grid-template-columns: repeat(2, 1fr); }
    .cmp-carousel-item { width: 280px; height: 200px; }
    .cmp-process-timeline { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .cmp-process-timeline::before { display: none; }
    .cmp-gallery-grid { grid-template-columns: 1fr 1fr; }
    .cmp-gallery-item:first-child { grid-column: 1 / -1; grid-row: auto; }
    .cmp-why-grid { flex-direction: column; gap: 1.5rem; }
    .cmp-why-features-col { padding: 0; width: 100%; justify-content: flex-start; }
    .cmp-why-image-col { flex: 0 0 100%; max-width: 100%; order: -1; }
    .cmp-why-image { min-height: 280px; border-radius: var(--cmp-radius); }
    .cmp-lightbox-prev { left: 10px; }
    .cmp-lightbox-next { right: 10px; }
}

/* ── 768px ── */
@media (max-width: 768px) {
    /* Services */
    .cmp-services-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    /* Carousel */
    .cmp-carousel-item { width: 240px; height: 165px; }
    .cmp-carousel-row { gap: 0.75rem; }
    /* Stats */
    .cmp-stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    /* Showreel */
    .cmp-reel-text h3 { font-size: 1.15rem; }
    .cmp-reel-play { width: 72px; height: 72px; }
    /* Testimonials */
    .cmp-testimonials-grid { grid-template-columns: 1fr; }
    /* Pricing */
    .cmp-pricing-grid { grid-template-columns: 1fr; }
    /* RE Services */
    .cmp-re-services-grid { grid-template-columns: 1fr; }
    /* Process */
    .cmp-process-timeline { grid-template-columns: 1fr; }
    /* Gallery */
    .cmp-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
    /* Trust */
    .cmp-trust-grid { grid-template-columns: 1fr 1fr; }
    /* Slider */
    .cmp-test-slide blockquote { font-size: 1.1rem; }
}

/* ── 540px (mobile) ── */
@media (max-width: 540px) {
    /* Hero — padding handled by Elementor controls */
    .cmp-hero-section { min-height: 70vh; }
    .cmp-hero-heading { font-size: 2rem; }
    .cmp-hero-sub { font-size: 0.95rem; }
    .cmp-hero-buttons { flex-wrap: wrap; }
    .cmp-hero-blob-1 { width: 200px; height: 200px; }
    .cmp-hero-blob-2, .cmp-hero-blob-3 { display: none; }
    /* Services — aspect ratio controlled by Elementor widget */
    .cmp-services-grid { grid-template-columns: 1fr; gap: 0.875rem; }
    /* Stats */
    .cmp-stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .cmp-stat-item { padding: 1.25rem 0.75rem; }
    .cmp-stat-number { font-size: 2rem; }
    /* Carousel */
    .cmp-carousel-item { width: 200px; height: 140px; }
    .cmp-carousel-row { gap: 0.5rem; }
    /* Showreel */
    .cmp-reel-play { width: 62px; height: 62px; }
    .cmp-reel-play::after { border-width: 10px 0 10px 17px; }
    .cmp-reel-text { bottom: 1rem; left: 1rem; }
    .cmp-reel-text h3 { font-size: 1rem; }
    /* Why Us */
    .cmp-why-feature { padding: 0.875rem 1rem; gap: 0.875rem; }
    .cmp-why-image { min-height: 220px; }
    /* Slider */
    .cmp-test-slide blockquote { font-size: 1rem; }
    .cmp-test-slide .cmp-author-info { flex-direction: column; text-align: center; gap: 0.5rem; }
    .cmp-test-slide .cmp-author-text { text-align: center; }
    /* CTA */
    .cmp-cta-buttons { flex-direction: column; align-items: stretch; }
    .cmp-cta-buttons .cmp-btn-primary,
    .cmp-cta-buttons .cmp-btn-secondary { width: 100%; justify-content: center; }
    /* Pricing */
    .cmp-pricing-card { padding: 1.75rem 1.25rem; }
    /* Process */
    .cmp-process-timeline { grid-template-columns: 1fr; }
    /* Gallery */
    .cmp-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
    .cmp-gallery-item:first-child { grid-column: auto; grid-row: auto; }
    /* Trust */
    .cmp-trust-grid { grid-template-columns: 1fr 1fr; gap: 0.875rem; }
    .cmp-trust-card { padding: 1.5rem 1rem; }
    /* FAQ */
    .cmp-faq-question { font-size: 0.875rem; padding: 1rem 1.125rem; }
    .cmp-faq-answer-inner { padding: 0 1.125rem 1rem; }
    /* Lightbox */
    .cmp-lightbox { padding: 1rem; }
    .cmp-lightbox-info { padding: 1rem 1.25rem; }
}

/* ── 380px ── */
@media (max-width: 380px) {
    .cmp-stats-grid { grid-template-columns: 1fr; }
    .cmp-trust-grid { grid-template-columns: 1fr; }
    .cmp-hero-heading { font-size: 1.75rem; }
    .cmp-carousel-item { width: 165px; height: 115px; }
}

/* ============================================
   ELEMENTOR SECTION MOBILE PADDING FIX
   ============================================ */
@media (max-width: 768px) {
    .elementor-section.elementor-section-boxed > .elementor-container { max-width: 100%; }
    .elementor-section > .elementor-container, .e-con-inner { padding-left: 16px; padding-right: 16px; }
    .elementor-section.elementor-section-full_width .elementor-container { padding-left: 0; padding-right: 0; }
}

/* ============================================
   FULL-WIDTH SECTION FIX
   When Elementor section is set to Full Width,
   inner content still needs proper constraining
   ============================================ */

/* Prevent any CMP widget from breaking out of its container */
.elementor-widget-cmp_production_services .cmp-services-grid,
.elementor-widget-cmp_portfolio_carousel .cmp-carousel-wrapper,
.elementor-widget-cmp_stats_counter .cmp-stats-grid,
.elementor-widget-cmp_why_us .cmp-why-grid,
.elementor-widget-cmp_testimonials_grid .cmp-testimonials-grid,
.elementor-widget-cmp_testimonial_slider .cmp-test-slider-wrapper,
.elementor-widget-cmp_cta_section .cmp-cta-buttons,
.elementor-widget-cmp_pricing_cards .cmp-pricing-grid,
.elementor-widget-cmp_re_services .cmp-re-services-grid,
.elementor-widget-cmp_process_timeline .cmp-process-timeline,
.elementor-widget-cmp_gallery_grid .cmp-gallery-grid,
.elementor-widget-cmp_trust_cards .cmp-trust-grid,
.elementor-widget-cmp_faq_accordion .cmp-faq-list {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Carousel specifically needs hard overflow containment */
.elementor-widget-cmp_portfolio_carousel {
    overflow: hidden !important;
}
.elementor-widget-cmp_portfolio_carousel .cmp-carousel-wrapper {
    overflow: hidden !important;
    /* contain prevents children from creating scroll context on parent */
    contain: layout paint style;
}

/* ── Missing rules for JS-populated and nav elements ── */
.cmp-carousel-row-1 { /* Row 1 has no special styling — JS drives transform */ }
.cmp-lightbox-cat   { display: block; }
.cmp-lightbox-title { display: block; }
.cmp-lightbox-desc  { display: block; }
.cmp-test-prev,
.cmp-test-next      { /* Styled via .cmp-test-btn */ }
