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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2d3436;
  background-color: #fff;
}

.contenedor {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #007BFF;
}

.logo img {
  max-height: 40px;
}

.logo span {
  color: #2d3436;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li a {
  text-decoration: none;
  color: #2d3436;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: #007BFF;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #007BFF;
}

@media (max-width: 768px) {
  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    display: none;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    text-align: center;
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
  }
}

/* Hero Section - Estilo basado en GNB Group */
.hero {
  background: url('img/banner.jpg') no-repeat center center / cover;
  color: white;
  padding: 100px 0;
  text-align: center;
  position: relative;
}

/* Overlay oscuro sutil */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Overlay oscuro pero suave */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: auto;
  padding: 20px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Botón CTA */
.btn {
  background: #007BFF;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  display: inline-block;
  max-width: 250px;
  text-align: center;
}

.btn:hover {
  background: #0056b3;
}

/* Clases de color por sección */
.fondo-blanco {
  background-color: #fff;
  color: #2d3436;
}

.fondo-gris {
  background-color: #f4f7fa;
  color: #2d3436;
}

.fondo-azul {
  background-color: #007BFF;
  color: white;
}

.fondo-oscuro {
  background-color: #2d3436;
  color: white;
}

.fondo-negro {
  background-color: #000;
  color: white;
}

/* Secciones generales */
.seccion {
  position: relative;
  padding: 80px 0;
  color: white;
}

.seccion h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: #2d3436;
}

/* Estilo específico para la sección "Nosotros" */
#nosotros.seccion {
  background-color: #f8f9fa; /* Gris muy suave del sitio real */
  color: #2d3436;
}

/* Info de contacto */
.info-contacto {
  text-align: center;
  font-size: 1rem;
  color: white;
  margin: auto;
}

.info-contacto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: white;
}

.info-contacto p {
  font-size: 1rem;
  margin: 5px 0;
  color: white;
}

/* Diseño de sección de contacto en una sola línea */
.contenedor-contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  max-width: 1100px;
  margin: auto;
}

/* Servicios */
.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 300px;
  max-width: 300px;
  transition: transform 0.3s ease;
  color: #2d3436;
}

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

.card h3 {
  margin-bottom: 10px;
  color: #007BFF !important;
}

/* Testimonios */
.testimonial-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 300px;
  max-width: 300px;
  font-style: italic;
  color: #2d3436;
}

.testimonial-card p:last-child {
  margin-top: 10px;
  font-weight: bold;
  text-align: right;
}

/* Preguntas frecuentes */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq-item h3 {
  font-size: 1.4rem;
  color: #2d3436;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 1rem;
  color: #555;
}

/* Certificaciones */
.certificaciones,
.equipo {
  color: #2d3436;
}

.certificaciones ul,
.equipo ul {
  padding-left: 20px;
}

.certificaciones li,
.equipo li {
  margin: 10px 0;
  color: #2d3436;
}

/* Banner Adicional */
.banner-adicional {
  background: url('img/banner-adicional.jpg') no-repeat center center / cover;
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.banner-adicional::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.banner-adicional .contenedor {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: auto;
  padding: 40px 20px;
}

.banner-adicional h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.banner-adicional p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.banner-adicional .btn {
  background: #007BFF;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  display: inline-block;
  max-width: 250px;
  text-align: center;
}

.banner-adicional .btn:hover {
  background: #0056b3;
}

/* Sección "Equipo" con fondo personalizado */
.equipo {
  background-color: #f8f9fa;
  color: #2d3436;
  padding: 80px 0;
}

.team-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
}

.team-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

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

.team-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.team-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #2d3436;
}

.team-card .role {
  font-size: 1rem;
  color: #007BFF;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 0.95rem;
  color: #555;
}

/* Texto adicional en hero */
.hero-call {
  font-size: 1rem;
  color: #f8f9fa;
  max-width: 700px;
  margin: auto;
  margin-top: 10px;
  font-style: italic;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Sección de tres columnas */
.info-columns {
  padding: 40px 0;
}

.columns {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  max-width: 60%;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: #2d3436;
}

.column h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #2d3436;
}

.column ul {
  padding-left: 20px;
  color: #2d3436;
}

.column li {
  margin: 10px 0;
  color: #2d3436;
}

.column h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #2d3436;
}

.column p {
  font-size: 1rem;
  color: #555;
}

/* Responsive Design para las columnas */
@media (max-width: 992px) {
  .columns {
    flex-direction: column;
    align-items: center;
  }

  .column {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

/* Footer */
.footer {
  background: #2d3436;
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

.footer p {
  margin: 5px 0;
}