/* Ficha de servicio — página y sheet embed (stage tipo Términos) */

.svc-detail-hero {
  padding: 48px 0 72px;
  background: var(--sh-cream, #fff);
  color: var(--sh-ink, #111);
}
.svc-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: start;
}
.svc-detail-media {
  display: grid;
  gap: 0;
}
.svc-detail-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--sh-cream-deep, #f5f5f5);
}
.svc-detail-ph {
  aspect-ratio: 1;
  background: color-mix(in srgb, var(--sh-btn-bg, #1a2332) 80%, #000);
}
.svc-detail-media-2 {
  aspect-ratio: 16 / 10 !important;
}
.svc-detail-copy {
  padding: 28px 32px;
}
.svc-detail-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sh-muted, #666);
}
.svc-detail-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}
.svc-detail-lead {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--sh-muted, #666);
}
.svc-detail-body {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.65;
}
.svc-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.svc-detail-actions .sh-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--sh-btn-bg, #111);
  color: var(--sh-btn-text, #fff);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.svc-detail-back {
  font-size: 13px;
  color: var(--sh-muted, #666);
}

/* —— Embed en stage (igual espíritu que Términos) —— */
.svc-detail--embed {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--sh-cream, #fff);
  color: var(--sh-ink, #111);
}
.svc-sheet {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  min-height: 100vh;
  min-height: 100dvh;
}
.svc-sheet-media {
  min-height: 280px;
  background:
    linear-gradient(160deg, color-mix(in srgb, var(--sh-btn-bg, #1a2332) 75%, #000), color-mix(in srgb, var(--sh-cream-deep, #162033) 70%, #000));
  background-size: cover;
  background-position: center;
}
.svc-sheet-media.has-img {
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)),
    var(--svc-hero);
}
.svc-sheet-copy {
  padding: clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.svc-sheet-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sh-muted, #666);
}
.svc-sheet-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.svc-sheet-lead {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--sh-muted, #666);
}
.svc-sheet-body {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 42rem;
}
.svc-sheet-extra {
  margin: 0 0 28px;
}
.svc-sheet-extra img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.svc-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.svc-sheet-back {
  appearance: none;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--sh-line-strong, #ddd);
  background: transparent;
  color: var(--sh-ink, #111);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.svc-sheet-back:hover {
  background: var(--sh-ink, #111);
  border-color: var(--sh-ink, #111);
  color: var(--sh-cream, #fff);
}
.svc-sheet-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  background: var(--sh-btn-bg, #111);
  color: var(--sh-btn-text, #fff);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .svc-detail-grid {
    grid-template-columns: 1fr;
  }
  .svc-detail-copy {
    padding: 22px 4px 0;
  }
  .svc-sheet {
    grid-template-columns: 1fr;
  }
  .svc-sheet-media {
    min-height: 42vw;
    max-height: 320px;
  }
  .svc-sheet-copy {
    padding: 24px 20px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-sheet-back {
    transition: none;
  }
}
