/* ============================================================
   Odontología Elizabeth Baquero — Páginas de tratamiento (SEO)
   Extiende los tokens y componentes de rediseno.css.
   No redefine nada del sistema base, solo añade piezas nuevas.
   ============================================================ */

/* ---------------- Breadcrumb ---------------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: center; font-family: var(--body); font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--teal-deep); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span[aria-current] { color: var(--muted); }
.breadcrumb i { font-size: 10px; opacity: .6; }

/* ---------------- Hero de tratamiento (split texto/imagen) ---------------- */
.tx-hero .wrap { text-align: left; }
.tx-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.tx-hero__media { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); border: 1px solid var(--line); aspect-ratio: 4 / 3.4; }
.tx-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.tx-hero .hero__eyebrow { margin-bottom: 20px; }
.tx-hero .hero__title { text-align: left; }
.tx-hero .hero__lead { text-align: left; max-width: 560px; margin-left: 0; }
.tx-hero .hero__cta { justify-content: flex-start; }
.tx-hero .hero__trust { justify-content: flex-start; }
@media (max-width: 900px) {
  .tx-hero__grid { grid-template-columns: 1fr; }
  .tx-hero .hero__title, .tx-hero .hero__lead { text-align: center; }
  .tx-hero .hero__cta, .tx-hero .hero__trust { justify-content: center; }
  .tx-hero .wrap { text-align: center; }
}

/* ---------------- Bloques de contenido texto + imagen ---------------- */
.content-block { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.content-block--reverse .content-block__media { order: 2; }
.content-block__media img { width: 100%; border-radius: var(--r); box-shadow: var(--sh-md); border: 1px solid var(--line); display: block; }
.content-block__text h2 { font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 18px; }
.content-block__text h2 .accent { color: var(--teal); font-style: italic; }
.content-block__text p + p { margin-top: 14px; }
.content-block__text p { color: var(--text); font-size: 16.5px; }
@media (max-width: 860px) {
  .content-block { grid-template-columns: 1fr; gap: 28px; }
  .content-block--reverse .content-block__media { order: 0; }
}

/* ---------------- Prosa de una columna ---------------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-weight: 600; font-size: clamp(26px, 3.2vw, 34px); margin-bottom: 18px; text-align: center; }
.prose > p { text-align: center; color: var(--text); font-size: 16.5px; max-width: 680px; margin: 0 auto; }
.prose > p + p { margin-top: 14px; }

/* ---------------- Pasos numerados ---------------- */
.steps { max-width: 760px; margin: 36px auto 0; display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--sh-sm); }
.step__n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 16px; }
.step__body h3 { font-family: var(--body); font-weight: 700; font-size: 15.5px; color: var(--ink); margin-bottom: 4px; }
.step__body p { color: var(--muted); font-size: 15px; }

/* ---------------- Listas con check (beneficios / cuidados / confianza) ---------------- */
.check-list { max-width: 760px; margin: 36px auto 0; display: grid; gap: 14px; }
.check-list--cols { grid-template-columns: 1fr 1fr; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.check-list li i { flex: none; color: #fff; background: var(--teal); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; margin-top: 2px; }
@media (max-width: 640px) { .check-list--cols { grid-template-columns: 1fr; } }

/* ---------------- Nota de advertencia suave (sin prometer resultados) ---------------- */
.note-soft { max-width: 760px; margin: 28px auto 0; background: var(--mist); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; font-size: 14.5px; color: var(--muted); text-align: center; }
.note-soft i { color: var(--teal); margin-right: 6px; }

/* ---------------- Galería de casos (reutiliza el mismo criterio del index) ---------------- */
.case-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.case-fig { flex: 1 1 220px; max-width: 260px; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); background: #fff; border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.case-fig:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.case-fig img { width: 100%; height: 220px; object-fit: cover; display: block; }
.case-fig figcaption { padding: 12px 16px; font-family: var(--body); font-weight: 700; font-size: 13.5px; color: var(--teal-deep); text-align: center; }

/* ---------------- Especialistas ---------------- */
.spec-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 900px; margin: 40px auto 0; }
.spec-card { flex: 1 1 260px; max-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: flex; gap: 18px; align-items: flex-start; box-shadow: var(--sh-sm); }
.spec-card img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; flex: none; }
.spec-card .avatar { width: 74px; height: 74px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--mist); color: var(--teal); font-size: 26px; }
.spec-card h3 { font-weight: 600; font-size: 19px; margin-bottom: 2px; }
.spec-card .role { display: block; font-family: var(--body); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.spec-card p { font-size: 14.5px; color: var(--muted); }

/* ---------------- FAQ (details/summary nativo) ---------------- */
.faq { max-width: 760px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 22px; box-shadow: var(--sh-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--body); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--mist); color: var(--teal); display: grid; place-items: center; transition: transform .25s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq .faq__a { padding: 0 0 20px; color: var(--text); font-size: 15px; }

/* ---------------- Enlaces relacionados (pills) ---------------- */
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.related-links a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font-family: var(--body); font-weight: 700; font-size: 14px; color: var(--ink); transition: transform .2s ease, border-color .2s ease, color .2s ease; }
.related-links a:hover { transform: translateY(-3px); border-color: var(--teal-bright); color: var(--teal-deep); }
.related-links a i { color: var(--teal); }

/* ---------------- Lista de estándares (nosotros.html) ---------------- */
.standards { max-width: 820px; margin: 40px auto 0; }
.standard-row { padding: 26px 4px; border-bottom: 1px solid var(--line); }
.standard-row:first-child { padding-top: 0; }
.standard-row:last-child { border-bottom: 0; padding-bottom: 0; }
.standard-row h3 { font-family: var(--display); font-weight: 600; font-size: 21px; color: var(--ink); margin-bottom: 6px; }
.standard-row p { color: var(--muted); font-size: 15.5px; }

/* ---------------- Especialista destacado ---------------- */
.team-feature { max-width: 900px; margin: 0 auto 44px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-md); padding: 36px; display: grid; grid-template-columns: 148px 1fr; gap: 30px; align-items: center; }
.team-feature img { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; }
.team-feature .role { display: inline-block; font-family: var(--body); font-weight: 700; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.team-feature h3 { font-weight: 600; font-size: 26px; margin-bottom: 2px; }
.team-feature p { color: var(--text); font-size: 15.5px; margin-top: 10px; }
@media (max-width: 620px) {
  .team-feature { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .team-feature img { margin: 0 auto; }
}

/* ---------------- Testimonios (Instagram) ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; max-width: 900px; margin: 40px auto 0; }
.testi-card { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease; }
.testi-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.testi-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.testi-card__badge { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(67,67,67,.55); backdrop-filter: blur(3px); color: #fff; display: grid; place-items: center; font-size: 15px; }
.testi-follow { display: flex; justify-content: center; margin-top: 30px; }

/* ---------------- CTA final ---------------- */
.cta-band { background: var(--teal); color: #f7f6f6; padding: clamp(48px, 7vw, 76px) 0; text-align: center; }
.cta-band h2 { color: #fff; font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); }
.cta-band p { color: #f7f6f6; margin: 14px auto 0; max-width: 520px; font-size: 16px; }
.cta-band .hero__cta { justify-content: center; margin-top: 28px; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
