.page-terem main {
  background: transparent;
}

.terem-hero {
  padding-top: var(--space-24);
  padding-bottom: var(--space-20);
}

.terem-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: var(--space-12);
  align-items: center;
}

.terem-hero__text {
  max-width: 32rem;
}

.terem-hero__eyebrow {
  font-size: var(--font-size-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.terem-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 2.6vw + 1.3rem, 2.6rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-4);
}

.terem-hero__intro {
  font-size: var(--font-size-md);
  color: var(--color-text-soft);
}

.terem-hero__image-wrap {
  border-radius: var(--radius-card-soft);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  background: #e6d4c0;
}

.terem-hero__image {
  width: 100%;
  height: min(440px, 58vh);
  object-fit: cover;
}

.terem-feature {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

.terem-feature--split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.terem-feature--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.terem-feature--reverse .terem-feature__image-col {
  order: 2;
}

.terem-feature__figure {
  margin: 0;
  border-radius: var(--radius-card-soft);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terem-feature__image {
  width: 100%;
  height: min(380px, 52vh);
  object-fit: cover;
}

.terem-feature__content h2 {
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
}

.terem-layout__grid {
  align-items: center;
}

.terem-layout__figure {
  margin: 0;
  border-radius: var(--radius-card-soft);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terem-layout__image {
  width: 100%;
  height: min(360px, 50vh);
  object-fit: cover;
}

.terem-details__grid {
  align-items: stretch;
}

.terem-service__grid {
  align-items: stretch;
}

.terem-summary__cta {
  margin-top: var(--space-8);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

.terem-social .poker-note {
  margin-top: var(--space-4);
}

@media (max-width: 960px) {
  .terem-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .terem-hero__text {
    max-width: none;
  }

  .terem-feature--split,
  .terem-feature--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .terem-feature--reverse .terem-feature__image-col {
    order: 0;
  }
}

@media (max-width: 768px) {
  .terem-hero {
    padding-top: var(--space-20);
    padding-bottom: var(--space-16);
  }

  .terem-hero__image {
    height: 280px;
  }

  .terem-feature__image {
    height: 260px;
  }

  .terem-layout__image {
    height: 260px;
  }
}
