:root { --accent: #d7b8ff; }

nav .brand img {
  width: auto;
  height: clamp(54px, 6vw, 70px);
}

nav {
  min-height: 86px;
  padding-block: 8px;
}

.hero-art img {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76%;
  height: 77%;
}

#marcas {
  padding-block: clamp(42px, 7vw, 88px);
}

#marcas h2 {
  margin-bottom: clamp(22px, 4vw, 46px);
}

.brand-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.brand-exhibit {
  position: relative;
  text-align: center;
}

.brand-exhibit + .brand-exhibit {
  border-inline-start: 1px solid #cab3f528;
}

.chonchito-mark { --brand-accent: #ffbd80; }
.spot-mark { --brand-accent: #d0a9ff; }
.cuchitril-mark { --brand-accent: #71e5d1; }

.brand-profile {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 clamp(12px, 2.6vw, 32px) 14px;
  text-decoration: none;
}

.brand-orbit {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(100%, 264px);
  aspect-ratio: 1.22;
  place-items: center;
  margin-bottom: 12px;
  background: radial-gradient(ellipse, color-mix(in srgb, var(--brand-accent) 24%, transparent), transparent 69%);
}

.brand-orbit::before, .brand-orbit::after {
  position: absolute;
  z-index: -1;
  inset: 13% 2%;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 38%, transparent);
  border-radius: 50%;
  transform: rotate(-13deg);
  content: "";
  pointer-events: none;
}

.brand-orbit::after {
  inset: 24% -1%;
  transform: rotate(18deg);
  opacity: .38;
}

.brand-orbit img {
  display: block;
  width: var(--logo-size, 64%);
  height: auto;
  filter: drop-shadow(0 9px 12px #090610b8);
  transition: transform .28s ease;
}

.chonchito-mark { --logo-size: 77%; }
.spot-mark { --logo-size: 55%; }
.cuchitril-mark { --logo-size: 57%; }

.brand-profile h3 {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 33px);
  line-height: 1.12;
  text-wrap: balance;
}

.brand-profile p {
  max-width: 32ch;
  margin: 0;
  text-wrap: pretty;
}

.brand-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  color: var(--brand-accent);
  font-size: .9rem;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--brand-accent) 50%, transparent);
  text-underline-offset: .28em;
}

.brand-action::before {
  width: .43rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  content: "";
}

.brand-profile:is(:hover,:focus-visible) .brand-orbit img {
  transform: translateY(-6px) rotate(-3deg);
}

@media (max-width: 680px) {
  .brand-gallery { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .brand-exhibit + .brand-exhibit { border-inline-start: 0; border-block-start: 1px solid #cab3f528; }
  .brand-profile { padding-block: 14px 22px; }
  .brand-orbit { width: min(100%, 232px); margin-bottom: 4px; }
}

@media (max-width: 500px) { nav { min-height: 0; } }
@media (prefers-reduced-motion: reduce) {
  .brand-orbit img { transition: none; }
  .brand-profile:is(:hover,:focus-visible) .brand-orbit img { transform: none; }
}
