/* Portada, preguntas y consultorio. Añadir después de clinica.css. */
@font-face {
  font-family: "Consulta Editorial";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/Instrument_Serif_normal.woff2") format("woff2");
}
@font-face {
  font-family: "Consulta Sans";
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/DM_Sans_normal.woff2") format("woff2");
}

@media screen {
  .escena, .preguntas-grid, .consulta-banda {
    --cuerpo: "Consulta Sans", "Segoe UI", sans-serif;
    --titulo: "Consulta Editorial", Georgia, serif;
    font-family: var(--cuerpo);
  }
  .escena {
    --rojo: #254536;
    --celeste: #607353;
    --linea: #c5ceba;
    --texto-secundario: #46594b;
    color: #203b32;
    background: #f7f3e9;
  }
  .escena h1 { font-weight: 400; letter-spacing: -.039em; line-height: .98; }
  .escena .mini { color: #4e624b; }
  .escena .con-regla::before, .preguntas-grid .con-regla::before,
  .consulta-banda .con-regla::before { height: 1px; }
  .escena .cifras dd { font-size: clamp(1.7rem, 2.7vw, 2.75rem); }
  .escena .cifras dt { font-size: .86rem; }
  .escena-foto {
    max-width: min(100%, 28.5rem);
    padding: clamp(.55rem, 1.25vw, 1rem) .4rem .4rem clamp(.55rem, 1.25vw, 1rem);
    background: #cbd8bc;
    border-radius: 56% 1% 0 0 / 44% 1% 0 0;
  }
  .escena-foto img { border-radius: 55% 1% 0 0 / 43% 1% 0 0; }
  .preguntas-grid {
    --rojo: #315c55;
    --celeste: #63908c;
    --linea: #c6d6d0;
    color: #21433c;
  }
  .preguntas-lista summary {
    font-family: var(--cuerpo); font-size: clamp(1rem, 1.65vw, 1.21rem);
    line-height: 1.4; font-weight: 600; padding-right: 2.4rem;
  }
  .preguntas-lista summary::after {
    display: grid; place-items: center; top: 50%; transform: translateY(-50%);
    width: 1.65rem; height: 1.65rem; border: 1px solid #aebfb5; border-radius: 50%;
    color: #315c55;
  }
  .preguntas-lista details[open] summary::after { content: "−"; }
  .consulta-banda {
    --rojo: #dff3af;
    --celeste: #d7edac;
    --texto-secundario: #dce8d9;
    background: #153d33; color: #fffdf4; border-top: 0;
  }
  .consulta-banda .mini { color: #d7edac; }
  .consulta-banda .cta { border-color: #dff3af; background: #dff3af; color: #173d32; }
  .consulta-banda .cta:hover { background: #edf9cf; border-color: #edf9cf; }
  .consulta-banda .ver, .consulta-banda address a { color: #e0f1bd; }
  .consulta-banda address, .consulta-banda hr { border-color: #648674; }
  .consulta-banda :focus-visible { outline-color: #ffd797; }
  .consulta-banda .consulta-retrato { border-radius: .25rem; }
  body:has(.escena) .mobile-dock .cta[href*="wa.me"] { background: #244c3c; border-color: #244c3c; }
}
@media screen and (max-width: 760px) {
  .escena-texto .bajada { order: 2; }
  .escena .hero-acciones { order: 3; }
  .escena-foto { order: 4; max-width: min(78%, 17rem); }
  .escena .cifras { order: 5; margin-top: .5rem; }
}
