.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
}
@media (min-width: 1024px) {
    .hero {
        height: 56vh;
        min-height: 470px;
    }
}
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 106%;
    z-index: 1;
    overflow: hidden;
    will-change: transform;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    overflow: hidden;
    backface-visibility: hidden;
    will-change: opacity, transform, clip-path;
}
.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    will-change: transform, background-position, filter;
}
.hero-media.is-bw {
    filter: grayscale(1);
}
.hero-slide.has-border {
    box-shadow: inset 0 0 0 3px var(--accent-gold);
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}
.hero-slide.en-fade  { animation: msFade  1.9s ease both; }
.hero-slide.en-zoom  { animation: msZoom  1.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-slide.en-swipe { animation: msSwipe 1.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-slide.en-iris  { animation: msIris  1.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-slide.en-push  { animation: msPush  1.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
html:not(.rc-lite) .hero-slide.is-active .hero-media.mo-pan {
    animation: heroPan var(--pan-dur, 12s) linear both;
}
html:not(.rc-lite) .hero-slide.is-active .hero-media.mo-zoom {
    animation: heroMediaZoom var(--pan-dur, 12s) ease-out both;
}
@keyframes heroPan {
    from { background-position: var(--pan-from, 50% 50%); }
    to { background-position: var(--pan-to, 50% 0%); }
}
@keyframes heroMediaZoom {
    from { transform: scale(1.02); }
    to { transform: scale(1.14); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide.en-fade,
    .hero-slide.en-zoom,
    .hero-slide.en-swipe,
    .hero-slide.en-iris,
    .hero-slide.en-push { animation-duration: 0.5s; }
    .hero-slide.is-active .hero-media.mo-pan,
    .hero-slide.is-active .hero-media.mo-zoom { animation: none; }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-scrim);
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: var(--container-padding);
    max-width: 920px;
    animation: fadeInUp 1s ease-out;
}
.hero-title {
    font-family: var(--font-primary);
    font-size: calc(clamp(3rem, 8vw, 6rem) * var(--hero-title-scale, 1));
    font-weight: 700;
    letter-spacing: -0.015em;
    background: linear-gradient(135deg, #ffffff 0%, #a9c8ff 50%, #5b9dff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    text-shadow: 0 4px 44px rgba(0, 0, 0, 0.4);
    animation: hero-reveal 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.hero-title[data-rc-text$="heroTitle"] {
    font-size: clamp(1.7rem, 3.7vw, 2.7rem);
    line-height: 1.12;
}
.hero-subtitle-inline {
    display: block;
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    letter-spacing: 0.15em;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
html.rc-light .hero-subtitle-inline {
    background: linear-gradient(90deg, #e9b949, #f7d888);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero-divider {
    width: 80px;
    height: 2px;
    background: var(--gradient-warm);
    margin: 0 auto 24px;
    border-radius: 1px;
    animation: fadeInUp 1s ease-out 0.2s both;
}
.hero-subtitle {
    font-size: calc(clamp(1.1rem, 2vw, 1.5rem) * var(--hero-subtitle-scale, 1));
    color: #e9ebf4;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
    animation: fadeInUp 1s ease-out 0.3s both;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}
.scroll-indicator {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.scroll-arrow {
    color: var(--accent-blue);
    font-size: 24px;
    animation: bounce 2s infinite;
}
html.rc-light .scroll-arrow {
    color: var(--primary-blue);
}
@keyframes hero-reveal {
    0% { opacity: 0; transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}
