﻿/* Services page styles */
/* ========== Services Page ========== */
.services-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 1rem;
  overflow: hidden;
}

.services-hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1600&h=600&fit=crop&crop=center") center/cover;
  z-index: 0;
  animation: heroZoom 14s ease-in-out infinite alternate;
}

.services-hero-dim {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 36, 0.75);
  z-index: 1;
}

.services-hero-content {
  z-index: 2;
  color: #fff;
}

.services-hero-title {
  font-family: var(--font-jp);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.services-hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
  opacity: 0.95;
}

.services-hero-text {
  margin: 0;
  opacity: 0.95;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.6;
  max-width: 720px;
  margin-inline: auto;
}

.services-body {
  background: #fff;
  border-radius: 0;
  margin-top: 0;
  position: relative;
  z-index: 3;
  padding-top: 1.5rem;
  box-shadow: none;
}

.service-block {
  padding: 3.5rem 0;
  scroll-margin-top: 170px;
}

.service-block + .service-block {
  border-top: 1px solid #f1f5f9;
}

.service-media {
  position: relative;
  border-radius: 1.5rem;
  padding: 0.65rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.service-media::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 1.75rem;
  background: rgba(139, 37, 85, 0.05);
  z-index: -1;
  transform: rotate(1.5deg);
}

.service-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 1.15rem;
  display: block;
}

@media (min-width: 576px) {
  .service-media img {
    height: 400px;
  }
}

@media (max-width: 767.98px) {
  .services-hero {
    min-height: 260px;
    padding: 3rem 1rem;
  }

  .service-block {
    padding: 2.25rem 0;
    scroll-margin-top: 90px;
  }

  .service-media {
    padding: 0.4rem;
  }

  .service-media img {
    height: 220px;
  }
}

.service-label {
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.service-heading {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-desc {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.service-points {
  margin-bottom: 0.5rem;
}

.service-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.check-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: rgba(139, 37, 85, 0.12);
  color: var(--brand-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.line-float {
  position: fixed;
  left: 0;
  top: 48%;
  z-index: 1040;
  width: 44px;
  height: 44px;
  background: #06c755;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 8px 8px 0;
  box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, width 0.2s ease;
  animation: linePulse 2.4s ease-in-out infinite;
}

.line-float:hover {
  animation: none;
  width: 50px;
  transform: translateY(-2px);
}

.line-float img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
}


.services-hero-content > * {
  animation: fadeUp 0.8s ease both;
}

.services-hero-title {
  animation-delay: 0.1s;
}

.services-hero-sub {
  animation-delay: 0.25s;
}

.services-hero-text {
  animation-delay: 0.4s;
}

