/* Sirocco House - page layouts */

.home-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  color: var(--sand);
  overflow: hidden;
}

.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.1s var(--ease), transform 7s linear;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.home-hero__shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(44, 42, 38, 0.28) 0%,
    rgba(44, 42, 38, 0.42) 40%,
    rgba(44, 42, 38, 0.82) 100%
  );
}

.home-hero__copy {
  position: relative;
  z-index: 3;
  padding: 8rem 0 5.5rem;
}

.hero-slider__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0 1.5rem;
}

.hero-slider__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 223, 211, 0.75);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: width 220ms var(--ease), background 220ms var(--ease);
}

.hero-dot.is-active {
  width: 1.55rem;
  background: var(--sand);
  border-color: var(--sand);
}

.hero-slider__arrow {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(232, 223, 211, 0.45);
  background: rgba(44, 42, 38, 0.35);
  color: var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.hero-slider__arrow:hover {
  background: rgba(196, 92, 62, 0.85);
  border-color: transparent;
}

.hero-slider__arrow .icon {
  width: 1.05rem;
  height: 1.05rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--sand);
  margin-bottom: 0.75rem;
}

.home-hero__tag {
  font-size: 1.1rem;
  color: rgba(232, 223, 211, 0.9);
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ritual-strip {
  background: var(--sand-dark);
}

.ritual-strip .ritual-card {
  height: 100%;
}

.offer-band {
  background: var(--charcoal);
  color: var(--sand);
  padding: var(--space-16) 0;
}

.offer-band h2,
.offer-band p {
  color: inherit;
}

.offer-band .eyebrow {
  color: var(--clay);
}

.offer-band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .offer-band__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.offer-band__media {
  overflow: hidden;
  min-height: 16rem;
}

.offer-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
}

.room-detail__hero {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .room-detail__hero {
    grid-template-columns: 1.3fr 0.9fr;
  }
}

.room-detail__media {
  min-height: 20rem;
  background: var(--clay);
  overflow: hidden;
}

.room-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 20rem;
}

.amenity-list li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.portal-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .portal-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.stat-row div {
  background: var(--sand);
  border: 1px solid var(--line);
  padding: 0.85rem;
  text-align: center;
}

.stat-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--charcoal);
}

.stat-row span {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-prose h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.65rem;
}

.legal-prose p {
  margin-bottom: 0.85rem;
}

.confirm-code {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  margin: 0.75rem 0 1.25rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-grid figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--clay);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.grounds-mosaic {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .grounds-mosaic {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.grounds-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
}

.spa-slots-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}
