/* Restrained gold accents over the original homepage palette. */
:root { --accent-gold: #f4c542; }
.hero__stat--value { color: #fff; }
.hero__stat--label { color: var(--accent-gold); }

@media (max-width: 35.999em) {
  .hero__strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.4rem;
  }
  .hero__stat:last-child {
    grid-column: 1 / -1;
    border-left: 0;
  }
  .hero__stat:last-child .hero__stat--value {
    white-space: nowrap;
    text-align: center;
  }
}

@media (max-width: 47.999em) {
  .footer__cols > .footer__col:first-child { grid-column: 1 / -1; }
}
.footer__link[aria-disabled="true"] { cursor: default; }
.footer__link[aria-disabled="true"]:hover { color: var(--text-4); }

/* Compact white-and-gold wordmark beside the existing header symbol. */
.header__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
  line-height: 1;
  border-left: 1px solid rgba(204, 210, 224, 0.45);
  padding-left: 1.2rem;
}
.header__wordmark-name {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.04rem;
}
.header__wordmark-spiral {
  width: 3.2rem;
  height: 3.2rem;
  margin: -0.4rem -0.1rem;
  object-fit: contain;
  /* Convert the original white background to transparency, not black. */
  filter: url(#wordmark-white);
}
.header__wordmark-media {
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.36rem;
  padding-left: 0.36rem;
}
.eyebrow:not(.eyebrow--live),
.card__link:hover,
.card__link:focus-visible {
  color: var(--accent-gold);
}
.eyebrow:not(.eyebrow--live)::before,
.mission .card:not(:last-child)::after {
  background-color: var(--accent-gold);
}
.card:hover .card__icon {
  color: var(--accent-gold);
  border-color: rgba(244, 197, 66, 0.35);
}
.card:hover .card__inner::before {
  background-image: linear-gradient(90deg, transparent, rgba(244, 197, 66, 0.5), transparent);
}
.btn--ghost:hover { border-color: var(--accent-gold); }
:focus-visible { outline-color: var(--accent-gold); }

/* Keep the hero headline nearly white with only a subtle tonal fade. */
.hero__heading {
  background-image: linear-gradient(180deg, #ffffff 65%, #e8edf6 100%);
}

/* White logos gain the same gold accent as the other icons on hover/focus. */
.brand__logo:has(.brand__regional-mark) {
  position: relative;
  isolation: isolate;
  mix-blend-mode: screen;
}
.brand__logo:has(.brand__regional-mark)::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  background: var(--accent-gold);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .card--brand:hover .brand__logo::after { opacity: 1; }
}
.card--brand:active .brand__logo::after,
.card--brand:has(:focus-visible) .brand__logo::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .brand__logo:has(.brand__regional-mark)::after { transition: none; }
}

/* Mobile brand stays centered while the bar expands beyond the hero. */
@media (max-width: 47.999em) {
  .header__container {
    min-height: 5.6rem;
    padding: .7rem;
    transition: width .45s var(--ease), min-height .45s var(--ease),
      padding .45s var(--ease), background-color .3s var(--ease),
      border-color .3s var(--ease), box-shadow .3s var(--ease);
  }
  .header__left { width: 100%; min-height: 4rem; }
  .header__left::after {
    content: "";
    position: absolute;
    left: 4.8rem;
    height: 3rem;
    border-left: 1px solid rgba(204, 210, 224, .45);
  }
  .header__left .header__logo { width: 3.6rem; height: 3.6rem; }
  .header__left .header__wordmark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 0;
    border-left: 0;
    transition: transform .45s var(--ease);
  }
  .header__left .header__logo {
    transition: width .45s var(--ease), height .45s var(--ease);
  }
  .header__container.is-over-hero {
    width: min(100% - 4rem, 140rem);
    min-height: 4.8rem;
    padding: .3rem .7rem;
  }
  .is-over-hero .header__left .header__wordmark { transform: translateX(-50%) scale(.88); }
  .is-over-hero .header__left .header__logo { width: 3rem; height: 3rem; }
  .header__right { flex-shrink: 0; }
}
@media (max-width: 47.999em) and (prefers-reduced-motion: reduce) {
  .header__container, .header__left .header__wordmark, .header__left .header__logo { transition: none; }
}

/* Compact regional and specialized rows on phones. */
@media (max-width: 47.999em) {
  #cobertura > .container > .section__head { margin-bottom: 2.4rem; }
  .brands { gap: 1rem; }
  .brands .brand { padding: 1.4rem; gap: 1.2rem; }
  .brands .brand__logo {
    width: 4.6rem;
    height: 4.6rem;
    border-radius: 1.2rem;
  }
  .brands .brand__body { min-width: 0; gap: .4rem; }
  .brands .brand__title { font-size: 1.6rem; line-height: 1.35; }
  .brands .brand__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 1.4rem;
    line-height: 1.45;
  }
  .brands .brand__social {
    margin-top: 0;
    min-height: 4.4rem;
    padding-top: 0;
    font-size: 1.3rem;
  }
}

/* Give the app one clear primary action, with quieter supporting links. */
.header__container.has-hero .header__right--right {
  transition: opacity .45s ease, transform .6s cubic-bezier(.22, 1, .36, 1), visibility .45s;
  transform-origin: center;
}
.header__container.has-hero:not(.is-past-hero) .header__right--right {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-24px, 48px) scale(1.15);
}
.header__container.has-hero.is-past-hero .header__right--right {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .header__container.has-hero .header__right--right {
    transition: none;
    transform: none;
  }
}
.hero__actions {
  flex-direction: column;
  align-items: center;
  max-width: 62rem;
}
.hero__launch {
  width: min(100%, 30rem);
  min-height: 5.6rem;
  justify-content: center;
  padding: 1.3rem 2.4rem;
  background: var(--accent-gold);
  color: #000;
  border: 1px solid var(--accent-gold);
  font-size: 1.8rem;
  font-weight: 800;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero__launch {
    transition: background-color .25s ease, box-shadow .25s ease;
  }
}
@media (hover: hover) and (pointer: fine) {
  .hero__launch:hover {
    background: #f8d366;
    color: #000;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .5), 0 0 16px rgba(244, 197, 66, .22);
  }
}
.hero__launch {
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .3);
}
.hero__secondary-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; width: 100%; }
.hero__secondary-actions .btn { min-height: 4.4rem; padding: 1rem 1.6rem; font-size: 1.3rem; }
.hero__secondary-actions .btn__back { display: flex; }
@media (max-width: 35.999em) {
  .hero__secondary-actions { flex-direction: column; align-items: center; gap: .6rem; }
  .hero__secondary-actions .btn, .hero__secondary-actions .btn__back { width: auto; }
}

/* Compact regional and specialized cards. */
.brands.brands--regions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}
.brands--regions .card { min-width: 0; }
.brands--regions .brand {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 1.4rem 1rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  text-align: center;
}
.brands--regions .brand > * { flex-shrink: 0; }
.region-card__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  width: 100%;
  text-decoration: none;
}
.brands--regions .brand__logo {
  width: 10rem;
  height: 10rem;
  border-color: transparent;
  background: transparent;
}
.brands--regions .brand__title {
  font-size: 1.8rem;
  line-height: 1.35;
  min-height: 2.7em;
  display: grid;
  align-content: center;
  overflow-wrap: anywhere;
}
.brands--regions .brand__social {
  margin-top: auto;
  padding-top: 0;
  min-height: 4.4rem;
  font-size: 1.2rem;
}
.region-card__identity:focus-visible,
.brands--regions .brand__social:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}
.brands--regions.brands--specialized > .card:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 1.2rem) / 2);
}
@media (min-width: 64em) {
  .brands.brands--regions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
  .brands--regions .brand { padding: 1.6rem; }
  .brands--regions .brand__logo { width: 11rem; height: 11rem; }
  .brands--regions .brand__title { font-size: 2.1rem; }
  .brands--regions .brand__social { font-size: 1.3rem; }
  .brands.brands--regions.brands--specialized {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: calc((100% - 1.6rem) * .75);
    margin-inline: auto;
  }
  .brands--regions.brands--specialized > .card:last-child {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }
}

@media (max-width: 35.999em) {
  .brands--regions .brand__logo { width: 8.4rem; height: 8.4rem; }
}

/* Gold Facebook links retain a comfortable touch target. */
.brands--regions .brand__social {
  color: var(--accent-gold);
  min-width: 4.4rem;
  justify-content: center;
}
.brands--regions .brand__social ion-icon { font-size: 2.4rem; }

@media (max-width: 47.999em) {
  .brands--regions .brand__title { font-size: 1.6rem; }
}

/* A regional card reveals its destinations without changing the grid. */
.region-card .brand { min-height: 18rem; position: relative; }
.region-card__toggle {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  flex: 1;
  justify-content: center;
}
.region-card__toggle::after { content: ''; position: absolute; inset: 0; }
.region-card__options { width: 100%; display: grid; gap: .2rem; }
.region-card [hidden] { display: none; }
.region-card__back {
  border: 0;
  background: none;
  color: var(--text-3);
  font: inherit;
  font-size: 1.2rem;
  min-height: 3.2rem;
  cursor: pointer;
  justify-self: start;
}
.region-card__option {
  display: grid;
  place-items: center;
  min-height: 4.4rem;
  border-radius: .8rem;
  color: var(--accent-gold);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
}
.region-card__option:hover { background: rgba(244,197,66,.08); }
.region-card__option:focus-visible,
.region-card__back:focus-visible { outline: 2px solid var(--accent-gold); outline-offset: 1px; }
.region-card__option[aria-disabled] { color: var(--text-3); }
@media (min-width: 64em) { .region-card .brand { min-height: 21rem; } }

.region-card__flip {
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
  font-size: 1.8rem;
  color: var(--accent-gold);
  opacity: .8;
  pointer-events: none;
}

/* Gold heading above the original neutral institution labels. */
.logos__heading { color: var(--accent-gold); }
.logos__container--box-line-sep { animation-duration: 52s; }
