
  /* Botón flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  font-family: "Arial", sans-serif;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.whatsapp-float i {
  font-size: 30px;
  margin-right: 10px;
}

.whatsapp-text span {
  font-size: 14px;
  line-height: 1.2;
}

.whatsapp-text strong {
  font-size: 16px;
}

/* Responsivo: en móvil solo mostrar el ícono */
@media (max-width: 600px) {
  .whatsapp-float {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    padding: 0;
  }

  .whatsapp-float i {
    margin: 0;
    font-size: 32px;
  }

  .whatsapp-text {
    display: none;
  }
} 

 
 /* ================================================================
 =====================RESETEO GENERAL ====== =======================*/
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
    /*  font-family: "Rajdhani", sans-serif;*/
    font-family: "Poppins", Arial, sans-serif;
  }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      width: 60px;
      margin-right: 7px;
      margin-left: 20px;
    }

    .logo h1 {
      font-size: 20px;
      color: #fff;
    }

    .logo p {
      font-size: 12px;
      color: orange;
    }

  /* ========== HEADER HECAR ========== */
  .header-hecar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(255, 165, 0, 0.3);
  }

  /* ----- Parte superior ----- */
  .header-hecar__main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 25px;
  }

  .header-hecar__logo img {
    width: 60px;
    height: auto;
    transition: transform 0.3s ease;
  }

  .header-hecar__logo img:hover {
    transform: scale(1.05);
  }

  /* ----- Menú ----- */
  .header-hecar__nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
  }

  .header-hecar__link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
  }

  .header-hecar__link:hover,
  .header-hecar__link.active {
    color: #ff7a00;
  }

  /* ----- Bandera ----- */
  .header-hecar__flag img {
    width: 35px;
    height: auto;
    border-radius: 2px;
  }

  /* ----- Hamburguesa ----- */
  .header-hecar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .header-hecar__hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
  }

  /* ----- Segunda fila de botones ----- */
  .header-hecar__buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
    border-top: 1px solid #222;
    background: #ffffff;
    width: 100%;
  }

  .header-hecar__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #ff7a00;
    color: #2c2828;
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .header-hecar__btn img {
    width: 22px;
    height: 22px;
  }

  .header-hecar__btn:hover,
  .header-hecar__btn.active {
    background: #ff7a00;
    color: #000;
  }

  /* ----- Responsive header ----- */
  @media (max-width: 768px) {
    .header-hecar__hamburger {
      display: flex;
    }

    .header-hecar__nav {
      position: absolute;
      top: 60px;
      right: 0;
      background: #111;
      width: 100%;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      text-align: center;
      z-index: 10000;
    }

    .header-hecar__nav.open {
      max-height: 300px;
    }

    .header-hecar__nav ul {
      flex-direction: column;
      padding: 10px 0;
    }

    .header-hecar__flag {
      display: none;
    }
  }

  /* Animación del ícono hamburguesa */
  .header-hecar__hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .header-hecar__hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .header-hecar__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

/* ===================== FOOTER HECAR ==================================
========================================================================= */
.hecar-footer {
  position: relative;
  background: url('imagenes_generales/portata_ventas2.png') center/cover no-repeat;
  color: #f2f2f2;
  padding: 60px 0 20px;
  overflow: hidden;
}

 .hecar-footer__overlay {
  background: linear-gradient(60deg, rgba(0, 0, 0, 0.694) 0%, rgba(0, 0, 0, 0.644) 100%);
  width: 100%;
  height: 100%;
  padding: 0 10%;
}

.hecar-footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.hecar-footer__info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #fff;
}

.hecar-footer__info h2 span {
  color: #ff6600;
}

.hecar-footer__info p {
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #e5e5e5;
}

.hecar-footer__info ul {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
  color: #d9d9d9;
}

.hecar-footer__info li {
  margin-bottom: 8px;
}

/* ===== Mapa ===== */
.hecar-footer__map iframe {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.hecar-footer__map iframe:hover {
  filter: brightness(1);
}

/* ===== Formulario ===== */
.hecar-footer__form h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hecar-footer__form input,
.hecar-footer__form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
}

.hecar-footer__form input::placeholder,
.hecar-footer__form textarea::placeholder {
  color: #ccc;
}

.hecar-footer__form button {
  background: #2fd606;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 10px 15px;
  width: 100%;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hecar-footer__form button:hover {
  background: #1be40d;
  transform: translateY(-2px);
}

/* ===== Parte inferior ===== */
.hecar-footer__bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #ccc;
}

/* ===== Responsivo ===== */
@media (max-width: 768px) {
  .hecar-footer__overlay {
    padding: 0 5%;
  }
  .hecar-footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hecar-footer__map iframe {
    height: 220px;
  }
   .header-hecar__buttons {
    display: flex;
    justify-content: center; /* centra los botones en fila */
    align-items: center;
    gap: 10px; /* espacio entre botones */
    flex-wrap: wrap; /* por si son muchos, permite salto de línea natural */
  }

  .header-hecar__buttons a {
    display: flex;
    flex-direction: column; /* icono arriba, texto abajo */
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.8rem; /* texto más pequeño */
    padding: 6px 10px; /* botones más compactos */
    width: 70px; /* ancho fijo más pequeño */
  }

  .header-hecar__buttons a i {
    font-size: 1.2rem; /* icono ligeramente más pequeño */
    margin-bottom: 4px; /* separación entre icono y texto */
  }
}



  /* ========== MAIN HECAR  ========== */
  .main-hecar {
    position: relative;
    width: 100%;
    height: calc(100vh - 120px); /* Ajuste exacto para el header */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    margin-top: 120px; /* Exacto para no superponerse */
  }

  .main-hecar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
    z-index: 0;
  }

  .main-hecar__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
  }

  .main-hecar__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
    animation: main-hecar__fadeIn 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(40px);
  }

  @keyframes main-hecar__fadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-hecar__title {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 3px;
    font-weight: 700;
  }

  .main-hecar__subtitle {
    font-size: 2rem;
    color: #ff7a00;
    margin-bottom: 20px;
    font-weight: 600;
  }

  .main-hecar__text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ddd;
    margin-bottom: 30px;
  }

.main-hecar__button1 {
  display: inline-block;
  background: #ff7a00;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 0px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px #ffffff15;
  
}

.main-hecar__button2 {
  display: inline-block;
  background: #ffffff;
  color: #ff7a00;
  padding: 12px 28px;
  border-radius: 0px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px #f0eded00;
  margin-left: 10px;
}

  .main-hecar__button1:hover {
    color: #ffffff;
    background: #ff7a00;
    box-shadow: 0 0 10px #ffffff;
    transform: translateY(-3px);
  }  
  .main-hecar__button2:hover {
    color: #ffffff;
    background: #000000;
    box-shadow: 0 0 10px #ffffff;
    transform: translateY(-3px);
  }



  @media (max-width: 768px) {
    .main-hecar {
      padding: 0 5%;
      text-align: center;
      justify-content: center;
      height: calc(100vh - 110px);
      margin-top: 110px;
    }

    .main-hecar__title {
      font-size: 3rem;
    }

    .main-hecar__subtitle {
      font-size: 1.5rem;
    }

    .main-hecar__text {
      font-size: 1rem;
    }
    .main-hecar__button1,
  .main-hecar__button2 {
    display: block;
    margin: 10px auto; /* centrado horizontal y separación */
    text-align: center;
    width: fit-content; /* evita qqu se estire */
  }
  }

    /* ==== Sección proyectos ==== */
    .pry_container {
      max-width: 1200px;
      margin: 80px auto;
      text-align: center;
      padding: 0 20px;
    }

    .pry_titulo {
      font-size: 2rem;
      font-weight: 700;
      color: #ff7a00;
      margin-bottom: 10px;
    }

    .pry_subtitulo {
      color: #ecececad;
      font-size: 0.95rem;
      margin-bottom: 40px;
    }

    /* ==== Botones de filtros ==== */
  

  /* ==== Grid de proyectos ==== */
    .pry_grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      margin-bottom: 60px;
    }

    .pry_card {
      background: #1a1918;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .pry_card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgb(232, 153, 6);
    }

    .pry_img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .pry_card-content {
      padding: 18px;
      text-align: left;
    }

    .pry_card-content h3 {
      font-size: 1.1rem;
      color: #fff;
      margin-bottom: 6px;
    }

    .pry_card-content p {
      font-size: 0.9rem;
      color: #ffffff;
      margin-bottom: 14px;
    }

    .pry_tags {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .pry_tag {
      background: #ffa500;
      color: #ccc;
      padding: 4px 10px;
      border-radius: 6px;
      font-size: 0.75rem;
    }

    /* ==== CTA final ==== */
    .pry_cta {
    /* background: linear-gradient(to right, #ffcc00, #ff0000c9);*/
    background: #ffffff;
      border-radius: 12px;
      padding: 40px 20px;
    }

    .pry_cta h3 {
      font-size: 1.4rem;
      margin-bottom: 10px;
    }

    .pry_cta p {
      color: #070707d2;
      margin-bottom: 20px;
    }

    .pry_cta button {
      background: #ff7a00;
      color: #fff;
      border: none;
      padding: 13px 25px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      transition: 0.3s;
    }

    .pry_cta button:hover {
      background: #070707;
    }

    
/* ===================== SECCIÓN NOSOTROS NEXO ===================== */
.nexo-nosotros {
  background: #294549f6;
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nexo-nosotros-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  align-items: center;
  gap: 20px;
}

.nexo-nosotros-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.508);
}

.nexo-nosotros-content {
  text-align: center;
  padding: 20px;
}

.nexo-nosotros-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nexo-nosotros-text {
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 35px;
  padding: 0 10px;
}

.nexo-nosotros-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.nexo-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nexo-icon i {
  background: #ff7a00;
  border-radius: 50%;
  padding: 18px;
  font-size: 24px;
  transition: all 0.3s ease;
  color: #f2f2f2;
}

.nexo-icon i:hover {
  background: #f2f2f2;
  color: #000;
  transform: scale(1.1);
}

.nexo-icon span {
  font-size: 14px;
  color: #ddd;
}

/* ===================== RESPONSIVIDAD ===================== */
@media (max-width: 1024px) {
  .nexo-nosotros-container {
    grid-template-columns: 1fr 1fr;
  }

  .nexo-nosotros-left {
    display: none;
  }
}

@media (max-width: 768px) {
  .nexo-nosotros {
    padding: 60px 15px;
  }

  .nexo-nosotros-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nexo-nosotros-img {
    display: none;
  }

  .nexo-nosotros-title {
    font-size: 28px;
  }

  .nexo-nosotros-text {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .nexo-icon i {
    font-size: 22px;
    padding: 15px;
  }

  .nexo-icon span {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .nexo-nosotros {
    padding: 50px 10px;
  }

  .nexo-nosotros-title {
    font-size: 24px;
  }

  .nexo-nosotros-icons {
    gap: 20px;
  }

  .nexo-icon i {
    padding: 12px;
    font-size: 20px;
  }

  .nexo-icon span {
    font-size: 12px;
  }
}

