/* Be Yellow */
.be-yellow-page {
  font-family:var(--font-sans);
}

.be-yellow-page h1,
.be-yellow-page h2,
.be-yellow-page h3,
.locations-hero h1,
.location-copy h2 {
  font-family:var(--font-display);
}

.be-yellow-page .split > *,
.locations-hero .split > *,
.location-row > * {
  min-width: 0;
}

.be-yellow-hero {
  padding-top: 76px;
  padding-bottom: 76px;
}

.be-yellow-hero .split {
  gap: 60px;
}

.be-yellow-intro h1 {
  font-size: clamp(42px, 4.6vw, 70px);
  line-height: 1.04;
  letter-spacing:var(--tracking-display);
  margin-bottom: 28px;
}

.be-yellow-intro .lead {
  max-width: 510px;
  margin-bottom: 32px;
}

.be-yellow-intro .button {
  max-width: 100%;
  white-space: normal;
}

.be-yellow-hero-photo,
.be-yellow-community-photo,
.cycle-photo,
.location-row .photo-frame {
  margin: 0;
}

.be-yellow-hero-photo img {
  display: block;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.be-yellow-hero-photo figcaption,
.be-yellow-community-photo figcaption,
.location-row figcaption {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.68;
}

.be-yellow-cycle {
  scroll-margin-top: 100px;
}

.be-yellow-cycle:focus-visible {
  outline: 3px solid #fde92c;
  outline-offset: -8px;
}

.be-yellow-cycle-heading {
  align-items: end;
  margin-bottom: 50px;
}

.be-yellow-cycle-heading h2 {
  margin-bottom: 0;
}

.be-yellow-cycle-heading .lead {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.cycle-controls {
  display: flex;
  gap: 38px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #6a6a6c #212124;
}

.cycle-button {
  position: relative;
  flex: 0 0 auto;
  min-height: 56px;
  padding: 15px 0 18px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font: 600 15px/1.45 Inter, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.cycle-button:hover,
.cycle-button[aria-pressed="true"] {
  color: #fde92c;
}

.cycle-button[aria-pressed="true"] {
  border-bottom-color: #fde92c;
}

.cycle-button:focus-visible {
  outline: 2px solid #fde92c;
  outline-offset: -4px;
}

.cycle-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 488px;
}

.cycle-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #2b2b2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cycle-photo img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: contain;
}

.cycle-story {
  max-width: 455px;
}

.cycle-story .eyebrow {
  color: #fde92c;
}

.cycle-story h3 {
  max-width: 22ch;
  margin: 18px 0 22px;
  line-height: 1.2;
}

.cycle-story #cycle-copy {
  min-height: 160px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cycle-story .text-link {
  color: #fde92c;
  line-height: 1.6;
}

.be-yellow-community-copy h2 {
  max-width: 17ch;
}

.be-yellow-community-copy > p:not(.eyebrow),
.be-yellow-resources-copy > p {
  max-width: 500px;
  line-height: 1.8;
}

.be-yellow-community-copy .button {
  margin-top: 16px;
}

.be-yellow-community-photo img {
  display: block;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.be-yellow-question .split {
  align-items: start;
}

.be-yellow-question h2 {
  max-width: 18ch;
  font-size: clamp(32px, 3.3vw, 46px);
  line-height: 1.14;
  margin-bottom: 0;
}

.be-yellow-resources-copy {
  padding-top: 40px;
}

.be-yellow-detail {
  margin-top: 32px;
  padding: 22px 0;
  border-top: 1px solid rgba(33, 33, 36, 0.28);
  border-bottom: 1px solid rgba(33, 33, 36, 0.28);
}

.be-yellow-detail summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.5;
}

.be-yellow-detail summary::-webkit-details-marker {
  display: none;
}

.be-yellow-detail summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 24px;
  font-weight: 400;
}

.be-yellow-detail[open] summary::after {
  content: "−";
}

.be-yellow-detail summary:focus-visible {
  outline: 2px solid #212124;
  outline-offset: 6px;
}

.be-yellow-detail p {
  margin: 20px 0 0;
  max-width: 450px;
  line-height: 1.8;
}

/* Unidades */
.locations-hero {
  font-family:var(--font-sans);
}

.locations-hero .split {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 100px;
}

.locations-hero h1 {
  font-size: clamp(42px, 4.8vw, 70px);
  line-height: 1.05;
  letter-spacing:var(--tracking-display);
}

.locations-hero .lead {
  max-width: 610px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.location-index {
  padding: 34px 0 0 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  scroll-margin-top: 120px;
}

.location-index .eyebrow {
  color: #fde92c;
  margin-bottom: 20px;
}

.location-index > .text-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-family:var(--font-display);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms ease;
}

.location-index > .text-link:hover,
.location-index > .text-link:focus-visible {
  color: #fde92c;
}

.location-index > p:last-child {
  margin: 24px 0 0;
  max-width: 220px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 16px;
  line-height: 1.7;
}

.location-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 64px;
  padding: 0 0 88px;
  margin-bottom: 88px;
  border-bottom: 1px solid #dededb;
  scroll-margin-top: 120px;
  font-family:var(--font-sans);
}

.location-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.location-row.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.location-row.reverse > .photo-frame {
  grid-column: 2;
  grid-row: 1;
}

.location-row.reverse > .location-copy {
  grid-column: 1;
  grid-row: 1;
}

.location-row .photo-frame img {
  display: block;
  height: 530px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.location-copy h2 {
  margin: 16px 0 22px;
  letter-spacing:var(--tracking-display);
}

.location-copy .lead {
  font-size: 17px;
  line-height: 1.8;
}

.location-copy address {
  font-style: normal;
}

.location-details {
  margin: 28px 0;
}

.location-details > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid #e3e3df;
}

.location-details dt {
  color: #666663;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.location-details dd {
  margin: 0;
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
}

.location-details .text-link {
  color: inherit;
  font-weight: 600;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.location-actions .button {
  max-width: 100%;
  padding: 15px 19px;
  white-space: normal;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .be-yellow-hero .split,
  .be-yellow-cycle-heading,
  .cycle-panel,
  .be-yellow-community .split,
  .be-yellow-question .split,
  .locations-hero .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .be-yellow-intro,
  .be-yellow-community-copy,
  .be-yellow-resources-copy,
  .cycle-story {
    max-width: 640px;
  }

  .be-yellow-intro .lead,
  .be-yellow-cycle-heading .lead,
  .be-yellow-community-copy > p:not(.eyebrow),
  .be-yellow-resources-copy > p {
    max-width: none;
  }

  .be-yellow-hero-photo img {
    height: 480px;
  }

  .cycle-photo {
    padding: 24px;
  }

  .cycle-story #cycle-copy {
    min-height: 0;
  }

  .be-yellow-community-photo img {
    height: 480px;
  }

  .be-yellow-resources-copy {
    padding-top: 0;
  }

  .location-index {
    max-width: 560px;
    padding: 0;
    border-left: 0;
  }

  .location-index > p:last-child {
    max-width: none;
  }

  .location-row,
  .location-row.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding-bottom: 64px;
    margin-bottom: 64px;
  }

  .location-row.reverse > .photo-frame,
  .location-row.reverse > .location-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .location-row .photo-frame img {
    height: 460px;
  }

  .location-copy {
    max-width: 650px;
  }

  .location-actions .button {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .be-yellow-hero {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .be-yellow-intro h1,
  .locations-hero h1 {
    font-size: clamp(35px, 9.8vw, 48px);
  }

  .be-yellow-intro .eyebrow {
    max-width: 26ch;
    line-height: 1.7;
  }

  .be-yellow-hero .split,
  .be-yellow-cycle-heading,
  .cycle-panel,
  .be-yellow-community .split,
  .be-yellow-question .split,
  .locations-hero .split {
    gap: 30px;
  }

  .be-yellow-hero-photo img {
    height: 350px;
  }

  .be-yellow-cycle-heading {
    margin-bottom: 28px;
  }

  .cycle-controls {
    gap: 28px;
    margin-bottom: 28px;
  }

  .cycle-button {
    font-size: 14px;
  }

  .cycle-photo {
    padding: 16px;
  }

  .cycle-photo img {
    height: 340px;
  }

  .cycle-story h3 {
    margin-top: 14px;
  }

  .cycle-story .text-link {
    display: inline-block;
  }

  .be-yellow-community-photo img {
    height: 380px;
  }

  .be-yellow-question h2 {
    font-size: 32px;
  }

  .be-yellow-detail {
    margin-top: 24px;
  }

  .location-index > .text-link {
    font-size: 26px;
    padding: 16px 0;
  }

  .location-row,
  .location-row.reverse {
    gap: 28px;
    padding-bottom: 48px;
    margin-bottom: 48px;
  }

  .location-row .photo-frame img {
    height: 320px;
  }

  .location-details > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .location-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .location-actions .button {
    justify-content: center;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cycle-button,
  .location-index > .text-link {
    transition: none;
  }
}
