/* ==========================================================================
   COMMERCIAL REAL ESTATE PAGE - SPECIFIC STYLES
   Common styles are in css/style.css
   Hero section uses .service-hero-v2 from style.css
   ========================================================================== */

/* ==========================================================================
   COMMERCIAL SHOWCASE SECTION (Before/After)
   ========================================================================== */

.commercial-showcase-v2 {
    padding: 5rem 0;
    background: #fff;
}

.section-header-compact {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Comparison */
.featured-comparison {
    margin-bottom: 4rem;
}

.comparison-slider-v2 {
    position: relative;
    aspect-ratio: 16/9;
    cursor: ew-resize;
    user-select: none;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.comparison-before,
.comparison-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.comparison-after {
    clip-path: inset(0 0 0 50%);
}

.comparison-before img,
.comparison-after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.comparison-label {
    position: absolute;
    top: 1.5rem;
    padding: 0.625rem 1.25rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 8px;
    z-index: 2;
}

.comparison-before .comparison-label {
    left: 1.5rem;
}

.comparison-after .comparison-label {
    right: 1.5rem;
}

.comparison-handle {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.handle-line {
    position: absolute;
    width: 3px;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.handle-circle {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    pointer-events: all;
    cursor: ew-resize;
    transition: transform 0.2s ease;
}

.handle-circle:hover {
    transform: scale(1.1);
}

.handle-circle svg {
    width: 18px;
    height: 18px;
    color: #0f172a;
}

.featured-caption {
    text-align: center;
    margin-top: 1.5rem;
}

.featured-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary-teal);
    background: rgba(20, 184, 166, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.featured-caption p {
    font-size: 1.0625rem;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Commercial Carousel */
.commercial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.commercial-carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.commercial-carousel-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.commercial-carousel-slide.active {
    display: block;
    opacity: 1;
}

.commercial-carousel-slide .comparison-slider-v2 {
    aspect-ratio: 16/9;
    max-height: 500px;
}

.commercial-slide-caption {
    text-align: center;
    padding: 1.5rem 0;
}

.commercial-slide-caption .featured-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-secondary-teal, #14b8a6);
    background: rgba(20, 184, 166, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.commercial-slide-caption p {
    font-size: 1rem;
    color: var(--color-text-secondary, #64748b);
    margin: 0;
}

.commercial-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-100%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 10;
}

.commercial-carousel-arrow:hover {
    background: #fff;
    transform: translateY(-100%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.commercial-carousel-arrow svg {
    width: 24px;
    height: 24px;
    color: #0f172a;
}

.commercial-carousel-prev {
    left: -24px;
}

.commercial-carousel-next {
    right: -24px;
}

.commercial-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.commercial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--color-border-light, #e2e8f0);
    cursor: pointer;
    transition: all 0.3s ease;
}

.commercial-dot:hover {
    background: var(--color-secondary-teal, #14b8a6);
    opacity: 0.7;
}

.commercial-dot.active {
    background: var(--color-secondary-teal, #14b8a6);
    width: 28px;
    border-radius: 5px;
}

/* Commercial Gallery */
.commercial-gallery {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border-light, #e2e8f0);
}

.gallery-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary, #0f172a);
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .commercial-carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .commercial-carousel-prev {
        left: 10px;
    }

    .commercial-carousel-next {
        right: 10px;
    }

    .commercial-carousel-slide .comparison-slider-v2 {
        max-height: 300px;
    }
}

/* Category Carousel */
.category-carousel {
    margin-top: 3rem;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.carousel-nav-btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    background: var(--color-bg-light);
    border: 2px solid var(--color-border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-nav-btn:hover {
    color: var(--color-secondary-teal);
    border-color: var(--color-secondary-teal);
    background: rgba(20, 184, 166, 0.05);
}

.carousel-nav-btn.active {
    color: #fff;
    background: var(--color-secondary-teal);
    border-color: var(--color-secondary-teal);
}

.carousel-content {
    position: relative;
}

.carousel-category {
    display: none;
}

.carousel-category.active {
    display: block;
}

.comparison-grid-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.comparison-card-mini .comparison-slider-v2 {
    aspect-ratio: 3/2;
    border-radius: 12px;
}

.comparison-card-mini .handle-circle {
    width: 44px;
    height: 44px;
}

.comparison-card-mini .handle-circle svg {
    width: 16px;
    height: 16px;
}

.mini-caption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-top: 0.75rem;
}

@media (max-width: 1024px) {
    .comparison-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .commercial-showcase-v2 {
        padding: 4rem 0;
    }

    .carousel-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .carousel-nav-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    .comparison-grid-mini {
        grid-template-columns: 1fr;
    }

    .handle-circle {
        width: 48px;
        height: 48px;
    }

    .handle-circle svg {
        width: 16px;
        height: 16px;
    }
}

/* ==========================================================================
   WHO SECTION
   ========================================================================== */

.who-section {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

.who-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.who-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-secondary-teal);
}

.who-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 14px;
}

.who-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-secondary-teal);
}

.who-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
}

.who-card p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin: 0;
}

@media (max-width: 1024px) {
    .who-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .who-section {
        padding: 4rem 0;
    }

    .who-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* ==========================================================================
   COMMERCIAL SERVICES SECTION
   ========================================================================== */

.commercial-services-v2 {
    padding: 5rem 0;
    background: #fff;
}

.services-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card-v2 {
    position: relative;
    background: var(--color-bg-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.service-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--color-secondary-teal);
}

.service-card-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-v2:hover .service-card-glow {
    opacity: 1;
}

.service-card-content {
    position: relative;
    z-index: 1;
}

.service-icon-wrap {
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 14px;
}

.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-secondary-teal);
}

.service-icon.sunset svg {
    color: #f59e0b;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.service-card-description {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-used-for {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-style: italic;
}

@media (max-width: 1024px) {
    .services-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .commercial-services-v2 {
        padding: 4rem 0;
    }

    .services-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   COMMERCIAL WHY SECTION
   ========================================================================== */

.commercial-why-v2 {
    padding: 5rem 0;
    background: var(--color-bg-light);
}

.why-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-card-v2 {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.why-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-secondary-teal);
}

.why-icon-v2 {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 14px;
}

.why-icon-v2 svg {
    width: 28px;
    height: 28px;
    color: var(--color-secondary-teal);
}

.why-card-v2 h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.why-card-v2 p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .why-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .commercial-why-v2 {
        padding: 4rem 0;
    }

    .why-grid-v2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WORKFLOW TIMELINE SECTION
   ========================================================================== */

.workflow-timeline-v2 {
    padding: 5rem 0;
    background: #fff;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-bg-light);
    border-radius: 16px;
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}

.timeline-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.timeline-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 50%;
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-secondary-teal);
}

.timeline-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .timeline-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .workflow-timeline-v2 {
        padding: 4rem 0;
    }

    .timeline-container {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GLOBAL TRUST SECTION
   ========================================================================== */

.global-trust-v2 {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #0f172a 0, #1e293b 100%);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.world-map-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
    background-size: 40px 40px;
}

.global-trust-v2 .section-title {
    color: #fff;
}

.global-trust-v2 .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.trust-stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.trust-stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(45, 212, 191, 0.3);
}

.trust-stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-secondary-teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-stat-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary-teal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-stat-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Country Scroll */
.country-scroll-wrapper {
    overflow: hidden;
    margin-top: 2rem;
}

.country-scroll-track {
    display: flex;
    gap: 1rem;
    animation: scroll 30s linear infinite;
}

.country-badge {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .trust-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .global-trust-v2 {
        padding: 4rem 0;
    }

    .trust-stats-grid {
        grid-template-columns: 1fr;
    }

    .trust-stat-number,
    .trust-stat-text {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   CTA SECTION (Commercial Variant)
   ========================================================================== */

.cta-section-v2 {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    margin-top: 2rem;
}

.commercial-cta-v2 {
    padding: 7rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0a0e1a 0, #0f172a 100%);
    z-index: -3;
}

.cta-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(45, 212, 191, 0.15) 0, transparent 60%);
    z-index: -2;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

.cta-content-v2 {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title-v2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-subtitle-v2 {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.cta-buttons-v2 {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-reassurance {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-reassurance span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {

    .cta-section-v2,
    .commercial-cta-v2 {
        padding: 4rem 0;
    }

    .cta-buttons-v2 {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons-v2 .btn {
        width: 100%;
        max-width: 280px;
    }

    .cta-reassurance {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ==========================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}