/* === TIPOGRAFÍA === */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
}

/* === BASE === */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f2f2f2;
  color: #2C3E50;
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* === NAVBAR === */
.navbar {
  background-color: #2C3E50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-left, .navbar-center, .navbar-right {
  display: flex;
  align-items: center;
}

.navbar-center {
  flex: 1;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.navbar-right {
  justify-content: flex-end;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.2rem;
  text-decoration: none;
  color: #ffffff;
}

.brand img {
  height: 36px;
  width: auto;
  margin-right: 10px;
  filter: none;
  opacity: 1;
}

.nav-links a {
  color: #ffffff;
  margin: 0 8px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #F57C00;
}

.social-icons a {
  color: #ffffff;
  margin-left: 1rem;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #F57C00;
}

/* === HERO === */
.hero {
  background: linear-gradient(to right, #2C3E50cc, #2C3E50cc), url('../img/hero-bg.jpg') center center / cover no-repeat;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
  margin-top: 80px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* === SECCIONES === */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2C3E50;
}

.section p {
  font-size: 1.1rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
}

.section.enfoque {
  background-color: #ffffff;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* === GRIDS POR SECCIÓN === */
.grid-valores,
.grid-servicios,
.grid-portafolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* === TARJETAS GENÉRICAS === */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-card i {
  font-size: 2rem;
  color: #F57C00;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2C3E50;
}

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

/* === FORMULARIO === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: 'Montserrat', sans-serif;
}

.contact-form button {
  background-color: #F57C00;
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #e36c00;
}

/* === FOOTER === */
footer {
  background-color: #2C3E50;
  color: #ffffff;
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

footer p {
  margin: 0.3rem 0;
}

/* === AOS Animations === */
[data-aos] {
  opacity: 0;
  transition-property: transform, opacity;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .section h2 {
    font-size: 1.6rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card i {
    font-size: 1.8rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .navbar-left, .navbar-center, .navbar-right {
    justify-content: center;
    margin: 0.5rem 0;
    width: 100%;
  }

  .navbar-center {
    flex-wrap: wrap;
  }
}
