* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.fondo_nasa {
  background-image: url("https://www.mazda.com.co/globalassets/campanas-de-seguridad/img/banner/banner_campanasdeseguridad_web_1920x1069.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  color: #fff !important;
  position: relative;
  background-color: #000;
}

.texto_nasa {
  width: 60%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
  position: absolute;
  top: 13%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff !important;
}

.titulo_nasa {
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff !important;
  width: 90%;
  text-align: center;
  margin-top: 3%;
}

.titulo_nasa_dos {
  font-size: 30px;
  letter-spacing: 6px;
  padding: 0px;
  color: #fff !important;
}

.texto_nasa_parrafo {
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px;
  color: #fff !important;
  width: 90%;
}

.texto_nasa_luna {
  width: 60%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: auto;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff !important;
}

.boton_nasa {
  background: #fff;
  color: #000;
  padding: 10px 40px;
  border: none;
  margin-top: 10px;
}

.boton_nasa:hover {
  background: #910a2d;
  color: #fff;
}

.boton_50-50 {
  background: #fff;
  color: #000;
  padding: 10px 26px;
  border: none;
  margin-top: 10px;
}

.boton_50-50:hover {
  background: #910a2d;
  color: #fff;
}

.contnedor-btn-50-50 {
  text-align: center;
  margin-bottom: 25px;
}

.text-margin {
  padding: 6%;
  margin-bottom: 20%;
  display: flex;
  justify-content: center;
  align-items: normal;
  flex-direction: column;
}

.text-margin h2 {
  margin: 0 !important;
  text-align: center;
}

.text-margin p {
  color: #ffffff !important;
  margin: 0 !important;
}

.text-margin ul {
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0!important;

}

.text-margin-50-50 {
  padding: 2%;

}

.text-margin-50-50 h2 {
  margin: 0 !important;
}

.text-margin-50-50 h3 {
  margin: 0 !important;
}

.text-margin-50-50 p {
  margin: 0 !important;
  color: #000000 !important;
}


.contnedor-left-btn-50-50 {
  text-align: center;
  margin-top: 24px;
}

.boton-left_50-50 {
  background: none;
  color: #000000;
  padding: 10px 40px;
  border: solid 1px #000000;
  margin-top: 10px;
}

.boton-left_50-50:hover {
  background: #910a2d;
  color: #fff;
}

.fifty-fifty-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 300px;
  margin: 0;
  background: none;
  overflow: hidden;
  position: relative;
}

.fifty-fifty-left,
.fifty-fifty-right {
  flex: 1 1 300px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  background: transparent;
  position: relative;
}

.fifty-fifty-left {
  color: #fff;
}

.fifty-fifty-right {
  align-items: center;
  justify-content: center;
}

.fifty-fifty-right img {
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Fondo negro en todo el bloque */
.fifty-fifty-container::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 80%;
  background: #000;
  z-index: 0;

  pointer-events: none;
  /* Permite que el texto sea seleccionable y visible */
  opacity: 1;
}

/* Franja blanca inferior */
.fifty-fifty-container::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20%;
  background: #fff;
  z-index: 1;

  pointer-events: none;
  opacity: 1;
}

/* Ajuste de contenido para estar sobre los fondos */
.fifty-fifty-left,
.fifty-fifty-right {
  position: relative;
  z-index: 2;
  padding: 2%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fifty-fifty-left h2 {
  color: #fff;
  position: relative;
  z-index: 3;
  text-align: center;
}

.fifty-fifty-left p {

  color: #fff;
  position: relative;
  z-index: 3;
  text-align: left;
  width: 85%;

}

/* Cambia el orden: imagen a la izquierda, texto a la derecha */

.fifty-fifty-white-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 300px;
  margin: 0px 0 0 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.fifty-fifty-white-left,
.fifty-fifty-white-right {
  flex: 1 1 300px;
  min-width: 0;
  box-sizing: border-box;
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  position: relative;
  z-index: 2;
}

.fifty-fifty-white-left {
  align-items: center;
  justify-content: center;
  padding: 1%;
}

.fifty-fifty-white-left img {
  max-width: 100%;
  height: auto;
  display: block;
}

.fifty-fifty-white-right {
  align-items: flex-start;
  justify-content: center;
  padding: 1%;
  text-align: center;
}

.vin-placa-input-group {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  height: 55px;
}

.vin-placa-input-group-new {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  height: 55px;
}

#button-consult {
  width: 10%;
  min-height: 23px;
  border-radius: 4px;
  font-size: 15px;
  margin: 0;
}

#vinPopup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#closeVinPopup {
  position: absolute;
  top: 0px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000000;
  cursor: pointer;
  z-index: 2;
}

.button-forms {
  margin-top: 0px;
  width: 50%;
  text-align: center;
  text-decoration: none;
}

.VinPopup-principal {
  background: #fff;
  border-radius: 8px;
  max-width: 600px;
  width: 90vw;
  margin: auto;
  padding: 24px 16px 16px 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-principal {
  margin-bottom: 8%;
  margin-left: 14%;
  color: #910a2d !important;
  cursor: pointer;
  text-decoration: underline;
}

.vin-placa-input {
  resize: none;
  min-height: 23px;
  border-radius: 2px;
  padding: 0px;
  font-size: 16px;
  width: 90%;
  box-sizing: border-box;
  padding: 1.3% !important;
  border: solid 1px #535353 !important;
}

.vin-placa-input-new {
  resize: none;
  min-height: 23px;
  border-radius: 2px;
  padding: 0px;
  font-size: 16px;
  width: 90%;
  box-sizing: border-box;
  padding: 9px 0 !important;
  border: solid 1px #535353 !important;
}

#resultadoCampanas {
  background: #ededed;
  width: 100%;
}

.campana-box {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  background: #f9f9f9;
}

.contenedor-textos-campanas-new {
  display: flex;
  justify-content: center;
  border-bottom: solid 1px #c4c4c4;
}

.contenedor-texto {
  text-align: left;
  width: 100%;
}

.notificacion-vin-inter,
.view-more {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.contenedor-vin-new {
  background: #ededed;
  width: 100%;
}

.general-style-contenedor {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  width: 60%;
}

.btn_popup_youtobe {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #ffffff;
  padding: 12px 24px;
  transform: translate(-50%, -50%);
  color: #000000;
  border: none;
  text-decoration: none;
  width: 230px;
  cursor: pointer;
}

.btn_popup_youtobe:hover {
  background: #910a2d;
}

/* Estilo del popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content_youtobe {
  position: absolute;
  width: 80% !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-content_youtobe iframe {
  width: 100%;
  height: 500px;
  max-width: 100%;
}

.popup-close_youtobe {
  align-items: center;
  position: absolute;
  top: -13%;
  right: -6%;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  border: solid 2px #fff;
  padding: 5px;
  padding-bottom: 8px;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
}

.fifty-fifty-section {
  margin-bottom: 3%;
}

.popup_encuentra_vin {
  margin-bottom: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
}

.popup_encuentra_vin p {
  margin: 0 !important;
  color: #000000 !important;
  line-height: 20px!important;
}

.ver-mas-campanas{
  position: relative;
}
.ver-mas-campanas:hover {
  color:#fff!important;
}

.ver-mas-campanas::before {
  content: "";
  position: absolute;
  top: 29%;
  right: 20%;
  width: 10px;
  height: 10px;
  transform: rotate(-44deg);
  border-left: 2px solid rgb(0 0 0);
  border-bottom: 2px solid rgb(0 0 0);
}

.ver-mas-campanas:hover::before{
  border-left: 2px solid rgb(255 255 255);
  border-bottom: 2px solid rgb(255 255 255)
}


@media (max-width: 900px) {
  .fifty-fifty-container {
    flex-direction: column;
    background: #000000;
  }

  .fifty-fifty-left,
  .fifty-fifty-right {
    padding: 24px;
  }

  .fifty-fifty-container::before {
    height: 80%;
  }

  .fifty-fifty-container::after {
    height: 20%;
  }

  .fifty-fifty-white-container {
    flex-direction: column-reverse;
  }

  .fifty-fifty-white-left,
  .fifty-fifty-white-right {
    padding: 24px;
  }

  .vin-placa-input {
    padding: 2.3% !important;
  }
}

@media only screen and (max-width: 768px) {
  .fondo_nasa {
    background-image: url("https://www.mazda.com.co/globalassets/campanas-de-seguridad/img/banner/banner_web_campanadeseguridad_400x600.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 81vh;
    color: #fff !important;
    position: relative;
    background-color: #000;
  }

  .texto_nasa_parrafo {
    width: 79%;
  }

  .fifty-fifty-left,
  .fifty-fifty-right {
    flex: 1 1 auto;
  }

  .fifty-fifty-white-left,
  .fifty-fifty-white-right {
    flex: 1 1 auto;
  }

  #button-consult {
    width: 100%;

  }

  .vin-placa-input-group-new {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: auto;
    flex-direction: column;
    width: 100%;
  }

  .vin-placa-input-group {
    display: flex;
    gap: 10px;
    align-items: anchor-center;
    height: auto;
    width: 100%;
    flex-direction: column;
  }

  .popup-principal {
    margin-bottom: 0;
    margin-left: 0;
    color: #910a2d !important;
    cursor: pointer;
    text-decoration: underline;
    text-align: center;
    padding: 2%;
  }

  .fifty-fifty-section {
    background: #000000;
  }

  .texto_nasa {
    width: 90%;
    text-align: justify;
    top: 22%;
  }

  .titulo_nasa_dos {
    text-align: center;
  }

  .texto_nasa_luna {
    width: 90%;
    text-align: justify;
    top: 54%;
  }
}

@media (max-width: 600px) {

  .fifty-fifty-left,
  .fifty-fifty-right {
    padding: 16px;
  }

  .fifty-fifty-left h2 {
    font-size: 1.3em;
  }

  .fifty-fifty-white-left,
  .fifty-fifty-white-right {
    padding: 16px;
  }

  .fifty-fifty-white-right h2 {
    font-size: 1.3em;
  }
}