/* Approved home: editorial emphasis follows the selected treatment A. */
.home-refined .home--3 h2 em,
.home-refined .home--3 h2 strong,
.home-refined .home--3 h3 strong,
.home-refined .panel__title { font-weight: 700; }
.home-refined .home--3 p strong,
.home-refined .panel__text strong { font-weight: 700; }
.home-refined .t-brush {
 position: relative;
 display: inline-block;
 isolation: isolate;
 color: var(--graphite);
}
.home-refined .t-brush::before {
 content: "";
 position: absolute;
 z-index: -1;
 inset: 32% -.055em .01em;
 background: var(--sage-hi);
 opacity: .52;
 transform: rotate(-1.4deg);
 clip-path: polygon(1% 12%, 19% 5%, 43% 9%, 68% 0, 98% 7%, 96% 30%, 100% 43%, 98% 89%, 75% 96%, 50% 91%, 23% 100%, 0 91%, 2% 63%);
}
.home-refined .info .t-brush::before { background: var(--greige); opacity: .68; transform: rotate(.7deg); }
.home-refined .t-callout {
 display: block;
 margin-top: 26px;
 padding: 20px 24px;
 background: #dce0d6;
 border-left: 3px solid var(--cacao);
 color: var(--graphite);
 font-size: 22px;
 font-weight: 500;
 line-height: 1.5;
}
.home-refined .step__title { display: block; color: var(--graphite); font-size: 21px; margin-bottom: 12px; }
.home-refined .decl__cv a { text-decoration: underline; text-underline-offset: 4px; }
.home-refined .home--3 .info__text,
.home-refined .home--3 .step p { font-size: 19px; line-height: 1.75; }
.home-refined .reading-card p { font-size: 17px; line-height: 1.65; }
.home-refined .reading-room__intro p { max-width: 36ch; }
.home-refined .reading-card__meta { font-size: 12px; }
.home-refined .proposal-link { font-size: 14px; max-width: 25ch; }
.home-refined .publication-entry__credit { font-size: 14px; line-height: 1.6; color: var(--ink-70); }
.home-refined .publication-entry__link { margin-right: 22px; font-size: 14px; }
.home-refined .publication-entry__meta { font-size: 11px; }
.home-refined .closing__invitation p { font-size: 17px; }
.home-refined .closing__details { font-size: 14px; overflow-wrap: anywhere; }
.home-refined .closing__label,
.home-refined .closing__legal,
.home-refined .closing__newsletter .foot__consent { font-size: 12px; }
.home-refined .closing__field :disabled { cursor: not-allowed; opacity: .65; }
/* Short answers retain the existing editorial index and its reading hierarchy. */
.home-refined .home--3 .index__copy { display: grid; gap: 12px; }
.home-refined .home--3 .index__answer { font-size: 17px; line-height: 1.6; color: var(--ink-70); }
@media (max-width: 700px) {
 .home-refined .home--3 .info__text,
 .home-refined .home--3 .step p { font-size: 18px; }
 .home-refined .t-callout { padding: 18px 20px; font-size: 20px; }
 .home-refined .reading-room__intro { align-items: start; flex-direction: column; gap: 20px; }
 .home-refined .reading-room__intro p { font-size: 16px; }
 .home-refined .reading-card h3 { font-size: clamp(20px, 5vw, 25px); }
 .home-refined .reading-card--lead h3 { font-size: 34px; }
 .home-refined .reading-card p { font-size: 15px; }
 .home-refined .reading-card__meta { font-size: 10px; }
}

/* Space between post image and title when cards have no metadata row. */
.home-refined .home--3 .reading-card__image + h3 { margin-top: 22px; }

/* Preserve visible word spaces next to the heavier editorial highlights. */
.home-refined .home--3 h2 { word-spacing: .12em; }
.home-refined .reading-card h3 { word-spacing: .06em; }
.home-refined .gseal-inline { display: none; }
@media (max-width: 900px) {
 .home-refined .reading-room__head { flex-direction: column; align-items: stretch; gap: 24px; }
}
@media (max-width: 820px) {
 /* Keep the Google badge visible without covering mobile links while scrolling. */
 .home-refined .home--3 .gseal { display: none; }
 .home-refined .gseal-inline { display: block; justify-self: start; margin-top: 24px; }
 /* Short screens must grow around the hero copy, below the fixed header. */
 html.js.motion .home-refined .frame,
 .home-refined .frame { height: auto; }
 .home-refined .hero {
  position: relative;
  min-height: max(620px, 100svh);
  padding-top: calc(var(--header-h) + 32px);
 }
 /* The open treatment determines its height rather than clipping its copy. */
 .home-refined .panels { height: auto; min-height: 0; grid-template-rows: none; grid-auto-rows: auto; }
 .home-refined .panel { min-height: 88px; }
 .home-refined .panel:not(.is-open) .panel__content { display: none; }
 .home-refined .panel.is-open .panel__content { position: relative; padding-top: 88px; }
}

/* Shared menu stays scrollable on short screens. */
.home-refined .overlay { overflow-y: auto; }
.home-refined .overlay__inner { height: auto; min-height: 100%; }

/* 22-sep · Sello de Google abajo a la derecha, encima del botón del chat (56 px + 28 px de margen). */
.home-refined .gseal { left: auto; right: max(28px, env(safe-area-inset-right)); bottom: calc(98px + env(safe-area-inset-bottom)); }
body.home-refined:has(#gustavo-chat[data-open]) .gseal { display: none; }
/* El indicador del hero sube para no quedar bajo el sello ni el chat. */
.home-refined .corner--br { bottom: 178px; }
/* Acceso a la página del doctor desde la presentación de la home. */
.home-refined .decl__actions { margin-top: 28px; }

/* 25-sep · Tres áreas: cada procedimiento enlaza a su página.
   Antes eran rótulos en mayúsculas de 11,5 px separados por barras que quedaban colgando al final de línea. */
.home-refined .panel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; gap: 0 28px; max-width: 520px; margin-bottom: 26px; border-top: 1px solid var(--hair-dark); }
.home-refined .panel__list li { margin: 0; padding: 0; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; border-bottom: 1px solid var(--hair-dark); }
.home-refined .panel__list li::after { content: none; }
.home-refined .panel__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; padding: 8px 0; font-size: 14.5px; line-height: 1.3; color: var(--ivory-85); text-decoration: none; transition: color .25s var(--ease-out); }
.home-refined .panel__list a::after { content: '↗'; flex: none; font-size: 12px; color: var(--sage-hi); transition: transform .3s var(--ease-out); }
.home-refined .panel__list a:hover { color: var(--ivory); }
.home-refined .panel__list a:hover::after { transform: translate(2px, -2px); }
.home-refined .panel__list li:target a { color: var(--ivory); text-decoration: underline; text-underline-offset: 5px; }
/* Un panel cerrado no debe recibir el foco del teclado en enlaces invisibles. */
.home-refined .panel__content { visibility: hidden; transition: opacity .5s var(--ease-out), transform .6s var(--ease-out), visibility 0s linear .6s; }
.home-refined .panel.is-open .panel__content { visibility: visible; transition: opacity .5s var(--ease-out) .25s, transform .6s var(--ease-out) .25s, visibility 0s linear 0s; }
@media (max-width: 820px) {
  .home-refined .panel__list { display: flex; flex-wrap: wrap; gap: 8px; border-top: 0; margin-bottom: 20px; }
  .home-refined .panel__list li { border: 0; }
  .home-refined .panel__list a { min-height: 36px; padding: 7px 13px; font-size: 13.5px; border: 1px solid var(--hair-dark); border-radius: 999px; background: rgba(28, 25, 23, .28); }
  .home-refined .panel__list a::after { content: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-refined .panel__list a, .home-refined .panel__list a::after { transition: none; }
}

/* Fotos nuevas (GUS-52): «Qué se estudia en consulta» lleva una foto 4:3 en CADA paso (antes, una sola debajo de los tres). */
.steps--2 .step__photo { margin: clamp(18px, 2.4vw, 28px) 0 0; aspect-ratio: 4 / 3; overflow: hidden; }
.steps--2 .step__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.steps--2 .step__photo--1 img { object-position: 50% 50%; }
.steps--2 .step__photo--2 img { object-position: 50% 15%; }
.steps--2 .step__photo--3 img { object-position: 62% 50%; }
