/* ======================================================
   BRAND LANDING - COMPATIBILIDAD
====================================================== */

.ommvi-brand-logo {
  display: block;
  width: auto;
  max-width: 130px !important;
  height: auto;
  margin: 0 auto 18px;
}

.ommvi-modelo-logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  margin: 0 auto 18px;
}

/* Descripción SEO */
.ommvi-compatibility-description {
  max-width: 760px;
  margin: 0 auto 42px;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.75;
  text-align: left;
}

.ommvi-compatibility-description p {
  margin: 0;
}

/* Grid de modelos */
.ommvi-brand-models-section {
  /*max-width: 980px;*/
  margin: 0 auto 14px;
  padding: 0 18px;
  text-align: center;
}

.ommvi-brand-models-title {
  max-width: 620px;
  margin: 0 auto 20px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}

.ommvi-brand-models-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

.ommvi-brand-model-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ommvi-brand-model-item a:hover {
  transform: translateY(-2px);
  border-color: #0875dc;
  background: #0875dc;
  color: #ffffff;
  text-decoration: none;
}

.ommvi-brand-model-item span {
  display: inline;
  color: #0f172a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.ommvi-brand-model-item a:hover span {
  color: #ffffff;
}

/* Botón volver a marca */
.ommvi-back-to-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 360px;
  margin: 24px auto 40px;
  padding: 14px 24px;
  border-radius: 12px;
  background: #d3163a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ommvi-back-to-brand-link:hover {
  background: #a50f2d;
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

@media (min-width: 768px) {
  .ommvi-brand-logo {
    max-width: 150px !important;
  }
}

@media (max-width: 767px) {
  .ommvi-compatibility-description {
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.65;
  }
}

/* ======================================================
   HERO LANDING MARCAS
====================================================== */

.ommvi-brand-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1280px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.ommvi-brand-hero__content {
  max-width: 680px;
}

.ommvi-brand-hero__title {
  margin: 18px 0 20px;
  color: #0f172a;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ommvi-brand-hero__image img {
  width: 100%;
  border-radius: 26px;
  display: block;
  object-fit: cover;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.16);
}

@media (min-width: 992px) {
  .ommvi-brand-hero {
    grid-template-columns: 1fr 520px;
  }
}

.ommvi-compat-hero {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
  box-sizing: border-box;
  width: min(calc(100% - 36px), 1180px);
  max-width: 1180px;
  margin: 48px auto 56px;
  padding: 48px;
  border: 1px solid #dbe4ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.06);
}

.ommvi-compat-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ommvi-compat-hero__logo {
  max-width: 190px !important;
  height: auto;
}

.ommvi-compat-hero__pill {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #eef4ff;
  color: #2563eb;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ommvi-compat-hero h1 {
  margin: 0 0 18px;
  color: #0f172a;
  font-size: clamp(42px, 5vw, 64px);
  line-height: .95;
  font-weight: 700;
  letter-spacing: -.04em;
}

.ommvi-compat-hero__text {
  max-width: 720px;
  color: #1e293b;
  font-size: 17px;
  line-height: 1.75;
}

.ommvi-compat-hero__text p {
  margin: 0;
}

@media (max-width: 767px) {
  .ommvi-compat-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    width: calc(100% - 32px);
    max-width: none;
    margin: 8px auto 28px;
    padding: 30px 22px 26px;
    text-align: center;
  }

  .ommvi-compat-hero__logo {
    max-width: 150px !important;
  }

  .ommvi-compat-hero h1 {
    display: none;
  }

  .ommvi-compat-hero__text {
    font-size: 16px;
    text-align: left;
  }

  .ommvi-brand-models-section {
    box-sizing: border-box;
    width: min(calc(100% - 36px), 1280px);
    max-width: 1280px;
  }

  .ommvi-brand-models-title {
    margin-bottom: 14px;
    font-size: 24px;
    text-align: center;
  }
}
