/* ==========================================
   PREMIUM SECTORS CAROUSEL
========================================== */
:root {
    --carousel-bg: #f2eeea;
    --card-w: 460px;
    --card-h: 620px;
    --carousel-gap: 26px;
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Atmospheric color orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    transition: background 1s ease;
    z-index: 0;
}

.bg-orb-1 {
    width: 650px;
    height: 650px;
    top: -250px;
    left: -220px;
    opacity: 0.2;
}

.bg-orb-2 {
    width: 550px;
    height: 550px;
    bottom: -220px;
    right: -180px;
    opacity: 0.16;
}

.bg-orb-center {
    position: fixed;
    width: 900px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
    transition: background 1s ease;
}

/* Floating particles */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0;
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    85% {
        opacity: 0.2;
    }

    100% {
        transform: translateY(-120vh) translateX(var(--drift)) scale(0.3);
        opacity: 0;
    }
}

/* ==========================================
   ULTRA-LUXURY SECTORS HEADER (IMAGE MATCH)
========================================== */
.sectors-luxury-header {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
    padding: 60px 0;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Corner Frame Accents */
.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    opacity: 0.6;
}

.frame-corner.top-left {
    top: 0; left: 40px;
    border-right: none;
    border-bottom: none;
}

.frame-corner.top-right {
    top: 0; right: 40px;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bottom-left {
    bottom: 0; left: 40px;
    border-right: none;
    border-top: none;
}

.frame-corner.bottom-right {
    bottom: 0; right: 40px;
    border-left: none;
    border-top: none;
}

/* Giant S Watermarks */
.watermark-s {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-accent);
    font-size: 28rem;
    color: rgba(196, 163, 90, 0.04);
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: -1;
}

.watermark-s.pos-left { left: -50px; }
.watermark-s.pos-right { right: -50px; }

/* Content Container */
.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.header-logo-pill {
    display: inline-flex;
    padding: 8px 30px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--primary-red);
    font-family: var(--font-main);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 30px;
}

.sectors-luxury-header .eyebrow {
    font-family: var(--font-main);
    font-size: 10px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
}

.sectors-luxury-header .heading {
    font-family: var(--font-accent);
    font-size: 90px;
    font-weight: 300;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Elegant Subtitle Row with Diamond */
.elegant-subtitle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.elegant-subtitle-row .elegant-line {
    flex-grow: 0;
    width: 60px;
    height: 1px;
    background: var(--gold);
    opacity: 0.6;
}

.diamond-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

.sectors-luxury-header .section-intro {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    font-weight: 300;
    font-style: italic;
    opacity: 0.8;
    max-width: 700px;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: var(--card-h);
    perspective: 2000px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: grab;
}

.carousel-wrapper:active {
    cursor: grabbing;
}

.dots {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--carousel-accent, #0077B6);
    transform: scale(1.6);
    box-shadow: 0 0 12px var(--carousel-accent);
}

.counter {
    text-align: center;
    margin-top: 24px;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: #999;
    position: relative;
    z-index: 10;
}

.counter span {
    margin: 0 4px;
    opacity: 0.4;
}

@keyframes shimmerSweep {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes antigrav {

    0%,
    100% {
        transform: translateY(0) rotateY(0);
    }

    50% {
        transform: translateY(-15px) rotateY(1deg);
    }
}


.sector-card {
    position: absolute;
    left: 50%;
    width: var(--card-w);
    height: var(--card-h);
    border-radius: 22px;
    overflow: hidden;
    transform-origin: center bottom;
    will-change: transform, opacity;
    transition: transform 0.72s var(--ease-spring), opacity 0.6s var(--ease-smooth), box-shadow 0.5s ease;
    user-select: none;
    -webkit-user-select: none;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.sector-card .card-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.9s var(--ease-smooth);
}

.sector-card:hover .card-photo {
    transform: scale(1.06);
}

.sector-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.1) 40%,
            rgba(0, 0, 0, 0.62) 68%,
            rgba(0, 0, 0, 0.88) 100%);
}

.sector-card .card-top-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 30%);
}

.sector-card .card-tint {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    mix-blend-mode: multiply;
}

.sector-card .card-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
    background-size: 200% 100%;
    animation: shimmerSweep 5.5s linear infinite;
    pointer-events: none;
    z-index: 5;
}

.sector-card .card-border {
    position: absolute;
    inset: 0;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.5s ease;
    pointer-events: none;
    z-index: 6;
}

.sector-card.active .card-border {
    border-color: rgba(255, 255, 255, 0.28);
}

.sector-card .card-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 8;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
}

.sector-card .card-num {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 8;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.sector-card .card-content {
    position: absolute;
    inset: 0;
    padding: 32px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 7;
}

.sector-card .card-line {
    width: 0;
    height: 2px;
    background: var(--carousel-accent, #fff);
    border-radius: 2px;
    margin-bottom: 14px;
    transition: width 0.7s var(--ease-spring) 0.18s;
    box-shadow: 0 0 10px var(--carousel-accent, #fff);
}

.sector-card.active .card-line {
    width: 50px;
}

.sector-card .card-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
    transition: transform 0.45s var(--ease-spring);
    color: #fff;
}

.sector-card:hover .card-icon {
    transform: translateY(-8px) scale(1.2);
}

.sector-card .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 5px;
    letter-spacing: -0.2px;
}

.sector-card .card-title em {
    display: block;
    font-style: italic;
    font-weight: 300;
    color: var(--carousel-accent, #ddd);
}

.sector-card .card-subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sector-card .card-desc {
    font-family: 'Jost', sans-serif;
    font-size: 13.5px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s var(--ease-smooth), opacity 0.4s ease 0.1s;
}

.sector-card.active .card-desc {
    max-height: 120px;
    opacity: 1;
}

.sector-card .card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    font-family: 'Cinzel', serif;
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--carousel-accent, #fff);
    text-decoration: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease 0.25s, max-height 0.4s ease 0.15s;
    cursor: pointer;
}

.sector-card .card-cta .arrow {
    width: 22px;
    height: 1px;
    background: var(--carousel-accent, #fff);
    position: relative;
    transition: width 0.3s var(--ease-spring);
}

.sector-card .card-cta .arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-right: 1px solid var(--carousel-accent, #fff);
    border-top: 1px solid var(--carousel-accent, #fff);
    transform: rotate(45deg);
}

.sector-card .card-cta:hover .arrow {
    width: 34px;
}

.sector-card.active .card-cta {
    opacity: 1;
    max-height: 40px;
}

.sector-card.active {
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.22),
        0 8px 30px rgba(0, 0, 0, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Nav buttons override */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    color: var(--primary-red);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s var(--ease-spring);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.06);
}

.nav-btn:hover {
    background: #fff;
    border-color: var(--carousel-accent);
    color: var(--carousel-accent);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14), 0 0 0 3px rgba(0, 0, 0, 0.03);
}

.nav-btn.prev {
    left: 5%;
}

.nav-btn.next {
    right: 5%;
}

/* Noise grain overlay */
.noise-overlay {
    content: '';
    position: fixed;
    inset: 0;/* IMAGE_REPLACE_HERE: Replace with correct image from /assets */
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.022;
    pointer-events: none;
    z-index: 100;
}

/* Progress track inside cards */
.progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--carousel-accent, #fff);
    border-radius: 2px;
}