/* Service Card Component Styles */
.ServiceCard_serviceCard__63HAL {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ServiceCard_serviceCard__63HAL:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: #e5e7eb;
}

/* Image Container - теперь квадратная */
.ServiceCard_imageContainer__GqtTW {
  position: relative;
  width: 100%;
  aspect-ratio: 1; /* Квадратная область */
  background-color: #f9fafb;
  overflow: hidden;
}

.ServiceCard_imageGallery__VSSg_ {
  position: relative;
  width: 100%;
  height: 100%;
}

.ServiceCard_image__iaqER {
  -o-object-fit: contain;
     object-fit: contain; /* Не обрезаем изображение */
  transition: opacity 0.3s ease;
  background-color: #f9fafb;
}

.ServiceCard_imagePlaceholder__F9pve {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  color: #9ca3af;
}

.ServiceCard_placeholderIcon__jFo0Z {
  width: 3rem;
  height: 3rem;
}

/* Галерея изображений */
.ServiceCard_imageNavigation__eQ4Q2 {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.375rem;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 1rem;
  padding: 0.5rem;
  backdrop-filter: blur(8px);
}

.ServiceCard_imageDot__j6gO5 {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ServiceCard_imageDot__j6gO5:hover {
  background: rgba(255, 255, 255, 0.8);
}

.ServiceCard_imageDotActive__deq18 {
  background: white;
  transform: scale(1.2);
}

/* Navigation arrows */
.ServiceCard_imageArrow__cJID5 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0;
  backdrop-filter: blur(4px);
}

.ServiceCard_imageContainer__GqtTW:hover .ServiceCard_imageArrow__cJID5 {
  opacity: 1;
}

.ServiceCard_imageArrow__cJID5:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.ServiceCard_imageArrowLeft__rwKjD {
  left: 0.5rem;
}

.ServiceCard_imageArrowRight__sd452 {
  right: 0.5rem;
}

.ServiceCard_arrowIcon__HuDNy {
  width: 1rem;
  height: 1rem;
}

/* Price Badge */
.ServiceCard_priceBadge__lsCkd {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(59, 130, 246, 0.95);
  color: white;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Content */
.ServiceCard_content__yaMA5 {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Company Info */
.ServiceCard_company__xPouE {
  margin-bottom: 1rem;
}

.ServiceCard_companyInfo__K6oIs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ServiceCard_companyLogo__FlTCI {
  border-radius: 0.375rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.ServiceCard_companyLogoPlaceholder__eZH3Z {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.ServiceCard_companyName__FUt9_ {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.ServiceCard_verifiedIcon__cpiIo {
  width: 1rem;
  height: 1rem;
  color: #10b981;
  flex-shrink: 0;
}

/* Title */
.ServiceCard_title__xh_PO {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Description */
.ServiceCard_description__YdXto {
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Location Info */
.ServiceCard_location___j0PF {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.ServiceCard_locationIcon__JO1Fm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.ServiceCard_locationText__yozkW {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Actions */
.ServiceCard_actions__8Ubm7 {
  margin-top: auto;
}

.ServiceCard_link__rgD2_ {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  transition: all 0.2s ease;
  border-radius: 0.375rem;
}

.ServiceCard_link__rgD2_:hover {
  color: #1d4ed8;
  gap: 0.75rem;
}

.ServiceCard_linkIcon___VNM2 {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.ServiceCard_link__rgD2_:hover .ServiceCard_linkIcon___VNM2 {
  transform: translateX(2px);
}

/* Image count indicator */
.ServiceCard_imageCount__D2OTs {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

/* Responsive */
@media (max-width: 640px) {
  .ServiceCard_content__yaMA5 {
    padding: 1.25rem;
  }

  .ServiceCard_title__xh_PO {
    font-size: 1.125rem;
  }

  .ServiceCard_priceBadge__lsCkd {
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .ServiceCard_imageCount__D2OTs {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.7rem;
  }

  .ServiceCard_imageNavigation__eQ4Q2 {
    bottom: 0.5rem;
    padding: 0.375rem;
  }

  .ServiceCard_imageDot__j6gO5 {
    width: 0.375rem;
    height: 0.375rem;
  }
} 
