@font-face {
  font-family: 'marri';
  src: url('fuentes/MerriweatherSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body{
    height: 100vh;
    margin: 0px;
    background: linear-gradient(to bottom,  #ffffff,  #1c1c1c);
    background-attachment: fixed;
}

.encabezado{
    text-align: center;
}

.t1{
    font-size: 50px;
    font-family: 'marri', sans-serif;
    margin-bottom: 2%;
    margin-top: 5%;
}

.logo{
    width: 40%;
    height: auto;
}

.contenedor1{
    margin: 2% 0 0 7%;
    position: relative;
    display: inline-block;
    width: 45%;
    overflow: hidden;
    border-radius: 15px;
}

.t2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 35px;
    width: 100%;
    margin: 0;
    font-family: 'marri', sans-serif;
    text-shadow: 2px 2px 3px black;
    transition: all 0.3s ease;
}

.imgsomos{
    width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0.9;
    display: block;
    transition: transform 0.4s ease;
}

.texadicional{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    width: 80%;
    opacity: 0;
    transition: all 0.6s ease;
    font-family: 'marri', sans-serif;
    font-size: 18px;
}

.contenedor1:hover .imgsomos {
    transform: scale(1.05);
}

.modal1 {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
  text-align: justify;
}

/* Contenido del modal */
.modal1-contenido {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 70%;
  max-width: 600px;
  font-family: 'marri', sans-serif;
  color: #333;
  line-height: 1.5;
}

/* Botón cerrar */
.cerrar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.cerrar:hover {
  color: black;
}

.contenedor2{
    margin: 2% 0 0 2%;
    position: relative;
    display: inline-block;
    width: 38.5%;
    overflow: hidden;
    border-radius: 15px;
}

.t3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 35px;
    width: 100%;
    margin: 0;
    font-family: 'marri', sans-serif;
    text-shadow: 2px 2px 3px black;
    transition: all 0.6s ease;
}

.imgservi{
    width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0.8;
    display: block;
    transition: transform 0.6s ease, opacity 0.4s ease;
    transform-style: preserve-3d;
}

/* Fondo del modal */
.modal0 {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* fondo oscuro */
  justify-content: center;
  align-items: center;
}

/* Caja del modal */
.modal0-contenido {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 500px;
  text-align: left;
  font-family: 'marri', sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Texto con scroll */
.texto-scroll {
  padding-right: 10px;
  padding-right: 10px;
  font-family: 'marri', sans-serif;
  font-size: 18px;
  color:  #333;
}

/* Scroll personalizado */
.texto-scroll::-webkit-scrollbar {
  width: 8px;
}

.texto-scroll::-webkit-scrollbar-thumb {
  background: #4369af;
  border-radius: 6px;
}

.texto-scroll::-webkit-scrollbar-thumb:hover {
  background: #2a5298;
}

/* Botón */
.boton2 {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #4369af, #2a5298);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Botón cerrar */
.cerrar {
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.contenedor2:hover .imgservi {
    transform: scale(1.05);
}

.cerrar:hover {
  color: red;
}

.contenedordirec{
    text-align: center;
    margin-top: 5%;
}

#titulo{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 40px;

}

#tit1{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 25px;

}

#tit2{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 20px;

}

.contacto{
    margin-top: 3%;
}

.contacto img{
    width: 12%;
    margin-bottom: 10%;
}

#img2{
    margin-left: 28%;
}

#img3{
    margin-left: 23%;
}

.contenedorform{
    text-align: center;
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 23px;
}

.contenedormen {
    max-width: 400px;
    margin: 50px auto;
    margin-bottom: 80px;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    color: #2a5298;
    margin-bottom: 20px;
}

/* Inputs y textarea */
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 90%;
    padding: 12px;
    margin: 8px 0 18px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'marri', sans-serif; 
}

textarea{
    resize: none;
    font-family: 'marri', sans-serif; 
}

/* Animación al enfocar */
input:focus, textarea:focus {
    border-color: #2a5298;
    box-shadow: 0 0 8px rgba(42,82,152,0.5);
    transform: scale(1.02);
    outline: none;
}

label{
  font-family: 'marri', sans-serif;  
}

/* Botón */
button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #4369af, #2a5298);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Animación hover en botón */
button:hover {
    background: linear-gradient(90deg, #2a5298, #1e3c72);
    transform: scale(1.05);
}
     
.copyright {
    text-align: center;
    background-color: rgb(85, 85, 85);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: black;
    padding-bottom: 10px;
    font-family: 'marri', sans-serif;
}

@media (max-width: 992px) {
    @font-face {
  font-family: 'marri';
  src: url('fuentes/MerriweatherSans-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body{
    height: 100vh;
    margin: 0px;
    background: linear-gradient(to bottom,  #ffffff,  #1c1c1c);
    background-attachment: fixed;
}

.encabezado{
    text-align: center;
}

.t1{
    font-size: 50px;
    font-family: 'marri', sans-serif;
    margin-bottom: 2%;
    margin-top: 5%;
}

.logo{
    width: 40%;
    height: auto;
}

.contenedor1{
    margin: 2% 0 0 7%;
    position: relative;
    display: inline-block;
    width: 45%;
    overflow: hidden;
    border-radius: 15px;
}

.t2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 35px;
    width: 100%;
    margin: 0;
    font-family: 'marri', sans-serif;
    text-shadow: 2px 2px 3px black;
    transition: all 0.3s ease;
}

.imgsomos{
    width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0.9;
    display: block;
    transition: transform 0.4s ease;
}

.texadicional{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    width: 80%;
    opacity: 0;
    transition: all 0.6s ease;
    font-family: 'marri', sans-serif;
    font-size: 18px;
}

.contenedor1:hover .imgsomos {
    transform: scale(1.05);
}

.modal1 {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

/* Contenido del modal */
.modal1-contenido {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 70%;
  max-width: 600px;
  font-family: 'marri', sans-serif;
  color: #333;
  line-height: 1.5;
}

/* Botón cerrar */
.cerrar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.cerrar:hover {
  color: black;
}

.contenedor2{
    margin: 2% 0 0 2%;
    position: relative;
    display: inline-block;
    width: 38.5%;
    overflow: hidden;
    border-radius: 15px;
}

.t3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 35px;
    width: 100%;
    margin: 0;
    font-family: 'marri', sans-serif;
    text-shadow: 2px 2px 3px black;
    transition: all 0.6s ease;
}

.imgservi{
    width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0.8;
    display: block;
    transition: transform 0.6s ease, opacity 0.4s ease;
    transform-style: preserve-3d;
}

/* Fondo del modal */
.modal0 {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* fondo oscuro */
  justify-content: center;
  align-items: center;
}

/* Caja del modal */
.modal0-contenido {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 500px;
  text-align: left;
  font-family: 'marri', sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Texto con scroll */
.texto-scroll {
  padding-right: 10px;
  padding-right: 10px;
  font-family: 'marri', sans-serif;
  font-size: 18px;
  color:  #333;
}

/* Scroll personalizado */
.texto-scroll::-webkit-scrollbar {
  width: 8px;
}

.texto-scroll::-webkit-scrollbar-thumb {
  background: #4369af;
  border-radius: 6px;
}

.texto-scroll::-webkit-scrollbar-thumb:hover {
  background: #2a5298;
}

/* Botón */
.boton2 {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #4369af, #2a5298);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Botón cerrar */
.cerrar {
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.contenedor2:hover .imgservi {
    transform: scale(1.05);
}

.cerrar:hover {
  color: red;
}

.contenedordirec{
    text-align: center;
    margin-top: 5%;
}

#titulo{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 40px;

}

#tit1{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 25px;

}

#tit2{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 20px;

}

.contacto{
    margin-top: 3%;
}

.contacto img{
    width: 12%;
    margin-bottom: 10%;
}

#img2{
    margin-left: 28%;
}

#img3{
    margin-left: 23%;
}

.contenedorform{
    text-align: center;
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 23px;
}

.contenedormen {
    max-width: 400px;
    margin: 50px auto;
    margin-bottom: 80px;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    color: #2a5298;
    margin-bottom: 20px;
}

/* Inputs y textarea */
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 90%;
    padding: 12px;
    margin: 8px 0 18px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'marri', sans-serif; 
}

textarea{
    resize: none;
    font-family: 'marri', sans-serif; 
}

/* Animación al enfocar */
input:focus, textarea:focus {
    border-color: #2a5298;
    box-shadow: 0 0 8px rgba(42,82,152,0.5);
    transform: scale(1.02);
    outline: none;
}

label{
  font-family: 'marri', sans-serif;  
}

/* Botón */
button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #4369af, #2a5298);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Animación hover en botón */
button:hover {
    background: linear-gradient(90deg, #2a5298, #1e3c72);
    transform: scale(1.05);
}
     
.copyright {
    text-align: center;
    background-color: rgb(85, 85, 85);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: black;
    padding-bottom: 10px;
    font-family: 'marri', sans-serif;
}

    }

@media (max-width: 600px) {

@font-face {
    font-family: 'marri';
    src: url('fuentes/MerriweatherSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body{
    height: 100vh;
    margin: 0px;
    background: linear-gradient(to bottom,  #ffffff,  #1c1c1c);
    background-attachment: fixed;
}

.encabezado{
    text-align: center;
}

.t1{
    font-size: 18px;
    font-family: 'marri', sans-serif;
    margin-bottom: 2%;
    margin-top: 5%;
}

.logo{
    width: 40%;
    height: auto;
}

.contenedor1{
    margin: 2% 0 0 7%;
    position: relative;
    display: inline-block;
    width: 45%;
    overflow: hidden;
    border-radius: 15px;
}

.t2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 15px;
    width: 100%;
    margin: 0;
    font-family: 'marri', sans-serif;
    text-shadow: 2px 2px 3px black;
    transition: all 0.3s ease;
}

.imgsomos{
    width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0.9;
    display: block;
    transition: transform 0.4s ease;
}

.texadicional{
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 10px;
    width: 80%;
    opacity: 0;
    transition: all 0.6s ease;
    font-family: 'marri', sans-serif;
    font-size: 18px;
}

.contenedor1:hover .imgsomos {
    transform: scale(1.05);
}

.modal1 {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
}

/* Contenido del modal */
.modal1-contenido {
  background: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 15px;
  width: 70%;
  max-width: 600px;
  font-family: 'marri', sans-serif;
  color: #333;
  line-height: 1.5;
}

/* Botón cerrar */
.cerrar {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.cerrar:hover {
  color: black;
}

.contenedor2{
    margin: 2% 0 0 2%;
    position: relative;
    display: inline-block;
    width: 38.5%;
    overflow: hidden;
    border-radius: 15px;
}

.t3{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    font-size: 15px;
    width: 100%;
    margin: 0;
    font-family: 'marri', sans-serif;
    text-shadow: 2px 2px 3px black;
    transition: all 0.6s ease;
}

.imgservi{
    width: 100%;
    height: auto;
    border-radius: 15px;
    opacity: 0.8;
    display: block;
    transition: transform 0.6s ease, opacity 0.4s ease;
    transform-style: preserve-3d;
}

/* Fondo del modal */
.modal0 {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); /* fondo oscuro */
  justify-content: center;
  align-items: center;
}

/* Caja del modal */
.modal0-contenido {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 80%;
  max-width: 500px;
  text-align: left;
  font-family: 'marri', sans-serif;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Texto con scroll */
.texto-scroll {
  padding-right: 10px;
  padding-right: 10px;
  font-family: 'marri', sans-serif;
  font-size: 18px;
  color:  #333;
}

/* Scroll personalizado */
.texto-scroll::-webkit-scrollbar {
  width: 8px;
}

.texto-scroll::-webkit-scrollbar-thumb {
  background: #4369af;
  border-radius: 6px;
}

.texto-scroll::-webkit-scrollbar-thumb:hover {
  background: #2a5298;
}

/* Botón */
.boton2 {
  width: 100%;
  padding: 12px;
  background: linear-gradient(90deg, #4369af, #2a5298);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Botón cerrar */
.cerrar {
  float: right;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.contenedor2:hover .imgservi {
    transform: scale(1.05);
}

.cerrar:hover {
  color: red;
}

.contenedordirec{
    text-align: center;
    margin-top: 5%;
}

#titulo{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 30px;

}

#tit1{
    text-align: center;
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 20px;

}

#tit2{
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 18px;

}

.contacto{
    margin-top: 3%;
}

.contacto img{
    width: 12%;
    margin-bottom: 10%;
}

#img2{
    margin-left: 28%;
}

#img3{
    margin-left: 23%;
}

.contenedorform{
    text-align: center;
    color: aliceblue;
    font-family: 'marri', sans-serif;
    font-size: 20px;
}

.contenedormen {
    max-width: 400px;
    margin: 50px auto;
    margin-bottom: 80px;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    text-align: center;
    color: #2a5298;
    margin-bottom: 20px;
}

/* Inputs y textarea */
input[type="text"], input[type="email"], input[type="tel"], textarea {
    width: 90%;
    padding: 12px;
    margin: 8px 0 18px 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: 'marri', sans-serif; 
}

textarea{
    resize: none;
    font-family: 'marri', sans-serif; 
}

/* Animación al enfocar */
input:focus, textarea:focus {
    border-color: #2a5298;
    box-shadow: 0 0 8px rgba(42,82,152,0.5);
    transform: scale(1.02);
    outline: none;
}

label{
  font-family: 'marri', sans-serif;  
}

/* Botón */
button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #4369af, #2a5298);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Animación hover en botón */
button:hover {
    background: linear-gradient(90deg, #2a5298, #1e3c72);
    transform: scale(1.05);
}
     
.copyright {
    text-align: center;
    background-color: rgb(85, 85, 85);
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: black;
    padding-bottom: 10px;
    font-family: 'marri', sans-serif;
}

}   