/* ========================================
   SERVICES PAGE — Unique layout
   ======================================== */

/* ---------- Hero ---------- */
.srv-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 520px;
  background: linear-gradient(145deg, #fffdfb 0%, #faeee9 100%);
  overflow: hidden;
}

.srv-hero-content {
  padding: clamp(60px, 10vw, 130px) clamp(28px, 6vw, 110px);
  align-self: center;
}

.srv-hero-content h1 {
  font: 700 clamp(2.8rem, 5.5vw, 5.5rem) 'Playfair Display', serif;
  letter-spacing: -0.04em;
  line-height: 1.06;
  margin: 0;
}

.srv-hero-content h1 em {
  color: var(--orange);
  font-weight: 600;
}

.srv-hero-content .lead {
  max-width: 440px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.srv-hero-visual {
  position: relative;
}

.srv-hero-img {
  width: 100%;
  height: 100%;
  background: center/cover no-repeat #e9ddd7;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.srv-hero-float {
  position: absolute;
  left: -10px;
  bottom: 50px;
  background: var(--white);
  padding: 18px 26px;
  box-shadow: 0 14px 35px rgba(55, 35, 25, 0.13);
  border-radius: 0 14px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.82rem;
  color: var(--muted);
  animation: srv-float-in 0.8s ease-out 0.3s both;
}

.srv-hero-float-number {
  font: 700 1.8rem 'Playfair Display', serif;
  color: var(--orange);
}

@keyframes srv-float-in {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- Categories ---------- */
.srv-categories {
  padding: 100px clamp(22px, 6vw, 110px) 80px;
  text-align: center;
}

.srv-categories h2 {
  font: 700 clamp(2.2rem, 4vw, 3.8rem) 'Playfair Display', serif;
  letter-spacing: -0.04em;
  margin: 0 0 50px;
}

.srv-cat-grid { 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}
.projects-empty { grid-column: 1 / -1; padding: 54px 30px; text-align: center; border: 1px dashed #b9d8c7; border-radius: 18px; color: #61756c; background: rgba(255,255,255,.7); }

.srv-cat-card {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.srv-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(50, 30, 20, 0.22);
}

.srv-cat-large {
  grid-column: span 2;
  min-height: 360px;
}

.srv-cat-img {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat #d5c5be;
  transition: transform 0.5s ease;
}

.srv-cat-card:hover .srv-cat-img {
  transform: scale(1.06);
}

.srv-cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 20, 18, 0.82) 0%, rgba(30, 20, 18, 0.15) 55%, rgba(30, 20, 18, 0.0) 100%);
  transition: background 0.35s;
}

.srv-cat-card:hover .srv-cat-overlay {
  background: linear-gradient(0deg, rgba(30, 20, 18, 0.88) 0%, rgba(30, 20, 18, 0.25) 60%, rgba(30, 20, 18, 0.05) 100%);
}

.srv-cat-info {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
}

.srv-cat-info i {
  font-size: 1.3rem;
  color: #e9c5b9;
  margin-bottom: 8px;
  display: block;
}

.srv-cat-info h3 {
  font: 700 1.65rem 'Playfair Display', serif;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}

.srv-cat-info p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  max-width: 340px;
}

.srv-cat-count {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  padding: 5px 13px;
  border-radius: 99px;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.srv-cat-arrow {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.srv-cat-card:hover .srv-cat-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Highlights ---------- */
.srv-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin: 0 clamp(22px, 6vw, 110px);
  border-radius: 18px;
  overflow: hidden;
}

.srv-highlight {
  background: #fff;
  padding: 42px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.srv-highlight-number {
  font: 700 2.2rem 'Playfair Display', serif;
  color: var(--orange);
  letter-spacing: -0.03em;
}

.srv-highlight-label {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- CTA ---------- */
.srv-cta {
  padding: 100px clamp(22px, 6vw, 110px);
  display: flex;
  justify-content: center;
}

.srv-cta-content {
  text-align: center;
  max-width: 600px;
}

.srv-cta-content h2 {
  font: 700 clamp(2rem, 3.5vw, 3.2rem) 'Playfair Display', serif;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
}

.srv-cta-content p {
  color: var(--muted);
  font-size: 1.02rem;
  margin: 0 0 30px;
  line-height: 1.65;
}

.srv-cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .srv-hero {
    grid-template-columns: 1fr;
  }
  .srv-hero-visual {
    height: 340px;
  }
  .srv-hero-img {
    clip-path: none;
  }
  .srv-hero-content {
    padding: 60px 28px;
  }
  .srv-cat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .srv-cat-large {
    grid-column: span 2;
  }
  .srv-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .srv-hero-content h1 {
    font-size: 2.6rem;
  }
  .srv-hero-visual {
    height: 280px;
  }
  .srv-hero-float {
    left: 0;
    bottom: 20px;
  }
  .srv-cat-grid {
    grid-template-columns: 1fr;
  }
  .srv-cat-large {
    grid-column: span 1;
  }
  .srv-cat-card {
    min-height: 260px;
  }
  .srv-cat-large {
    min-height: 280px;
  }
  .srv-highlights {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 16px;
  }
  .srv-cta {
    padding: 70px 22px;
  }
  .srv-categories {
    padding: 70px 16px 50px;
  }
}
