/* Variables globales */
:root {
  --modulos-transparencia: rgba(255, 255, 255, 0.7);
  --modulos-color: #000;
  --modulos-iconos: rgb(120, 120, 120);
}

/* Reset de estilos básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Comportamiento del scroll */
html {
  scroll-behavior: smooth;
}

/* Importación de fuentes */
@font-face {
  font-family: 'Roboto';
  src: url('fonts/Roboto/Roboto-Regular.ttf');
}

@font-face {
  font-family: 'arciform';
  src: url('fonts/arciformff/Arciform.otf');
}

/* Estilos del body */
body {
  font-family: 'Roboto', sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: #fff;
}

/* Estilos del header */
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  height: 100px;
  border-bottom: 1px solid rgb(54, 113, 154);
  background-color: #fff;
  padding: 10px;
  transition: all 0.3s;
  z-index: 1000;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

/* Barra de información superior */
.informacion-inicial {
  width: 100%;
  height: 50px;
  margin: 0 auto;
  background: #333;
  color: #fff;
  text-align: center;
  font-size: 14px;
  display: flex;
  justify-content: center;
}

.informacion-inicial div {
  height: 30px;
  margin: 10px;
  padding: 5px;
}

.informacion-inicial div i {
  color: rgb(253, 79, 0);
  margin-right: 10px;
}

/* Dirección en el header */
.direccion {
  position: relative;
  float: right;
}

/* Header con fondo transparente */
.header-fixed {
  background-color: rgba(180, 180, 180, 0.7);
}

/* Contenedor del logo */
.contenedor_logo {
  position: relative;
  float: left;
  width: 200px;
  height: 40px;
}

.contenedor_logo h5 {
  font-size: 14px;
  font-weight: 400;
}

.contenedor_logo figure {
  width: 120px;
}

.contenedor_logo figure img {
  width: 100%;
}

/* Estilos del banner principal */
.banner {
  position: relative;
  width: 100%;
  height: auto;
}

.banner__img {
  width: 100%;
  height: 500px;
  position: relative;
  display: block;
  background-image: url('../images/Banner_001.jpeg');
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
  background-position: -10% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  z-index: -1;
}

/* Contenedor del contenido del banner */
.banner .contenedor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: #fff;
  text-align: center;
  z-index: 20;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

/* Estilos de textos del banner */
.banner__titulo {
  font-size: 50px;
  font-weight: 700;
  font-style: normal;
  line-height: 85px;
  margin: 20px 0;
}

.banner__texto {
  font-family: 'Roboto', sans-serif;
  margin: 0 auto;
  width: 600px;
  font-size: 25px;
  font-weight: 700;
  font-style: normal;
  line-height: 30px;
}

.banner__texto--color {
  background-color: rgb(50, 50, 50);
}

.banner__fuertes {
  color: rgb(253, 79, 0);
}

.banner__subtitulo {
  font-size: 30px;
  font-weight: 700;
  font-style: normal;
  line-height: 39px;
  margin: 20px 0 40px;
}

/* Botón del banner */
#banner__boton {
  margin-top: 40px;
  width: auto;
  text-decoration: none;
  font-size: 16px;
  padding: 20px 50px;
  background-color: rgb(74, 117, 62);
  cursor: pointer;
  border: none;
  color: #fff;
  z-index: 100;
}

#banner__boton:hover {
  background-color: #000;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

#banner__boton:active {
  background-color: #000;
  border: none;
}

/* Estilos de secciones de página */
.seccion-pagina {
  position: relative;
  width: 80%;
  margin: 0 auto;
  height: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}

.seccion--gris {
  background-color: rgb(104, 109, 115);
}

.seccion--left {
  justify-content: left;
}

/* Títulos de sección */
.seccion__titulo {
  width: 100%;
  height: auto;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  padding-top: 20px;
  margin-bottom: 40px;
  letter-spacing: 5px;
  color: rgb(50, 50, 50);
}

.seccion__titulo--blanco {
  color: #fff;
}

.seccion__titulo--left {
  text-align: left;
  padding-left: 20px;
}

.seccion__descripcion {
  font-size: 16px;
}

/* Contenido de secciones */
.seccion__contenido {
  position: relative;
  float: left;
  font-size: 16px;
  font-weight: 400;
  color: var(--modulos-color);
  margin-left: 20px;
  line-height: 22px;
}


/* Estilos para tarjetas */
.tarjeta {
  width: 310px;
  height: 350px;
  float: left;
  margin: 10px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 300px;
  margin-bottom: 1.5rem;
}

.tarjeta:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.tarjeta__imagen {
  overflow: hidden;
  aspect-ratio: 12/9;
}

.tarjeta__imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tarjeta__imagen img:hover {
  transform: scale(1.05);
}

.tarjeta__titulo {

    float: left;
    width: 100%;
    height: 26px;
    padding-left: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #f8f9fa);
  
}

.tarjeta__titulo a {
  color: rgb(173, 190, 55);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 26px;
  transition: color 0.3s ease;
}

.tarjeta__titulo a:hover {
  color: #4a90e2;
}
.tarjeta__descripcion {
  width: 100%;
  height: 30px;
  line-height: 30px;
  padding-left: 4px;
}
.verde {
  color: #2ecc71;
}

/* Estilos de la sección de contacto */
.contacto {
  width: 100%;
  height: auto;
  text-align: center;
  padding: 50px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
}

.contacto--gris {
  background-color: rgb(212, 212, 212);
}

.contacto__titulo {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 5px;
  margin-top: 20px;
  padding-top: 80px;
}

.contacto__titulo--gris {
  background-color: rgb(212, 212, 212);
}

.contacto__texto {
  width: 60%;
  margin: 0 auto;
  padding-top: 30px;
}

.contacto__datos {
  position: relative;
  float: left;
  width: 400px;
}

/* Estilos del formulario de contacto */
.contacto__formulario {
  width: 420px;
  text-align: center;
  padding: 10px;
}

.formulario__elemento {
  width: 400px;
  margin: 10px 0;
}

.formulario__control {
  height: 30px;
}

.formulario__label {
  position: relative;
  float: left;
  width: 100px;
  height: 30px;
  line-height: 30px;
}

.formulario__control {
  border: 1px solid rgb(180, 180, 180);
  width: 300px;
  padding: 10px;
  color: rgb(100, 100, 100);
}

.formulario__listas {
  border: 1px solid rgb(180, 180, 180);
  width: 300px;
  padding: 10px;
  color: rgb(100, 100, 100);
  background-color: #fff;
}

.formulario__solicitud {
  width: 300px;
  height: 100px;
  padding: 10px;
  color: rgb(100, 100, 100);
  border: 1px solid rgb(180, 180, 180);
}

/* Botón de enviar formulario */
.btn-enviar {
  position: relative;
  float: right;
  width: 150px;
  height: 40px;
  background-color: rgb(80, 80, 80);
  color: #fff;
  border: none;
  cursor: pointer;
}

.btn-enviar:hover {
  background-color: rgb(54, 113, 154);
}

.formulario__respuesta {
  width: 100%;
  background-color: rgb(54, 113, 154);
  color: #fff;
}

/* Estilos de datos de contacto */
.datos {
  margin-top: 20px;
  height: 100px;
}

.datos__correo {
  font-size: 16px;
  color: rgb(100, 100, 100);
  margin-top: 5px;
}

/* Estilos del footer */
.footer {
  position: relative;
  width: 100%;
  height: 50px;
  font-size: 14px;
  line-height: 50px;
  background-color: rgb(104, 109, 115);
  text-align: center;
  bottom: 0;
}

/* Botón de menú móvil */
.checkbtn {
  font-size: 30px;
  float: right;
  line-height: 60px;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

.checkbtn:hover {
  color: rgb(120, 120, 120);
}

#check {
  display: none;
}

/* Botón de más información */
.btn-mas-info {
  display: inline-block;
  padding: 12px 100px;
  background-color: rgb(9, 151, 49);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-mas-info:hover {
  background-color: #000;
  transform: translateY(-2px);
}

.btn-mas-info:active {
  transform: translateY(0);
}


/* Media queries para dispositivos móviles */
@media (max-width: 768px) {
  .banner {
    position: relative;
    width: 100%;
    height: auto;
  }
  
  .banner__img {
    width: 100%;
    height: 300px;
    position: relative;
    display: block;
    background-image: url('../images/Banner_001.jpeg');
    background-color: rgba(0, 0, 0, 0.5);
    background-blend-mode: overlay;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    z-index: -1;
  }
  
  .banner .contenedor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    color: #fff;
    text-align: center;
    z-index: 20;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
  }
  
  .banner__titulo {
    font-size: 32px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    margin: 15px 0;
  }
  
  .banner__texto {
    font-family: 'Roboto', sans-serif;
    margin: 0 auto;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.3;
  }
  
  .banner__texto--color {
    background-color: rgb(50, 50, 50);
    padding: 10px;
  }
  
  .banner__fuertes {
    color: rgb(253, 79, 0);
  }
  
  .banner__subtitulo {
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2;
    margin: 15px 0 25px;
  }

  .contacto__formulario {
    width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
  }
  .btn-enviar {
    width: 100%;
    margin: 0 auto;
  }
  .direccion {
    display: none;
  }
  .tarjeta {
    width: 100%;
    height: 350px;
    margin-bottom: 1.5rem;
  }

  .tarjeta__titulo {
    padding: 1rem;
  }
 
 
}