
  /* ======= ESTILOS EXCLUSIVOS SECCIÓN NOSOTROS (hecar2) ======= */
  body{
    background: #0d0d0d;
  }
  
  .main-hecar2 {
    margin-top: 0px;
    background: #0d0d0d;
    color: #f5f5f5;
    font-family: "Poppins", sans-serif;
  }

  /* ====== HERO ENCABEZADO NOSOTROS ====== */
  .hero-nosotros-hecar2 {
    margin-top: 35px;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.704), rgba(0,0,0,0.7)),
      url("imagenes_generales/hecar_portadaingenieriacivil1.jpg") center/cover no-repeat;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
  }

  .hero-nosotros-hecar2__content img {
    margin-top: 40px;
    width: 110px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
    animation: floatLogo 4s ease-in-out infinite;
  }

  @keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }

  .hero-nosotros-hecar2__content h1 {
    font-size: 2.6rem;
    color: #ff7a00;
    margin-bottom: 15px;
  }

  .hero-nosotros-hecar2__content p {
    font-size: 1.1rem;
    color: #ddd;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
  }

  /* ===== CONTENIDO PRINCIPAL ===== */
 

  /* ===== VALORES PRINCIPALES ===== */
  .valores-hecar2 {
    text-align: center;
    margin-top: 80px;
  }

  .valores-hecar2__titulo {
    font-size: 2rem;
    color: #ff7a00;
    margin-bottom: 40px;
  }

  .valores-hecar2__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
  }

  .valor-hecar2 {
    background: #161616;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .valor-hecar2:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 195, 142, 0.4);
  }

  .valor-hecar2 i {
    font-size: 2rem;
    color: #ff7a00;
    margin-bottom: 15px;
  }

  .valor-hecar2 h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
  }

  .valor-hecar2 p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* ===== SEGUNDA SECCIÓN DE VALORES ===== */
  .valores2-hecar2 {
    margin-top: 100px;
    background: linear-gradient(135deg, #0d0d0d 40%, #111 100%);
    padding: 70px 0;
  }

  .valores2-hecar2__titulo {
    text-align: center;
    font-size: 2.2rem;
    color: #ff7a00;
    margin-bottom: 50px;
  }

  .valores2-hecar2__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }

  .valor2-hecar2 {
    flex: 1 1 250px;
    max-width: 280px;
    background: #181818;
    border-radius: 15px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #222;
  }

  .valor2-hecar2:hover {
    transform: translateY(-10px);
    background: #00c38e15;
    border-color: #00c38e;
  }

  .valor2-hecar2 i {
    font-size: 2.2rem;
    color: #ff7a00;
    margin-bottom: 15px;
  }

  .valor2-hecar2 h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.1rem;
  }

  .valor2-hecar2 p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* ===== Animación de aparición ===== */
  .fade-in2 {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }

  .fade-in2.show {
    opacity: 1;
    transform: translateY(0);
  }

  
  /* =======================NUEVO HISTORIA,MISION,VISION======================================== */

.mv-section {
  width: 100%;
  padding: 50px 20px;
  background-color: #0d0d0d;
  box-sizing: border-box;
  
}

.mv-container {
  color: #ffffff;
  display: flex;
  flex-wrap: wrap; /* permite que los elementos bajen en pantallas pequeñas */
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 200px; /* permite flexibilidad */
}

.mv-btn {
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  background-color: #ff7a00;
  color: #fff;
  transition: all 0.3s ease;
  border-radius: 6px;
  text-align: left;
}

.mv-btn.active {
  background-color: #ffffff;
  color: #010000;
}

.mv-content {
  flex: 2 1 400px; /* se adapta según espacio disponible */
  max-width: 600px;
}

.mv-content p{
  text-align: justify;
}
.mv-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  
}

.mv-text p {
  font-size: 16px;
  line-height: 1.6;
}

.mv-image {
  flex: 1 1 300px;
  max-width: 500px;
}

.mv-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin-top: 20px;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .mv-container {
    gap: 30px;
  }
  .mv-text h2 {
    font-size: 24px;
  }
  .mv-text p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .hero-nosotros-hecar2 {
margin-top: 60px;
  }
   
  .mv-container {
    flex-direction: column;
    align-items: center;
  }
  .mv-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .mv-btn {
    flex: 1 1 100px;
    text-align: center;
    font-size: 14px;
  }
  .mv-content {
    text-align: center;
  }
  .mv-image {
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .mv-section {
    padding: 30px 10px;
  }
  .mv-text h2 {
    font-size: 20px;
  }
  .mv-text p {
    font-size: 14px;
  }
  .mv-buttons {
    gap: 5px;
  }
}










/* ==============================
   SECCIÓN DE CONTACTO WHATSAPP
   =============================== */
.cntc_whatsapp_section {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  padding: 80px 10%;
  background: linear-gradient(135deg, #f7f7f7 0%, #eaeaea 100%);
  font-family: "Poppins", sans-serif;
  flex-wrap: wrap;
}

.cntc_whatsapp_left {
  flex: 1 1 420px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cntc_whatsapp_left:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.cntc_whatsapp_icon_top {
  font-size: 2.3rem;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cntc_whatsapp_left h3 {
  margin-top: 10px;
  font-size: 1.5rem;
  color: #222;
}

.cntc_whatsapp_left p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.cntc_whatsapp_left input,
.cntc_whatsapp_left textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
  font-family: "Poppins", sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cntc_whatsapp_left input:focus,
.cntc_whatsapp_left textarea:focus {
  border-color: #25d366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.cntc_whatsapp_left textarea {
  height: 120px;
  resize: none;
}

#cntc_enviar_btn {
  background: #25d366;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

#cntc_enviar_btn:hover {
  background: #20b955;
  transform: translateY(-2px);
}

.cntc_whatsapp_right {
  flex: 1 1 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #222;
  color: white;
  padding: 40px 35px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cntc_whatsapp_right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, #25d36633 0%, transparent 70%);
  pointer-events: none;
}

.cntc_whatsapp_right h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  z-index: 2;
}

.cntc_whatsapp_right p {
  font-size: 1rem;
  color: #ddd;
  margin-bottom: 30px;
  z-index: 2;
}

.cntc_whatsapp_card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 2;
}

.cntc_whatsapp_card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.cntc_whatsapp_icon {
  font-size: 1.8rem;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.cntc_whatsapp_card h4 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
}

.cntc_whatsapp_card p {
  margin: 0;
  color: #ccc;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .cntc_whatsapp_section {
    padding: 60px 5%;
    gap: 30px;
  }

  .cntc_whatsapp_left,
  .cntc_whatsapp_right {
    flex: 1 1 100%;
  }
}









