.custom-navbar {
    background-color: #003B73;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    z-index: 999;
	/*font-family: Nasalization;
	font-weight: normal;*/
  }

  .custom-navbar.scrolled {
    background-color: #002B5C !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  .navbar-nav .nav-link {
    color: #fff;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
  }

  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    left: 50%;
    bottom: 4px;
    background-color: #FF8C00;
    transition: all 0.3s ease;
  }

  .navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
  }

  .navbar-nav .nav-link:hover {
    color: #FF8C00;
  }

  .logo-border {
    border-left: 2px solid rgba(255, 255, 255, 0.2);
    border-right: 2px solid rgba(255, 255, 255, 0.2);
  }


.cuadro-servicio {
    width: 600px;
    height: 600px;
    position: relative;
    margin: 0 auto;
    overflow: visible
}

.img-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #FF8C00;
    z-index: 2;
    transition: transform 0.4s ease;
     
}
	
   .article-box {
    padding: 20px;
    background: linear-gradient(145deg, #ffffff, #ffffff);
    border: 1px solid #dee2e6;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15),
                0 6px 6px rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
			    width: 300px;      /* ancho fijo */
  max-width: 300px;
  width: 100%;
			box-sizing: border-box;
}

.article-box img {
    width: 100%;
    max-width: 300px;
    object-fit: cover; /* recorta sin deformar */
    border-radius: 10px;
    margin-bottom: 10px;
}

.article-title {
height: 25px; 
	object-fit: cover; 
	margin-top: 15px;
}
		
		
.img-servicio {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 205px;
    height: 205px;
    border-radius: 50%;
	
}
.img-servicio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
	transition: transform 0.4s ease;
}
		
.serv1 { transform: translate(-50%, -50%) rotate(315deg) translate(270px)  rotate(-315deg); }
.serv2 { transform: translate(-50%, -50%) rotate(225deg) translate(270px)  rotate(-225deg); }
.serv3 { transform: translate(-50%, -50%) rotate(15deg) translate(270px)   rotate(-15deg); }
.serv4 { transform: translate(-50%, -50%) rotate(165deg) translate(270px)  rotate(-165deg); }
.serv5 { transform: translate(-50%, -50%) rotate(90deg) translate(260px)   rotate(-90deg); }
		
.img-servicio img:hover {
    transform: scale(1.15);
}		
			
.img-central:hover {
    transform: translate(-50%, -50%) scale(1.15);
}

.top-left {
    top: 0;
    left: 0;
}

.top-right {
    top: 0;
    right: 0;
}

.bottom-left {
    bottom: 0;
    left: 0;
}

.bottom-right {
    bottom: 0;
    right: 0;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.service-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.division {
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.division:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.generator-item {
  font-style: italic;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid #0056b3;
  margin-bottom: 10px;
}
.generator-item:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.generator-title {
  color: #0056b3;
  font-weight: bold;
  cursor: pointer;
  background-color: #fFFF;
  border: 1px solid #FFFF;
  border-radius: 5px;
}
.generator-desc {
  color: #332d2d;
  font-size: 14px;
}

#about-anchor {
  position: relative;
  top: -80px; /* altura de navbar */
  height: 0;
}
 #contact-anchor {
  position: relative;
  top: -5px; /* altura de navbar */
  height: 0;
}
#product-anchor {
  position: relative;
  top: -100px; /* altura de navbar */
  height: 0;
}

.servicio-expandible {
  transition: transform 0.3s ease;
  overflow: hidden;
  position: relative;
}

.servicio-expandible:hover {
  transform: scale(1.01);
  z-index: 10;
}

.descripcion-servicio {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  padding: 1rem;
  font-size: 0.9rem;
  color: #333;
  opacity: 0;
  max-height: 0;
  line-height: 1.5;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
  border-top: 1px solid #eee;
  text-align: justify;
  z-index: 1;
}

.card:hover .descripcion-servicio {
  opacity: 1;
  max-height: 145px;
  overflow-y: auto;
}

.section {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #ffffff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #0073e6;
  color: #ffffff;
  font-size: 24px;
}

.section-content h5 {
  margin: 0;
  color: #333333;
  font-size: 18px;
}

.section-content p {
  margin: 5px 0 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.5;
}

.text-n{
  color: #000;
}

.whatsapp {
    width: 37px;
    height: 37px;
}
/*-----responsive---------*/
@media (max-width: 575px) {
  .cuadro-servicio {
    width: 300px;
    height: 300px;
  }

  .img-central {
    width: 140px;
    height: 140px;
  }

  .img-servicio {
    width: 100px;
    height: 100px;
  }
   .img-cat{
    width: 200px;
    height: 200px;
  }
   .img-con{
    width: 200px;
    height: 200px;
  }

.whatsapp {
    width: 37px;
    height: 37px;
}

	.article-title {
height: 10px; 
	object-fit: cover; 
	margin-top: 15px;
}

 #service-anchor {
  position: relative;
  top: 500px; 
  height: 0;
 }
	
.serv1 { transform: translate(-50%, -50%) rotate(315deg) translate(140px)  rotate(-315deg); }
.serv2 { transform: translate(-50%, -50%) rotate(225deg) translate(140px)  rotate(-225deg); }
.serv3 { transform: translate(-50%, -50%) rotate(15deg) translate(130px)   rotate(-15deg); }
.serv4 { transform: translate(-50%, -50%) rotate(165deg) translate(130px)  rotate(-165deg); }
.serv5 { transform: translate(-50%, -50%) rotate(90deg) translate(135px)   rotate(-90deg); }
}
@media (min-width: 576px) and (max-width: 799px) {
  .cuadro-servicio {
    width: 400px;
    height: 400px;
  }

  .img-central {
    width: 180px;
    height: 180px;
  }

  .img-servicio {
    width: 140px;
    height: 140px;
  }
  .img-cat{
    width: 250px;
    height: 250px;
  }
   .img-con{
    width: 250px;
    height: 250px;
  }
.whatsapp {
    width: 37px;
    height: 37px;
}
.serv1 { transform: translate(-50%, -50%) rotate(315deg) translate(190px)  rotate(-315deg); }
.serv2 { transform: translate(-50%, -50%) rotate(225deg) translate(190px)  rotate(-225deg); }
.serv3 { transform: translate(-50%, -50%) rotate(15deg) translate(190px)   rotate(-15deg); }
.serv4 { transform: translate(-50%, -50%) rotate(165deg) translate(190px)  rotate(-165deg); }
.serv5 { transform: translate(-50%, -50%) rotate(90deg) translate(190px)   rotate(-90deg); }
}
@media (min-width: 800px) {
  .cuadro-servicio {
    width: 525px;
    height: 525px;
  }

  .img-central {
    width: 220px;
    height: 220px;
  }

  .img-servicio {
    width: 200px;
    height: 200px;
  }
   .img-cat{
    width: 350px;
    height: 350px;
  }

   .img-con{
    width: 350px;
    height: 350px;
  }
	
.whatsapp {
    width: 37px;
    height: 37px;
}
.serv1 { transform: translate(-50%, -50%) rotate(315deg) translate(245px)  rotate(-315deg); }
.serv2 { transform: translate(-50%, -50%) rotate(225deg) translate(245px)  rotate(-225deg); }
.serv3 { transform: translate(-50%, -50%) rotate(15deg) translate(245px)   rotate(-15deg); }
.serv4 { transform: translate(-50%, -50%) rotate(165deg) translate(245px)  rotate(-165deg); }
.serv5 { transform: translate(-50%, -50%) rotate(90deg) translate(240px)   rotate(-90deg); }
}