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

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* ----------- HEADER ----------- */
header {
  background-color: #002C5F;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-container img {
  height: 70px;
}

.menu-toggle {
  display: none;
  font-size: 2em;
  color: white;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
}

nav a:hover {
  color: #C59F25;
}

/* ----------- HERO SECTION ----------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  background: #F3F1EB;
}

.hero-content {
  flex: 1;
  min-width: 300px;
}



.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: #222;
}

.hero p {
  font-size: 1.3em;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  background-color: #C59F25;
  color: #fff;
  padding: 15px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  width: 200px;
  text-align: center;
  cursor: pointer;
}

.btn.secondary {
  background-color: #AD9265;
}

.hero img {
  flex: 1;
  max-width: 500px;
  width: 100%;
  height: auto;
  min-width: 300px;
}

/* ----------- SECCIONES GENERALES ----------- */
section {
  padding: 80px 10%;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.6s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section:nth-child(even) {
  background-color: #fff;
}

section:nth-child(odd) {
  background-color: #F3F1EB;
}

section h2 {
  font-size: 2.5em;
  margin-bottom: 40px;
}

/* ----------- ABOUT ----------- */
.about h2 {
  font-size: 2.6em;
  font-weight: 600; /* Más grueso que el default */
  color: #222; /* Aseguramos buen contraste */
}

.about p {
  font-size: 1.25em;
  font-weight: 500; /* Más legible, no tan delgado */
  color: #333;
  line-height: 1.8;
}

@media (min-width: 1024px) {
  .about p {
    font-size: 1.3em;
  }
}


/* ----------- SERVICES / VACANCIES ----------- */
.services {
  background-color: #ffffff;
  padding: 60px 10% 80px 10%;
}

.services-container, .vacancies-container, .about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card, .vacancy-card, .about-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.service-card img {
  width: 250px;
  height: auto;
  margin-bottom: 15px;
}

.vacancy-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vacancy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.vacancy-card img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.vacancy-card h3 {
  font-size: 1.3em;
  margin: 15px 0 10px;
  color: #002C5F;
}

.vacancy-card p {
  font-size: 1em;
  color: #555;
}

/* ----------- CLIENTES - CARRUSEL ----------- */
.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  width: calc(200%);
  animation: scroll 20s linear infinite;
}

.carousel-track img {
  height: 80px;
  margin: 0 20px;
  flex-shrink: 0;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ----------- FOOTER ----------- */
footer {
  background-color: #002C5F;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* ----------- WHATSAPP ----------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

/* ----------- MEDIA QUERIES ----------- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #002C5F;
    margin-top: 60px;
  }

  nav.active {
    display: flex;
  }

  nav a {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1.1em;
  }

  .btn {
    width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }
}

nav a.activo {
  border-bottom: 2px solid #C59F25;
  color: #C59F25;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 90%;
  max-width: 600px;
  border-radius: 8px;
  position: relative;
}

.modal .close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  right: 20px;
  top: 10px;
  cursor: pointer;
}

.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
