/* ==================================================
   REVOLUTION-STYLE SLIDER  (home page only)
   ================================================== */
.rev-slider {
    position: relative;
    height: 100vh; min-height: 640px;
    margin-top: calc(-1 * var(--header-h));
    overflow: hidden; background: var(--navy-900);
}
.rev-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 1s var(--ease), visibility 1s;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 80px) 0 100px;
    color: #fff;
}
.rev-slide.active { opacity: 1; visibility: visible; z-index: 2; }

.rev-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1);
}
.rev-slide.active .rev-bg { animation: kenburns 8s ease-out forwards; }
.rev-slide.active .rev-bg.zoom-out { animation: kenburnsOut 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes kenburnsOut { from { transform: scale(1.12); } to { transform: scale(1); } }

.rev-slide::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(7,18,30,.88) 0%, rgba(12,29,46,.62) 55%, rgba(12,29,46,.35) 100%);
    z-index: 1;
}

.rev-content { position: relative; z-index: 2; max-width: 700px; }
.rev-layer { opacity: 0; transform: translateY(40px); }
.rev-slide.active .rev-layer { animation: layerUp .9s var(--ease) forwards; }
.rev-slide.active .rev-layer.d1 { animation-delay: .3s; }
.rev-slide.active .rev-layer.d2 { animation-delay: .5s; }
.rev-slide.active .rev-layer.d3 { animation-delay: .7s; }
.rev-slide.active .rev-layer.d4 { animation-delay: .9s; }

.rev-layer.slide-left { transform: translateX(-60px); }
.rev-slide.active .rev-layer.slide-left { animation-name: layerLeft; }
.rev-layer.zoom-in { transform: scale(.8); }
.rev-slide.active .rev-layer.zoom-in { animation-name: layerZoom; }
@keyframes layerUp   { to { opacity: 1; transform: none; } }
@keyframes layerLeft { to { opacity: 1; transform: none; } }
@keyframes layerZoom { to { opacity: 1; transform: none; } }

.rev-slide h2.rev-title {
    font-size: clamp(2.4rem, 6.5vw, 4.5rem);
    font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; margin-bottom: 20px;
}
.rev-slide h2 .accent {
    background: linear-gradient(90deg, var(--orange-400), var(--orange-500));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rev-slide p.rev-text {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: #C4D2E4; max-width: 540px; margin-bottom: 34px;
}
.rev-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Arrows */
.rev-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    width: 54px; height: 54px;
    border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
    background: rgba(255,255,255,.08); backdrop-filter: blur(8px);
    color: #fff; cursor: pointer; display: grid; place-items: center;
    transition: background .25s, transform .25s var(--ease), opacity .3s;
    opacity: 0;
}
.rev-slider:hover .rev-arrow, .rev-slider.touch .rev-arrow { opacity: 1; }
.rev-arrow:hover {
    background: var(--orange-500); border-color: var(--orange-500);
    transform: translateY(-50%) scale(1.1);
}
.rev-arrow svg { width: 22px; height: 22px; }
.rev-arrow.prev { left: 24px; }
.rev-arrow.next { right: 24px; }

/* Bullets + progress */
.rev-nav {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; align-items: center; gap: 10px;
}
.rev-bullet {
    width: 34px; height: 5px; border-radius: 99px; border: none;
    background: rgba(255,255,255,.25); cursor: pointer;
    position: relative; overflow: hidden; padding: 0;
    transition: width .3s var(--ease), background .3s;
}
.rev-bullet:hover { background: rgba(255,255,255,.45); }
.rev-bullet.active { width: 56px; }
.rev-bullet.active .fill {
    position: absolute; inset: 0; background: var(--orange-500);
    transform-origin: left;
    animation: fillBar var(--slide-duration, 7s) linear forwards;
}
@keyframes fillBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Counter */
.rev-counter {
    position: absolute; bottom: 28px; right: 32px; z-index: 10;
    font-family: 'Sora'; font-weight: 700; font-size: .85rem;
    color: rgba(255,255,255,.6); letter-spacing: 2px;
}
.rev-counter .current { color: var(--orange-400); font-size: 1.3rem; }

@media (prefers-reduced-motion: reduce) {
    .rev-layer { opacity: 1 !important; transform: none !important; animation: none !important; }
    .rev-bg { animation: none !important; }
}