* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.5;
  }
  
  header {
    background-color:#00c16c; 
    padding: 15px 20px;
  }
  
.container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative; 
  height: 60px;
  padding: 0 20px;
}
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
  .logo img {
    height: 50px;
  }
  
.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
  
  .nav-links a {
    text-decoration: none;
    color: #FFF;
    font-weight: bold;
    position: relative;
    transition: color 0.3s ease;
  }
  .nav-links a:hover{
    color:#1A1A1A
  }
  .nav-links a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left:0;
    background-color: #1A1A1A;
    transition: width 0.3s ease;
  }
  .nav-links a:hover::after{
    width: 100%;
  }
  
  .menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
  }

  .presentacion {
    background-color: #00755c;
    color: #FFF;
    padding: 40px 20px;
  }
  
  .tittles{
    margin-bottom: 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Arial', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFF;
    text-align: center; /* Centrado por defecto en titulos */
    position: relative; 
    margin: 1.5rem 0; /* Espaciado vertical */
    line-height: 1.2;
  }

  .tittles::after {
    content: '';
    position: absolute;
    width: 100px; /* Ancho fijo del subrayado */
    height: 4px; /* Grosor del subrayado */
    background-color: #FFFF; 
    bottom: -15px;
    left: 50%; /* Centrado horizontalmente */
    transform: translateX(-50%); /* Ajuste para centrar perfectamente */
  }

  .contacto-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    margin-top:20px;
  }
  
  .contacto-card {
    background-color: whitesmoke;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    min-width: 260px;
    max-width: 100%;
    border-left: 10px solid #004443;
    text-align: center;
    cursor: pointer;
    color:black;
  }

  .contacto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #00c16c;
  }

  .contacto-card p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #1A1A1A;
  }
  
  .contacto-card a {
    color: black;
    text-decoration: none;
    font-weight: bold;
  }
  
  .contacto-card a:hover {
    text-decoration: underline;
  }

  
  /* Estilos del pop-up (fondo oscuro) */
.popup {
  display: none; /* Oculto por defecto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* Contenedor interno del pop-up */
.popup-content {
  background: #00c16c;
  padding: 20px 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

/* Botón cerrar */
.close-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

/* Estilo del formulario */
form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

form input,
form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form button {
  margin-top: 15px;
  padding: 10px;
  background-color: #1A1A1A;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color:#90ff17 ;
  color:black;
}

  
/* --- Estilos para la sección de Presentación --- */
.contenedor-presentacion {
    display: flex;
    flex-wrap: wrap;
    /* Cambiado a flex-start para que la imagen se alinee más arriba con el texto */
    justify-content: center; /* Permite que ambos bloques (texto e imagen) se centren si no ocupan todo el ancho */
    align-items: center; /* Centra verticalmente ambos bloques si tienen alturas diferentes */
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}
  /* La sección de información (título y contactos) */
 .info {
    flex-basis: 60%; /* Ocupa el 60% del espacio, permitiendo que la imagen ocupe el resto */
    min-width: 300px; /* Asegura un ancho mínimo en pantallas más pequeñas */
    margin-right: 30px; /* Espacio entre la información y la imagen */
    /* Si quieres que el h1 y el contacto-grid *se apilen siempre* dentro de .info, puedes añadir: */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Para que el contenido interno de .info se alinee a la izquierda */
}

  /* Alinea el título de la presentación a la izquierda en pantallas grandes */
  .info .tittles { 
    text-align: left; 
    margin-bottom: 20px;
  }
  /* Alinea el subrayado del título a la izquierda en pantallas grandes */
  .info .tittles::after {
    left: 0; 
    transform: translateX(0);
  }

  /* Contenedor de la imagen única */
.img-unica {
    flex-basis: 35%; /* Ocupa el 35% del espacio restante */
    flex-shrink: 0; /* Evita que la imagen se encoja para dejar espacio */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinea la imagen a la parte superior de su contenedor */
    margin-left: auto; /* Empuja la imagen hacia la derecha cuando hay espacio */
}
  /* Estilo para la imagen principal del banner en escritorio */
.banner-img {
    width: 100%; /* Ocupa todo el ancho del contenedor */
    height: auto; /* Altura automática para mantener la proporción */
    object-fit: contain; /* Muestra la imagen completa sin recortes */
    max-width: 100%; /* Evita que la imagen exceda el contenedor */
    display: block;
    margin: 0;
}
  
.trabajos {
    background-color: #004443;
    color: white;
    padding: 60px 20px;
    text-align:center;
}
/* Contenedor principal */
.contenedor-trabajos {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
  text-align:center;
}

/* Título */
.tittle-trabajos {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  position: relative;
  display: inline-block;
  color: white;
}

.tittle-trabajos::after {
  content: '';
  display: block;
  margin: 8px auto 0;
  width: 100px;
  height: 5px;
  background-color: white; 
  border-radius: 2px;
}


/* Diseño de grilla para los proyectos */
.contenedor-trabajos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Estilo tipo card */
.proyecto {
  background-color: #004443;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.proyecto:hover {
  transform: translateY(-5px);
}

/* Imagen del proyecto */
.proyecto-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Contenido del proyecto */
.proyecto-contenido {
  padding: 20px;
}

.proyecto-contenido h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.proyecto-contenido p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Botón */
.boton-proyecto {
  margin: 0 20px 20px;
  text-align: center;
  padding: 10px 15px;
  background-color: #00c16c;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  align-self: center;
}

.boton-proyecto:hover {
  background-color: #90ff17;
  color:black;
}




.hr {
    border: none;
    border-top: 2px solid white;
    margin: 50px 0;
}
/*SECCION DE PREGUNTAS FRECUENTES*/
  .faq {
    background-color: #E5F4E3; 
    padding: 60px 20px;
    text-align: center;
  }
  
  .faq h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    border-bottom: 2px solid #1A1A1A;
    display: inline-block;
    padding-bottom: 10px;
    color:#004443;
  }
  
  .faq-item {
    max-width: 700px;
    margin: 0 auto 25px auto;
    text-align: left;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    color:#004443;
  }
  
  .faq-question {
    background: none;
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .faq-question:hover {
    background-color: #00c16c;
  }
  
  .faq-icon {
    font-size: 1.3rem;
    transition: transform 0.3s;
  }
  
  .faq-question.active .faq-icon {
    transform: rotate(45deg);
  }
  
  .faq-answer {
    background-color: #00c16c;
    display: none;
    padding: 0 20px 15px 20px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
/*PROCESO NEW SECTION*/
.proceso-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #004443;
    text-align: center;
    margin: 0 auto 40px;
    position: relative;
    width: 100%;
}

.proceso-title::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: #004443;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #004443;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
}

.timeline-card {
  background-color: #00c16c;
  padding: 20px;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.timeline-card h3{
    color:white;
}
.timeline-card p{
    color:white;
}
.timeline-item.left .timeline-card::after,
.timeline-item.right .timeline-card::after {
  content: '';
  position: absolute;
  top: 20px;
  width: 12px;
  height: 12px;
  background: #004443;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.left .timeline-card::after {
  right: -6px;
}

.timeline-item.right .timeline-card::after {
  left: -6px;
}

@media screen and (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 20px;
  }

  .timeline-item.left, .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-item.left .timeline-card::after,
  .timeline-item.right .timeline-card::after {
    left: -30px;
  }
}






.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center; /* Centra las columnas horizontalmente */
    max-width: 1200px; /* Limita el ancho para mejor control */
    margin: 0 auto; /* Centra el grid */
}

.feature-item {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px; /* Limita el ancho de las tarjetas */
    margin: 0 auto; /* Centra cada tarjeta dentro de su columna */
}

.feature-item .feature-icon {
    font-size: 2.5rem;
    color: #00c16c;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.4rem;
    color: #004443;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}
.footer {
  background-color: #004443;
  color: #FFF;
  text-align: center;
  padding: 30px 20px;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

/* Secciones internas como flex containers */
.footer-izquierda,
.footer-centro,
.footer-derecha {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
}

/* Iconos de contacto */
.logos-footer {
  width: 40px;
  height: 40px;
  margin: 10px;
  transition: transform 0.3s ease;
  padding: 15px;
}

.linkedin-icon i {
  color: #000000;
  font-size: 40px;
}

.logos-footer:hover {
  transform: scale(1.1);
}

/* Texto central (copyright) */
.footer-creditos::before {
  content: "© ";
}

.footer-creditos {
  font-size: 1rem;
  font-weight: 600;
  color: #FFF;
  text-align: center;
}

/* Enlaces del footer */
.footer-categorias {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-categorias a {
  color: #FFF;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
}

.footer-categorias a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease;
}

.footer-categorias a:hover {
  color: black;
}

.footer-categorias a:hover::after {
  width: 100%;
}

/* Frase adicional si la usas */
.footer-frase {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 auto;
}


  
  /* --- MEDIA QUERY RESPONSIVE (limpio y corregido) --- */
  @media (max-width: 768px) {
    /* Navegación (Header) */
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      margin-top: 10px;
    }
    .nav-links.active {
      display: flex;
    }
    .menu-toggle {
      display: block;
    }

    /* Sección de Presentación en móvil */
    .contenedor-presentacion {
        flex-direction: column; /* Apila elementos verticalmente */
        align-items: center; /* Centra elementos apilados */
        text-align: center; /* Centra texto */
    }
    .info {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .info .tittles { 
        text-align: center;
    }
    .info .tittles::after { /* Subrayado centrado en móvil */
        left: 50%;
        transform: translateX(-50%);
    }
    .contacto-grid {
        grid-template-columns: 1fr; 
    }
    .img-unica {
        width: 100%;
        margin-top: 20px;
    }
    .banner-img { /* Imagen de banner en móvil */
      width: 500px;
      height: 250px;
      margin: 0 auto;
      box-shadow: 0 0 5px rgba(0,0,0,0.3);
    }
    
    /* Sección Trabajos en móvil */

  
  
    /*PROCESO SECCION RESPONSIVE */
    .proceso-section {
        padding: 40px 15px;
    }
    .proceso-container {
        padding: 0 10px;
    }
    .proceso-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .proceso-title::after {
        width: 80px;
    }
    .proceso-grid {
        grid-template-columns: 1fr; /* Una columna */
        gap: 15px;
    }
.proceso-item {
    background-size: cover;
    width: 100%;
    box-sizing: border-box;
}
    .proceso-item h3 {
        font-size: 1.2rem;
    }
    .proceso-item p, .brief-text {
        font-size: 0.95rem;
    }
}