/* ── REH Luxury Hero Carousel 2620 ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

.rhc-2620-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #0F172A;
    font-family: 'Montserrat', sans-serif;
}

/* ── Track & Slides ── */
.rhc-2620-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.rhc-2620-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.rhc-2620-slide--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

/* ── Video ── */
.rhc-2620-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.rhc-2620-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.04);
    transition: transform 8s ease-out;
    will-change: transform;
}

.rhc-2620-slide--active .rhc-2620-video {
    transform: scale(1.0);
}

.rhc-2620-video-placeholder {
    background: linear-gradient(135deg, #0F172A 0%, #1e293b 50%, #141004 100%);
}

/* ── Gradient Overlay ── */
.rhc-2620-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0.15) 100%);
    z-index: 2;
    pointer-events: none;
}

/* ── Content Positioning ── */
.rhc-2620-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0 6vw;
}

.rhc-2620-content--left  { justify-content: flex-start; }
.rhc-2620-content--center { justify-content: center; }
.rhc-2620-content--right  { justify-content: flex-end; }

/* ── Glass Panel ── */
.rhc-2620-glass {
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(220, 165, 74, 0.3);
    border-radius: 4px;
    padding: 52px 56px;
    max-width: 620px;
    width: 100%;
    position: relative;
    overflow: hidden;
    animation: rhc2620FloatIn 0.1s ease both;
}

.rhc-2620-glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,165,74,0.6), transparent);
}

/* ── Slide-in animations ── */
.rhc-2620-slide--active .rhc-2620-label {
    animation: rhc2620FadeUp 0.7s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}
.rhc-2620-slide--active .rhc-2620-headline {
    animation: rhc2620FadeUp 0.8s 0.38s cubic-bezier(0.22,1,0.36,1) both;
}
.rhc-2620-slide--active .rhc-2620-desc {
    animation: rhc2620FadeUp 0.8s 0.54s cubic-bezier(0.22,1,0.36,1) both;
}
.rhc-2620-slide--active .rhc-2620-cta {
    animation: rhc2620FadeUp 0.8s 0.7s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes rhc2620FadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes rhc2620FloatIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Label ── */
.rhc-2620-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #DCA54A;
    margin-bottom: 18px;
}

.rhc-2620-label::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: #DCA54A;
    opacity: 0.7;
}

/* ── Headline ── */
.rhc-2620-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.12;
    color: #FAF5E5;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

/* ── Description ── */
.rhc-2620-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.88rem, 1.1vw, 1rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(250, 245, 229, 0.82);
    margin: 0 0 36px;
    max-width: 440px;
}

/* ── CTA Button ── */
.rhc-2620-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #DCA54A;
    color: #0F172A;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 2px;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.rhc-2620-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.rhc-2620-cta:hover::before {
    transform: translateX(0);
}

.rhc-2620-cta:hover {
    background: #F0E6C5;
    transform: scale(1.04) translateY(-1px);
    box-shadow: 0 8px 32px rgba(220,165,74,0.38);
}

.rhc-2620-cta-arrow {
    transition: transform 0.3s ease;
    font-size: 1.1em;
}

.rhc-2620-cta:hover .rhc-2620-cta-arrow {
    transform: translateX(5px);
}

/* ── Arrows ── */
.rhc-2620-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(15,23,42,0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(220,165,74,0.25);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #FAF5E5;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.rhc-2620-arrow svg {
    width: 20px;
    height: 20px;
}

.rhc-2620-arrow:hover {
    background: rgba(220,165,74,0.25);
    border-color: rgba(220,165,74,0.6);
    transform: translateY(-50%) scale(1.08);
}

.rhc-2620-arrow--prev { left: 32px; }
.rhc-2620-arrow--next { right: 32px; }

/* ── Dots ── */
.rhc-2620-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.rhc-2620-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(250,245,229,0.35);
    border: 1px solid rgba(250,245,229,0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.35s ease, transform 0.35s ease, width 0.35s ease;
}

.rhc-2620-dot--active {
    background: #DCA54A;
    border-color: #DCA54A;
    width: 28px;
    border-radius: 4px;
    transform: none;
}

/* ── Progress Bar ── */
.rhc-2620-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(250,245,229,0.1);
    z-index: 10;
    overflow: hidden;
}

.rhc-2620-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #DCA54A, #F0E6C5);
    width: 0%;
    transition: width linear;
    transform-origin: left;
}

/* ── Floating animation for glass panel ── */
@keyframes rhc2620Float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .rhc-2620-carousel { height: 80vh; }
    .rhc-2620-glass { padding: 40px 40px; max-width: 520px; }
    .rhc-2620-headline { font-size: clamp(2rem, 5vw, 3rem); }
    .rhc-2620-arrow--prev { left: 18px; }
    .rhc-2620-arrow--next { right: 18px; }
    .rhc-2620-video { object-position: center center; }
}

@media (max-width: 768px) {
    .rhc-2620-carousel { height: 70vh; }
    .rhc-2620-content { padding: 0 5vw; align-items: flex-end; padding-bottom: 80px; }
    .rhc-2620-content--left,
    .rhc-2620-content--center,
    .rhc-2620-content--right { justify-content: center; }
    .rhc-2620-glass { padding: 32px 28px; max-width: 100%; }
    .rhc-2620-headline { font-size: clamp(1.7rem, 6vw, 2.4rem); }
    .rhc-2620-desc { font-size: 0.85rem; margin-bottom: 24px; }
    .rhc-2620-arrow { width: 42px; height: 42px; }
    .rhc-2620-arrow svg { width: 16px; height: 16px; }
    .rhc-2620-video { object-position: center center; }
    .rhc-2620-overlay {
        background: linear-gradient(180deg, rgba(15,23,42,0.3) 0%, rgba(15,23,42,0.7) 100%);
    }
}

@media (max-width: 480px) {
    .rhc-2620-carousel { height: 70vh; }
    .rhc-2620-glass { padding: 24px 20px; border-radius: 3px; }
    .rhc-2620-headline { font-size: clamp(1.5rem, 7vw, 2rem); }
    .rhc-2620-cta { padding: 14px 28px; font-size: 11px; }
    .rhc-2620-arrow { display: none; }
    .rhc-2620-video { object-position: center center; }
}
