/* Capa final de interfaz (2026-11-20). Va después de secciones.css y gana sobre todo lo anterior. */

/* ---- guía "¿Qué te pasa?": tarjetas grandes, con el icono dentro de un círculo claro ---- */
.guia .casos { gap: 12px; }
.guia .caso, .guia .sub .caso {
  background: #fff; border: 1.5px solid var(--arena); box-shadow: 0 4px 14px rgba(28,24,21,.06);
  border-radius: 20px; padding: 16px; min-height: 142px; gap: 12px; color: var(--tinta);
}
.guia .caso:hover { border-color: var(--tinta); transform: translateY(-2px); }
.guia .caso:active { transform: scale(.98); }
.guia .caso::after { background: var(--crema); box-shadow: none; color: var(--tinta); width: 28px; height: 28px; font-size: 15px; right: 12px; top: 14px; }
.guia .caso svg, .esp-btn svg {
  width: 50px; height: 50px; padding: 11px; border-radius: 16px; background: #EFE7DB; box-shadow: none;
  stroke: var(--tinta); stroke-width: 1.7; fill: none; flex: none;
}
.guia .caso span { font-size: 17px; font-weight: 500; line-height: 1.25; }
.guia .sub .caso { min-height: 0; flex-direction: row; align-items: center; padding: 18px 56px 18px 20px; }

/* ---- especialidades ---- */
.esps { gap: 12px; }
.esp-btn {
  background: #fff; border: 1.5px solid var(--arena); box-shadow: 0 4px 14px rgba(28,24,21,.06);
  border-radius: 20px; padding: 16px; gap: 10px; min-height: 150px;
}
.esp-btn:hover { border-color: var(--tinta); transform: translateY(-2px); }
.esp-btn span { font-size: 17px; font-weight: 500; line-height: 1.25; }
.esp-btn small { font-size: 14.5px; color: var(--taupe-osc); letter-spacing: 0; }
.esp-btn[aria-expanded="true"] { background: var(--tinta); border-color: var(--tinta); }
.esp-btn[aria-expanded="true"] svg { background: rgba(255,255,255,.14); stroke: #fff; }
.esp-btn[aria-expanded="true"] span { color: #fff; }
.esp-btn[aria-expanded="true"] small { color: #D9CBBB; }
.esp-btn::after { background: var(--crema); box-shadow: none; width: 28px; height: 28px; display: grid; place-items: center; font-size: 15px; color: var(--tinta); right: 12px; bottom: auto; top: 14px; }
.esp-btn[aria-expanded="true"]::after { background: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 760px) {
  .guia .caso, .guia .sub .caso { min-height: 132px; }
  .guia .sub .caso { min-height: 0; }
  .esp-btn { min-height: 136px; padding: 14px; }
  .esp-btn svg, .guia .caso svg { width: 46px; height: 46px; padding: 10px; }
  .esp-btn small { display: block; }
  .esp-btn::after { display: grid; }
}

/* los iconos de especialidades ganan sobre las reglas anteriores */
.esps .esp-btn svg { width: 50px !important; height: 50px !important; padding: 11px !important; border-radius: 16px !important; background: #EFE7DB !important; box-shadow: none !important; stroke: var(--tinta) !important; stroke-width: 1.7 !important; }
.esps .esp-btn[aria-expanded="true"] svg { background: rgba(255,255,255,.14) !important; stroke: #fff !important; }
@media (max-width: 760px) { .esps .esp-btn svg { width: 46px !important; height: 46px !important; padding: 10px !important; } }

/* ---- preguntas frecuentes ---- */
summary { font-size: 18.5px; font-weight: 500; padding: 20px 44px 20px 0; line-height: 1.35; }
summary::after { width: 32px; height: 32px; background: #EFE7DB; box-shadow: none; right: 0; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--tinta); }
details p { font-size: 17.5px; line-height: 1.65; color: var(--texto); }

/* ---- listas con puntos (financiamiento, portal): tarjetas de cada punto ---- */
.w.fin ul { background: transparent; border: 0; box-shadow: none; padding: 0; display: grid; gap: 12px; }
.w.fin ul li { background: #fff; border: 1.5px solid var(--arena) !important; border-radius: 18px; padding: 18px 20px; box-shadow: 0 4px 14px rgba(28,24,21,.05); }
.w.fin ul li:first-child, .w.fin ul li:last-child { border: 1.5px solid var(--arena) !important; }
.w.fin ul strong { font-size: 18.5px; font-weight: 500; margin-bottom: 4px; }
.w.fin ul span { font-size: 16.5px; color: var(--texto); line-height: 1.5; }

/* ---- pasos del hero y textos pequeños ---- */
.hero .puntos li { font-size: 15px; font-weight: 500; }
@media (max-width: 760px) { .hero .puntos li { font-size: 13.5px; } }

/* ---- pie ---- */
.tratas-nav a { padding: 10px 6px; font-size: 15.5px; font-weight: 500; }
footer { font-size: 15px; }

/* ---- botones de toda la web: más grandes para el dedo ---- */
.btn { min-height: 54px; border-radius: 999px; }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: stretch; } .cta .btn { justify-content: center; } }

/* ---- que nada se desborde ---- */
img { max-width: 100%; height: auto; }
