/* Complementos del diseño 2026 (dirección C). El resto del estilo va en línea en cada página. */
img { max-width: 100%; }
.oculto { display: none !important; }

/* Preguntas frecuentes */
.faq summary::-webkit-details-marker { display: none; }
.faq summary { outline-offset: 4px; }
.faq .faq-sign { transition: transform .2s; }
.faq[open] .faq-sign { transform: rotate(45deg); }

/* Botones comunes */
.btn { font: inherit; font-weight: 600; border-radius: 12px; padding: 14px 24px; cursor: pointer; }
.btn-primario { background: #0B4350; color: #FFFFFF; border: 0; }
.btn-primario:disabled { opacity: .45; cursor: default; }
.btn-contorno { background: #FFFFFF; color: #13262F; border: 1px solid #D6D0C4; font-weight: 500; }

/* Test MAAS */
.opciones { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pregunta { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; font-size: 28px; line-height: 1.25; margin-bottom: 24px; padding: 0; }
.opcion { display: flex; align-items: center; gap: 10px; background: #FAF7F2; border: 1px solid #D6D0C4; border-radius: 14px; padding: 14px 16px; cursor: pointer; min-height: 52px; font-size: 15px; }
.opcion:has(input:checked) { border-color: #0B4350; background: #E3F1F8; }
.opcion input { accent-color: #0B4350; width: 18px; height: 18px; margin: 0; }

/* Mensajes de formularios */
.mensaje-form { margin: 10px 0 0; font-size: 15px; min-height: 1em; }
.mensaje-form.ok { color: #24584A; }
.mensaje-form.error { color: #B3261E; }

/* Texto legal */
.legal-contenido h2 { font-size: 26px; margin: 40px 0 10px; }
.legal-contenido p, .legal-contenido li { color: #4A5A61; }

/* Celulares */
@media (max-width: 640px) {
  h1 { font-size: 42px !important; }
  h2 { font-size: 30px !important; }
  .pregunta { font-size: 22px; }
  header nav { gap: 4px 16px !important; }
  footer [style*="grid-column: span 2"] { grid-column: auto !important; }
  section[style*="#E4CCB3"] > div > div:first-child { padding: 40px 0 8px !important; }
}


/* Heroes con foto de fondo: en celular la foto va debajo del texto */
@media (max-width: 760px){
  .hero-wrap{display:flex;flex-direction:column}
  .hero-wrap>.hero-bg{position:static !important;order:2;height:300px !important;object-position:84% center !important}
  .hero-wrap>.hero-bg[data-pos="70%"]{object-position:95% 80% !important}
  .hero-wrap>.hero-veil{display:none}
  .hero-wrap>.hero-content{padding:48px 24px 40px !important;min-height:0 !important}
}
@media (max-width: 760px){
  .hero-wrap>.hero-figura{height:280px !important;width:100% !important;object-fit:contain !important;object-position:center bottom !important;margin-top:-8px}
}
@media (max-width: 760px){.hero-wrap>.figura-borde{object-position:right bottom !important}}
@media (max-width: 760px){
  .galeria-consul{grid-template-columns:1fr 1fr !important;grid-template-rows:200px 160px 160px !important}
  .galeria-consul>div:nth-child(1){grid-row:1/2 !important;grid-column:1/2 !important;border-radius:20px 6px 6px 6px !important}
  .galeria-consul>div:nth-child(2){grid-row:1/2 !important;grid-column:2/3 !important;border-radius:6px 20px 6px 6px !important}
  .galeria-consul>div:nth-child(3){grid-column:1/3 !important}
  .galeria-consul>div:nth-child(4){grid-column:1/3 !important;border-radius:6px 6px 20px 20px !important}
}
