/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  background: url('../img/Obras.webp') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: rgba(26, 38, 112, 0.65);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 900px;
  padding: 60px 80px;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 58px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}

.hero-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  font-weight: 400;
  max-width: 580px;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 55vh;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-content {
    padding: 50px 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-content {
    padding: 40px 20px;
  }
}

/* ========================================
   ABOUT PREVIEW (Nosotros)
   ======================================== */
.about-preview {
  display: flex;
  align-items: stretch;
  max-width: 1200px;
  margin: 100px auto;
  padding: 0 40px;
  gap: 60px;
}

.about-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 73, 140, 0.15);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.04);
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
}

.about-accent-line {
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, #00498c, #0066bf);
  border-radius: 2px;
  margin-bottom: 30px;
}

.about-text .light-text {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  font-weight: 300;
}

.btn-nosotros {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 40px;
  background: linear-gradient(135deg, #00498c, #0066bf);
  color: #fff;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-align: center;
  width: fit-content;
  box-shadow: 0 4px 20px rgba(0, 73, 140, 0.3);
}

.btn-nosotros:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 73, 140, 0.4);
  background: linear-gradient(135deg, #003366, #00498c);
}

@media (max-width: 768px) {
  .about-preview {
    flex-direction: column;
    margin: 60px auto;
    padding: 0 24px;
    gap: 30px;
  }
}

/* ========================================
   SECTION HEADERS (generic)
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: #26358C;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

/* ========================================
   SERVICIOS SECTION
   ======================================== */
.servicios-section {
  padding: 100px 60px 80px;
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
}

.servicios-header {
  margin-bottom: 60px;
}

.servicios-title {
  font-family: 'Inter', sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #26358C;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.servicios-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #777;
  max-width: 550px;
  line-height: 1.7;
}

/* Grid: 3 columns */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Card */
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #e8ecf1;
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(38, 53, 140, 0.12);
  border-color: transparent;
}

.service-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}

/* Card body */
.service-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-top: 3px solid #0076C0;
}

.service-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #26358C;
  margin: 0;
  line-height: 1.3;
}

.service-arrow {
  font-size: 22px;
  color: #0076C0;
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-arrow {
  transform: translateX(4px);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .servicios-section {
    padding: 60px 24px 50px;
  }
  .servicios-title {
    font-size: 30px;
  }
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .service-img-wrapper {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .service-body h3 {
    font-size: 15px;
  }
  .service-img-wrapper {
    height: 180px;
  }
}

/* ========================================
   CLIENTES SECTION
   ======================================== */
.clientes-section {
  padding: 80px 40px;
  background: #f7f9fc;
}

.clientes-header {
  text-align: center;
  margin-bottom: 60px;
}

.clientes-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #001f3f;
  letter-spacing: -0.5px;
}

.clientes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.cliente-logo {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.cliente-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 73, 140, 0.12);
}

.cliente-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(60%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.cliente-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .clientes-header h2 {
    font-size: 26px;
  }
  .clientes-grid {
    gap: 16px;
  }
  .cliente-logo {
    width: 130px;
    height: 65px;
  }
}

/* ========================================
   CASOS DE EXITO
   ======================================== */
.casos-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.casos-placeholder {
  text-align: center;
  padding: 80px 40px;
  border: 2px dashed rgba(0, 73, 140, 0.15);
  border-radius: 20px;
  background: #fafbfd;
}

.placeholder-icon {
  margin-bottom: 24px;
  opacity: 0.5;
}

.placeholder-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  color: #00498c;
  font-weight: 700;
  margin-bottom: 10px;
}

.placeholder-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #888;
}

/* ========================================
   ALIANZAS SECTION
   ======================================== */
.alianzas-section {
  padding: 80px 40px 100px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.alianzas-title {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #26358C;
  letter-spacing: -0.5px;
  margin-bottom: 50px;
}

.alianzas-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.alianza-logo {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 120px;
  transition: all 0.35s ease;
}

.alianza-logo:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(38, 53, 140, 0.12);
  border-color: transparent;
}

.alianza-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .alianzas-section {
    padding: 60px 24px 80px;
  }
  .alianzas-title {
    font-size: 28px;
  }
  .alianza-logo {
    width: 200px;
    height: 100px;
    padding: 20px 30px;
  }
}
