/*
 * sections.css: layouts for the page sections. Home (hero, about, room grid,
 * why us, gallery, reviews, offers, video, newsletter), About (intro, stats,
 * reasons, services, quote), Rooms (grid, booking band, events),
 * Room details (detail, amenities, gallery, facilities) and Contact.
 */

/* ======================= Shared ======================= */
.tr-section--flush-top {
  padding-top: 0;
}

/* Inner page banner */
.tr-page-hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 500px;
  background-color: var(--tr-ink);
  background-size: cover;
  background-position: center;
  text-align: center;
}
/* Shade so the white title stays readable on bright daytime photos. */
.tr-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tr-shade);
}
.tr-page-hero > * {
  position: relative;
}
.tr-page-hero__title {
  font-size: var(--tr-fs-h1);
  line-height: var(--tr-lh-h1);
  color: var(--tr-white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
@media (max-width: 767px) {
  .tr-page-hero { min-height: 300px; }
}

/* Card grids */
.tr-room-grid,
.tr-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tr-card-grid {
  row-gap: 80px;
}
.tr-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.tr-room-photo--wide {
  grid-column: span 2;
}
@media (max-width: 1199px) {
  .tr-offer-grid { gap: 24px; }
}
@media (max-width: 991px) {
  .tr-room-grid,
  .tr-card-grid,
  .tr-offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-card-grid { row-gap: 24px; }
}
@media (max-width: 767px) {
  .tr-room-grid,
  .tr-card-grid,
  .tr-offer-grid {
    grid-template-columns: 1fr;
  }
  .tr-room-photo--wide { grid-column: auto; }
}

/* Sliders that bleed arrows into the page edge: arrow height per section */
.tr-edge-slider--cards { --tr-arrow-top: 280px; }
.tr-edge-slider--posts { --tr-arrow-top: 225px; }
.tr-edge-slider--rooms { --tr-arrow-top: 260px; }

/* ======================= Home: hero ======================= */
.tr-main--home {
  padding-top: 0; /* the hero sits under the header and pads itself */
}
.tr-hero {
  position: relative;
  overflow: hidden;
  background: var(--tr-ink);
}
.tr-hero__slide {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 900px;
  padding: var(--tr-header-height) 0 120px;
  overflow: hidden;
  text-align: center;
}
.tr-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.tr-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--tr-shade);
}
.tr-hero__content {
  position: relative;
  z-index: 1;
}
.tr-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tr-white);
}
.tr-hero__eyebrow::before,
.tr-hero__eyebrow::after {
  content: "";
  width: 100px;
  height: 1px;
  background: currentColor;
}
.tr-hero__title {
  max-width: 1000px;
  margin: 0 auto 44px;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-display);
  line-height: var(--tr-lh-display);
  color: var(--tr-white);
}
/* Text rises in on the active slide. */
.tr-hero__eyebrow,
.tr-hero__title,
.tr-hero__btn {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--tr-ease), transform 0.8s var(--tr-ease);
}
.swiper-slide-active .tr-hero__eyebrow,
.swiper-slide-active .tr-hero__title,
.swiper-slide-active .tr-hero__btn {
  opacity: 1;
  transform: none;
}
.swiper-slide-active .tr-hero__title { transition-delay: 0.2s; }
.swiper-slide-active .tr-hero__btn   { transition-delay: 0.4s; }

.tr-hero > .tr-arrow {
  position: absolute;
  top: 450px;
  z-index: 5;
  color: var(--tr-text);
  transform: translateY(-50%);
}
.tr-hero > .tr-arrow:hover {
  color: var(--tr-white);
}
.tr-hero > .tr-arrow--prev { left: 95px; }
.tr-hero > .tr-arrow--next { right: 95px; }

.tr-hero__dots {
  display: none;
}

.tr-hero__booking {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  padding: 30px 0;
  background: rgba(170, 132, 83, 0.8);
}

@media (max-width: 1399px) {
  .tr-hero > .tr-arrow--prev { left: 20px; }
  .tr-hero > .tr-arrow--next { right: 20px; }
}
@media (max-width: 1199px) {
  .tr-hero__slide {
    min-height: 640px;
    padding-bottom: 80px;
  }
  .tr-hero > .tr-arrow { display: none; }
  .tr-hero__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--tr-booking-height, 0px) + 25px);
    z-index: 5;
    display: flex;
    margin: 0;
  }
  .tr-hero__dots .swiper-pagination-bullet {
    background: transparent;
    border: 2px solid var(--tr-white);
    width: 14px;
    height: 14px;
  }
  .tr-hero__dots .swiper-pagination-bullet-active {
    background: var(--tr-accent);
    border-color: var(--tr-accent);
  }
  .tr-hero__booking {
    position: relative;
    background: #8f7150;
  }
  .tr-hero__dots {
    bottom: auto;
    top: 580px;
  }
}
@media (max-width: 767px) {
  .tr-hero__slide { min-height: 560px; }
  .tr-hero__dots { top: 500px; }
  .tr-hero__eyebrow {
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0.08em;
  }
  .tr-hero__eyebrow::before,
  .tr-hero__eyebrow::after { width: 40px; }
  .tr-hero__title { margin-bottom: 30px; }
}

/* ======================= Home: about ======================= */
.tr-about {
  overflow: hidden;
  padding-block: 150px;
}
.tr-about__grid {
  position: relative;
  display: grid;
  grid-template-columns: 636px 1fr;
  align-items: center;
  gap: 134px;
}
.tr-about__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--tr-radius);
  background: var(--tr-ink);
}
.tr-about__media img {
  width: 100%;
  height: 800px;
  object-fit: cover;
}
.tr-about__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.tr-about__play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}
.tr-about__heading {
  margin-bottom: 28px;
}
.tr-about__btn {
  margin-top: 46px;
}
.tr-about__text {
  position: relative;
  z-index: 1;
}
/* Faint vertical "20+ yrs" line on the right edge. */
.tr-about__years {
  position: absolute;
  top: 50%;
  right: -43px;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-display);
  line-height: 1.124;
  white-space: nowrap;
  color: var(--tr-accent);
  opacity: 0.2;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  pointer-events: none;
}
@media (max-width: 1399px) {
  .tr-about__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .tr-about__years { right: -80px; }
}
@media (max-width: 1199px) {
  .tr-about__years { display: none; }
  .tr-about__grid { gap: 50px; }
  .tr-about__media img { height: 640px; }
}
@media (max-width: 991px) {
  .tr-about { padding-block: var(--tr-section-space); }
  .tr-about__grid { grid-template-columns: 1fr; }
  .tr-about__media img { height: auto; aspect-ratio: 636 / 800; }
}

/* ======================= Home: why choose us ======================= */
.tr-why {
  overflow: hidden;
}
.tr-why__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.tr-why__heading {
  max-width: 740px;
  margin-bottom: 80px;
}
.tr-why__arrows {
  display: flex;
  gap: 20px;
  margin-top: 79px;
}
/* Cards run off the right edge of the screen, cut off cleanly on the left. */
.tr-why__slider {
  overflow: visible;
  clip-path: inset(-40px -100vw -40px -30px);
}
.tr-why__slide {
  width: 416px;
  height: auto;
}
@media (max-width: 767px) {
  .tr-why__top { flex-direction: column; }
  .tr-why__arrows { order: 2; margin: -20px 0 30px; }
  .tr-why__slide { width: 300px; }
}

/* ======================= Home: gallery ======================= */
.tr-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: var(--tr-radius);
}
.tr-gallery__item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}
.tr-gallery__wrap > .tr-arrow {
  color: var(--tr-text);
}
.tr-gallery__wrap > .tr-arrow:hover {
  color: var(--tr-accent);
}
@media (max-width: 991px) {
  .tr-gallery__item img { height: 400px; }
}
@media (max-width: 767px) {
  .tr-gallery__item img { height: auto; aspect-ratio: 351 / 163; }
}

/* ======================= Home: reviews ======================= */
.tr-reviews {
  position: relative;
  padding-block: 150px;
  background: var(--tr-surface);
}
.tr-reviews::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: var(--tr-ink);
}
.tr-reviews__grid {
  position: relative;
  display: grid;
  grid-template-columns: 416px 1fr;
  align-items: center;
  gap: 24px;
}
.tr-reviews__heading {
  margin-bottom: 0;
}
.tr-reviews__slider {
  width: 100%;
  min-width: 0;
}
.tr-reviews__slider .swiper-slide {
  height: auto;
}
.tr-dots--vertical {
  position: absolute;
  left: auto !important;
  width: auto !important;
  right: 31px;
  top: 50%;
  flex-direction: column;
  margin: 0;
  transform: translateY(-50%);
}
@media (max-width: 1399px) {
  .tr-reviews__grid { grid-template-columns: 340px 1fr; }
}
@media (max-width: 1199px) {
  .tr-reviews__grid { grid-template-columns: 1fr; }
  .tr-reviews::before { inset: 0 0 auto 0; height: 360px; }
  .tr-reviews__heading { margin-bottom: 40px; max-width: 600px; }
  .tr-dots--vertical {
    position: static;
    flex-direction: row;
    margin-top: 30px;
    transform: none;
  }
}
@media (max-width: 767px) {
  .tr-reviews { padding-block: 75px; }
  .tr-reviews::before { height: 280px; }
}

/* ======================= Video banner ======================= */
.tr-video-banner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 750px;
  background-color: var(--tr-ink);
  background-size: cover;
  background-position: center;
}
.tr-video-banner--word {
  min-height: 670px;
}
/* Huge brand word behind the play button, fading out at the bottom. */
.tr-video-banner__word {
  grid-area: 1 / 1;
  font-family: var(--tr-font-heading);
  font-size: 150px;
  line-height: 1;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, rgba(27, 27, 27, 0.85) 0%, rgba(27, 27, 27, 0.15) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tr-video-banner--word .tr-play {
  grid-area: 1 / 1;
}
@media (max-width: 991px) {
  .tr-video-banner { min-height: 450px; }
  .tr-video-banner__word { font-size: 90px; }
}

/* ======================= Newsletter ======================= */
.tr-newsletter {
  text-align: center;
  padding-block: 150px;
}
.tr-newsletter__icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--tr-accent);
  color: var(--tr-white);
}
.tr-newsletter__icon .tr-icon {
  width: 30px;
  height: 30px;
}
.tr-newsletter__title {
  max-width: 856px;
  margin: 0 auto 26px;
  font-size: var(--tr-fs-h2);
  line-height: var(--tr-lh-h2);
}
.tr-newsletter .tr-subscribe {
  margin-inline: auto;
  text-align: left;
}
@media (max-width: 767px) {
  .tr-newsletter { padding-block: 75px; }
  .tr-newsletter .tr-subscribe__input { padding-right: 20px; }
  .tr-newsletter .tr-subscribe__btn {
    position: static;
    margin-top: 10px;
    padding: 0;
  }
  .tr-newsletter .tr-subscribe__btn::before { display: none; }
}

/* ======================= About page ======================= */
.tr-intro__heading .tr-heading__title {
  max-width: none;
}
.tr-intro__img {
  width: 100%;
  height: 509px;
  object-fit: cover;
  border-radius: var(--tr-radius);
}
.tr-intro__heading {
  margin-bottom: 60px;
}
.tr-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  text-align: center;
}
.tr-stats__item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 0 15px;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
  color: var(--tr-ink);
}
.tr-stats__item + .tr-stats__item {
  border-left: 1px solid var(--tr-line);
}
.tr-stats__value {
  color: var(--tr-accent);
}
@media (max-width: 767px) {
  .tr-intro__img { height: 260px; }
  .tr-stats { grid-template-columns: 1fr; gap: 30px; margin-top: 50px; }
  .tr-stats__item + .tr-stats__item { border-left: 0; }
}

.tr-reasons__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.tr-reasons__heading {
  max-width: 600px;
}
.tr-reasons__mark {
  width: 254px;
  height: 254px;
  margin-right: -33px;
  color: #efe6da;
  animation: tr-spin 20s linear infinite;
}
@keyframes tr-spin {
  to { transform: rotate(360deg); }
}
.tr-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px 50px;
}
.tr-reason__num {
  display: block;
  font-size: var(--tr-fs-h1);
  line-height: var(--tr-lh-h1);
  color: var(--tr-accent);
}
.tr-reason__title {
  margin: 16px 0 19px;
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
}
@media (max-width: 991px) {
  .tr-reasons__grid { grid-template-columns: repeat(2, 1fr); }
  .tr-reasons__mark { width: 150px; height: 150px; margin-right: 0; }
}
@media (max-width: 767px) {
  .tr-reasons__grid { grid-template-columns: 1fr; gap: 40px; }
  .tr-reasons__mark { display: none; }
}

/* Services list with the hover image that follows the mouse */
.tr-services__item {
  position: relative;
  border-bottom: 1px solid var(--tr-text);
}
.tr-services__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: var(--tr-text);
}
.tr-services__title {
  font-size: var(--tr-fs-h2);
  line-height: var(--tr-lh-h2);
  color: inherit;
  transition: color var(--tr-speed);
}
.tr-services__icon {
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--tr-line);
  color: var(--tr-ink);
  transition: all var(--tr-speed);
}
.tr-services__icon .tr-icon {
  width: 13px;
  height: 13px;
}
.tr-services__item:hover .tr-services__link,
.tr-services__link:focus-visible {
  color: var(--tr-accent);
}
.tr-services__item:hover .tr-services__icon {
  background: var(--tr-accent);
  color: var(--tr-white);
}
.tr-services__img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 330px;
  height: 390px;
  object-fit: cover;
  border-radius: var(--tr-radius);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  transition: opacity 0.4s var(--tr-ease), transform 0.4s var(--tr-ease);
}
.tr-services__item:hover .tr-services__img {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
@media (hover: none), (max-width: 991px) {
  .tr-services__img { display: none; }
}
@media (max-width: 767px) {
  .tr-services__title { font-size: 28px; }
}

/* Single review slider */
.tr-quote__inner {
  position: relative;
  text-align: center;
}
.tr-quote__mark {
  position: absolute;
  left: 50%;
  top: 165px;
  width: 512px;
  height: 380px;
  color: #efe9e1;
  transform: translateX(-50%);
}
.tr-quote__slider {
  position: relative;
}
.tr-quote__avatar {
  width: 110px;
  height: 110px;
  margin: 0 auto 10px;
  border-radius: 50%;
  object-fit: cover;
}
.tr-quote__name {
  font-size: var(--tr-fs-h4);
  line-height: var(--tr-lh-h4);
}
.tr-quote__text {
  max-width: 1296px;
  margin: 50px auto 40px;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h2);
  line-height: var(--tr-lh-h2);
  color: var(--tr-ink);
}
.tr-quote .tr-stars {
  font-size: 20px;
}
.tr-quote__count {
  position: absolute;
  right: -40px;
  bottom: -20px;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h3);
  color: var(--tr-ink);
}
.tr-quote__count b {
  font-weight: 400;
  font-size: var(--tr-fs-h2);
  color: var(--tr-accent);
}
@media (max-width: 1439px) {
  .tr-quote__count { right: 12px; }
}
@media (max-width: 767px) {
  .tr-quote__mark { width: 250px; height: 185px; }
  .tr-quote__text { font-size: 26px; }
  .tr-quote__count { position: static; margin-top: 20px; }
}

/* ======================= Rooms page ======================= */
.tr-booking-band {
  position: relative;
  padding: 135px 0 150px;
  background-color: var(--tr-ink);
  background-size: cover;
  background-position: center;
  text-align: center;
}
.tr-booking-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.55);
}
.tr-booking-band .tr-container {
  position: relative;
}
.tr-booking-band__title {
  margin-bottom: 76px;
  font-size: var(--tr-fs-h2);
  line-height: var(--tr-lh-h2);
  color: var(--tr-white);
}
.tr-booking-band .tr-booking {
  padding: 30px;
  background: var(--tr-accent);
  border-radius: 50px;
  text-align: left;
}
@media (max-width: 767px) {
  .tr-booking-band { padding-block: 75px; }
  .tr-booking-band__title { margin-bottom: 40px; }
  .tr-booking-band .tr-booking { border-radius: 25px; padding: 20px; }
}

.tr-event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.tr-event__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--tr-ink);
  aspect-ratio: 636 / 424;
}
.tr-event__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--tr-ease);
}
.tr-event__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 27, 27, 0.5);
  opacity: 0;
  transition: opacity var(--tr-speed);
}
.tr-event:hover .tr-event__media::after { opacity: 1; }
.tr-event:hover .tr-event__media img { transform: scale(1.03); }
.tr-event__title {
  margin-top: 36px;
  font-size: var(--tr-fs-h2);
  line-height: var(--tr-lh-h2);
}
.tr-event__title a:hover { color: var(--tr-accent); }
.tr-price--center { justify-content: center; }
@media (max-width: 767px) {
  .tr-event-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ======================= Room details page ======================= */
.tr-lead {
  max-width: 1156px;
  margin: 0 auto 150px;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h1);
  line-height: var(--tr-lh-h1);
  color: var(--tr-ink);
  text-align: center;
}
.tr-detail {
  display: grid;
  grid-template-columns: 636px 526px;
  justify-content: space-between;
  align-items: start;
  gap: 50px;
}
.tr-detail__title {
  margin-bottom: 29px;
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
}
.tr-detail__subtitle {
  margin: 49px 0 29px;
  font-size: 30px;
  line-height: 1.2;
}
.tr-amenities {
  display: grid;
  grid-template-columns: 268px 268px;
  gap: 15px;
}
.tr-amenities li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tr-amenities img {
  width: 20px;
  height: 20px;
}

.tr-room-gallery {
  display: grid;
  grid-template-columns: 306px 1fr;
  gap: 24px;
  margin-top: 100px;
}
.tr-room-gallery__thumbs {
  height: 562px;
  width: 100%;
}
.tr-room-gallery__thumbs .swiper-slide {
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--tr-radius);
  cursor: pointer;
  transition: border-color var(--tr-speed);
}
.tr-room-gallery__thumbs .swiper-slide-thumb-active {
  border-color: var(--tr-accent);
}
.tr-room-gallery__thumbs img,
.tr-room-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tr-room-gallery__main {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--tr-radius);
  background: var(--tr-ink);
}
.tr-room-gallery__main .swiper {
  height: 562px;
}
/* Arrows appear when the large photo is hovered or focused. */
.tr-room-gallery__main .tr-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  background: var(--tr-ink);
  color: var(--tr-white);
  opacity: 0;
  transform: translateY(-50%);
}
.tr-room-gallery__main .tr-arrow:hover {
  background: var(--tr-accent);
}
.tr-room-gallery__main:hover .tr-arrow,
.tr-room-gallery__main .tr-arrow:focus-visible {
  opacity: 1;
}
.tr-room-gallery__main .tr-arrow--prev { left: 25px; }
.tr-room-gallery__main .tr-arrow--next { right: 25px; }

.tr-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 74px 50px;
}

@media (max-width: 1399px) {
  .tr-detail { grid-template-columns: 1fr 460px; }
  .tr-amenities { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1199px) {
  .tr-lead { margin-bottom: 100px; }
}
@media (max-width: 991px) {
  .tr-detail { grid-template-columns: 1fr; }
  .tr-room-gallery { grid-template-columns: 1fr; }
  .tr-room-gallery__thumbs { order: 2; height: 110px; }
  .tr-room-gallery__main .swiper { height: 420px; }
  .tr-room-gallery__main .tr-arrow { opacity: 1; }
  .tr-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .tr-lead { margin-bottom: 60px; font-size: 30px; }
  .tr-amenities { grid-template-columns: 1fr; }
  .tr-room-gallery { margin-top: 60px; }
  .tr-room-gallery__main .swiper { height: 260px; }
  .tr-room-gallery__thumbs { height: 80px; }
  .tr-why-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ======================= Contact page ======================= */
.tr-contact__grid {
  display: grid;
  grid-template-columns: 536px 636px;
  justify-content: space-between;
  gap: 50px;
}
.tr-contact__heading {
  margin-bottom: 18px;
}
.tr-contact__intro {
  margin-bottom: 37px;
}
.tr-contact__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--tr-radius);
}
.tr-contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Thin white frame inset inside the photo. */
.tr-contact__media::after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid var(--tr-white);
  pointer-events: none;
}

.tr-contact-info {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}
.tr-contact-info__item {
  display: flex;
  align-items: center;
  gap: 24px;
}
.tr-contact-info__icon {
  display: grid;
  place-items: center;
  flex: 0 0 88px;
  height: 88px;
  border: 1px solid var(--tr-ink);
  border-radius: 50%;
}
.tr-contact-info__icon img {
  width: 40px;
  height: 40px;
}
.tr-contact-info__title {
  margin-bottom: 6px;
  font-size: var(--tr-fs-h4);
  line-height: var(--tr-lh-h4);
}
.tr-contact-info__text {
  display: block;
  max-width: 210px;
}
a.tr-contact-info__text:hover {
  color: var(--tr-accent);
}

@media (max-width: 1399px) {
  .tr-contact__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .tr-contact__grid { grid-template-columns: 1fr; }
  .tr-contact-info { justify-content: flex-start; flex-direction: column; }
}
