/* =========================================
   SERVICES PAGE CSS
   ========================================= */

/* PAGE HERO */
.services-hero { 
  background: linear-gradient(160deg, var(--olive-darker) 0%, var(--olive-medium) 50%, var(--primary) 100%); 
}

/* SERVICE DETAIL ROWS */
.detailed-services .container { 
  display: flex; 
  flex-direction: column; 
  gap: 80px; 
}
.service-detail-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-detail-detail:hover { 
  box-shadow: var(--shadow-hover); 
}
.service-detail-detail.reverse { 
  direction: rtl; 
}
.service-detail-detail.reverse > * { 
  direction: ltr; 
}

.service-detail-img {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail-img-badge {
  position: absolute;
  top: 24px; 
  left: 24px;
  width: 56px; 
  height: 56px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}
.service-detail-info { 
  padding: 52px 48px 52px 8px; 
}
.service-detail-detail.reverse .service-detail-info { 
  padding: 52px 8px 52px 48px; 
}
.service-detail-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(4, 69, 73, 0.06);
  line-height: 1;
  margin-bottom: -8px;
  display: block;
}
.service-detail-info h2 { 
  font-family: var(--font-heading); 
  font-size: 2rem; 
  color: var(--text); 
  margin-bottom: 16px; 
}
.service-detail-desc { 
  font-size: 0.95rem; 
  color: var(--text-muted); 
  line-height: 1.8; 
  margin-bottom: 28px; 
}
.service-detail-benefits h4 { 
  font-size: 0.82rem; 
  font-weight: 600; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  color: var(--primary); 
  margin-bottom: 14px; 
}
.service-detail-benefits ul { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 10px; 
  margin-bottom: 28px; 
}
.service-detail-benefits li { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 0.85rem; 
  color: var(--text-muted); 
}
.service-detail-benefits li i { 
  color: var(--accent); 
  font-size: 0.75rem; 
}

/* FAQ */
.faq-wrap { 
  max-width: 800px; 
}
.faq-list { 
  display: flex; 
  flex-direction: column; 
  gap: 0; 
  border-radius: var(--radius); 
  overflow: hidden; 
  box-shadow: var(--shadow); 
}
.faq-item { 
  background: #fff; 
  border-bottom: 1px solid rgba(4, 69, 73, 0.06); 
}
.faq-item:last-child { 
  border-bottom: none; 
}
.faq-question {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 22px 28px; 
  cursor: pointer; 
  font-weight: 600; 
  font-size: 0.95rem;
  color: var(--text); 
  transition: var(--transition);
}
.faq-question:hover { 
  color: var(--primary); 
  background: rgba(4, 69, 73, 0.03); 
}
.faq-question i { 
  color: var(--primary); 
  transition: var(--transition); 
  font-size: 0.85rem; 
  flex-shrink: 0; 
}
.faq-item.open .faq-question i { 
  transform: rotate(45deg); 
}
.faq-answer { 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.4s ease, padding 0.3s ease; 
}
.faq-item.open .faq-answer { 
  max-height: 200px; 
}
.faq-answer p { 
  padding: 0 28px 22px; 
  font-size: 0.9rem; 
  color: var(--text-muted); 
  line-height: 1.75; 
}

/* PRICE GRID WITH SHOW MORE */
.price-grid-wrapper {
  margin: 16px 0 20px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 30px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  font-size: 0.9rem;
  color: var(--text);
  transition: all 0.3s ease;
}

.price-item:hover {
  background: rgba(4, 69, 73, 0.03);
  padding-left: 8px;
  border-radius: 4px;
}

.price-item .price {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  white-space: nowrap;
}

.price-item small {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-show-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  font-family: var(--font-body);
}

.btn-show-more:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(4, 69, 73, 0.25);
  transform: translateY(-2px);
}

.btn-show-more i {
  font-size: 0.7rem;
  transition: var(--transition);
}

.btn-show-more.expanded i {
  transform: rotate(180deg);
}

.price-item.hidden {
  display: none;
}

.price-item.hidden.showing {
  display: flex !important;
  animation: fadeSlideIn 0.4s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .service-detail-detail { grid-template-columns: 1fr; }
  .service-detail-detail.reverse { direction: ltr; }
  .service-detail-img { min-height: 280px; }
  .service-detail-info { padding: 40px 32px !important; }
  .packages-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .membership-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .service-detail-benefits ul { grid-template-columns: 1fr; }
  .detailed-services .container { gap: 48px; }
  .faq-question { padding: 18px 20px; font-size: 0.9rem; }
  .faq-answer p { padding: 0 20px 18px; }
  .price-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .price-item {
    font-size: 0.85rem;
    padding: 6px 0;
  }
  .btn-show-more {
    font-size: 0.8rem;
    padding: 6px 16px;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .price-item {
    font-size: 0.8rem;
    padding: 5px 0;
  }
  .price-item .price {
    font-size: 0.85rem;
  }
}