/* ============================================================
   Hero Slider standalone — replica del Master Slider homepage
   ============================================================ */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    aspect-ratio: 1220 / 530;
    overflow: hidden;
    background: #000;
}
.hero-slider-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 600ms ease;
    will-change: opacity;
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 2;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.hero-slide-layers {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px 40px;
    z-index: 3;
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
.hero-layer {
    margin: 10px 0;
    max-width: 1000px;
}

.hero-layer-title {
    font-family: "Cardo", serif;
    font-size: 54px;
    font-style: italic;
    font-weight: 400;
    color: #dea90f;
    line-height: 1.15;
}
.hero-layer-sub {
    font-family: "Droid Sans", "Open Sans", sans-serif;
    font-size: 26px;
    font-weight: 400;
    color: #fffaf0;
    line-height: 1.3;
}

/* Progress bar */
.hero-slider-timebar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}
.hero-slider-timebar-fill {
    height: 100%;
    width: 0%;
    background: #dea90f;
    transition: width 100ms linear;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-layer-title { font-size: 36px; }
    .hero-layer-sub { font-size: 20px; }
}
@media (max-width: 600px) {
    .hero-slider {
        max-width: none;
        aspect-ratio: auto;
        height: 100vh;
    }
    .hero-slide-layers { padding: 20px; }
    .hero-layer-title { font-size: 32px; }
    .hero-layer-sub { font-size: 18px; }
}

.hero-layer-caption {
    font-family: "Cardo", serif;
    font-size: 26px;
    margin: 36px 0 0;
    font-weight: 400;
    font-style: italic;
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
}
.hero-layer-caption svg.hero-underline {
    position: absolute;
    left: 50%;
    bottom: 2px;
    transform: translateX(-50%) rotate(-3deg);
    width: 78%;
    height: 22px;
    overflow: visible;
    pointer-events: none;
}
.hero-layer-caption svg.hero-underline path {
    fill: #dea90f;
    stroke: none;
    opacity: 0.92;
}
.hero-layer-caption svg.hero-underline rect {
    animation: heroUnderlineReveal 0.6s cubic-bezier(.5,.1,.3,1) 0.3s forwards;
}
@keyframes heroUnderlineReveal {
    to { width: 300px; }
}
.hero-layer-caption .hlc-plain {
    color: #fff;
    font-family: "Cardo", serif;
}
.hero-layer-caption .hlc-brand {
    color: #dea90f;
    text-transform: uppercase;
    font-family: "Cardo", serif;
    letter-spacing: 0.08em;
    font-weight: 700;
    font-style: normal;
}
@media (max-width: 768px) {
    .hero-layer-caption { font-size: 24px; margin-top: 24px; line-height: 1.3; }
    .hero-layer-caption .hlc-plain,
    .hero-layer-caption .hlc-brand { display: block; }
}
