/* ========================================
   SERVICES PAGE — Specific Styles
   ======================================== */

/* ========== SERVICE HERO ========== */
.svc-hero {
  position: relative;
  padding: 36px;
  margin-top: 88px;
  border-radius: 20px;
  overflow: hidden;
  min-height: 352px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

.svc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.svc-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 21, 20, 0.3);
}

.svc-hero__container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
  justify-content: space-between;
}

.svc-hero__content {
  max-width: 511px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.svc-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 1rem;
}

.svc-hero__breadcrumb a {
  color: white;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.svc-hero__breadcrumb a:hover {
  opacity: 1;
}

.svc-hero__breadcrumb svg {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.svc-hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  color: white;
  line-height: 1.4;
  text-transform: capitalize;
}

.svc-hero__desc {
  font-size: 1rem;
  color: white;
  line-height: 1.5;
  opacity: 0.9;
}

.svc-hero__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.svc-hero__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 10px;
  padding: 12px;
  width: 288px;
}

.svc-hero__search svg {
  flex-shrink: 0;
  color: rgba(25, 21, 20, 0.7);
}

.svc-hero__search input {
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-dark);
  width: 100%;
  background: transparent;
}

.svc-hero__search input::placeholder {
  color: rgba(25, 21, 20, 0.7);
}

.svc-hero__filters {
  display: flex;
  gap: 8px;
}

.svc-filter {
  padding: 12px 24px;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid white;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  backdrop-filter: blur(8px);
}

.svc-filter.active {
  background: white;
  color: #191514;
  border-color: white;
}

.svc-filter:hover:not(.active) {
  background: rgba(255, 255, 255, 0.3);
}

/* ========== SERVICE SECTIONS ========== */
.svc-section {
  padding: 48px;
}

.svc-section__container {
  max-width: 1344px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.svc-section.hidden {
  display: none;
}

/* ========== SERVICE CATEGORY ========== */
.svc-category__header {
  text-align: center;
  margin-bottom: 40px;
}

.svc-category__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.svc-category__desc {
  font-size: 1rem;
  color: rgba(25, 21, 20, 0.7);
  line-height: 1.5;
  max-width: 660px;
  margin: 0 auto;
}

/* ========== SERVICE CARDS GRID ========== */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.svc-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.9;
}

.svc-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}

.svc-card__label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: white;
  border-radius: 10px;
  padding: 10px 16px;
}

.svc-card__label p {
  font-size: 1rem;
  font-weight: 500;
  color: #131314;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* ========== CONSULTATION BANNER ========== */
.consultation {
  padding: 140px 161px;
}

.consultation__container {
  max-width: 1118px;
  margin: 0 auto;
}

.consultation__card {
  background: #f5f0ec;
  border-radius: 20px 20px 0 0;
  padding: 80px 60px 60px;
  position: relative;
  overflow: hidden;
  min-height: 316px;
}

.consultation__text {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.consultation__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 600;
  color: #191514;
  line-height: 1.2;
}

.consultation__desc {
  font-size: 1rem;
  color: rgba(25, 21, 20, 0.7);
  line-height: 1.5;
}

.consultation__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #5f413d;
  color: white;
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 28px;
}

.consultation__btn:hover {
  background: #4a322f;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(95, 65, 61, 0.3);
}

.consultation__btn svg {
  width: 24px;
  height: 24px;
}

.consultation__image {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 378px;
  height: 456px;
  overflow: hidden;
}

.consultation__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.consultation__stripe {
  display: flex;
  height: 12px;
  border-radius: 0 0 0 0;
  overflow: hidden;
}

.consultation__stripe-yellow {
  flex: 1;
  background: #f6bc5e;
}

.consultation__stripe-red {
  flex: 1;
  background: #cb7266;
}

.consultation__stripe-brown {
  flex: 1;
  background: #5f413d;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .svc-hero {
    margin-left: 24px;
    margin-right: 24px;
  }

  .svc-hero__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .svc-hero__search {
    width: 100%;
  }

  .svc-hero__filters {
    justify-content: center;
    flex-wrap: wrap;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-section {
    padding: 32px 24px;
  }

  .svc-section__container {
    gap: 80px;
  }

  .consultation {
    padding: 80px 24px;
  }

  .consultation__image {
    display: none;
  }

  .consultation__text {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .svc-hero {
    margin-left: 16px;
    margin-right: 16px;
    padding: 24px;
    min-height: 280px;
  }

  .svc-hero__title {
    font-size: 1.75rem;
  }

  .svc-category__title {
    font-size: 1.75rem;
  }

  .svc-filter {
    padding: 10px 18px;
    font-size: 0.875rem;
  }

  .consultation__title {
    font-size: 1.75rem;
  }

  .consultation__card {
    padding: 48px 32px 40px;
  }
}

@media (max-width: 480px) {
  .svc-hero {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }

  .svc-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .svc-card {
    aspect-ratio: 4 / 3;
  }

  .svc-section {
    padding: 24px 16px;
  }

  .svc-section__container {
    gap: 60px;
  }

  .consultation {
    padding: 48px 16px;
  }
}
