/* ============================================
   VITTORIA LANDER — SERVICIOS PAGE
   ============================================ */


/* ─────────────────────────────────────────────
   PAGE HERO (compartido con galería, productos)
───────────────────────────────────────────── */

.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero__bg {
  position: relative;
  height: clamp(460px, 65vh, 640px);
  overflow: hidden;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 12, 14, 0.55) 0%,
    rgba(15, 12, 14, 0.75) 100%
  );
}

.page-hero__content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-bottom: var(--space-2xl);
  z-index: 1;
}

.page-hero__content h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.page-hero__sub {
  font-size: var(--text-md);
  color: var(--gray-light);
  max-width: 560px;
  line-height: 1.6;
}


/* ─────────────────────────────────────────────
   SERVICES NAV (anclas de categoría)
───────────────────────────────────────────── */

.services-nav {
  position: sticky;
  top: 80px; /* debajo del nav principal */
  z-index: calc(var(--z-nav) - 10);
  background: var(--bg-surface);
  border-bottom: var(--border-gold-subtle);
  padding-block: var(--space-sm);
}

/* Gradiente fade derecho que indica scroll */
.services-nav::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3rem;
  background: linear-gradient(to right, transparent, var(--bg-surface));
  pointer-events: none;
  z-index: 1;
}

.services-nav__list {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

.services-nav__list::-webkit-scrollbar { display: none; }

.services-nav__link {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  white-space: nowrap;
  padding-block: 0.5rem;
  border-bottom: 1px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.services-nav__link:hover,
.services-nav__link.is-active {
  color: var(--gold-light);
  border-bottom-color: var(--gold-primary);
}


/* ─────────────────────────────────────────────
   SERVICES SECTION
───────────────────────────────────────────── */

.services-section {
  padding-block: var(--space-3xl);
  background: var(--bg-base);
  scroll-margin-top: 130px; /* nav + sticky nav */
}

.services-section--alt {
  background: var(--bg-surface);
}

.services-section__header {
  max-width: 680px;
  margin-bottom: var(--space-2xl);
}

.services-section__header h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.services-section__desc {
  color: var(--gray-mid);
  font-size: var(--text-md);
  line-height: 1.7;
}

/* Layout: imagen + lista de servicios */
.services-section__body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: start;
}

.services-section__body--reverse {
  grid-template-columns: 1.4fr 1fr;
}

.services-section__body--reverse .services-section__list {
  order: -1;
}

.services-section__body--reverse .services-section__img {
  order: 1;
}

.services-section__img {
  position: sticky;
  top: 160px;
}

.services-section__img .img-placeholder {
  max-width: 100%;
}

.services-section__img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Detalle de servicio individual */
.service-detail {
  padding-block: var(--space-md);
  border-bottom: var(--border-white-subtle);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: 0.5rem;
}

.service-detail__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--white);
}

.service-detail__price {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--gold-light);
  font-weight: 300;
  flex-shrink: 0;
}

.service-detail__desc {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  line-height: 1.65;
}

.service-detail__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  vertical-align: middle;
  margin-left: 0.5rem;
  line-height: 1;
}

.service-detail__badge--nuevo {
  background: var(--gold-primary);
  color: var(--bg-base);
}

.service-detail__badge--oferta {
  background: rgba(175, 121, 18, 0.12);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
}


/* ─────────────────────────────────────────────
   FAQ
───────────────────────────────────────────── */

.faq-section {
  padding-block: var(--space-3xl);
  background: var(--bg-surface);
}

.faq-section__header {
  max-width: 600px;
  margin-bottom: var(--space-2xl);
}

.faq-section__header h2 {
  color: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 var(--space-2xl);
}

.faq-col {
  display: flex;
  flex-direction: column;
}

/* <details> nativo — sin JS, accesible */
.faq-item {
  border-bottom: var(--border-white-subtle);
}

.faq-item:first-child {
  border-top: var(--border-white-subtle);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-block: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition-fast);
  user-select: none;
}

/* Quita el triángulo nativo en Safari */
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::marker { display: none; }

.faq-item__question:hover {
  color: var(--gold-light);
}

.faq-item__icon {
  font-size: var(--text-lg);
  color: var(--gold-primary);
  flex-shrink: 0;
  line-height: 1;
  transition: transform var(--transition-base);
  font-weight: 300;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  color: var(--gold-light);
}

.faq-item[open] .faq-item__question {
  color: var(--gold-light);
}

.faq-item__answer {
  padding-bottom: var(--space-md);
  animation: faqOpen 200ms ease;
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--gray-mid);
  line-height: 1.75;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ─────────────────────────────────────────────
   RESPONSIVE SERVICIOS
───────────────────────────────────────────── */

@media (max-width: 1024px) {
  .services-section__body,
  .services-section__body--reverse {
    grid-template-columns: 1fr;
  }

  .services-section__body--reverse .services-section__list,
  .services-section__body--reverse .services-section__img {
    order: unset;
  }

  .services-section__img {
    position: static;
    max-width: 560px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq-col:first-child .faq-item:first-child {
    border-top: none;
  }
}

@media (max-width: 768px) {
  .services-nav__list {
    gap: var(--space-md);
  }

  .service-detail__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}
