.service-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.9rem 0;
  background: rgba(250, 247, 239, 0.95);
  border-bottom: 1px solid rgba(31, 58, 47, 0.08);
  backdrop-filter: blur(10px);
}

.service-header .header-inner { gap: 1.5rem; }
.service-header .nav { gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.service-header .brand,
.service-header .nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.service-header .nav a { min-width: 44px; justify-content: center; }
.service-header .nav-toggle { width: 44px; height: 44px; }
.service-header .nav-toggle::before { content: "☰"; font-size: 1.3rem; line-height: 1; }
.service-header .nav.is-open ~ .nav-toggle::before { content: "×"; font-size: 1.7rem; }

.service-main { overflow: hidden; }
.breadcrumbs {
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--forest);
}

.service-hero {
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 168, 106, 0.2), transparent 28rem),
    linear-gradient(155deg, var(--cream), var(--sand));
}
.service-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.65fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}
.service-hero h1 { max-width: 18ch; }
.service-hero .lede { max-width: 62ch; }

/* Las páginas índice (terapias, ceremonias) no llevan foto en el hero: su
   galería temática viene inmediatamente después. Centrado, el titular no deja
   un hueco muerto a la derecha. */
.service-hero.is-index { text-align: center; }
.service-hero.is-index h1 { max-width: 24ch; margin-inline: auto; }
.service-hero.is-index .lede { max-width: 56ch; margin-inline: auto; }
.service-hero.is-index .hero-actions { justify-content: center; }
.service-hero-media {
  width: min(100%, 420px);
  margin: 0 auto;
}
.service-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 22px 48px rgba(22, 40, 31, 0.16);
}
.service-hero-media figcaption {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.service-copy h2 { margin: 2.8rem 0 1rem; }
.service-copy h2:first-child { margin-top: 0; }
.service-copy h3 { margin: 2rem 0 0.6rem; }
.service-copy p, .service-copy li { color: var(--muted); }
.service-copy section[id] { scroll-margin-top: 7rem; }

.service-aside {
  position: sticky;
  top: 7rem;
  padding: 1.6rem;
  background: var(--sand);
  border: 1px solid rgba(111, 138, 112, 0.2);
}
.service-aside h2 { font-size: 1.6rem; margin-bottom: 0.8rem; }
.service-aside p { color: var(--muted); font-size: 0.92rem; }
.aside-links {
  display: grid;
  gap: 0.4rem;
  margin: 0 0 1.4rem;
}
.aside-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--forest);
  font-size: 0.9rem;
  text-underline-offset: 0.2em;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.service-list li {
  padding: 1.25rem;
  background: var(--sand);
  border-left: 3px solid var(--gold);
}

.service-gallery { padding-bottom: 0; }
.service-gallery h2 { margin-bottom: 1.6rem; }

.service-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service-image-grid figure { margin: 0; }
.service-image-grid a {
  display: block;
  color: var(--forest);
  text-decoration: none;
}
.service-image-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .4s ease;
}
.service-image-grid a:hover img { transform: scale(1.02); }
/* Las terapias no siempre completan la última fila: la imagen que queda
   suelta se centra en vez de quedar pegada al margen izquierdo. */
.service-image-grid figure:last-child:nth-child(3n - 2) { grid-column: 2; }
.service-image-grid figcaption {
  margin-top: 0.6rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  text-align: center;
}
.service-image-grid a:hover figcaption { color: var(--gold-text); }

@media (prefers-reduced-motion: reduce) {
  .service-image-grid img,
  .service-image-grid a:hover img { transition: none; transform: none; }
}

/* Va dentro de una sección centrada, así que la lista se centra entera. El
   text-align no alcanza para la pregunta: el summary es flex y su texto es un
   ítem que se encoge al contenido, de modo que hay que centrarlo con
   justify-content o quedaría pegado a la izquierda mientras la respuesta
   aparece al medio. */
.faq-list { max-width: 860px; margin: 2rem auto 0; text-align: center; }
.faq-list details { border-top: 1px solid rgba(111, 138, 112, 0.28); padding: 1.1rem 0; }
.faq-list details:last-child { border-bottom: 1px solid rgba(111, 138, 112, 0.28); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  cursor: pointer;
  font-weight: 500;
  color: var(--forest);
}
.faq-list p { color: var(--muted); margin-bottom: 0; }

.related-links { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.related-links a {
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--forest);
  text-underline-offset: 0.2em;
}
.related-links a + a::before { content: "·"; margin-right: 0.75rem; color: var(--gold); }

.service-footer { padding: 2rem 0; background: var(--forest); color: var(--cream); }
.service-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold-soft);
}

@media (max-width: 800px) {
  .service-header .nav { gap: 0; flex-wrap: nowrap; justify-content: flex-start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .service-hero-inner { grid-template-columns: 1fr; }
  .service-hero-media { width: min(82vw, 360px); }
}

@media (max-width: 560px) {
  .service-list { grid-template-columns: 1fr; }
  .service-image-grid { grid-template-columns: 1fr 1fr; }
  .service-image-grid figure:last-child:nth-child(3n - 2) { grid-column: auto; }
}
