
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}
body {
    font-family: 'Oswald', sans-serif,"Poppins";
}
.header{
background-color: hsla(0, 0%, 2%, 1);
    background-image: radial-gradient(circle at 3% 101%, hsla(0, 0%, 2%, 1) 13.797574811818231%, transparent 65%), radial-gradient(circle at 98% 98%, hsla(0, 0%, 2%, 1) 15%, transparent 63.310997437284335%), radial-gradient(circle at 46% 98%, hsla(240, 0%, 2%, 1) 20.593893049449022%, transparent 49.606606188780056%), radial-gradient(circle at 3% 6%, hsla(18.26086956521739, 72%, 49%, 1) 15%, transparent 65%), radial-gradient(circle at 97% 7%, hsla(240, 7%, 29%, 1) 15%, transparent 65%);
    background-blend-mode: normal, normal, normal, normal, normal;
    min-height: 10vh;
    min-width: 70vh;
}
 
  

.top-bar {
    display: flex;
    align-items: center; /* centra img y h1 verticalmente */
    gap: 1px;
    padding: 10px 20px;
    
   /* altura mínima del top-bar */
  }
  .top-bar img {
    height: 500px;
    width: 500px;
    margin-left: 400px;
    text-align: center;
  }

  .top-bar h1 {
    color: antiquewhite;
    margin: 0;
    width: 120px;
    font-size: 57px;
  }

  .header-content {
    margin-bottom: 80px;
     display: flex;
         justify-content: center; /* centra horizontalmente */
         align-items: center; 
         font-size: 50px;
    color: rgb(245, 245, 245);
    font-family: "Poppins";
     font-weight: 200;
  font-style: normal;
  }  
.contenedor {
  margin-top: 70px;
    position: relative;
    width: 50%; /* opcional: que no ocupe todo el ancho de la pantalla */
    max-width: 1200px; /* límite de tamaño */
    height: 105vh; /* ocupa gran parte de la pantalla */
    margin: 20px auto 0 auto; /* centra horizontalmente */
    overflow: hidden;
    border: 5px solid #333; /* borde visible */
    border-radius: 10px; /* bordes redondeados */
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* sombra alrededor */
}

    .imagenes {
      display: flex;
      transition: transform 0.5s ease;
      width: 100%;
      height: 100%;
    }
.imagenes img 
{ min-width: 100%; 
    height: 100%; 
    object-fit: cover; 
    /* hace que la imagen ocupe todo el div */ }



    .boton {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.5);
      color: #fff;
      border: none;
      font-size: 2rem;
      padding: 10px;
      cursor: pointer;
    }

    .boton.izq {
      left: 10px;
    }

    .boton.der {
      right: 10px;
    }
 .secti {
      display: flex;
      justify-content: center; /* centra el rectángulo horizontal */
      align-items: center;     /* centra el rectángulo vertical */
      height: 190vh;           /* ocupa toda la pantalla */
      background-color: #f0f0f0;
    }

    .escritura {
      width: 90%;
      max-width: 1600px;
      background-color: grey;
      border: 2px solid #333;
      border-radius: 12px;
      padding: 20px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      margin-left: 50px;
      margin-top: 80px;
      margin-bottom: 80px;

    }

    .escritura img {
      max-width: 100%;
      height: auto;
      border-radius: 8px;
      margin-right: 1200px;
    }

    .escritura h3 {
      margin-top: 15px;
      font-size: 25px;
      color: #222;
      margin-right: 400px;
    }
  .escritura h4 {
    margin-top: 15px;
     font-size: 16px;
      color: #222;
      margin-right: 900px;
  }  
.servis {
   display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(420px, 90%);
  margin: 0 auto;         /* ejemplo de altura */
    
  }
  .servis a{
     margin: 10px 0; /* espacio entre enlaces */
    text-decoration: none;
    color: #f1eeee;
    font-size: 16px;
    margin-left: 40px;
  }
  .servis img{
    font-size: 4px;
    margin-right: 20px;
  }
  .btn-img{
    height: 30px;
    margin-right: 60px;
  }

  .btn {
   display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;            /* misma altura para todos */
  border-radius: 12px;
  border: 1px solid #f0eeee;
  text-decoration: none;
  font: 600 16px/1 system-ui, sans-serif;
  background: #1c7688b2;
  color: #352d2d;
  transition: transform .15s ease, box-shadow .15s ease;
  }
  .btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
  .todo{
 background-color: hsla(0, 0%, 2%, 1);
    background-image: radial-gradient(circle at 3% 101%, hsla(0, 0%, 2%, 1) 13.797574811818231%, transparent 65%), radial-gradient(circle at 98% 98%, hsla(0, 0%, 2%, 1) 15%, transparent 63.310997437284335%), radial-gradient(circle at 46% 98%, hsla(240, 0%, 2%, 1) 20.593893049449022%, transparent 49.606606188780056%), radial-gradient(circle at 3% 6%, hsla(18.26086956521739, 72%, 49%, 1) 15%, transparent 65%), radial-gradient(circle at 97% 7%, hsla(240, 7%, 29%, 1) 15%, transparent 65%);
    background-blend-mode: normal, normal, normal, normal, normal;
  }
  
 .mapa {
  
    width: 100%;
    max-width: 900px;   
    aspect-ratio: 16/9; 
    border-radius: 16px;
    overflow: hidden;   
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    margin: 0 auto;     
  }
  .mapa iframe {
    margin-top: 10px;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  .footer{
    margin-top: 40px;
     width: 100%;          
  height:40px;        
  background-color: #333;  
  color: white;        
  display: flex;       
  justify-content: center;
  align-items: center;
  border-top: 2px solid #555;
  }
  .box {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.box.visible {
    opacity: 1;
    transform: translateY(0);
}




@media (max-width: 576px) {
body{
  overflow-x: hidden;
  
}
html, body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden; 
  overflow-y: auto;
  background-color: hsla(0, 0%, 2%, 1);
  background-image: 
    radial-gradient(circle at 3% 101%, hsla(0, 0%, 2%, 1) 13.8%, transparent 65%), 
    radial-gradient(circle at 98% 98%, hsla(0, 0%, 2%, 1) 15%, transparent 63.3%), 
    radial-gradient(circle at 46% 98%, hsla(240, 0%, 2%, 1) 20.6%, transparent 49.6%), 
    radial-gradient(circle at 3% 6%, hsla(18.26, 72%, 49%, 1) 15%, transparent 65%), 
    radial-gradient(circle at 97% 7%, hsla(240, 7%, 29%, 1) 15%, transparent 65%);
  background-blend-mode: normal, normal, normal, normal, normal;
  background-size: cover;
  font-family: sans-serif;
  color: white;
}
.top-bar {
    display: flex;
    align-items: center; 
    gap: 1px;
    padding: 10px 20px;
   
}

.top-bar img{
  width: 350px;
  height: 350px;
  margin: 0px -20px;
  display: block;
}


.header{
  min-height: 0vh;
  min-width: 0vh;
}
.header-content{
  padding: 0px 10px;
}
.header-content p{
  font-size: 40px;
  padding:  0px;
  margin-left: 25px;
  
}


.contenedor {
  width: 35vh;
  height: 35vh;
 
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}


.boton {
  font-size: 2rem;
  padding: 5px 10px;
  display: block;
 margin: 10px auto;
}


.escritura {
    width: 90%; 
    max-width: 350px; 
    background-color: grey;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 15px; 
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin: 20px auto; 
    font-size: 4vw; 
}

  .escritura h3 {
    margin-top: 20px;       
    font-size: 5vw;         
    color: #222;
    margin-right: 0;         
    text-align: center;      
}

.escritura h4 {
    margin-top: 10px;       
    font-size: 4vw;          
    color: #222;
    margin-right: 0;         
    text-align: center;     
}

 .btn {
   display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 30vh; 
  border-radius: 12px;
  border: 1px solid #f0eeee;
  text-decoration: none;
  font: 600 16px/1 system-ui, sans-serif;
  background: #1c7688b2;
  color: #352d2d;
  transition: transform .15s ease, box-shadow .15s ease;
  }

.mapa {
    width: 90%;            
    max-width: 360px;      
    aspect-ratio: 16/9;    
    border-radius: 12px;   
    overflow: hidden;      
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    margin: 20px auto;    
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.footer{
    margin-top: 40px;
     width: 100%;         
  height:70px;        
  background-color: #333;  
  color: white;         
  display: flex;        
  justify-content: center;
  align-items: center;
  border-top: 2px solid #555;
  }
  .footer h1{
    font-size: 20px;
  }
}
@media (min-width: 577px) and (max-width: 991px) {
  body{
  overflow-x: hidden;
   
    width: 401px;
    height: 932px;
    
  
}
  html, body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden; /* Bloquea scroll horizontal */
  overflow-y: auto;
  background-color: hsla(0, 0%, 2%, 1);
  background-image: 
    radial-gradient(circle at 3% 101%, hsla(0, 0%, 2%, 1) 13.8%, transparent 65%), 
    radial-gradient(circle at 98% 98%, hsla(0, 0%, 2%, 1) 15%, transparent 63.3%), 
    radial-gradient(circle at 46% 98%, hsla(240, 0%, 2%, 1) 20.6%, transparent 49.6%), 
    radial-gradient(circle at 3% 6%, hsla(18.26, 72%, 49%, 1) 15%, transparent 65%), 
    radial-gradient(circle at 97% 7%, hsla(240, 7%, 29%, 1) 15%, transparent 65%);
  background-blend-mode: normal, normal, normal, normal, normal;
  background-size: cover;
  font-family: sans-serif;
  color: white;
}

/* Top bar */
.top-bar {
    display: flex;
    align-items: center; /* centra img y h1 verticalmente */
    gap: 1px;
    padding: 10px 20px;
    /* altura mínima del top-bar */
}

.top-bar img{
  width: 350px;
  height: 350px;
  margin: 0 10px;
  display: block;
}


.header{
  min-height: 0vh;
  min-width: 0vh;
}
.header-content{
  padding: 0px 10px;
}
.header-content p{
  font-size: 40px;
  padding:  0px;
  margin-left: 25px;
  
}

.contenedor {
  width: 45vh;
  height: 35vh;
 
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botón */
.boton {
  font-size: 1rem;
  padding: 5px 10px;
  display: block;
  margin: 3px 5px;

}

.escritura {
    width: 90%; /* ocupa la mayoría del ancho */
    max-width: 350px; /* limita el ancho para móviles */
    background-color: grey;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 15px; /* un poco menos para móvil */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    margin: 20px auto; /* centra horizontalmente y margen vertical reducido */
    font-size: 4vw; /* tamaño de texto relativo al ancho de pantalla */
}

  .escritura h3 {
    margin-top: 20px;       /* menos margen para móviles */
    font-size: 5vw;         /* tamaño relativo al ancho de la pantalla */
    color: #222;
    margin-right: 0;         /* elimina márgenes grandes que no funcionan en móvil */
    text-align: center;      /* centra el texto dentro del contenedor */
}

.escritura h4 {
    margin-top: 10px;       /* reduce el margen superior */
    font-size: 4vw;          /* tamaño relativo al ancho de la pantalla */
    color: #222;
    margin-right: 0;          /* elimina margen excesivo */
    text-align: center;       /* centra el texto dentro del contenedor */
}

 .btn {
   display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 33vh; /* misma altura para todos */
  border-radius: 12px;
  border: 1px solid #f0eeee;
  text-decoration: none;
  font: 600 16px/1 system-ui, sans-serif;
  background: #1c7688b2;
  color: #352d2d;
  transition: transform .15s ease, box-shadow .15s ease;
  }

.mapa {
    width: 90%;            /* ocupa casi todo el ancho del móvil */
    max-width: 360px;      /* limita ancho para pantalla de 390px */
    aspect-ratio: 16/9;    /* mantiene la proporción */
    border-radius: 12px;   /* un poco más pequeño para móvil */
    overflow: hidden;      
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    margin: 20px auto;     /* margen vertical y centrado horizontal */
}

.mapa iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.footer{
    margin-top: 40px;
     width: 100%;          /* ocupa todo el ancho */
  height:70px;        /* alto del rectángulo */
  background-color: #333;  /* color de fondo */
  color: white;         /* color del texto */
  display: flex;        /* centra el contenido */
  justify-content: center;
  align-items: center;
  border-top: 2px solid #555;
  }
  .footer h1{
    font-size: 20px;
  }
}