


/*RESET*/
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
  padding-top: 100px;
   font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}
/*HEADER*/
header{
  height: 130px;
  background: #fff;
  padding: 20px 50px;
  width: 100%;
  min-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  margin: 0;
}
header input{
  z-index: 1;
}
.logo{
  max-width: 320px;
  height: auto;
  margin: 0;
}

/* Hero Section */
.hero {
    min-height: 10vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: var(--dark-gray);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('empresa.jpg') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    max-width: 600px;
    animation: slideInLeft 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    line-height: 1.1;
    letter-spacing: -0.02em;
}



.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
    line-height: 1.7;
    font-weight: 400;
    max-width: 500px;
}



.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    animation: slideInRight 1s ease-out;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-yellow), transparent);
    opacity: 0.1;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    transition: var(--transition);
}

.hero-image:hover img {
    transform: scale(1.08);
}

.hero-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}


/*DESTA*/
.aee {
  background-color: rgb(238, 218, 42);
  color: antiquewhite;
  text-align: center;
  padding: 30px 20px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.aee .btn {
  border-radius: 25px;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 180px;
  height: 50px;
}

.hidden-btn {
  display: none !important;
}
.desta{
max-width: 100%;
height: auto;
}

.comin{
  font-size: 1.3rem;
  color: #000;
}

.comin a{
  color: #000;
}
.fa-regular{
  font-size: 2rem;
}
.btn-close{
  font-size: 2rem;
}

.seccion {
    display: none; /* todas ocultas */
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: opacity 0.3s ease;
  }

  .activa {
    display: block;
    opacity: 1;
  }

  .contenedor {
    max-width: 1000px;
    margin: 50px auto;
    text-align: center;
  }

  .btn {
    margin: 5px;
  }

.titulojava {
  display: inline-block; /* importante para que la línea se ajuste al texto */
  border-bottom: 4px solid #FFD700; /* línea amarilla */
  padding-bottom: 5px; /* espacio entre el texto y la línea */
}




/*PROYECTOS*/
.contenedar{
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 15px;
  padding: 20px;
  margin: 0 auto;
  overflow-x: auto;
  box-sizing: border-box;
}
/* Responsive para tablets */
@media screen and (max-width: 1024px) {
  .contenedar {
    gap: 10px;
    padding: 15px;
  }
  
  .contenedar figure {
    width: calc(25% - 7.5px);
    min-width: 180px;
    height: 230px;
  }
}

/* Responsive para móviles grandes */
@media screen and (max-width: 768px) {
  .contenedar {
    padding: 10px;
    gap: 8px;
  }
  
  .contenedar figure {
    width: calc(25% - 6px);
    min-width: 150px;
    height: 200px;
  }
}

/* Responsive para móviles pequeños */
@media screen and (max-width: 480px) {
  .contenedar {
    padding: 5px;
    gap: 5px;
  }
  
  .contenedar figure {
    width: calc(25% - 3.75px);
    min-width: 120px;
    height: 160px;
  }
}

.figuras{
  margin: 0;
}

/* Estilos para las cards de proyectos */
.cards-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
  overflow-x: auto;
}

.card-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: calc(25% - 15px);
  min-width: 250px;
  flex-shrink: 0;
  cursor: pointer;
}

.card-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.card-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-item:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  text-align: center;
}

.card-content h4 {
  color: #333;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 10px;
  border-bottom: 2px solid #FFD700;
  padding-bottom: 8px;
}

.card-content p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Responsive para las cards */
@media screen and (max-width: 1024px) {
  .cards-container {
    gap: 15px;
    padding: 15px;
  }
  
  .card-item {
    width: calc(25% - 11.25px);
    min-width: 200px;
  }
  
  .card-item img {
    height: 180px;
  }
  
  .card-content {
    padding: 15px;
  }
  
  .card-content h4 {
    font-size: 1.2rem;
    font-weight: 900;
  }
  
  .card-content p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 768px) {
  .cards-container {
    gap: 10px;
    padding: 10px;
  }
  
  .card-item {
    width: calc(25% - 7.5px);
    min-width: 150px;
  }
  
  .card-item img {
    height: 160px;
  }
  
  .card-content {
    padding: 12px;
  }
  
  .card-content h4 {
    font-size: 1.1rem;
    font-weight: 900;
  }
  
  .card-content p {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .cards-container {
    gap: 8px;
    padding: 8px;
  }
  
  .card-item {
    width: calc(25% - 6px);
    min-width: 120px;
  }
  
  .card-item img {
    height: 140px;
  }
  
  .card-content {
    padding: 10px;
  }
  
  .card-content h4 {
    font-size: 1rem;
    font-weight: 900;
  }
  
  .card-content p {
    font-size: 0.8rem;
  }
}

/* Responsive para botones de navegación */
@media screen and (max-width: 768px) {
  .aee {
    padding: 20px 15px;
    min-height: 100px;
    gap: 10px;
  }
  
  .aee .btn {
    padding: 10px 20px;
    font-size: 1rem;
    min-width: 150px;
    height: 45px;
  }
}

@media screen and (max-width: 480px) {
  .aee {
    padding: 15px 10px;
    min-height: 90px;
    gap: 8px;
  }
  
  .aee .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
    min-width: 120px;
    height: 40px;
  }
}

/* Responsive para el header */
@media screen and (max-width: 768px) {
  header {
    height: 80px;
    padding: 15px 20px;
  }
  
  .logo {
    max-width: 150px;
  }
  
  body {
    padding-top: 80px;
  }
}

@media screen and (max-width: 480px) {
  header {
    height: 70px;
    padding: 10px 15px;
  }
  
  .logo {
    max-width: 120px;
  }
  
  body {
    padding-top: 70px;
  }
}



.contenedar figure{
  position: relative;
  height: 250px;
  width: calc(25% - 11.25px);
  min-width: 200px;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contenedar figure:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.contenedar figure img{
  width: 100%;
  height: 100%;
  transition: all 500ms ease-out;
  margin-left: 0%;
  
}

.contenedar figure .capa{
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(66, 66, 66, 0.459);
  transition: all 500ms ease-out;
  opacity: 0;
  visibility: hidden;
  text-align: center;
}

.contenedar figure:hover > .capa{
  opacity:1;
  visibility: visible;
}
.contenedar figure:hover > .capa h3{
  margin-top: 70px;
  margin-bottom: 15px;
}

.contenedar figure .capa h3{
color: #fff;
font-weight: 400;
margin-bottom: 120px;
transition: all 500ms ease-out;
margin-top: 30px;
}

.contenedar figure .capa p{
  color: #fff;
  
  }

/*SOBRE NOSOTROS*/

.card-group{
  justify-content: space-between;
border-radius: 15px;
}
.card{
  margin-right: 30px; /* Espacio entre las cards */
  margin-left: 50px;
border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);   /* sombra uniforme en todos los lados */

}
.card-title{
  color: #000;
  font-family: sans-serif;
  size: 15px;
}

.card-body{
  padding: 0px 0px;
  background-color: #fffef7;
  align-items: center;
  text-align: center;
  border-radius: 15px;
}

.card-text{
  color: rgba(7, 7, 7, 0.767);
  font-size: 1rem;
    justify-content: left;
    padding-left: 10px;
    padding-right: 10px;
font-family:  sans-serif;
}


.card-text{
  font-size: 1.2rem;
}
@media (max-width: 767px) {
  /* Estilos para pantallas de hasta 767px de ancho */
  .card-tittle p {
    padding: 5px; /* Ajusta el espacio interno para pantallas pequeñas */
  }
}

.fa-solid fa-bullseye fa-4x{
   color: #ffc800;
}


/*CONTACTO*/

.container {
  display: flex;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border-radius: 15px;

}

.texto-container {
  flex: 0 0 330px;
  margin-right: 20px;
  margin-bottom: 10px;
    margin-top: 50px;
    margin-left: 20px;


  .punto{
    font-weight: bold;
    color: #535151;
  }
}

.text-container {
  flex: 1;
  margin-bottom: 0px;
}

.paragraph {
  margin-top: 0;
  margin-bottom: 20px;
  text-align: justify;
}

@media screen and (max-width: 800px) {
  .container {
    flex-direction: column;
  }
  .paragraph {
    margin: 0px;
  }
  
}

.col .social a i{
  color:#000;
  margin-right: 5px;
  transition: 0.3s ease;
}
.col .social a i:hover{
  transform: scale(1.5);
  filter:grayscale(25);
}
.col .sociall a i{
  color:#fff;
  margin-top:2rem;
  margin-right: 5px;
  transition: 0.3s ease;
}
.col .sociall a i:hover{
  transform: scale(1.5);
  filter:grayscale(25);
}




/*Footer*/
footer{
  background-color: #000;
  position: relative;
  width: 100%;
  min-height: 10px;
  padding: 3rem 1rem;
}
.footercont {
 max-width: 1190px;
 margin: 0 auto;
 display: flex;
 justify-content: left;
 align-items: left;
 flex-direction: column;


}
.fila{
 display: flex;
 justify-content: space-between;
 align-items: left;
}

.col .social a i{
  color:#F1D257;
  margin-top:2rem;
  margin-right: 5px;
  transition: 0.3s ease;
}
.col .social a i:hover{
  transform: scale(1.5);
  filter:grayscale(25);
}
.col{
 min-width: 20px;
 color:#f2f2f2f2;
 font-family: poppins;
 padding:100 0rem;
}
.col .logofooter{
 width: 235px;
 margin-bottom:5px;
}
.col h3{
 color:#1b1b19;
 margin-bottom: 20px;
 position: relative;
 cursor: pointer;
}
.col h3::after{
 content: '';
 height:3px;
 width:0px;
 background-color: #1b1b19;
 position: absolute;
 bottom: 0;
 left:0;
 transition: 0.3s ease;

}
.col h3:hover::after{
 width:30px
}
.col .social a i{
 color:#1b1b19;
 margin-top:2rem;
 margin-right: 5px;
 transition: 0.3s ease;
}
.col .social a i:hover{
 transform: scale(1.5);
 filter:grayscale(25);
}
.col .links a{
 display: block;
 text-decoration: none;
 color:#f2f2f2;
 margin-bottom: 5px;
 position: relative;
 transition: 0.3s ease;
}
.col .links a::before{
 content:'';
 height: 16px;
 width:3px;
 position: absolute;
 top:5px;
 left:-10px;
 background-color: #F1D257;
 transition: 0.5s ease;
 opacity: 0;
}
.col .links a:hover::before{
 opacity: 1;
}
.col .links a:hover{
 transform: translateX(-8px);
 color:#F1D257;
}
.col .contact-details{
 display: inline-flex;
 justify-content: space-between;
}
.col .contact-details i{
 margin-right:15px;
}

/*RESPONSIVE FOOTER*/
@media(max-width:900px)
{
.fila{
  flex-direction: column;
}
.col{
  width: 100%;
  text-align: left;
  margin-bottom: 25px;
}
}
@media(max-width:768px)
{
.fila{
  flex-direction: column;
}
.col{
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}
}

/*RESPONSIVE*/
@media(max-width: 768px){
  /*HEADER*/
  

/*PROYECTOS*/
.contenedar{
 flex-direction: column;
}
.contenedar figure{
  flex-direction: column;
}}