/* ============================================
   SERVICES PAGE STYLES
   ============================================ */

/* Logo text fallback */
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--black); flex-direction: column;
  line-height: 1.1; letter-spacing: 1px;
}
.logo-text span { font-size: 0.65rem; letter-spacing: 3px; color: var(--royal); font-family: 'Inter', sans-serif; font-weight: 600; }

/* ===== FOCUSED VIEW BANNER ===== */
#focused-banner {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #1a1a3e;
  color: #fff;
  padding: 14px 8%;
  font-size: 0.92rem;
  flex-wrap: wrap;
  animation: bannerSlide 0.4s ease;
}
#focused-banner.visible { display: flex; }
@keyframes bannerSlide {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
#focused-banner strong { color: var(--gold); }
.focused-show-all {
  background: var(--royal);
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s, transform 0.3s;
}
.focused-show-all:hover { background: var(--royal-dark); transform: translateX(-2px); }

/* Active tab highlight */
.svc-tab-active {
  background: var(--royal) !important;
  color: #fff !important;
}

/* ===== PAGE HERO ===== */
.page-hero {
  text-align: center;
  padding: 80px 8% 50px;
  background: linear-gradient(180deg, rgba(65,105,225,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--light-gray);
}
.page-hero-content { margin-bottom: 40px; }
.page-hero .section-sub { margin: 0 auto; }

/* ===== SERVICE TABS ===== */
.service-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.svc-tab {
  text-decoration: none;
  color: var(--royal);
  border: 2px solid var(--royal);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.svc-tab:hover { background: var(--royal); color: #fff; transform: translateY(-2px); }

/* ===== SERVICE ROWS ===== */
.services-container { padding: 20px 0; }

.service-row {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  padding: 100px 8%;
  scroll-margin-top: 100px;
}
.service-row.reverse { flex-direction: row-reverse; }
.service-row.alt-bg { background: #fff; }

/* Image */
.service-image { flex: 1; position: sticky; top: 120px; }
.service-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  transition: transform 0.5s ease;
  display: block;
}
.service-image:hover img { transform: scale(1.02); }

/* Text */
.service-text { flex: 1; }
.service-text p { font-size: 1.05rem; line-height: 1.8; color: #555; margin-bottom: 20px; }

/* ===== BODY DIAGRAM ===== */
.body-diagram {
  background: #f0f4ff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid rgba(65,105,225,0.15);
  animation: diagramReveal 0.5s ease;
}
@keyframes diagramReveal {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}
.body-diagram img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto 10px;
}
.diagram-caption {
  font-size: 0.8rem;
  color: #777;
  margin: 0;
  font-style: italic;
}

/* ===== ACCORDION ===== */
.accordion {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--light-gray);
  transition: box-shadow 0.3s;
}
.accordion:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.07); }

.accordion-header {
  background: var(--royal);
  color: #fff;
  padding: 16px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.3s;
}
.accordion-header:hover { background: var(--royal-dark); }
.accordion-icon { font-size: 1.4rem; transition: transform 0.3s; }
.accordion-header.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.accordion-body.open { max-height: 3000px; }
.accordion-body > .price-highlight { padding: 10px 0; }
.accordion-body > .small-note { padding: 0 20px 16px; }

/* ===== PRICE LIST ===== */
.price-highlight { padding: 8px 20px; }
.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 15px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #444;
  gap: 12px;
}
.price-item.sub { padding-left: 16px; color: #666; font-size: 0.9rem; }
.price-item:last-child { border-bottom: none; }
.price { font-weight: 700; color: var(--royal); white-space: nowrap; }

.price-divider {
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--royal);
  padding: 14px 20px 8px;
  border-bottom: 1px dashed var(--light-gray);
}

/* ===== PRICE GRID (Boutique) ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.grid-item {
  background: var(--royal);
  color: #fff;
  padding: 20px 16px;
  border-radius: 14px;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: transform 0.3s, background 0.3s;
}
.grid-item:hover { background: var(--royal-dark); transform: translateY(-3px); }
.grid-item strong { display: block; margin-bottom: 6px; font-size: 1rem; }
.grid-item span { opacity: 0.85; }

.small-note {
  font-size: 0.88rem;
  font-style: italic;
  color: #888;
  margin-top: 12px;
  line-height: 1.5;
}

/* ===== SERVICES CTA ===== */
.services-cta {
  background: var(--royal);
  padding: 80px 8%;
  text-align: center;
}
.services-cta .cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #fff;
  margin: 0 0 14px;
}
.services-cta .cta-inner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 32px; }
.services-cta .book-btn { background: #fff; color: var(--royal); }
.services-cta .book-btn:hover { background: var(--off-white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .service-row, .service-row.reverse {
    flex-direction: column;
    padding: 70px 5%;
    gap: 40px;
  }
  .service-image { position: static; }
  .service-image img { height: 360px; }
  .price-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .price-grid { grid-template-columns: 1fr; }
  .body-diagram img { max-width: 100%; }
}
