/* ═══════════════════════════════════════════
   ONELLA SALON — Services Page Styles v3
   ═══════════════════════════════════════════ */

.services-hero {
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 3rem;
  text-align: center;
  background: var(--bg-primary);
}

.services-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-hero h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.75rem;
  width: 100%;
}

.services-hero .subheading {
  white-space: nowrap;
  font-size: 11px;
}

/* ── Sticky pill nav ── */
.pill-nav-wrap {
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
}

.pill-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.25rem clamp(1.25rem, 4vw, 3rem);
  scrollbar-width: none;
}
.pill-nav::-webkit-scrollbar { display: none; }

.pill-nav__item {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--duration) var(--ease-smooth);
  background: transparent;
  text-decoration: none;
}

.pill-nav__item:hover,
.pill-nav__item.active {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
}

/* ── Price disclaimer ── */
.price-disclaimer {
  background: var(--bg-secondary);
  border-left: 2px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 0;
}

.price-disclaimer p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Category sections ── */
.category-section {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.category-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

/* ── Animation 3: price lines ── */
.category-section__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

@media (max-width: 768px) {
  .category-section__grid { grid-template-columns: 1fr; }
}

/* Service row */
.service-row {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
}

/* Animation 2 fill effect on service rows */
.service-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 0%;
  height: 100%;
  background: var(--bg-elevated);
  transition: width 0.9s var(--ease-smooth);
  z-index: 0;
}
.service-row.visible::before { width: 100%; }

.service-card {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  transition: background var(--duration) var(--ease-smooth);
}

.service-card:hover { background: rgba(201, 168, 76, 0.04); }

.service-card__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-primary);
}

.service-card__price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--accent);
  white-space: nowrap;
}

.service-card__sizes {
  display: flex;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.service-card__sizes .size-label {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
}

.service-card__sizes .size-price {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
}

/* Size labels header */
.size-header {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  padding: 0.5rem 1.5rem;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}
.size-header span { width: 70px; text-align: center; }

/* Loading state */
.services-loading {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 2rem 0;
}
.services-loading .skeleton {
  height: 52px;
  width: 100%;
  background: var(--bg-secondary);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { opacity: 0.6; }
  50% { opacity: 1; }
  100% { opacity: 0.6; }
}

/* ── Book CTA ── */
.services-book-cta {
  text-align: center;
  padding: 3rem 0;
}

.services-book-cta p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
