<style>

/* ============================
   ESTILOS GENERALES
============================ */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f5f6fa, #ffffff);
  color: #222;
}

/* ============================
   HEADER Y NAVEGACIÓN
============================ */
header {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(30,58,138,0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: #1E3A8A !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: #1E3A8A !important;
  font-weight: 500;
  transition: 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #DC2626 !important;
}

/* ============================
   SECCIÓN HERO
============================ */
.hero {
  background: 
    linear-gradient(135deg, rgba(30,58,138,0.85), rgba(220,38,38,0.7)),
    url('/resources/img/hero_ro_chile.png') center/cover no-repeat;
  color: white;
  padding: 140px 20px;
  text-align: center;
  border-bottom: 5px solid #FACC15;
  background-attachment: fixed;
}

  
.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  color: #FACC15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero p {
  font-size: 1.2rem;
  color: #ffffff;
}

/* ============================
   BOTONES
============================ */
.btn-main {
  background-color: #1E3A8A; /* Azul sólido */
  color: #FFFFFF;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: 500;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(30,58,138,0.3);
}

.btn-main:hover {
  background-color: #DC2626; /* Rojo sólido al pasar el mouse */
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(220,38,38,0.4);
}

.btn-outline-light {
  border: 2px solid #FACC15;
  color: #FACC15;
  transition: 0.3s;
  font-weight: 500;
}

.btn-outline-light:hover {
  background-color: #FACC15;
  color: #1E3A8A;
  transform: scale(1.03);
}

/* ============================
   TITULOS Y SECCIONES
============================ */
.section-title {
  font-family: 'Orbitron', sans-serif;
  color: #1E3A8A;
  text-transform: uppercase;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* ============================
   TARJETAS Y BLOQUES
============================ */
.frame-box {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s;
}

.frame-box:hover {
  transform: scale(1.02);
}

/* ============================
   ESTADÍSTICAS
============================ */
.stats-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 12px rgba(30,58,138,0.1);
  padding: 40px 20px;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.stat b {
  color: #1E3A8A;
}

.stat span {
  color: #DC2626;
  font-weight: 500;
}

/* ============================
   PIE DE PÁGINA (FOOTER)
============================ */
footer {
  background: #1E3A8A;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
  color: #FACC15;
  border-top: 3px solid #DC2626;
}

footer p {
  margin: 0;
}

/* ============================
   LOGOTIPO
============================ */
.logo-img {
  height: 150px;
  width: auto;
  border: none;
  padding: 0;
  background: none;
  box-shadow: none;
  transition: transform 0.4s ease;
}

.logo-img:hover {
  transform: scale(1.08);
}

/* ============================
   CARRUSEL (IMÁGENES DIFUMINADAS)
============================ */
.carousel-bg-container {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.carousel-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(25px) brightness(0.6);
  transform: scale(1.2);
  z-index: 1;
}

.carousel-main-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(0.95);
  transition: transform 0.5s ease;
}

.carousel-main-img:hover {
  transform: scale(1.0);
}

/* ============================
   DETALLES Y COLORES
============================ */
hr {
  border-color: #FACC15 !important;
  opacity: 0.7;
}

.text-purple {
  color: #1E3A8A !important;
}

.fw-bold {
  color: #DC2626;
}

</style>