/* HUPI home compacta: menos scroll y foco inmediato */
body.home7 {
  background: #f5f7f6;
}

body.home7 header {
  height: auto;
}

body.home7 header .logo,
body.home7 header .header-social,
body.home7 header .main-nav {
  position: static;
}

body.home7 header .header-social {
  margin-left: auto;
}

body.home7 .hupi-hero {
  position: relative;
  min-height: 520px;
  margin-top: 0;
  margin-bottom: 34px;
  overflow: hidden;
  background: #101614;
}

body.home7 .hupi-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 9, 8, .72) 0%, rgba(5, 9, 8, .48) 45%, rgba(5, 9, 8, .18) 100%);
}

body.home7 #slideshow7 {
  min-height: 520px;
  max-height: 560px;
  overflow: hidden;
}

body.home7 #slideshow7 img {
  min-height: 520px;
  object-fit: cover;
}

body.home7 .hupi-hero-copy {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 52%;
  width: min(1120px, calc(100% - 40px));
  transform: translate(-50%, -50%);
  color: #fff;
}

body.home7 .hupi-hero-copy span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.home7 .hupi-hero-copy h1 {
  max-width: 720px;
  margin: 0 0 12px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: none;
}

body.home7 .hupi-hero-copy p {
  max-width: 560px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .88);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.home7 .hupi-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.home7 .hupi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

body.home7 .hupi-btn:hover,
body.home7 .hupi-btn:focus {
  transform: translateY(-2px);
  text-decoration: none;
}

body.home7 .hupi-btn-primary {
  background: #2fb463;
  border: 1px solid #2fb463;
  color: #fff;
}

body.home7 .hupi-btn-secondary {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .38);
  color: #fff;
}

body.home7 .theme-features {
  margin-bottom: 0;
  padding: 32px 0 26px;
  background: #f5f7f6;
}

body.home7 .theme-features h3 {
  margin-bottom: 7px;
  color: #142019;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: 0;
}

body.home7 .theme-features h5 {
  margin-bottom: 24px;
  color: #5d6862;
  font-size: 0;
  line-height: 1.5;
}

body.home7 .theme-features h5::after {
  content: "Servicios esenciales, visibles de un vistazo.";
  font-size: 13px;
}

body.home7 .theme-features .row {
  display: flex;
  flex-wrap: wrap;
}

body.home7 .theme-features .row > [class*="col-"] {
  display: flex;
  margin-bottom: 14px;
}

body.home7 .feature-item {
  width: 100%;
  min-height: 136px;
  margin: 0;
  padding: 22px 20px 18px 70px;
  border: 1px solid rgba(20, 32, 25, .08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 30, 21, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.home7 .feature-item:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 180, 99, .28);
  box-shadow: 0 16px 36px rgba(15, 30, 21, .12);
}

body.home7 .feature-item::before {
  top: 22px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #eaf7ef;
  color: #1f9d55;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
}

body.home7 .feature-item h4 {
  margin: 0 0 8px;
  color: #17231c;
  font-size: 0;
  line-height: 1.3;
  letter-spacing: 0;
}

body.home7 .feature-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #657069;
  font-size: 0;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.home7 .feature-item h4::after,
body.home7 .feature-item p::after {
  font-size: 13px;
}

body.home7 .theme-features .row > div:nth-child(1) .feature-item::before {
  content: "\e617";
}

body.home7 .theme-features .row > div:nth-child(2) .feature-item::before {
  content: "\e6a6";
}

body.home7 .theme-features .row > div:nth-child(3) .feature-item::before {
  content: "\e69e";
}

body.home7 .theme-features .row > div:nth-child(4) .feature-item::before {
  content: "\e672";
}

body.home7 .theme-features .row > div:nth-child(5) .feature-item::before {
  content: "\e62a";
}

body.home7 .theme-features .row > div:nth-child(6) .feature-item::before {
  content: "\e60a";
}

body.home7 .theme-features .row > div:nth-child(1) h4::after {
  content: "Tecnologia de informacion";
}

body.home7 .theme-features .row > div:nth-child(1) p::after {
  content: "Optimizacion de procesos, soporte y soluciones TI para que tu operacion funcione mejor.";
}

body.home7 .theme-features .row > div:nth-child(2) h4::after {
  content: "Programacion a medida";
}

body.home7 .theme-features .row > div:nth-child(2) p::after {
  content: "Sistemas, automatizaciones y herramientas internas adaptadas a tus necesidades reales.";
}

body.home7 .theme-features .row > div:nth-child(3) h4::after {
  content: "Redes e infraestructura";
}

body.home7 .theme-features .row > div:nth-child(3) p::after {
  content: "Implementacion, mantenimiento y mejora de redes, servidores y entornos de trabajo.";
}

body.home7 .theme-features .row > div:nth-child(4) h4::after {
  content: "Diseno de sitios web";
}

body.home7 .theme-features .row > div:nth-child(4) p::after {
  content: "Sitios rapidos, claros y alineados a tu marca para convertir visitas en contactos.";
}

body.home7 .theme-features .row > div:nth-child(5) h4::after {
  content: "Diseno grafico";
}

body.home7 .theme-features .row > div:nth-child(5) p::after {
  content: "Identidad visual, piezas digitales y materiales profesionales para comunicar mejor.";
}

body.home7 .theme-features .row > div:nth-child(6) h4::after {
  content: "Servicio tecnico";
}

body.home7 .theme-features .row > div:nth-child(6) p::after {
  content: "Diagnostico, mantenimiento y asistencia especializada para equipos y usuarios.";
}

body.home7 .hupi-compact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  padding: 13px 16px;
  border-radius: 8px;
  background: #142019;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
}

body.home7 .hupi-compact-cta a {
  color: #bdf3ce;
  font-weight: 700;
}

body.home7 .brand-logos {
  display: none;
}

body.home7 footer {
  padding-top: 34px;
  background: #fff;
}

body.home7 footer .bottom-footer {
  margin-top: 24px;
}

@media (max-width: 991px) {
  body.home7 .hupi-hero-copy h1 {
    max-width: 620px;
    font-size: 34px;
  }

  body.home7 .theme-features {
    padding-top: 28px;
  }
}

@media (max-width: 767px) {
  body.home7 header .container {
    min-height: 62px;
  }

  body.home7 header .header-social {
    display: none;
  }

  body.home7 .hupi-hero {
    margin-bottom: 24px;
  }

  body.home7 #slideshow7 {
    min-height: 430px;
    max-height: 460px;
  }

  body.home7 .hupi-hero,
  body.home7 #slideshow7 img {
    min-height: 430px;
  }

  body.home7 .hupi-hero-copy {
    top: 55%;
  }

  body.home7 .hupi-hero-copy h1 {
    font-size: 28px;
  }

  body.home7 .hupi-hero-copy p {
    font-size: 14px;
  }

  body.home7 .hupi-btn {
    min-height: 40px;
    padding: 0 14px;
  }

  body.home7 .theme-features .row {
    display: block;
  }

  body.home7 .feature-item {
    min-height: 0;
    padding: 18px 16px 16px 62px;
  }

  body.home7 .feature-item::before {
    left: 16px;
    top: 18px;
  }

  body.home7 .hupi-compact-cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
