/* Compatibilidad por modelo y WhatsApp · Bloques de la página de inicio (buscador por modelo y tarjetas de guías) */
.compat-home { display: flex; flex-direction: column; gap: 28px; margin: 24px auto; max-width: 1200px; color: #1f1f1f; text-align: left; }
.compat-home *, .compat-home *::before, .compat-home *::after { box-sizing: border-box; }
.compat-home p, .compat-home label, .compat-home h2 { text-align: left; }

.compat-home-search { padding: 20px; border: 2px solid #e8590c; border-radius: 12px; background: #fff8f3; }
.compat-home .compat-home-kicker { margin: 0 0 6px; font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.compat-home-form { margin: 0; }
.compat-home .compat-home-label { display: block; margin: 0 0 10px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.compat-home-row { display: flex; gap: 10px; flex-wrap: wrap; }
.compat-home .compat-home-input {
  flex: 1 1 260px; min-width: 0; min-height: 52px; padding: 10px 14px; border: 1px solid #b9b6af; border-radius: 8px; background: #fff; color: #1f1f1f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 18px; letter-spacing: .03em; text-transform: uppercase;
}
.compat-home .compat-home-input::placeholder { color: #6b6963; text-transform: none; letter-spacing: 0; font-family: inherit; }
.compat-home .compat-home-input:focus { outline: 2px solid #1d6fb8; outline-offset: 1px; border-color: #1d6fb8; }
.compat-home .compat-home-button { flex: 0 0 auto; min-height: 52px; padding: 10px 24px; border: 0; border-radius: 8px; background: #1f8f4e; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.compat-home .compat-home-button:hover, .compat-home .compat-home-button:focus-visible { background: #17733e; }
.compat-home .compat-home-button:focus-visible { outline: 2px solid #1d6fb8; outline-offset: 2px; }
.compat-home .compat-home-help { margin: 10px 0 0; color: #3f3d39; font-size: 14px; line-height: 1.5; }
.compat-home .compat-home-help a { font-weight: 700; }

.compat-home .compat-home-h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.25; text-transform: none; }
.compat-home .compat-home-intro { margin: 0 0 16px; color: #3f3d39; font-size: 15px; }
.compat-home-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.compat-home-cards li { margin: 0; padding: 0; }
.compat-home a.compat-home-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; min-height: 120px; padding: 16px;
  border: 1px solid #e3e1dc; border-radius: 10px; background: #fff; color: #1f1f1f; text-decoration: none;
}
.compat-home a.compat-home-card:hover { border-color: #b9b6af; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.compat-home a.compat-home-card:focus-visible { outline: 2px solid #1d6fb8; outline-offset: 2px; }
.compat-home .compat-home-icon { display: block; width: 40px; height: 40px; color: #3d3b37; }
.compat-home .compat-home-card-name { font-size: 15px; font-weight: 700; line-height: 1.3; }
.compat-home .compat-home-card-sub { color: #5c5a55; font-size: 13px; }

.compat-home-help-box { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin: 16px 0 0; padding: 16px; border-radius: 10px; background: #f6f5f2; }
.compat-home-help-box p { flex: 1 1 280px; margin: 0; font-size: 15px; line-height: 1.5; }
.compat-home-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.compat-home a.compat-home-wa { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border-radius: 8px; background: #1f8f4e; color: #fff; font-weight: 700; text-decoration: none; }
.compat-home a.compat-home-wa:hover, .compat-home a.compat-home-wa:focus-visible { background: #17733e; color: #fff; }
.compat-home a.compat-home-all { font-weight: 700; }

@media (max-width: 480px) {
  .compat-home-search { padding: 14px; }
  .compat-home .compat-home-button { flex: 1 1 100%; }
  .compat-home-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .compat-home a.compat-home-card { min-height: 104px; padding: 12px; }
}
