/* ============================================================
 * europet-marcas.css
 * Europet modular CSS
 * ============================================================ */

/* === Página Marcas === */
/* ============================================================
 * EUROPET - Página Marcas
 * Scope: agregar clase "ep-marcas-page" al Section principal
 * ============================================================ */

.ep-marcas-page {
  --ep-marcas-purple: #6f45ad;
  --ep-marcas-purple-dark: #4c1d79;
  --ep-marcas-green: #19a36a;
  --ep-marcas-orange: #c9572f;
  --ep-marcas-text: #251735;
  --ep-marcas-muted: #63556d;
  --ep-marcas-border: #eadcf7;
  --ep-marcas-bg: #fbf7ff;

  padding: 42px 0 44px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ff 100%);
}

.ep-marcas-page .section-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 18px;
}

/* Rows principales */
.ep-marcas-page .section-content > .row {
  max-width: 1120px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hero superior */
.ep-marcas-page .section-content > .row:first-of-type {
  background: linear-gradient(135deg, #ffffff 0%, #fbf6ff 58%, #effff6 100%);
  border: 1px solid var(--ep-marcas-border);
  border-radius: 28px;
  padding: 44px 52px 36px !important;
  box-shadow: 0 14px 34px rgba(76, 29, 121, 0.07);
  margin-bottom: 30px !important;
}

.ep-marcas-page .section-content > .row:first-of-type .col {
  padding-bottom: 0 !important;
}

.ep-marcas-page .section-content > .row:first-of-type h1,
.ep-marcas-page .section-content > .row:first-of-type h2,
.ep-marcas-page .section-content > .row:first-of-type h3 {
  color: var(--ep-marcas-text);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}

.ep-marcas-page .section-content > .row:first-of-type p {
  color: var(--ep-marcas-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 760px;
}

/* Botones hero */
.ep-marcas-page .section-content > .row:first-of-type .button,
.ep-marcas-page .section-content > .row:first-of-type a.button {
  border-radius: 999px !important;
  min-height: 38px;
  line-height: 38px;
  padding: 0 20px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  margin: 4px 6px 4px 0 !important;
  box-shadow: 0 8px 20px rgba(76, 29, 121, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.ep-marcas-page .section-content > .row:first-of-type .button:hover,
.ep-marcas-page .section-content > .row:first-of-type a.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(76, 29, 121, 0.16);
  opacity: 0.96;
}

/* Caja de marcas */
.ep-marcas-page .section-content > .row:nth-of-type(2) {
  background: #ffffff;
  border: 1px solid var(--ep-marcas-border);
  border-radius: 28px;
  padding: 42px 48px !important;
  box-shadow: 0 14px 34px rgba(76, 29, 121, 0.07);
}

.ep-marcas-page .section-content > .row:nth-of-type(2) > .col {
  padding-bottom: 0 !important;
}

.ep-marcas-page .section-content > .row:nth-of-type(2) h2,
.ep-marcas-page .section-content > .row:nth-of-type(2) h3,
.ep-marcas-page .section-content > .row:nth-of-type(2) h4 {
  color: var(--ep-marcas-text);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}

.ep-marcas-page .section-content > .row:nth-of-type(2) p {
  color: var(--ep-marcas-muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Grilla de logos */
.ep-marcas-page .section-content > .row:nth-of-type(2) .row .col {
  padding: 10px 12px !important;
}

.ep-marcas-page .section-content > .row:nth-of-type(2) .row .col > .col-inner {
  min-height: 116px;
  background: #ffffff;
  border: 1px solid #f0e7f8;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(76, 29, 121, 0.045);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ep-marcas-page .section-content > .row:nth-of-type(2) .row .col > .col-inner:hover {
  transform: translateY(-2px);
  border-color: #dbc7ef;
  box-shadow: 0 10px 24px rgba(76, 29, 121, 0.11);
}

.ep-marcas-page .section-content > .row:nth-of-type(2) .row .col img {
  max-height: 72px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* CTA WhatsApp inferior */
.ep-marcas-page .section-content > .row:nth-of-type(2) .button,
.ep-marcas-page .section-content > .row:nth-of-type(2) a.button {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 20px rgba(76, 29, 121, 0.12);
}

/* Responsive tablet */
@media (max-width: 849px) {
  .ep-marcas-page {
    padding: 28px 0 34px !important;
  }

  .ep-marcas-page .section-content {
    padding: 0 16px;
  }

  .ep-marcas-page .section-content > .row:first-of-type,
  .ep-marcas-page .section-content > .row:nth-of-type(2) {
    border-radius: 24px;
    padding: 28px 22px !important;
  }

  .ep-marcas-page .section-content > .row:first-of-type h1,
  .ep-marcas-page .section-content > .row:first-of-type h2,
  .ep-marcas-page .section-content > .row:first-of-type h3 {
    font-size: 32px;
    line-height: 1.12;
  }

  .ep-marcas-page .section-content > .row:first-of-type p {
    font-size: 16px;
  }

  .ep-marcas-page .section-content > .row:first-of-type .button,
  .ep-marcas-page .section-content > .row:first-of-type a.button {
    width: 100%;
    display: block;
    text-align: center;
    margin: 6px 0 !important;
  }

  .ep-marcas-page .section-content > .row:nth-of-type(2) .row .col {
    flex-basis: 50% !important;
    max-width: 50% !important;
    padding: 7px !important;
  }

  .ep-marcas-page .section-content > .row:nth-of-type(2) .row .col > .col-inner {
    min-height: 92px;
    border-radius: 14px;
    padding: 14px;
  }

  .ep-marcas-page .section-content > .row:nth-of-type(2) .row .col img {
    max-height: 58px;
  }
}

/* Responsive teléfono chico */
@media (max-width: 480px) {
  .ep-marcas-page .section-content > .row:first-of-type,
  .ep-marcas-page .section-content > .row:nth-of-type(2) {
    padding: 24px 18px !important;
  }

  .ep-marcas-page .section-content > .row:first-of-type h1,
  .ep-marcas-page .section-content > .row:first-of-type h2,
  .ep-marcas-page .section-content > .row:first-of-type h3 {
    font-size: 30px;
  }

  .ep-marcas-page .section-content > .row:nth-of-type(2) h2,
  .ep-marcas-page .section-content > .row:nth-of-type(2) h3,
  .ep-marcas-page .section-content > .row:nth-of-type(2) h4 {
    font-size: 24px;
  }

  .ep-marcas-page .section-content > .row:nth-of-type(2) .row .col > .col-inner {
    min-height: 86px;
  }

  .ep-marcas-page .section-content > .row:nth-of-type(2) .row .col img {
    max-height: 52px;
  }
}

/* v2: ajuste tipográfico marcas */
.ep-marcas-page .section-content > .row:first-of-type p,
.ep-marcas-page .section-content > .row:nth-of-type(2) p {
  font-weight: 400;
}
