/* ============================================================
   HERO SECTION — UNILUS CINEMATIC ZOOM + CURTAIN REVEAL
   Background-only zoom-out → pause → zoom-in
   Overlay restored exactly as earlier today
   ============================================================ */

:root {
    --rg-blue-deep: #002b5c;
    --rg-blue-glass: rgba(0,43,92,0.25);
    --rg-gold: #d4af37;
    --rg-white: #ffffff;
    --rg-overlay-padding: 28px;
}

/* ------------------------------------------------------------
   HERO HEIGHT
   ------------------------------------------------------------ */
.rg-hero-advanced {
    position: relative;
    width: 100%;
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ------------------------------------------------------------
   BACKGROUND IMAGE LAYER (Cinematic Zoom)
   ------------------------------------------------------------ */
.rg-hero-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transform: scale(1);
    opacity: 1;

    transition:
        transform 6000ms ease,
        opacity 6000ms ease;
    z-index: 1;
}

/* ------------------------------------------------------------
   SLIDE CONTAINER
   ------------------------------------------------------------ */
.rg-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ------------------------------------------------------------
   SLIDE (fade + parallax)
   ------------------------------------------------------------ */
.rg-hero-slide {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 900ms ease,
        transform 900ms ease;
}

.rg-hero-slide.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------
   BACKGROUND TRANSITION — Curtain/Wipe Reveal
   ------------------------------------------------------------ */
.rg-bg-curtain {
    animation: rgCurtainReveal 1.2s ease forwards;
}

@keyframes rgCurtainReveal {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    50% { clip-path: inset(0 50% 0 0); opacity: 0.5; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ------------------------------------------------------------
   OVERLAY/TEXT TRANSITION — Curtain/Wipe Reveal
   ------------------------------------------------------------ */
.rg-overlay-curtain {
    animation: rgCurtainReveal 1.2s ease forwards;
}

/* ------------------------------------------------------------
   BLUE GLASS OVERLAY (RESTORED EXACTLY)
   ------------------------------------------------------------ */
.rg-hero-overlay {
    background: var(--rg-blue-glass);
    backdrop-filter: blur(4px);
    padding: var(--rg-overlay-padding);
    border-radius: 16px;
    max-width: 580px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ------------------------------------------------------------
   TEXT — WHITE + MORE SPACING (RESTORED)
   ------------------------------------------------------------ */
.rg-hero-overlay,
.rg-hero-overlay p,
.rg-hero-overlay span,
.rg-hero-overlay h1,
.rg-hero-overlay h2 {
    color: var(--rg-white);
    line-height: 1.6;
}

/* ------------------------------------------------------------
   CAPSULE KICKER (RESTORED)
   ------------------------------------------------------------ */
.rg-strategy-kicker {
    display: inline-block;
    background: var(--rg-gold);
    color: var(--rg-blue-deep);
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

/* ------------------------------------------------------------
   TITLE (RESTORED)
   ------------------------------------------------------------ */
.rg-hero-title {
    font-size: 40px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

/* ------------------------------------------------------------
   GOLD UNDERLINE (RESTORED)
   ------------------------------------------------------------ */
.rg-strategy-divider {
    width: 60px;
    height: 4px;
    background: var(--rg-gold);
    border-radius: 999px;
    margin-bottom: 18px;
}

/* ------------------------------------------------------------
   CTA BUTTONS (RESTORED)
   ------------------------------------------------------------ */
.rg-hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.rg-btn {
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}

.rg-btn-primary {
    background: var(--rg-blue-deep);
    color: var(--rg-white);
}

.rg-btn-outline {
    border: 2px solid var(--rg-white);
    color: var(--rg-white);
}

.rg-btn-gold {
    background: var(--rg-gold);
    color: var(--rg-blue-deep);
}

/* ------------------------------------------------------------
   ARROWS (RESTORED)
   ------------------------------------------------------------ */
.rg-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.7);
    color: var(--rg-blue-deep);
    border: none;
    font-size: 32px;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 4;
    margin-left: 20px;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.rg-hero-arrow--left {
    left: 20px;
}

.rg-hero-arrow--right {
    right: 20px;
}

/* ------------------------------------------------------------
   GOLD DOTS (RESTORED)
   ------------------------------------------------------------ */
.rg-hero-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.rg-hero-dots button {
    width: 12px;
    height: 12px;
    background: var(--rg-gold);
    border-radius: 50%;
    opacity: 0.4;
    border: none;
    cursor: pointer;
    transition: opacity 300ms ease, transform 300ms ease;
}

.rg-hero-dots button.is-active {
    opacity: 1;
    transform: scale(1.25);
}

/* ------------------------------------------------------------
   RESPONSIVE (RESTORED)
   ------------------------------------------------------------ */
@media (max-width: 780px) {
    .rg-hero-overlay {
        max-width: 100%;
    }

    .rg-hero-title {
        font-size: 32px;
    }
}
