.r-marcas-hero {
  padding: 6rem 0 3rem;
  background: linear-gradient(135deg, #121940 0%, var(--color-primary) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.r-marcas-hero::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 30rem; height: 30rem; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,132,31,0.15) 0%, transparent 70%);
}

.r-marcas-hero .r-section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.r-marcas-grid {
  padding: 2.5rem 0;
  background: var(--color-bg-body);
}

.r-marca-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease-out);
  border: 1px solid var(--color-gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.r-marca-card:hover {
  transform: translateY(-0.35rem);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.r-marca-logo-wrapper {
  width: 100%;
  height: 7.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 0.5rem;
  background: transparent;
}

.r-marca-logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.r-marca-card:hover .r-marca-logo-wrapper img {
  transform: scale(1.15);
}

.r-marca-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.5rem;
  text-align: center;
}

.r-marca-card p {
  font-size: 0.8125rem;
  color: var(--color-gray-600);
  line-height: 1.4;
  margin-bottom: 1rem;
  flex-grow: 1;
  text-align: center;
}

.btn-marca-catalogo {
  width: 100%;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  text-decoration: none  ;
}

.btn-marca-catalogo.primary {
  background: var(--color-primary);
  color: white;
}

.btn-marca-catalogo.primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 0.5rem 1.5rem rgba(43,57,144,0.25);
}

.btn-marca-catalogo.disabled {
  background: var(--color-gray-200);
  color: var(--color-gray-500);
  cursor: not-allowed;
  pointer-events: none;
}

.r-visor-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #2c2c2c;
}

.r-visor-header {
  height: 60px;
  background: var(--color-primary-dark);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 10;
}

.r-visor-content {
  flex-grow: 1;
  position: relative;
}

.r-visor-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 991.98px) {
  .r-marcas-grid .col-lg-3 { width: 33.333%  ; }
}

@media (max-width: 767.98px) {
  .r-marcas-hero { padding: 4rem 0 2rem; }
  .r-marcas-grid { padding: 1.5rem 0; }
  .r-marcas-grid .row { --bs-gutter-x: 0.75rem; --bs-gutter-y: 0.75rem; }
  .r-marca-card { padding: 1rem; border-radius: 0.75rem; }
  .r-marca-logo-wrapper { height: 5rem; margin-bottom: 1rem; padding: 0.25rem; }
  .r-marca-card h3 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
  .r-marca-card p { font-size: 0.75rem; line-height: 1.3; margin-bottom: 0.75rem; }
  .btn-marca-catalogo { padding: 0.5rem; font-size: 0.75rem; }
}

@media (max-width: 575.98px) {
  .r-marcas-grid .col-6 { width: 50%  ; }
}
