/*
 * components.css: reusable pieces used on several pages. Buttons, section
 * headings, room facts and prices, room cards, booking form, slider arrows,
 * play button, info cards, accordion, forms, video modal.
 */

/* ---------- Buttons ---------- */
.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 10px 25px;
  border: 1px solid transparent;
  font-family: var(--tr-font-body);
  font-size: var(--tr-fs-small);
  font-weight: 500;
  line-height: 25px;
  white-space: nowrap;
  transition: all var(--tr-speed) var(--tr-ease);
}
.tr-btn--pill { border-radius: var(--tr-radius-pill); }
.tr-btn--box  { border-radius: var(--tr-radius); }
.tr-btn--block { width: 100%; }

.tr-btn__arrow {
  width: 9px;
  height: 9px;
  transition: transform var(--tr-speed) var(--tr-ease);
}
.tr-btn:hover .tr-btn__arrow {
  transform: translate(2px, -2px);
}

.tr-btn--accent {
  background: var(--tr-accent);
  border-color: var(--tr-accent);
  color: var(--tr-white);
}
.tr-btn--accent:hover {
  background: var(--tr-ink);
  border-color: var(--tr-ink);
}

.tr-btn--dark {
  background: var(--tr-ink);
  border-color: var(--tr-ink);
  color: var(--tr-white);
  padding-inline: 30px;
}
.tr-btn--dark:hover {
  background: var(--tr-white);
  border-color: var(--tr-white);
  color: var(--tr-ink);
}

.tr-btn--outline-dark {
  border-color: var(--tr-ink);
  color: var(--tr-ink);
}
.tr-btn--outline-dark:hover {
  background: var(--tr-ink);
  color: var(--tr-white);
}

.tr-btn--outline-light {
  border-color: var(--tr-white);
  color: var(--tr-white);
}
.tr-btn--outline-light:hover {
  background: var(--tr-white);
  color: var(--tr-ink);
}

/* ---------- Section heading ---------- */
.tr-heading {
  margin-bottom: 80px;
}
.tr-heading--center {
  text-align: center;
}
.tr-heading__eyebrow {
  margin-bottom: 28px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tr-text);
}
.tr-heading--accent .tr-heading__eyebrow {
  color: var(--tr-accent);
}
.tr-heading__title {
  font-size: var(--tr-fs-h1);
  line-height: var(--tr-lh-h1);
}
.tr-heading--light .tr-heading__title {
  color: var(--tr-white);
}

@media (max-width: 991px) {
  .tr-heading__eyebrow { margin-bottom: 15px; }
}
@media (max-width: 767px) {
  .tr-heading__title br { display: none; }
  .tr-heading { margin-bottom: 50px; }
  .tr-heading__eyebrow { letter-spacing: 1px; }
}

/* ---------- Room facts and price ---------- */
.tr-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: var(--tr-text);
}
.tr-meta li {
  position: relative;
  padding-right: 14px;
}
.tr-meta li + li {
  padding-left: 14px;
}
.tr-meta li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  background: currentColor;
  transform: translateY(-50%);
}
.tr-meta--light {
  color: var(--tr-line);
}
.tr-meta--center {
  justify-content: center;
}

.tr-price {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin: 4px 0 17px;
}
.tr-price__from {
  color: var(--tr-ink);
}
.tr-price__amount {
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
  color: var(--tr-accent);
}

/* ---------- Room photo card (text over the photo, home page) ---------- */
.tr-room-photo {
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.tr-room-photo__link {
  position: relative;
  display: block;
  height: 440px;
  color: var(--tr-white);
}
.tr-room-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--tr-ease);
}
.tr-room-photo__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 27, 27, 0) 0%, rgba(27, 27, 27, 0.6) 100%);
}
.tr-room-photo__price {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 1;
  padding: 10px 18px;
  background: var(--tr-white);
  font-size: var(--tr-fs-small);
  font-weight: 500;
  line-height: 25px;
  color: var(--tr-accent);
}
.tr-room-photo__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 36px 40px;
}
.tr-room-photo__title {
  margin-bottom: 12px;
  font-size: var(--tr-fs-h2);
  line-height: var(--tr-lh-h2);
  color: var(--tr-white);
}
.tr-room-photo__link:hover .tr-room-photo__img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .tr-room-photo__title { font-size: 32px; line-height: 1.25; }
  .tr-room-photo__body { padding: 25px; }
}

/* ---------- Room card (photo on top, details below) ---------- */
.tr-room-card {
  height: 100%;
  overflow: hidden;
  background: var(--tr-white);
  border: 1px solid var(--tr-line);
  border-radius: var(--tr-radius);
  transition: transform 0.4s var(--tr-ease);
}
.tr-room-card:hover {
  transform: translateY(-5px);
}
.tr-room-card__media {
  position: relative;
  display: block;
  aspect-ratio: 414 / 289;
  overflow: hidden;
  background: var(--tr-ink);
}
.tr-room-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--tr-ease), opacity 0.6s;
}
.tr-room-card__btn {
  position: absolute;
  left: 50%;
  top: 52%;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.tr-room-card:hover .tr-room-card__media img {
  transform: scale(1.03);
  opacity: 0.7;
}
.tr-room-card:hover .tr-room-card__btn {
  opacity: 1;
}
.tr-room-card__body {
  padding: 36px 50px 45px;
}
.tr-room-card__title {
  font-size: var(--tr-fs-h2);
  line-height: var(--tr-lh-h2);
}
.tr-room-card__title a:hover {
  color: var(--tr-accent);
}

@media (max-width: 1399px) {
  .tr-room-card__body { padding-inline: 30px; }
}
@media (max-width: 767px) {
  .tr-room-card__body { padding: 25px; }
}

/* ---------- Booking form ---------- */
.tr-booking {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--tr-white);
}
.tr-booking__dates,
.tr-booking__pair {
  display: contents; /* fields sit directly in the bar row */
}

.tr-field {
  position: relative;
  display: flex;
  align-items: center;
  height: 47px;
  padding: 0 32px 0 15px;
  border: 1px solid var(--tr-white);
  border-radius: var(--tr-radius-pill);
  color: var(--tr-white);
}
.tr-field--date {
  flex: 0 0 240px;
  gap: 18px;
}
.tr-field--qty {
  flex: 1 1 0;
  min-width: 0;
}
.tr-field__label {
  white-space: nowrap;
}
.tr-field__input,
.tr-field__value {
  min-width: 0;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.tr-field__input {
  width: 100%;
  padding: 0;
}
.tr-field__input:focus-visible {
  outline: none;
}
.tr-field--date:focus-within {
  outline: 2px solid var(--tr-white);
  outline-offset: 2px;
}
/* The value button stretches over the whole field so the full pill is clickable. */
.tr-field__value {
  position: absolute;
  inset: 0;
  padding: 0 32px 0 15px;
  text-align: right;
  border-radius: inherit;
}
.tr-field__chevron {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: transform var(--tr-speed);
}
.tr-field.is-open .tr-field__chevron {
  transform: translateY(-50%) rotate(180deg);
}
.tr-booking__submit {
  flex: 0 0 auto;
  height: 47px;
}
.tr-booking__submit:hover {
  background: var(--tr-white);
  color: var(--tr-ink);
}

/* Quantity dropdown (+/-) */
.tr-qty {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  background: var(--tr-white);
  color: var(--tr-ink);
  border-radius: var(--tr-radius);
  box-shadow: 0 10px 30px rgba(27, 27, 27, 0.15);
}
.tr-qty[hidden] {
  display: none;
}
.tr-qty__btn {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tr-surface);
  color: var(--tr-ink);
  transition: all var(--tr-speed);
}
.tr-qty__btn:hover {
  background: var(--tr-accent);
  color: var(--tr-white);
}
.tr-qty__btn .tr-icon {
  width: 12px;
  height: 12px;
}

/* Panel variant (room details sidebar) */
.tr-booking--panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 40px 50px 50px;
  background: var(--tr-accent);
  border-radius: var(--tr-radius);
}
.tr-booking--panel .tr-booking__head,
.tr-booking--panel .tr-booking__dates,
.tr-booking--panel > .tr-field,
.tr-booking--panel .tr-booking__extras,
.tr-booking--panel .tr-booking__submit,
.tr-booking--panel .tr-form-status {
  grid-column: 1 / -1;
}
.tr-booking--panel .tr-booking__dates {
  display: grid;
  gap: 15px;
}
.tr-booking--panel .tr-field {
  border-radius: var(--tr-radius);
}
.tr-booking--panel .tr-field--date {
  justify-content: space-between;
}
.tr-booking--panel .tr-field__input {
  text-align: right;
}
.tr-booking__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
.tr-booking__title,
.tr-booking__price {
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
  color: var(--tr-white);
}
.tr-booking__price span {
  font-family: var(--tr-font-body);
  font-size: 21px;
}
.tr-booking__extras {
  margin-top: 20px;
}
.tr-booking__extras-title {
  margin-bottom: 15px;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h4);
  line-height: var(--tr-lh-h4);
  color: var(--tr-white);
}
.tr-extra {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 45px;
}
.tr-extra__check {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--tr-ink);
  cursor: pointer;
}
.tr-extra__label {
  cursor: pointer;
}
.tr-extra__price {
  margin-left: auto;
  font-size: 14px;
}
/* Small quantity picker inside an extra service row. */
.tr-field--mini {
  flex: 0 0 50px;
  height: 22px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--tr-white);
  border-radius: 0;
  font-size: 14px;
}
.tr-field--mini .tr-field__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.tr-field--mini .tr-field__value {
  padding: 0 20px 0 0;
}
.tr-field--mini .tr-field__chevron {
  right: 0;
}
.tr-field--mini .tr-qty {
  left: auto;
  width: 130px;
}
.tr-booking--panel .tr-booking__submit {
  margin-top: 30px;
}

/* Bar variant on small screens: fields stack. */
@media (max-width: 1199px) {
  .tr-booking--bar {
    flex-wrap: wrap;
  }
  .tr-booking--bar .tr-field--date {
    flex: 1 1 calc(50% - 9px);
  }
  .tr-booking--bar .tr-field--qty {
    flex: 1 1 calc(33.33% - 12px);
  }
  .tr-booking--bar .tr-booking__submit {
    flex: 1 1 100%;
  }
}
@media (max-width: 767px) {
  .tr-booking--bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .tr-booking--bar .tr-field--date,
  .tr-booking--bar .tr-field--qty {
    flex: 0 0 47px;
    justify-content: space-between;
  }
  .tr-booking--bar .tr-field__input {
    text-align: right;
  }
  .tr-booking--panel {
    padding: 30px 20px;
  }
}

/* flatpickr calendar in the site colours */
.flatpickr-calendar {
  font-family: var(--tr-font-body);
  box-shadow: 0 10px 30px rgba(27, 27, 27, 0.15);
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--tr-accent);
  border-color: var(--tr-accent);
}
.flatpickr-day.inRange {
  background: #f1e9de;
  border-color: #f1e9de;
  box-shadow: -5px 0 0 #f1e9de, 5px 0 0 #f1e9de;
}

/* Form status line (static forms in phase 1) */
.tr-form-status:empty,
.tr-field-error:empty {
  display: none;
}
.tr-form-status {
  font-size: 14px;
  line-height: 1.5;
}
.tr-booking--bar .tr-form-status {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
}
.tr-field-error {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.4;
  color: #b3261e;
}

/* ---------- Slider arrows ---------- */
.tr-arrow {
  display: grid;
  place-items: center;
  color: var(--tr-text);
  transition: all var(--tr-speed) var(--tr-ease);
}
.tr-arrow:hover {
  color: var(--tr-accent);
}
.tr-arrow--round {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--tr-line);
  color: var(--tr-ink);
}
.tr-arrow--round .tr-icon { width: 21px; height: 16px; }
.tr-arrow--round:hover {
  background: var(--tr-accent);
  color: var(--tr-white);
}
.tr-arrow--long .tr-icon  { width: 56px; height: 16px; }
.tr-arrow--block .tr-icon { width: 60px; height: 35px; }
.tr-arrow--thin .tr-icon  { width: 30px; height: 60px; }

/* Edge arrows sit in the gap outside the container (7px from the screen edge). */
.tr-edge-slider {
  position: relative;
}
.tr-edge-slider > .tr-arrow {
  position: absolute;
  top: var(--tr-arrow-top, 50%);
  z-index: 5;
  transform: translateY(-50%);
}
.tr-edge-slider > .tr-arrow--prev { left: 7px; }
.tr-edge-slider > .tr-arrow--next { right: 7px; }

@media (max-width: 1439px) {
  .tr-edge-slider > .tr-arrow {
    display: none; /* no room outside the container; swipe or use dots */
  }
}

/* Dots */
.tr-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.tr-dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: var(--tr-text);
  opacity: 1;
}
.tr-dots .swiper-pagination-bullet-active {
  background: var(--tr-accent);
}

/* ---------- Play button ---------- */
.tr-play {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--tr-white);
  transition: transform var(--tr-speed) var(--tr-ease), background var(--tr-speed);
}
.tr-play:hover {
  transform: scale(1.08);
}
.tr-play--solid {
  width: 115px;
  height: 115px;
  background: var(--tr-overlay);
}
.tr-play--solid:hover {
  background: var(--tr-accent);
}
.tr-play--solid .tr-icon {
  width: 30px;
  height: 34px;
  margin-left: 6px;
}
.tr-play--outline .tr-icon {
  width: 70px;
  height: 70px;
}
@media (max-width: 767px) {
  .tr-play--solid { width: 80px; height: 80px; }
  .tr-play--solid .tr-icon { width: 22px; height: 25px; }
}

/* ---------- Icon box (why choose us) ---------- */
.tr-iconbox {
  height: calc(100% - 62px);
  margin-top: 62px;
  padding: 1px 50px 44px;
  background: var(--tr-white);
  border-radius: var(--tr-radius);
  box-shadow: 0 0 20px rgba(27, 27, 27, 0.1);
}
.tr-iconbox__icon {
  display: grid;
  place-items: center;
  width: 125px;
  height: 125px;
  margin: -62px 0 29px;
  background: var(--tr-white);
  border: 1px solid var(--tr-accent);
  border-radius: var(--tr-radius);
  transition: background var(--tr-speed);
}
.tr-iconbox__icon img {
  width: 60px;
  height: 60px;
}
.tr-iconbox:hover .tr-iconbox__icon {
  background: #f8f3ec;
}
.tr-iconbox__title {
  margin-bottom: 19px;
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
}
/* Plain version: no card, icon on its own (room details grid). */
.tr-iconbox--plain {
  margin-top: 0;
  padding: 0;
  box-shadow: none;
  background: none;
}
.tr-iconbox--plain .tr-iconbox__icon {
  width: auto;
  height: auto;
  margin: 0 0 29px;
  border: 0;
  place-items: start;
  background: none;
}
@media (max-width: 767px) {
  .tr-iconbox { padding-inline: 25px; }
}

/* ---------- Feature card (photo, title, text, button) ---------- */
.tr-feature-card__media {
  display: block;
  overflow: hidden;
  border-radius: var(--tr-radius);
  aspect-ratio: 392 / 302;
}
.tr-feature-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--tr-ease);
}
.tr-feature-card:hover .tr-feature-card__media img {
  transform: scale(1.05);
}
.tr-feature-card__title {
  margin: 30px 0 20px;
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
}
.tr-feature-card__title a:hover {
  color: var(--tr-accent);
}
.tr-feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.tr-feature-card p {
  flex-grow: 1;
}
.tr-feature-card .tr-btn {
  margin-top: 36px;
}

/* ---------- Testimonial card ---------- */
.tr-review {
  position: relative;
  height: 100%;
  padding: 35px 35px 50px;
  background: var(--tr-white);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
}
.tr-review__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.tr-review__avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}
.tr-review__name {
  font-size: var(--tr-fs-h4);
  line-height: var(--tr-lh-h4);
}
.tr-review__quote {
  color: var(--tr-ink);
}
.tr-review__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 46px;
}
.tr-review__mark {
  width: 37px;
  height: 31px;
  color: var(--tr-text);
}
.tr-stars {
  display: inline-flex;
  gap: 3px;
  font-size: 14px;
  color: #43a047;
}

/* ---------- Offer card ---------- */
.tr-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
  padding-bottom: 40px;
  text-align: center;
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius);
}
.tr-offer__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 390 / 300;
}
.tr-offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--tr-ease);
}
.tr-offer:hover .tr-offer__media img {
  transform: scale(1.05);
}
.tr-offer__title {
  margin: 30px 20px 18px;
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
}
.tr-offer__title a:hover {
  color: var(--tr-accent);
}
.tr-offer__text {
  flex-grow: 1;
  max-width: 350px;
  margin: 0 auto 36px;
  padding-inline: 20px;
}

/* ---------- Accordion (FAQ) ---------- */
.tr-accordion {
  max-width: 636px;
  margin-inline: auto;
}
.tr-accordion__item {
  border-bottom: 1px solid #b9a77f;
}
.tr-accordion__item:last-child {
  border-bottom: 0;
}
.tr-accordion__head {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 0;
  text-align: left;
  font-family: var(--tr-font-heading);
  font-size: var(--tr-fs-h4);
  line-height: var(--tr-lh-h4);
  color: var(--tr-ink);
}
.tr-accordion__head:hover {
  color: var(--tr-accent);
}
.tr-accordion__head .tr-icon {
  width: 14px;
  height: 14px;
}
.tr-accordion__head .tr-icon--minus,
.tr-accordion__head[aria-expanded="true"] .tr-icon--plus {
  display: none;
}
.tr-accordion__head[aria-expanded="true"] .tr-icon--minus {
  display: block;
}
.tr-accordion__body {
  overflow: hidden;
  transition: height 0.25s var(--tr-ease);
}
.tr-accordion__head[aria-expanded="true"] {
  padding-bottom: 5px;
}
.tr-accordion__body p {
  padding-bottom: 19px;
}
@media (max-width: 767px) {
  .tr-accordion__head { font-size: 22px; }
}

/* ---------- News card ---------- */
.tr-post__media {
  display: block;
  overflow: hidden;
  border-radius: var(--tr-radius);
  aspect-ratio: 392 / 282;
}
.tr-post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--tr-ease);
}
.tr-post:hover .tr-post__media img {
  transform: scale(1.05);
}
.tr-post__meta {
  display: flex;
  gap: 10px;
  margin: 29px 0 16px;
}
.tr-post__meta span + span::before {
  content: "/";
  margin-right: 10px;
  color: var(--tr-accent);
}
.tr-post__title {
  font-size: var(--tr-fs-h3);
  line-height: var(--tr-lh-h3);
}
.tr-post__title a:hover {
  color: var(--tr-accent);
}

/* ---------- Subscribe form ---------- */
.tr-subscribe {
  position: relative;
  max-width: 636px;
}
.tr-subscribe__input {
  width: 100%;
  height: 55px;
  padding: 5px 185px 5px 20px;
  background: none;
  border: 1px solid var(--tr-line);
  border-radius: var(--tr-radius);
  color: var(--tr-ink);
}
.tr-subscribe__input::placeholder {
  color: var(--tr-text);
}
.tr-subscribe__btn {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  height: 55px;
  padding: 0 25px;
  font-size: var(--tr-fs-small);
  font-weight: 500;
  color: var(--tr-ink);
}
.tr-subscribe__btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 27px;
  background: var(--tr-ink);
  transform: translateY(-50%);
}
.tr-subscribe__btn:hover {
  color: var(--tr-accent);
}
.tr-subscribe--footer .tr-subscribe__input {
  padding-right: 145px;
  border-color: var(--tr-text);
  color: var(--tr-white);
}
.tr-subscribe--footer .tr-subscribe__btn {
  padding-inline: 20px;
  color: var(--tr-white);
}
.tr-subscribe--footer .tr-subscribe__btn::before {
  background: var(--tr-text);
}
.tr-subscribe .tr-form-status {
  margin-top: 8px;
}

/* ---------- Contact form ---------- */
.tr-form__row + .tr-form__row {
  margin-top: 16px;
}
.tr-form__label {
  display: block;
  margin-bottom: 8px;
}
.tr-form__input {
  width: 100%;
  height: 47px;
  padding: 7px 20px;
  border: 1px solid var(--tr-line);
  border-radius: var(--tr-radius-pill);
  background: none;
  color: var(--tr-ink);
  transition: border-color var(--tr-speed);
}
.tr-form__input:focus {
  border-color: var(--tr-accent);
  outline: none;
}
.tr-form__input:focus-visible {
  outline: 2px solid var(--tr-accent);
  outline-offset: 1px;
}
textarea.tr-form__input {
  height: 196px;
  resize: vertical;
}
.tr-form__input.has-error {
  border-color: #b3261e;
}
.tr-form .tr-btn {
  margin-top: 25px;
}
.tr-form .tr-form-status {
  margin-top: 15px;
  color: var(--tr-ink);
}
.tr-honeypot {
  position: absolute;
  left: -9999px;
}

/* ---------- Video modal ---------- */
.tr-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
}
.tr-video-modal[hidden] {
  display: none;
}
.tr-video-modal__box {
  position: relative;
  width: min(1000px, 100%);
  aspect-ratio: 16 / 9;
}
.tr-video-modal__box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.tr-video-modal__close {
  position: absolute;
  top: -50px;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--tr-white);
}
.tr-video-modal__close .tr-icon {
  width: 20px;
  height: 20px;
}
