/* Sección de Servicios */
.services-section {
  padding: 80px 0;
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  color: var(--pantone-546);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.section-subtitle {
  color: var(--pantone-313);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.service-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  background: white;
  padding: 30px;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover .service-img {
  transform: scale(1.1);
}

.service-icon {
  font-size: 3rem;
  color: var(--pantone-313);
  margin-bottom: 20px;
  display: block;
}

.service-image {
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px auto;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Maintains aspect ratio without distortion */
  object-position: center;
  transition: transform 0.3s ease;
}

.service-title {
  color: var(--pantone-546);
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-description {
  color: #666;
  margin-bottom: 20px;
  font-size: 1rem;
}

.service-link {
  color: var(--pantone-313);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--pantone-152);
}

.service-link i {
  margin-left: 5px;
  transition: all 0.3s ease;
}

.service-btn {
  background-color: var(--pantone-152);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
}

.service-btn:hover {
  transform: translateY(-2px);
  background-color: var(--pantone-106);
  color: white;
  text-decoration: none;
}

.service-btn i {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.service-btn:hover i {
  transform: translateX(3px);
}

/* Versión móvil */
@media (max-width: 768px) {
  .services-section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 20px;
  }

  .service-image {
    width: 120px;
    height: 120px;
  }
}

/* Specific styles for services view page */
#services-view .service-image {
  width: 140px;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
  overflow: hidden;
  border-radius: 8px;
}

#services-view .service-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
}

#services-view .service-card:hover .service-img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #services-view .service-image {
    width: 120px;
    height: 120px;
  }
}

/* Estilos para los controles de navegación de Owl Carousel */
.owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  pointer-events: none;
}

.owl-prev,
.owl-next {
  position: absolute;
  background: var(--pantone-152) !important;
  color: white !important;
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px !important;
  transition: all 0.3s ease;
  pointer-events: auto;
  border: 2px solid white;
}

.owl-prev {
  left: -60px;
}

.owl-next {
  right: -35px;
}

.owl-prev:hover,
.owl-next:hover {
  background: var(--pantone-152) !important;
  transform: scale(1.1);
}

.owl-prev i,
.owl-next i {
  font-size: 18px;
  font-weight: bold;
}

/* Estilos para los dots de navegación */
.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dot {
  display: inline-block;
  margin: 0 5px;
}

.owl-dot span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pantone-152);
  transition: background-color 0.3s ease;
}

.owl-dot.active span {
  background: var(--pantone-152);
}

/* Responsive */
@media (max-width: 768px) {

  .owl-prev {
    left: -15px;
    width: 40px;
    height: 40px;
  }

  .owl-next {
    right: -15px;
    width: 40px;
    height: 40px;
  }

  .owl-prev i,
  .owl-next i {
    font-size: 20px !important;
  }
}

/* Estilos modernos */
.btn-cotiza {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #58b4ed;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(172, 184, 236, 0.4);
  border: none;
  cursor: pointer;
}

.btn-cotiza:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(172, 184, 236, 0.4);
  gap: 16px;
}

.btn-cotiza:active {
  transform: translateY(0);
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.btn-cotiza:hover .arrow-icon {
  transform: translateY(5px);
}

/* Scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}
