/* Hero nuevo del inicio (en prueba): video libre arriba, mensaje abajo a la izquierda y tres entradas al catálogo */
.rh { --ink: #0D1A26; --amber: #FFB400; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100vh - 86px); min-height: calc(100svh - 86px); overflow: hidden; background: var(--ink); color: #fff; font-family: 'Inter', system-ui, sans-serif; text-align: left; }
.rh a { text-decoration: none; }
.rh-media, .rh-media video, .rh-foto { position: absolute; inset: 0; width: 100%; height: 100%; }
.rh-media video { object-fit: cover; }
.rh-foto { display: none; background: url('../images/main-slider/image-1.webp') center / cover; }
.hero-movil .rh-foto { display: block; }
/* oscurece solo donde va el texto; el resto del video se ve limpio */
.rh-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,26,38,.96) 0%, rgba(13,26,38,.72) 30%, rgba(13,26,38,0) 66%), linear-gradient(90deg, rgba(13,26,38,.62) 0%, rgba(13,26,38,0) 55%); }

.rh-texto { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 120px 32px 36px; }
.rh .rh-texto h1 { max-width: 15ch; margin: 0; color: #fff; font-family: 'Archivo', 'Inter', system-ui, sans-serif; font-stretch: 112%; font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(2.3rem, 4.2vw, 3.9rem); line-height: 1; letter-spacing: -.025em; text-transform: none; text-wrap: balance; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.rh h1 span { color: var(--amber); }
.rh .rh-texto p { max-width: 48ch; margin: 18px 0 28px; color: rgba(255,255,255,.9); font-size: 1.12rem; line-height: 1.55; }
.rh-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.rh-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.rh .rh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border: 2px solid var(--amber); border-radius: 4px; background: var(--amber); color: var(--ink); font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.rh .rh-btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.rh .rh-wa { background: rgba(13,26,38,.35); border-color: rgba(255,255,255,.65); color: #fff; }
.rh-wa svg { color: #25d366; }
.rh .rh-wa:hover { background: #25d366; border-color: #25d366; color: #062b15; }
.rh-wa:hover svg { color: #062b15; }
.rh-destacados { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rh .rh-destacados a { padding-bottom: 3px; border-bottom: 2px solid var(--amber); color: #fff; font-weight: 600; font-size: .95rem; }
.rh .rh-destacados a:hover { color: var(--amber); }

/* tres entradas al catálogo */
.rh-entradas { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.rh .rh-entradas a { position: relative; display: flex; align-items: center; gap: 18px; min-width: 0; padding: 20px 22px 24px 0; border-top: 1px solid rgba(255,255,255,.28); color: #fff; }
.rh .rh-entradas a + a { padding-left: 22px; }
.rh-entradas a::before { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 3px; background: var(--amber); transition: width .35s ease; }
.rh-entradas a:hover::before, .rh-entradas a:focus-visible::before { width: 100%; }
.rh-mini { flex: 0 0 112px; height: 74px; border-radius: 4px; overflow: hidden; background: #fff; }
.rh-mini img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rh-mini.rh-pieza img { padding: 6px; object-fit: contain; }
.rh-entradas a:hover .rh-mini img { transform: scale(1.08); }
.rh-entradas strong { display: block; font-family: 'Archivo', 'Inter', sans-serif; font-stretch: 112%; font-variation-settings: "wdth" 112; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.rh-entradas small { display: block; margin-top: 3px; color: rgba(255,255,255,.74); font-size: .86rem; line-height: 1.4; }

.rh a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* aparición escalonada al cargar */
@media (prefers-reduced-motion: no-preference) {
    .rh-texto > * { animation: rh-sube .7s cubic-bezier(.2,.7,.2,1) both; }
    .rh-texto > p { animation-delay: .1s; }
    .rh-acciones { animation-delay: .2s !important; }
    .rh-entradas { animation: rh-sube .7s cubic-bezier(.2,.7,.2,1) .32s both; }
}
@keyframes rh-sube { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    .rh-mini { display: none; }
}
@media (max-width: 767px) {
    .rh { min-height: calc(100vh - 82px); min-height: calc(100svh - 82px); }
    .rh-foto { bottom: auto; height: 50%; background-position: 8% center; }
    .rh-media::after { background: linear-gradient(to bottom, rgba(13,26,38,0) 30%, rgba(13,26,38,.86) 45%, #0D1A26 50%); }
    .rh-texto { padding: 90px 18px 22px; }
    .rh .rh-texto p { margin: 12px 0 18px; font-size: 1rem; }
    .rh-acciones { gap: 16px; }
    .rh-botones { flex-direction: column; width: 100%; gap: 10px; }
    .rh .rh-btn { width: 100%; min-height: 50px; }
    .rh-entradas { padding: 0 74px 8px 10px; } /* deja libre la esquina del boton de WhatsApp */
    .rh-mini { display: block; flex: none; width: 100%; height: 62px; }
    .rh .rh-entradas a, .rh .rh-entradas a + a { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 4px; text-align: center; }
    .rh-entradas strong { font-size: .88rem; font-stretch: 100%; font-variation-settings: "wdth" 100; }
    .rh-entradas small { display: none; }
}
