/* Salas: editorial storefront for room compositions and individual pieces. */
.salas-page {
  background: #f5f2ec;
}

.salas-hero {
  position: relative;
  min-height: min(820px, 92svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #171613;
}
.salas-hero__image,
.salas-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.salas-hero__image {
  object-fit: cover;
  object-position: 50% 52%;
  animation: salas-hero-arrive 1.6s var(--ease-expo) both;
}
.salas-hero__veil {
  background:
    linear-gradient(90deg, rgba(14, 13, 11, .74) 0%, rgba(14, 13, 11, .22) 60%, rgba(14, 13, 11, .08) 100%),
    linear-gradient(0deg, rgba(14, 13, 11, .62) 0%, transparent 48%);
}
.salas-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(4rem, 9vh, 7.5rem);
  color: #fff;
}
.salas-hero__eyebrow,
.salas-kicker {
  color: var(--color-secondary);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.salas-hero h1 {
  max-width: 820px;
  margin: .8rem 0 1.15rem;
  font-size: clamp(3.4rem, 8vw, 8.8rem);
  font-weight: 400;
  line-height: .86;
  letter-spacing: -.045em;
}
.salas-hero h1 em {
  color: #e4c78f;
  font-weight: 400;
}
.salas-hero__content > p:not(.salas-hero__eyebrow) {
  max-width: 540px;
  color: rgba(255,255,255,.84);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.65;
}
.salas-hero__link {
  display: inline-flex;
  gap: .75rem;
  align-items: center;
  margin-top: 2rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255,255,255,.64);
  color: #fff;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.salas-hero__index {
  position: absolute;
  right: var(--container-padding);
  bottom: clamp(4rem, 9vh, 7.5rem);
  z-index: 2;
  color: rgba(255,255,255,.7);
  font-family: var(--font-serif);
  letter-spacing: .14em;
}

.salas-intro {
  padding: clamp(5rem, 10vw, 10rem) 0;
}
.salas-intro__grid {
  display: grid;
  grid-template-columns: minmax(120px, .55fr) minmax(360px, 1.5fr) minmax(140px, .5fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}
.salas-intro h2,
.salas-catalog h2,
.salas-advice h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5.2vw, 5.8rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.035em;
}
.salas-intro__grid > div > p {
  max-width: 700px;
  margin-top: 1.6rem;
  color: var(--color-text-light);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.8;
}
.salas-intro__count {
  display: flex;
  flex-direction: column;
  padding-top: .25rem;
  border-top: 1px solid rgba(26,26,26,.28);
}
.salas-intro__count strong {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1;
}
.salas-intro__count span {
  color: var(--color-text-light);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.salas-showcase {
  width: min(1760px, 100%);
  margin: 0 auto;
}
.sala-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(330px, .72fr);
  min-height: 650px;
  background: #fff;
}
.sala-feature--reverse {
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.6fr);
  background: #1c1b18;
  color: #fff;
}
.sala-feature--reverse .sala-feature__media { order: 2; }
.sala-feature__media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #ded9cf;
}
.sala-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-expo), filter .7s ease;
}
.sala-feature:hover .sala-feature__media img {
  transform: scale(1.025);
  filter: saturate(1.03) contrast(1.015);
}
.sala-feature__number {
  position: absolute;
  top: 1.5rem;
  right: 1.7rem;
  padding: .35rem .6rem;
  background: rgba(17,17,17,.68);
  color: #fff;
  font-family: var(--font-serif);
  font-size: .8rem;
  letter-spacing: .14em;
  backdrop-filter: blur(10px);
}
.sala-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 6vw, 7rem);
}
.sala-feature__copy h2 {
  margin: .65rem 0 1.4rem;
  font-size: clamp(3rem, 5.3vw, 6rem);
  font-weight: 400;
  line-height: .9;
  letter-spacing: -.04em;
}
.sala-feature__copy > p:not(.salas-kicker) {
  max-width: 520px;
  color: var(--color-text-light);
  font-size: 1.04rem;
  line-height: 1.75;
}
.sala-feature--reverse .sala-feature__copy > p:not(.salas-kicker) {
  color: rgba(255,255,255,.68);
}
.sala-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.5rem;
  align-items: center;
  margin-top: 2rem;
}
.sala-feature--reverse .btn-primary {
  background: #f5f2ec;
  color: #191815;
}
.sala-feature__text-link {
  padding-bottom: .2rem;
  border-bottom: 1px solid currentColor;
  font-size: .73rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.salas-catalog {
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: #211f1a;
  color: #fff;
}
.salas-catalog__inner {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: end;
}
.salas-catalog__copy p {
  color: rgba(255,255,255,.7);
  font-size: 1.08rem;
  line-height: 1.75;
}
.salas-catalog__copy strong {
  color: #e4c78f;
  font-weight: 500;
}
.salas-catalog__copy .btn { margin-top: 1.8rem; }

.salas-advice {
  padding: clamp(5rem, 10vw, 9rem) 0;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,169,110,.15), transparent 42%),
    #f5f2ec;
}
.salas-advice__inner {
  max-width: 900px;
}
.salas-advice h2 { margin-top: .7rem; }
.salas-advice__inner > p:not(.salas-kicker) {
  max-width: 650px;
  margin: 1.4rem auto 0;
  color: var(--color-text-light);
  font-size: 1.08rem;
  line-height: 1.75;
}
.salas-advice__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 1.75rem;
  margin-top: 2.2rem;
}

@keyframes salas-hero-arrive {
  from { transform: scale(1.07); opacity: .72; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 900px) {
  .salas-hero { min-height: 78svh; }
  .salas-hero__veil {
    background: linear-gradient(0deg, rgba(14,13,11,.82) 0%, rgba(14,13,11,.12) 80%);
  }
  .salas-hero__index { display: none; }
  .salas-intro__grid,
  .salas-catalog__inner {
    grid-template-columns: 1fr;
  }
  .salas-intro__count {
    max-width: 180px;
  }
  .sala-feature,
  .sala-feature--reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .sala-feature--reverse .sala-feature__media { order: 0; }
  .sala-feature__media { min-height: 54vw; }
  .sala-feature__copy { padding: 4rem var(--container-padding); }
}

@media (max-width: 560px) {
  .salas-hero { min-height: 82svh; }
  .salas-hero__image { object-position: 52% center; }
  .salas-hero__content { padding-bottom: 3.5rem; }
  .salas-hero h1 { font-size: clamp(3.2rem, 17vw, 5rem); }
  .salas-intro { padding: 4.5rem 0; }
  .salas-intro__grid { gap: 2rem; }
  .sala-feature__media { min-height: 68vw; }
  .sala-feature__copy { padding-top: 3.25rem; padding-bottom: 3.5rem; }
  .sala-feature__copy h2 { font-size: 3.2rem; }
  .sala-feature__actions { align-items: flex-start; flex-direction: column; }
  .salas-catalog { padding: 4.5rem 0; }
  .salas-advice__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .salas-hero__image { animation: none; }
  .sala-feature__media img { transition: none; }
}
