/* ============================================================
   SERVICES PAGE — services.css
   ============================================================ */

/* ===== HERO BANNER ===== */
.services-hero {
  position: relative;
  background: linear-gradient(135deg, #c86410 0%, #e87722 50%, #f0942e 100%);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding: 90px 24px 130px;
  text-align: center;
  overflow: hidden;
  animation: fadeIn 0.7s ease both;
}

/* Large decorative diamond — top right */
.services-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 340px; height: 340px;
  background: rgba(255,255,255,0.07);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(12deg);
  pointer-events: none;
}

/* Large decorative diamond — bottom left */
.services-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 260px; height: 260px;
  background: rgba(255,255,255,0.06);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transform: rotate(5deg);
  pointer-events: none;
}

.services-hero-inner {
  position: relative; /* above pseudo-elements */
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.services-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 20px;
  animation: fadeInUp 0.75s ease 0.15s both;
}

/* Accent separator line under heading */
.services-hero-inner::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  margin: 0 auto 22px;
  animation: fadeIn 0.8s ease 0.4s both;
}

.services-hero p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(30,15,0,0.78);
  line-height: 1.75;
  max-width: 660px;
  margin: 0 auto;
  animation: fadeInUp 0.75s ease 0.35s both;
}

/* ===== SERVICES GRID SECTION ===== */
.services-page {
  background-color: #ffffff;
  padding: 80px 24px 90px;
  margin-top: -2px; /* closes any sub-pixel gap from clip-path */
}

.services-page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-page-heading {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 60px;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}

/* Individual service card — borderless, image + title only */
.sp-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: default;
}

.sp-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 18px;
}

.sp-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sp-card:hover .sp-img-wrap img {
  transform: scale(1.05);
}

.sp-card h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.45;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .services-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 28px;
  }
}

@media (max-width: 600px) {
  .services-hero { padding: 60px 20px 70px; }

  .services-page-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sp-img-wrap { height: 220px; }
}
