/* marcas.css — Estilos. Las reglas adaptables están al final y en bloques de medios. */

.brands-page {
  --ink: #243e8b;
  --muted: #5c6475;
  color: var(--ink);
  background: #fff;
  overflow: clip;
}
.brands-page h1,
.brands-page h2,
.brands-page h3 {
  font-family: var(--heading);
  font-weight: 600;
}
.brands-intro {
  max-width: 1380px;
  margin: auto;
  padding: 32px 5% 0;
}
.intro-top,
.intro-bottom,
.more-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.intro-top {
  min-height: 40px;
}
.intro-top button {
  background: white;
  color: var(--ink);
  font-size: 12px;
  border: 1px solid #ccd2e2;
  border-radius: 25px;
  padding: 8px 14px;
  letter-spacing: 0;
}
.intro-top button[hidden] {
  display: none;
}
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6%;
  padding: 35px 0 48px;
}
.intro-copy h1 {
  font-size: clamp(64px, 7.6vw, 112px);
  line-height: 0.91;
  letter-spacing: -0.035em;
}
.intro-copy h1 > span {
  color: white;
  -webkit-text-stroke: 1.4px var(--ink);
}
.intro-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 26px 0;
}
.explore-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
}
.explore-link span {
  font-size: 24px;
}
.intro-image {
  margin: 0;
  position: relative;
  transform: translateY(var(--hero-shift, 0px));
}
.intro-image img {
  display: block;
  width: 100%;
  height: 470px;
  object-fit: cover;
  filter: grayscale(1);
  object-position: 55% center;
}
.intro-image:before {
  content: "";
  position: absolute;
  inset: -16px 16px 44px -16px;
  border: 1px solid #c9d1e5;
  z-index: -1;
}
.intro-image figcaption,
.brand-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.intro-bottom {
  padding: 22px 0;
  border-top: 1px solid #dce1ec;
  letter-spacing: 0.07em;
}
.brand-index {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
  background: #fffffff5;
  backdrop-filter: blur(12px);
  border-top: 1px solid #e0e5ef;
  border-bottom: 1px solid #e0e5ef;
  padding: 0 5%;
  height: 70px;
}
.brand-index a {
  font: 600 19px var(--heading);
  white-space: nowrap;
  position: relative;
  padding: 22px 2px;
  color: #626d83;
}
.brand-index a span {
  font: 11px var(--body);
  margin-right: 7px;
  color: #8290af;
}
.brand-index a[aria-current] {
  color: var(--ink);
}
.brand-index a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ink);
}
.index-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}
.brand-chapter {
  max-width: 1380px;
  margin: auto;
  padding: 38px 5% 60px;
  min-height: 112vh;
  scroll-margin-top: 85px;
  border-bottom: 1px solid #e1e6f0;
}
.chapter-stage {
  position: sticky;
  top: 90px;
  padding-bottom: 20px;
}
.brand-heading {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 25px;
}
.brand-number {
  font-size: 12px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}
.brand-heading h2 {
  font-size: clamp(50px, 6.8vw, 96px);
  line-height: 1;
  letter-spacing: -0.035em;
}
.brand-kicker {
  margin-left: auto;
  font-size: 11px;
  max-width: 150px;
  line-height: 1.5;
  letter-spacing: 0.13em;
}
.brand-layout {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  gap: 8%;
  align-items: center;
}
.brand-visual {
  margin: 0;
  min-width: 0;
}
.brand-photo {
  overflow: hidden;
  background: #f5f6f8;
  aspect-ratio: 1.28;
  clip-path: inset(var(--reveal-inset, 0%) 0 0 0);
  transition: clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.brand-photo img {
  width: 100%;
  height: 118%;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
  transform: translateY(var(--photo-y, -7%)) scale(var(--photo-scale, 1.02));
  transform-origin: center;
  will-change: transform;
}
.brand-copy {
  transform: translateY(var(--copy-y, 0px));
}
.copy-line {
  display: block;
  width: 44px;
  height: 3px;
  background: var(--ink);
  margin-bottom: 24px;
}
.brand-copy h3 {
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.05;
  max-width: 440px;
  margin-bottom: 24px;
}
.brand-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: #535e73;
  margin-bottom: 15px;
}
.brand-tags {
  list-style: none;
  margin: 24px 0;
  padding: 18px 0;
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  border-top: 1px solid #dce1ec;
  border-bottom: 1px solid #dce1ec;
  font-size: 12px;
  font-weight: 600;
}
.brand-source {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0;
}
.brand-source:hover {
  text-decoration: underline;
}
.brand-chapter:nth-of-type(odd) .brand-visual {
  order: 2;
}
.brand-chapter:nth-of-type(odd) .brand-layout {
  grid-template-columns: 1fr 1.14fr;
}
.more-brands {
  padding: 85px max(5%, calc((100vw - 1242px) / 2)) 35px;
  scroll-margin-top: 90px;
  background: linear-gradient(180deg, #fff 0%, #f3f6fc 100%);
}
.more-eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 600;
}
.more-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 7%;
  align-items: center;
  padding: 45px 0 65px;
}
.brand-total {
  display: flex;
  align-items: baseline;
  font: 600 clamp(130px, 22vw, 330px) / 0.9 var(--heading);
  letter-spacing: -0.055em;
  transform: translateY(var(--total-y, 0px));
}
.brand-total span + span {
  font-size: 0.36em;
  align-self: flex-start;
  margin-top: 0.12em;
  letter-spacing: 0;
}
.more-copy h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  margin-bottom: 24px;
}
.more-copy p {
  font-size: 16px;
  line-height: 1.8;
  color: #535e73;
  margin-bottom: 15px;
}
.brands-button {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 14px;
  transition: background 0.2s;
}
.brands-button:hover {
  background: #15285e;
}
.more-bottom {
  border-top: 1px solid #ccd5e7;
  padding-top: 24px;
  letter-spacing: 0;
  font-size: 11px;
}
.more-bottom span:last-child {
  max-width: 420px;
  font-weight: 400;
  text-align: right;
  line-height: 1.6;
}
.brands-page :focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}
.motion-off .brand-photo img,
.motion-off .brand-copy,
.motion-off .intro-image,
.motion-off .brand-total {
  transform: none !important;
  will-change: auto;
}
.motion-off .brand-photo {
  clip-path: none !important;
  transition: none;
}
.motion-off .brand-photo img {
  height: 100%;
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (min-width: 1000px) and (min-height: 1000px) {
  .brand-chapter {
    min-height: 1000px;
  }
  .chapter-stage {
    top: 15vh;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (max-width: 1000px) {
  .brand-kicker {
    display: none;
  }
  .brand-layout,
  .brand-chapter:nth-of-type(odd) .brand-layout {
    gap: 5%;
  }
  .brand-copy p {
    font-size: 15px;
  }
  .intro-image img {
    height: 400px;
  }
  .brand-chapter {
    min-height: 105vh;
  }
  .brand-heading h2 {
    font-size: 70px;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (max-width: 760px) {
  .brands-intro {
    padding-top: 18px;
  }
  .intro-layout {
    gap: 5%;
    padding-top: 24px;
  }
  .intro-copy h1 {
    font-size: clamp(47px, 9vw, 68px);
  }
  .intro-copy p {
    font-size: 14px;
  }
  .intro-image img {
    height: 330px;
  }
  .intro-image figcaption {
    font-size: 9px;
    line-height: 1.6;
  }
  .intro-image figcaption span + span {
    display: none;
  }
  .intro-top,
  .intro-bottom {
    font-size: 10px;
  }
  .intro-bottom {
    align-items: flex-start;
    line-height: 1.6;
  }
  .brand-index {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    height: 60px;
    padding: 0 5%;
    scrollbar-width: thin;
  }
  .brand-index a {
    font-size: 17px;
    padding: 18px 0;
  }
  .brand-chapter {
    min-height: 0;
    padding-top: 32px;
    padding-bottom: 50px;
    scroll-margin-top: 72px;
  }
  .chapter-stage {
    position: relative;
    top: auto;
  }
  .brand-heading {
    gap: 15px;
  }
  .brand-heading h2 {
    font-size: clamp(40px, 10vw, 70px);
  }
  .brand-layout,
  .brand-chapter:nth-of-type(odd) .brand-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .brand-chapter:nth-of-type(odd) .brand-visual {
    order: 0;
  }
  .brand-photo {
    aspect-ratio: 1.5;
  }
  .brand-copy h3 {
    font-size: 38px;
    max-width: 100%;
  }
  .brand-copy p {
    font-size: 16px;
  }
  .brand-copy {
    transform: none !important;
  }
  .brand-tags {
    font-size: 12px;
  }
  .more-brands {
    padding-top: 60px;
  }
  .more-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 30px 0 40px;
  }
  .brand-total {
    font-size: clamp(160px, 43vw, 300px);
  }
  .more-bottom {
    align-items: flex-start;
  }
  .more-bottom span:last-child {
    max-width: 55%;
  }
  .intro-image {
    transform: none !important;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (max-width: 420px) {
  .intro-layout {
    grid-template-columns: 1fr;
  }
  .intro-copy h1 {
    font-size: 65px;
  }
  .intro-image {
    margin-top: 15px;
  }
  .intro-image img {
    height: 250px;
  }
  .intro-image figcaption {
    font-size: 10px;
  }
  .intro-copy p {
    margin: 22px 0 12px;
  }
  .intro-bottom {
    gap: 18px;
  }
  .intro-top button {
    font-size: 10px;
  }
  .brand-index a span {
    display: none;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .brand-photo img,
  .brand-copy,
  .intro-image,
  .brand-total {
    transform: none !important;
    will-change: auto;
  }
  .brand-photo {
    clip-path: none !important;
    transition: none;
  }
  .brand-photo img {
    height: 100%;
  }
  .brands-button {
    transition: none;
  }
}
/* Immersive brand chapters: broad photography and scroll-driven staging. */
.brands-intro {
  max-width: none;
  padding: 25px 5% 0;
  position: relative;
}
.intro-layout {
  min-height: 76vh;
  position: relative;
  padding: 45px 0;
  display: flex;
}
.intro-copy {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #fffffff7, #fffffff0 80%, #ffffff00);
  padding: 30px 8% 30px 0;
  width: 64%;
  pointer-events: none;
}
.intro-copy a {
  pointer-events: auto;
}
.intro-copy h1 {
  font-size: clamp(66px, 8vw, 124px);
}
.intro-image {
  position: absolute;
  inset: 0 -5.56% 0 29%;
  z-index: 0;
  overflow: hidden;
  margin: 0;
  transform: none;
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--hero-scale, 1.12)) translateY(var(--hero-shift, 0px));
  will-change: transform;
  filter: grayscale(1);
}
.intro-image:before {
  display: none;
}
.intro-image figcaption {
  position: absolute;
  right: 30px;
  bottom: 25px;
  left: 30px;
  background: #fffffff0;
  padding: 15px;
  z-index: 1;
}
.intro-bottom {
  position: relative;
  background: white;
}
.brand-index {
  gap: 25px;
  height: 76px;
}
.brand-index a {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 85px;
  width: 145px;
  opacity: 0.65;
  transition:
    opacity 0.25s,
    transform 0.25s;
}
.brand-index a:hover,
.brand-index a[aria-current] {
  opacity: 1;
  transform: translateY(-2px);
}
.brand-index a img {
  display: block;
  width: 100%;
  max-height: 29px;
  object-fit: contain;
}
.brand-index a[aria-current]:after {
  bottom: 7px;
}
.brand-chapter {
  max-width: none;
  padding: 0;
  min-height: 185vh;
  border: 0;
  scroll-margin-top: 76px;
}
.chapter-stage {
  position: sticky;
  top: 76px;
  height: calc(100svh - 76px);
  min-height: 680px;
  padding: 0;
  overflow: hidden;
  background: white;
}
.brand-heading {
  position: absolute;
  top: 35px;
  left: 5%;
  right: 5%;
  z-index: 3;
  padding: 0;
  align-items: center;
  gap: 20px;
  pointer-events: none;
}
.brand-heading h2 {
  padding: 22px 30px;
  background: white;
  line-height: 0;
  box-shadow: 0 10px 40px #16285812;
  transform: translateX(var(--logo-x, 0px));
  max-width: 60%;
}
.chapter-logo {
  width: clamp(220px, 30vw, 450px);
  max-width: 100%;
  height: 78px;
  object-fit: contain;
  display: block;
}
.brand-number {
  padding: 12px;
  background: #fff;
  color: var(--ink);
}
.brand-kicker {
  display: block;
  background: #fffffff0;
  padding: 14px;
  max-width: 185px;
}
.brand-layout,
.brand-chapter:nth-of-type(odd) .brand-layout {
  display: block;
  position: absolute;
  inset: 0;
}
.brand-visual,
.brand-chapter:nth-of-type(odd) .brand-visual {
  position: absolute;
  inset: 0;
  margin: 0;
}
.brand-photo {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  clip-path: inset(var(--scene-inset, 4%) var(--scene-inset, 4%));
  transition: none;
  background: #f1f3f7;
}
.brand-photo img {
  width: 100%;
  height: 100%;
  filter: grayscale(1);
  transform: scale(var(--scene-scale, 1.12)) translateX(var(--scene-pan, -3%));
  object-position: 35% center;
  will-change: transform;
}
.brand-visual figcaption {
  position: absolute;
  bottom: 22px;
  left: 5%;
  color: white;
  text-shadow: 0 1px 5px #000;
  max-width: 36%;
  width: 300px;
  z-index: 2;
}
.brand-copy {
  position: absolute;
  right: 5%;
  top: 190px;
  width: 40%;
  max-width: 530px;
  max-height: calc(100% - 230px);
  overflow: auto;
  background: #fffffff5;
  padding: 30px 35px;
  z-index: 2;
  transform: translateX(var(--panel-x, 0px));
  opacity: var(--panel-opacity, 1);
  box-shadow: 0 12px 60px #10244e14;
  scrollbar-width: thin;
}
.brand-copy h3 {
  font-size: clamp(30px, 3vw, 45px);
  margin-bottom: 18px;
}
.brand-copy p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.copy-line {
  margin-bottom: 18px;
}
.brand-tags {
  margin: 18px 0 12px;
  padding: 13px 0;
}
.brand-source {
  font-size: 13px;
}
.more-brands {
  overflow: hidden;
}
.logo-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  padding: 30px 0 55px;
  transform: translateX(var(--rail-x, 0px));
  width: 115%;
  margin-left: -7.5%;
}
.logo-gallery img {
  width: 140px;
  height: 40px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.motion-off .brand-photo {
  clip-path: none;
}
.motion-off .brand-copy {
  opacity: 1 !important;
}
.motion-off .chapter-logo,
.motion-off .brand-heading h2,
.motion-off .intro-image img,
.motion-off .logo-gallery {
  transform: none !important;
}
.motion-off .brand-chapter {
  min-height: 0;
}
.motion-off .chapter-stage {
  position: relative;
  top: 0;
}
.motion-off .brand-photo img {
  object-position: 35% center;
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (max-width: 1000px) {
  .brand-copy {
    width: 47%;
    right: 4%;
    padding: 24px;
  }
  .brand-heading {
    left: 4%;
    right: 4%;
  }
  .chapter-logo {
    height: 65px;
  }
  .brand-heading h2 {
    padding: 18px 22px;
  }
  .brand-index {
    gap: 22px;
  }
  .brand-index a {
    min-width: 95px;
  }
  .brand-kicker {
    display: none;
  }
  .logo-gallery {
    gap: 24px;
  }
  .logo-gallery img {
    width: 110px;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (max-width: 760px) {
  .intro-layout {
    min-height: 640px;
    padding: 0;
    align-items: flex-start;
  }
  .intro-copy {
    width: 85%;
    padding: 35px 12% 30px 0;
    background: linear-gradient(90deg, #fff, #fffffff0 75%, #ffffff00);
  }
  .intro-copy h1 {
    font-size: clamp(55px, 10vw, 82px);
  }
  .intro-image {
    inset: 0 -5.56% 0 12%;
  }
  .intro-image img {
    height: 100%;
    transform: scale(var(--hero-scale, 1.08));
  }
  .intro-image figcaption {
    left: 15%;
    right: 20px;
    bottom: 20px;
  }
  .brand-index {
    height: 64px;
    gap: 26px;
    justify-content: flex-start;
  }
  .brand-index a {
    min-width: 112px;
    flex-shrink: 0;
    width: 112px;
    padding: 18px 0;
  }
  .brand-index a img {
    max-height: 25px;
  }
  .brand-chapter {
    min-height: 0;
    padding: 0 0 35px;
    scroll-margin-top: 64px;
  }
  .chapter-stage {
    position: relative;
    top: 0;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }
  .brand-heading {
    top: 24px;
    left: 5%;
    right: 5%;
    gap: 12px;
  }
  .brand-number {
    font-size: 10px;
  }
  .brand-heading h2 {
    max-width: 78%;
    padding: 14px 20px;
  }
  .chapter-logo {
    height: 44px;
    width: 240px;
  }
  .brand-layout,
  .brand-chapter:nth-of-type(odd) .brand-layout {
    position: relative;
    display: flex;
    flex-direction: column;
    inset: auto;
  }
  .brand-visual,
  .brand-chapter:nth-of-type(odd) .brand-visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 66svh;
    min-height: 410px;
    max-height: 680px;
    order: 0;
  }
  .brand-photo {
    clip-path: inset(0) !important;
  }
  .brand-photo img {
    transform: scale(var(--scene-scale, 1.1)) translateX(var(--scene-pan, 0%));
    object-position: 35% center;
  }
  .brand-visual figcaption {
    max-width: 80%;
    width: 90%;
    bottom: 55px;
  }
  .brand-copy {
    position: relative;
    inset: auto;
    max-height: none;
    max-width: none;
    width: 90%;
    margin: -28px auto 0;
    padding: 26px;
    background: #fff;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible;
    box-shadow: 0 12px 45px #14295c0b;
  }
  .brand-copy h3 {
    font-size: 36px;
  }
  .brand-copy p {
    font-size: 16px;
    line-height: 1.8;
  }
  .logo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 18px;
    width: 100%;
    margin: 0;
    transform: none !important;
  }
  .logo-gallery img {
    width: 100%;
    height: 30px;
  }
  .more-layout {
    padding-bottom: 25px;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (prefers-reduced-motion: reduce) {
  .brand-chapter {
    min-height: 0;
  }
  .chapter-stage {
    position: relative;
    top: 0;
  }
  .brand-photo {
    clip-path: none !important;
  }
  .brand-photo img,
  .intro-image img,
  .brand-heading h2,
  .logo-gallery {
    transform: none !important;
  }
  .brand-copy {
    opacity: 1 !important;
  }
  .brand-index a {
    transition: none;
  }
}

/* Continuous, scroll-linked fades; preserve the native page scroll. */
.brand-chapter {
  min-height: 165vh;
  background: #fff;
}
.brand-photo {
  clip-path: none !important;
  opacity: var(--flow-visibility, 1);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 88%, transparent 100%);
}
.brand-photo img {
  transform: scale(var(--flow-scale, 1.08)) translateX(calc(var(--flow-pan, 0) * 1%));
}
.brand-heading {
  opacity: var(--flow-visibility, 1);
  transform: translateY(calc(var(--flow-copy, 0) * 0.5px));
}
.brand-copy {
  opacity: var(--flow-visibility, 1);
  transform: translateY(calc(var(--flow-copy, 0) * 1px));
  box-shadow: 0 10px 45px #10244e0a;
}
.brand-visual figcaption {
  opacity: var(--flow-visibility, 1);
}
.more-brands {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #fff 15%, #f3f6fc 100%);
}
.motion-off .brand-heading,
.motion-off .brand-copy,
.motion-off .brand-photo,
.motion-off .brand-visual figcaption {
  opacity: 1 !important;
  transform: none !important;
}
.motion-off .brand-photo {
  mask-image: none;
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (max-width: 760px) {
  .brand-chapter {
    min-height: 0;
  }
  .brand-photo {
    opacity: 1;
    mask-image: linear-gradient(to bottom, #000 0%, #000 85%, transparent 100%);
  }
  .brand-heading,
  .brand-copy,
  .brand-visual figcaption {
    opacity: 1 !important;
  }
  .brand-copy {
    transform: none !important;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (prefers-reduced-motion: reduce) {
  .brand-chapter {
    min-height: 0;
  }
  .brand-heading,
  .brand-copy,
  .brand-photo,
  .brand-visual figcaption {
    opacity: 1 !important;
    transform: none !important;
  }
  .brand-photo {
    mask-image: none;
  }
}

/* Smaller brand signatures and vertically balanced descriptions. */
.brand-heading h2 {
  padding: 16px 22px;
}
.chapter-logo {
  width: clamp(170px, 20vw, 280px);
  height: 48px;
}
.brand-index a img {
  width: 82%;
  max-height: 23px;
}
.brand-copy {
  top: 50%;
  right: 8%;
  translate: 0 -50%;
  width: 40%;
  max-width: 500px;
  max-height: calc(100% - 240px);
  margin: 0;
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (min-width: 761px) and (max-width: 1000px) {
  .chapter-logo {
    width: 210px;
    height: 42px;
  }
  .brand-copy {
    right: 6%;
    width: 46%;
  }
  .brand-heading h2 {
    padding: 14px 18px;
  }
}
/* ADAPTACIÓN DE PANTALLA O PREFERENCIAS */
@media (max-width: 760px) {
  .chapter-logo {
    width: 180px;
    height: 34px;
  }
  .brand-heading h2 {
    padding: 12px 16px;
  }
  .brand-index a img {
    width: 85%;
    max-height: 21px;
  }
  .brand-copy {
    top: auto;
    right: auto;
    translate: none;
    width: 90%;
    max-width: 560px;
    max-height: none;
    margin: -28px auto 0;
  }
}
