body { background: #111; color: #eee; margin: 0; font-family: Oswald;}

/* TOP BAR CLIMA EN VERDE */
.top-bar {
 background: #008000;
 color: #ffffff;
 padding: 5px 15px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 font-size: 0.9rem;
}
.top-bar span.label { font-weight: bold; }

.mensaje-registro {
 background: #220000;
 color: #ffdddd;
 padding: 8px 15px;
 text-align: center;
 font-size: 0.9rem;
}

/* HEADER: logo ocupa doble ancho que botones */
header {
 background: #181818;
 padding: 10px 20px;
 display: grid;
 grid-template-columns: 2fr 1fr;
 align-items: center;
 border-bottom: 2px solid #c00;
 column-gap: 20px;
}
.header-left {
 display: flex;
 align-items: center;
 gap: 12px;
 height: 70px;
}
.logo-img {
 height: 70px;
 width: auto;
}
.logo-text {
 font-size: 1.8rem;
 font-weight: bold;
 color: #ff4444;
 text-transform: uppercase;
 letter-spacing: 2px;
}
.header-buttons {
 display: flex;
 justify-content: flex-end;
 gap: 10px;
}

.bottom-buttons {
 display: flex;
 justify-content: flex-start;
 gap: 10px;
 margin-left: 5%;
}


.barra-impacto {
 margin: 18px 0 14px;
}

.linea-roja {
 height: 3px;
 background: linear-gradient(90deg, #ff0000, #aa0000);
 box-shadow: 0 0 15px rgba(255,0,0,0.9);
}
.linea-blanca {
 height: 1px;
 margin-top: 3px;
 background: rgba(255,255,255,0.2);
}

.barravideos {
    width: 80%;
    display: inline-block;
    border-bottom: 2px solid #ff0000; /* borde rojo */
    margin-left: 10%;
    align-items: center;
}
.video {
    width: 45%;
    margin-left: 2%;
    display: inline-block;
}

/* Contenedor principal tipo tarjeta */




.banda {
    width: 80%;
    margin: 2% auto;
    border-bottom: 2px solid #ff0000; /* borde rojo */
    justify-content: center;
    align-items: center; 
}

.izquierda {
    width: 20%;
    display: inline-block;
    padding: 1%;
}

.centro {
    width: 50%;
    display: inline-block;
    padding: 1%;
}

.derecha {
    width: 18%;
    display: inline-block;
    padding: 1%;
}

.card20 {
    width: 20%;
    display: inline-block;
    padding: 1%;
}
.card25 {
    width: 25%;
    display: inline-block;
    padding: 1%;
}

.card40 {
    width: 40%;
    display: inline-block;
    padding: 1%;
}

.card70 {
    width: 70%;
    display: inline-block;
    padding: 1%;
}

.anuncio-banner {
    flex: 1 1 60%; /* ocupa ~55% en escritorio */
    margin-left: 7%;
    box-sizing: border-box;
    width: 80%;
}

.anuncio-texto {
    background-color: white;
    color: black;
    display: inline-block;
    padding: 2%;
    text-align: justify;
    width: 65%;
}

.anuncio h1 {
  font-size: 1.5rem;

}

.anuncio h2 {
  font-size: 1rem;
  color: #ff4444;
  text-transform: uppercase;
}

.anuncio-texto p {
  line-height: 2;
  margin-bottom: 3px;
  font-size: 1rem;
}

/* Columna de imagen (lado derecho) */
.anuncio-imagen {
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-sizing: border-box;
  width: 30%;
  rotate: 10deg;
}

.anuncio-imagen img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.fotoslider{
  width: 100%;
  display: block;
}

/* ===== Slider ===== */
.slider-container {
  width: min(100%, 100%);
  border: 3px solid #fff;
  overflow: hidden;
  position: relative;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out; /*Q tan lento o rapido pasa de imagen a imagen*/
}

.slide {
  min-width: 100%;
  aspect-ratio: 16 / 9; /*Relacion de aspecto de las  imagenes*/
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Botones ===== */
.buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 15px;
}

button {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 0;
  font-size: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ===== Dots ===== */
.dots-container {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.4s;
}

.dot.active {
  background: tomato;
}

/* Responsive: en móvil se apilan */
@media (max-width: 768px) {
    .anuncio {
    flex-direction: column;
    }

    .anuncio-texto,
    .anuncio-imagen {
    flex: 1 1 100%;
    }

    .anuncio-texto {
    padding: 20px;
    }
}

