/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fondo base */
body {
  width: 100vw;
  height: 100vh;
  background-color: #536db2;
  position: relative;
  overflow: hidden;
}

/* Capa de textura */
.background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/FondoTextura.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: multiply;
  opacity: 1; /* Ajustar entre 0.2 y 0.9 según el efecto deseado */
  z-index: -2;
  pointer-events: none; /* Para que no interfiera con interacciones futuras */
}


.nube {
  position: fixed;
  height: auto;
  pointer-events: none;
  z-index: 10;
  transform: translate(0, 0);
}

/* Nube 1: esquina inferior izquierda */
.nube1 {
  bottom: 0;
  left: 0;
  width: 27vw; 
}

/* Nube 2: esquina superior izquierda */
.nube2 {
  top: 0;
  left: 0;
  width: 50vw; 
}

/* Nube 3: esquina inferior derecha */
.nube3 {
  bottom: 0;
  right: 0;
  width: 60vw;
}

/* Nube 4: posición libre, tú ajustarás */
.nube4 {
  top: 5vh;
  right: 3vw;
  width: 45vw;
}

/* Logo: centrado verticalmente, pegado a la izquierda con padding */
.logo {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding-left: 1vw;
  width: 55vw;
  height: auto;
  z-index: -1;
  pointer-events: none;
}



.banner-group {
  position: fixed;
  top: 5vh;
  right: 6vw;
  display: flex;
  flex-direction: column;
  align-items: center; 
  z-index: 20;
}

.our-banner {
  width: 65vh;
  height: auto;
}

.button-row {
  display: flex;
  gap: 5vw;
  margin-top: -3vh;
  justify-content: center; 
}


.btn {
  width: 20vh;
  height: auto;
  cursor: pointer;
}


/* Fuente */
.pt-sans-caption-regular {
  font-family: "PT Sans Caption", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.pt-sans-caption-bold {
  font-family: "PT Sans Caption", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* Rectángulo de contenido */
.content-box {
  position: fixed;
  top: calc(5vh + 20vh + 10vh);
  right: 6vw;
  width: 65vh;
  height: 45vh;
  padding: 3vh;
  background-color: #f9f9f9;
  border: 2px solid rgb(0 0 0);
  z-index: 10;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  box-shadow: 0px 0px 5px 1px rgb(0 0 0);
  overflow: hidden;
  font-family: "PT Sans Caption", sans-serif;
  font-size: 0.75rem; /* tamaño global reducido */
  line-height: 1.35;
}

/* Fondo mosaico */
.content-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/background_mosaic.png");
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

/* Área con scroll */
.content-section {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding-right: 0.8rem;
}

/* Emojis forzados a Noto Emoji Monochrome */
.content-section li,
.content-section p {
  font-family: "PT Sans Caption", "Noto Emoji", sans-serif;
}

/* Scrollbar personalizado */
.content-section::-webkit-scrollbar {
  width: 6px;
}
.content-section::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.4);
  border-radius: 10px;
}

/* Texto */
.content-section p {
  margin-bottom: 0.6rem; /* más apretado */
  line-height: 1.35; /* menos espacio vertical */
  color: #222;
}

.content-section strong {
  font-weight: 700;
  color: #111;
}

.content-section em {
  font-style: italic;
  color: #555;
}

/* Listas */
.content-section ul {
  margin-left: 1rem;
  margin-bottom: 0.6rem;
  padding: 0;
  list-style: none;
}
.content-section ul li {
  margin-bottom: 0.3rem;
}

/* Hack para emojis en blanco y negro */
.content-section li,
.content-section p {
  unicode-bidi: isolate;
}
.content-section li::first-letter,
.content-section p::first-letter {
  -webkit-text-fill-color: black; /* vuelve emoji monocromo */
  text-shadow: none;
}

/* Formularios */
form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.6rem;
}

form label {
  font-size: 0.75rem;
  color: #333;
  display: flex;
  flex-direction: column;
}

form input,
form select,
form textarea {
  margin-top: 0.2rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 0.75rem;
  font-family: "PT Sans Caption", sans-serif;
}

form textarea {
  resize: vertical;
  min-height: 50px;
}

form button {
  margin-top: 0.3rem;
  padding: 0.5rem 1rem;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.75rem;
  transition: background-color 0.2s ease;
}
form button:hover {
  background-color: #536db2;
}


.site-footer {
  font-family: 'Karla', sans-serif;
  font-weight: 400; 
  font-size: 0.9rem;
  color: #000000; 
  text-align: center;
  padding: 1rem 0;
  position: fixed;      
  bottom: 0;            
  left: 0;
  width: 100%;
  background: transparent;
  border: none;  
  z-index: 30;          
}

.site-footer .footer-bold {
  font-weight: 700; 
}

/* Diseño responsive para pantallas ≤768px */
/* Diseño responsive para pantallas ≤768px */
/* Diseño responsive para pantallas ≤768px */
/* Diseño responsive para pantallas ≤768px */
@media (max-width: 768px) {

  /* Logo desaparece */
  .logo {
    display: none;
  }

  /* Banner se adapta al ancho */
  .banner-group {
    position: relative;
    top: 2vh;
    right: 0;
    width: 90%;
    margin: 0 auto;
    align-items: center;
  }

  .our-banner {
    width: 100%;
    height: auto;
    filter: blur(0.3px);
  }

  .button-row {
    gap: 4vw;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1vh;
  }

  .btn {
    width: 40%;
    max-width: 40vw;
    height: auto;
    filter: blur(0.3px);
  }

  /* Content box sin altura fija */
  .content-box {
    position: relative;
    top: auto;
    right: auto;
    width: 90%;
    margin: 1rem auto;
    padding: 1.5rem;
    overflow-y: auto;
  }

  /* Footer relativo, centrado */
  .site-footer {
    position: relative;
    margin-top: -1rem;
    filter: blur(0.4px);
  }
}
