/* =====================================================
   REVÈLA — Services Page
   ===================================================== */

/* ── Page Hero ──────────────────────────────────── */

.services-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: var(--dark);
}

.services-hero-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
  will-change: transform;
}

.services-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.services-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.96) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad) 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-hero-content [data-reveal]:nth-child(1) { transition-delay: 0.3s; }
.services-hero-content [data-reveal]:nth-child(2) { transition-delay: 0.5s; }
.services-hero-content [data-reveal]:nth-child(3) { transition-delay: 0.7s; }

.services-hero-subtitle {
  color: rgba(255, 255, 255, 0.65);
  max-width: 540px;
}

/* ── Services Nav ────────────────────────────────── */

.services-nav {
  background: var(--white);
  border-bottom: 1px solid var(--grey-2);
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
}

.services-nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.services-nav-inner::-webkit-scrollbar { display: none; }

.services-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-4);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast);
}

.services-nav-link:hover { color: var(--dark); }

.services-nav-link.active {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

.services-nav-link svg { flex-shrink: 0; }

/* ── Service Section Base ────────────────────────── */

.service-section {
  scroll-margin-top: calc(var(--nav-height) + 56px);
}

/* ── Hair Section ────────────────────────────────── */

.hair-section { background: var(--white); }

.hair-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 72px;
}

.hair-intro-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hair-intro-text p { color: var(--grey-5); line-height: 1.8; }

.hair-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.hair-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* — Before/After Carousel — */
.hair-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hair-carousel-slide.active {
  opacity: 1;
}

.hair-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.hair-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, width 0.3s;
}

.hair-carousel-dot.active {
  background: var(--white);
  width: 18px;
}

.hair-carousel-prev,
.hair-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.32);
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}

.hair-carousel-prev { left: 12px; }
.hair-carousel-next { right: 12px; }

.hair-carousel-prev:hover,
.hair-carousel-next:hover { background: rgba(0, 0, 0, 0.6); }

.hair-methods-label { margin-bottom: 32px; }

.hair-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.method-card {
  background: var(--dark);
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--t-base);
  cursor: default;
}

.method-card:hover { background: #1a1a1a; }

.method-category {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
}

.method-name {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
}

.method-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  flex: 1;
}

.method-detail {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}

/* ── Health / Body Rolling Section ──────────────── */

.slimming-section { background: var(--dark); }

.slimming-header { margin-bottom: 64px; }
.slimming-header .section-label span  { color: var(--magenta); }
.slimming-header .section-label::before { background: var(--magenta); }
.slimming-header .t-h2 { color: var(--white); }
.slimming-header p { color: rgba(255,255,255,0.55); max-width: 600px; margin-top: 16px; line-height: 1.8; }

.slimming-grid {
  display: block;
}

.slimming-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
}

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

.slimming-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,17,23,0.7) 0%, transparent 50%);
}

.slimming-media-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: var(--white);
}

.slimming-media-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 4px;
}

.slimming-media-caption span {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
}

.slimming-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.benefits-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.benefit-full-item {
  background: var(--white);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.benefit-full-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.benefit-full-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.benefit-full-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--grey-5);
}

.benefit-icon {
  width: 28px;
  height: 28px;
  color: var(--magenta);
  margin-bottom: 4px;
}

/* ── Beauty Section ──────────────────────────────── */

.beauty-section { background: var(--white); }

.beauty-intro {
  max-width: 640px;
  margin-bottom: 64px;
}

.beauty-intro p { color: var(--grey-5); line-height: 1.8; margin-top: 16px; }

.beauty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.beauty-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}

.beauty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.1);
}

.beauty-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--dark);
}

.beauty-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.beauty-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.beauty-card-img-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: 0.15;
}

.beauty-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beauty-card-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--magenta);
}

.beauty-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
}

.beauty-card-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
}

/* ── Service CTA ─────────────────────────────────── */

.services-cta {
  background: var(--white);
  border-top: 1px solid var(--grey-2);
  text-align: center;
  padding: 80px 0;
}

.services-cta-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* ── Responsive ─────────────────────────────────── */

@media (max-width: 1024px) {
  .hair-intro    { grid-template-columns: 1fr; gap: 40px; }
  .hair-methods  { grid-template-columns: repeat(2, 1fr); }
  .beauty-cards  { grid-template-columns: repeat(2, 1fr); }
  .benefits-full { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .hair-methods  { grid-template-columns: 1fr; }
  .beauty-cards  { grid-template-columns: 1fr; }
  .benefits-full { grid-template-columns: 1fr 1fr; }
}
