/* ========================================================================
   HUMANUS · estilos compartidos de páginas de servicio
   Cada página define su acento con:  .svc-detail { --acc: var(--h-xxx); }
   ======================================================================== */

.svc-detail { --acc: var(--h-blue); }

/* Helper: titular en cursiva editorial */
.ital-h { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; }

/* ── Hero ───────────────────────────────────────────────────────── */
.sd-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.sd-hero .container { position: relative; z-index: 2; }
.sd-breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--ink-3); margin-bottom: 28px;
}
.sd-breadcrumb a:hover { color: var(--ink); }
.sd-breadcrumb .sep { opacity: .5; }
.sd-breadcrumb .cur { color: var(--ink); font-weight: 600; }
.sd-hero-grid { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; }
.sd-hero .icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--acc); color: #fff;
  font-family: 'Fraunces', serif; font-size: 32px; font-weight: 600;
}
.sd-hero .eyebrow { margin-bottom: 14px; }
.sd-hero h1 {
  font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04;
  letter-spacing: -0.035em; margin-bottom: 18px; max-width: 18ch;
}
.sd-hero h1 .ital { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: var(--ink-2); }
.sd-hero .ctas { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.sd-hero .bg-shape { position: absolute; mix-blend-mode: multiply; pointer-events: none; }
.sd-hero .bg-shape.b1 { top: -90px; right: -50px; width: 280px; height: 280px; background: var(--acc); opacity: 0.10; border-radius: 0 0 0 999px; }
.sd-hero .bg-shape.b2 { bottom: -60px; right: 22%; width: 140px; height: 140px; background: var(--h-yellow); opacity: 0.5; border-radius: 999px; }

/* ── Síntomas ───────────────────────────────────────────────────── */
.symptoms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 48px; }
.symptom {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px;
}
.symptom .x {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 999px;
  background: rgba(195,28,74,.10); color: var(--h-magenta);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; margin-top: 1px;
}
.symptom p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.symptom p strong { color: var(--ink); font-weight: 600; }

/* ── Qué incluye ────────────────────────────────────────────────── */
.includes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 48px; }
.inc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px; position: relative;
}
.inc-card .step-n {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  color: var(--acc); font-weight: 500; margin-bottom: 14px; letter-spacing: 0.06em;
}
.inc-card h4 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.02em; }
.inc-card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.inc-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.inc-card li { font-size: 13.5px; color: var(--ink-2); padding: 5px 0 5px 18px; position: relative; }
.inc-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 8px; border-radius: 999px; background: var(--acc); opacity: .5; }

/* ── Caso real / prueba ─────────────────────────────────────────── */
.sd-caso {
  background: var(--ink); color: #fff;
  border-radius: var(--r-xl); padding: 64px 56px;
  position: relative; overflow: hidden;
}
.sd-caso .shape { position: absolute; mix-blend-mode: screen; pointer-events: none; }
.sd-caso .shape.s1 { top: -100px; right: -60px; width: 320px; height: 320px; background: var(--h-violet); opacity: 0.26; border-radius: 999px; }
.sd-caso .shape.s2 { bottom: -120px; left: 28%; width: 240px; height: 240px; background: var(--acc); opacity: 0.34; border-radius: 999px; }
.sd-caso .pre { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--h-yellow); margin-bottom: 22px; }
.sd-caso h2 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; max-width: 20ch; margin-bottom: 30px; }
.sd-caso h2 .ital { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; color: rgba(255,255,255,.78); }
.sd-caso .layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.sd-caso .narrative p { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.78); }
.sd-caso .narrative p + p { margin-top: 14px; }
.sd-caso .narrative .em { color: var(--h-yellow); }
.sd-caso .results { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--r-lg); padding: 30px; }
.sd-caso .results h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 20px; }
.sd-caso .res { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.10); }
.sd-caso .res:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.sd-caso .res .v { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 500; letter-spacing: -0.03em; line-height: 1; margin-bottom: 6px; }
.sd-caso .res.r1 .v { color: var(--h-green); }
.sd-caso .res.r2 .v { color: var(--h-yellow); }
.sd-caso .res.r3 .v { color: var(--h-orange); }
.sd-caso .res .l { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.4; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-list { margin-top: 40px; max-width: 820px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus {
  flex: 0 0 28px; width: 28px; height: 28px; border-radius: 999px;
  border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--ink-2); transition: transform .2s ease, background .2s ease, color .2s ease;
}
.faq[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.faq .answer { padding: 0 0 24px; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); max-width: 68ch; }
.faq .answer strong { color: var(--ink); font-weight: 600; }

/* ── CTA final ──────────────────────────────────────────────────── */
.sd-cta { padding: 88px 0; background: var(--bg-2); position: relative; overflow: hidden; }
.sd-cta .bg-shape { position: absolute; pointer-events: none; mix-blend-mode: multiply; }
.sd-cta .bg-shape.c1 { top: -60px; left: -40px; width: 220px; height: 220px; background: var(--acc); opacity: 0.12; border-radius: 999px; }
.sd-cta .bg-shape.c2 { bottom: -80px; right: 12%; width: 170px; height: 170px; background: var(--h-orange); opacity: 0.16; border-radius: 999px; }
.sd-cta .container { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center; }
.sd-cta h2 { font-size: clamp(30px, 4vw, 50px); letter-spacing: -0.03em; line-height: 1.06; max-width: 20ch; margin: 0 auto 18px; }
.sd-cta h2 .ital { font-family: 'Fraunces', serif; font-style: italic; font-weight: 500; }
.sd-cta .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ── Otros servicios ────────────────────────────────────────────── */
.other-svc { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 40px; }
.other-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.other-card:hover { transform: translateY(-3px); box-shadow: var(--sh-1); }
.other-card .mini-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; }
.other-card.o-green .mini-icon,  .other-card.o1 .mini-icon { background: var(--h-green); }
.other-card.o-blue .mini-icon,   .other-card.o2 .mini-icon { background: var(--h-blue); }
.other-card.o-magenta .mini-icon { background: var(--h-magenta); }
.other-card.o-violet .mini-icon, .other-card.o3 .mini-icon { background: var(--h-violet); }
.other-card h4 { font-size: 16px; letter-spacing: -0.015em; }
.other-card .go { font-size: 13px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }
.other-card .go::after { content: "→"; transition: transform .2s ease; }
.other-card:hover .go::after { transform: translateX(4px); }

/* ── Responsivo ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .symptoms { grid-template-columns: 1fr; }
  .includes { grid-template-columns: 1fr; }
  .sd-caso { padding: 40px 28px; }
  .sd-caso .layout { grid-template-columns: 1fr; gap: 28px; }
  .other-svc { grid-template-columns: 1fr; }
}
