@charset "UTF-8";
/* ========================================= CONTENEDOR PRINCIPAL ========================================= */ .hero-video { position: relative; width: 100%; height: 100vh; min-height: 500px; overflow: hidden; background: #000; } /* ========================================= VIDEO DE FONDO ========================================= */ .hero-video__background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; display: block; z-index: 0; } /* ========================================= CAPA OSCURA ========================================= */ .hero-video__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.30); z-index: 1; pointer-events: none; } /* ========================================= CONTENIDO ========================================= */ .hero-video__content { position: relative; z-index: 2; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; box-sizing: border-box; color: #fff; } /* ========================================= TITULO ========================================= */ .hero-video__content h1 { margin: 0 0 20px; max-width: 900px; font-size: clamp(32px, 5vw, 70px); line-height: 1.1; font-weight: 700; color: #fff; } /* ========================================= TEXTO ========================================= */ .hero-video__content p { margin: 0 0 30px; max-width: 700px; font-size: clamp(16px, 2vw, 24px); line-height: 1.5; color: #fff; } /* ========================================= BOTÓN ========================================= */ .hero-video__button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; background: #fff; color: #111; border-radius: 5px; text-decoration: none; font-size: 15px; font-weight: 700; transition: all 0.25s ease; } .hero-video__button:hover { background: #111; color: #fff; transform: translateY(-2px); } /* ========================================= TABLET ========================================= */ @media screen and (max-width: 990px) { .hero-video { min-height: 600px; } .hero-video__content { padding: 25px; } } /* ========================================= MÓVIL ========================================= */ @media screen and (max-width: 749px) { .hero-video { height: 100svh; min-height: 500px; } .hero-video__background { object-position: center center; } .hero-video__content { padding: 20px; } .hero-video__content h1 { max-width: 360px; } .hero-video__content p { max-width: 330px; } .hero-video__button { min-width: 180px; } } /* ========================================= MÓVILES PEQUEÑOS ========================================= */ @media screen and (max-width: 480px) { .hero-video { min-height: 480px; } }

