/* ==========================================================================
   Hotel adaptation
   ========================================================================== */

body {
  font-family: var(--font-sans);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  padding: 0 2px;
}

.brand img {
  display: block;
  width: auto;
  height: 40px;
}

.hero h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.hotel-hero .hero-frame {
  height: 640px;
}

.hotel-hero .hero-photo {
  object-position: 50% 52%;
}

.hotel-hero .hero-scrim {
  background:
    linear-gradient(180deg,
      rgba(18, 14, 11, .68) 0%,
      rgba(18, 14, 11, .52) 22%,
      rgba(18, 14, 11, .34) 46%,
      rgba(18, 14, 11, .34) 64%,
      rgba(18, 14, 11, .6) 100%);
}

.hotel-hero .hero-inner {
  padding-bottom: 164px;
}

.hotel-hero .hero-content {
  width: min(920px, 100%);
}

.hotel-hero .hero-sub {
  max-width: 760px;
  margin: 17px auto 25px;
  font-size: 17px;
  line-height: 27px;
}

.hotel-hero .hero-sub span {
  display: block;
}

.hotel-hero .hero-stats {
  bottom: 24px;
}

/* ---------- Booking widget ---------- */

.booking-form {
  width: min(880px, 100%);
  margin-inline: auto;
}

.booking-bar {
  width: 100%;
  height: 64px;
  padding: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(0, .98fr) minmax(0, .98fr) minmax(0, .7fr) 52px;
  align-items: stretch;
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--bevel-field);
}

.booking-field {
  position: relative;
  min-width: 0;
  padding: 0 13px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border-right: 1px solid rgba(88, 64, 50, .12);
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s ease, box-shadow .15s ease;
}

.booking-field:focus-within {
  background: var(--canvas);
  box-shadow: inset 0 0 0 2px var(--focus);
}

.booking-field__label {
  color: var(--brown);
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}

.booking-field__control {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 3px;
}

.booking-field select,
.booking-field input {
  width: 100%;
  min-width: 0;
  height: 22px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.booking-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 17px;
  text-overflow: ellipsis;
  cursor: pointer;
}

.booking-field input[type="date"] {
  font-size: 13.5px;
  cursor: pointer;
}

.booking-field input[type="date"]::-webkit-calendar-picker-indicator {
  width: 14px;
  height: 14px;
  margin-left: 0;
  opacity: .55;
  cursor: pointer;
}

.booking-chevron {
  position: absolute;
  right: 0;
  width: 14px;
  height: 14px;
  pointer-events: none;
  color: var(--brown);
  stroke-width: 1.8;
}

.booking-field--guests .booking-field__control {
  padding-right: 2px;
}

.booking-submit {
  width: 100%;
  min-height: 52px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--bevel-primary);
  transition: background .18s ease, transform .12s ease;
}

.booking-submit:hover {
  background: var(--blue-hover);
}

.booking-submit:active {
  background: var(--blue-active);
  transform: translateY(1px);
}

.booking-submit:disabled {
  cursor: progress;
}

.booking-submit__icon {
  display: grid;
  place-items: center;
}

.booking-submit__icon .icon {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.booking-submit__text {
  display: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -.01em;
}

.booking-form .search-micro {
  margin-top: 13px;
}

/* ---------- Header / sticky search overrides ---------- */

.sticky-search {
  width: 330px;
}

.sticky-search > span:nth-of-type(1) {
  font-size: 13.5px;
}

/* ---------- Room carousel ---------- */

.section-head h2 {
  letter-spacing: -.04em;
  line-height: 1.06;
  max-width: 760px;
}

.room-price-chip {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  backdrop-filter: blur(10px) saturate(1.1);
  color: var(--ink);
  font-size: 14px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  box-shadow:
    0 0 0 1px rgba(88, 64, 50, .08),
    0 8px 20px -12px rgba(35, 28, 23, .55);
}

.room-price-chip small {
  color: var(--brown);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -.01em;
}

.room-name {
  margin: 19px 0 7px;
  color: var(--ink);
  font-size: 20px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: -.03em;
}

.room-specs {
  margin: 0 0 9px;
  color: var(--brown);
  font-size: 12.5px;
  line-height: 18px;
  letter-spacing: 0;
}

.room-desc {
  max-width: 540px;
  color: var(--body);
  font-size: 17px;
  line-height: 25px;
  letter-spacing: -.02em;
}

.room-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-end;
  margin-top: auto;
  padding-top: 14px;
}

.room-from {
  display: none;
}

.room-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--blue);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: border-color .16s ease, color .16s ease;
}

.room-link:hover {
  border-color: var(--blue);
}

.room-link .icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.9;
}

.story-card {
  height: 100%;
}

.story-cc {
  font-size: 12.5px;
  line-height: 17px;
}

/* ---------- Booking flow ---------- */

.sell-title {
  letter-spacing: -.035em;
  line-height: 1.08;
}

.step-label {
  letter-spacing: -.02em;
}

.step-panel__inner p {
  line-height: 25px;
}

.address-demo input {
  letter-spacing: -.02em;
}

.stories {
  padding-bottom: 64px;
}

.sell {
  padding-top: 88px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--warm-200);
  padding: 58px 0 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 64px;
  align-items: start;
}

.footer-brand img {
  width: auto;
  height: 44px;
}

.footer-brand p {
  margin-top: 18px;
  color: var(--ink);
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -.02em;
}

.footer-brand > span {
  display: block;
  margin-top: 7px;
  color: var(--brown);
  font-size: 13px;
  line-height: 20px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-nav h3 {
  margin: 0 0 16px;
  color: var(--brown);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .08em;
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--brown-deep);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -.01em;
  transition: color .16s ease;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid var(--warm-200);
  color: var(--brown);
  font-size: 12.5px;
  line-height: 18px;
  letter-spacing: -.01em;
}

/* ---------- Hotel responsive ---------- */

@media (max-width: 1240px) {
  .brand img {
    height: 38px;
  }
}

@media (max-width: 900px) {
  .hotel-hero .hero-frame {
    height: 610px;
  }

  .hotel-hero .hero-inner {
    padding-top: 64px;
    padding-bottom: 154px;
  }

  .hotel-hero .hero-sub {
    font-size: 16px;
    line-height: 24px;
  }

  .booking-form {
    max-width: 100%;
  }

  .booking-bar {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .95fr) minmax(0, .95fr) minmax(0, .7fr) 48px;
  }

  .booking-field {
    padding-inline: 10px;
  }

  .booking-field select,
  .booking-field input {
    font-size: 13px;
  }

  .booking-field input[type="date"] {
    font-size: 12.5px;
  }

  .booking-submit {
    min-height: 48px;
  }

  .stories {
    padding-bottom: 54px;
  }

  .sell {
    padding-top: 66px;
  }

  .footer-main {
    gap: 40px;
  }
}

@media (max-width: 820px) {
  .hotel-hero .hero-frame {
    height: auto;
    min-height: 690px;
  }

  .hotel-hero .hero-inner {
    min-height: 690px;
    padding: 62px 22px 150px;
  }

  .hotel-hero .hero h1 {
    font-size: clamp(42px, 7.2vw, 56px);
  }

  .booking-bar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: auto;
    padding: 8px;
  }

  .booking-field {
    min-height: 47px;
    padding: 6px 12px;
    border-right: 1px solid rgba(88, 64, 50, .12);
    border-bottom: 1px solid rgba(88, 64, 50, .1);
    border-radius: 8px;
  }

  .booking-field--store {
    grid-column: 1 / -1;
    border-right: 0;
  }

  .booking-field:nth-of-type(2) {
    border-right: 1px solid rgba(88, 64, 50, .12);
  }

  .booking-field:nth-of-type(3) {
    border-right: 0;
  }

  .booking-field--guests {
    border-bottom: 0;
    border-right: 1px solid rgba(88, 64, 50, .12);
  }

  .booking-submit {
    grid-column: 2;
    height: 47px;
    min-height: 47px;
    margin-top: 0;
    align-self: stretch;
  }

  .booking-submit__text {
    display: inline;
    margin-left: 7px;
  }

  .booking-form .search-micro {
    margin-top: 12px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 33px;
  }

  .hotel-hero .hero-frame {
    min-height: 680px;
  }

  .hotel-hero .hero-inner {
    min-height: 680px;
    padding: 54px 16px 144px;
  }

  .hotel-hero .hero h1 {
    font-size: clamp(38px, 10.3vw, 46px);
    line-height: 1.1;
  }

  .hotel-hero .hero-sub {
    margin: 15px auto 22px;
    font-size: 15px;
    line-height: 23px;
  }

  .booking-field select,
  .booking-field input {
    font-size: 14px;
  }

  .booking-field input[type="date"] {
    font-size: 13px;
  }

  .section-head h2 {
    letter-spacing: -.04em;
  }

  .story-title-break {
    display: initial;
  }

  .room-price-chip {
    top: 10px;
    left: 10px;
    padding: 6px 9px;
    font-size: 13px;
  }

  .room-price-chip small {
    font-size: 10.5px;
  }

  .room-name {
    margin-top: 16px;
    font-size: 18px;
    line-height: 24px;
  }

  .room-desc {
    font-size: 16px;
    line-height: 23px;
  }

  .room-meta {
    padding-top: 12px;
  }

  .stories {
    padding-bottom: 44px;
  }

  .sell {
    padding-top: 54px;
  }

  .sell-title {
    line-height: 1.08;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .footer-bottom {
    margin-top: 36px;
    display: block;
  }

  .footer-bottom > span {
    display: block;
    margin-top: 6px;
  }

  .site-footer {
    padding-top: 46px;
  }
}

@media (max-width: 430px) {
  .brand img {
    height: 31px;
  }

  .booking-field__label {
    font-size: 10.5px;
  }

  .hotel-hero .hero h1 {
    font-size: clamp(36px, 10.6vw, 42px);
  }

  .hotel-hero .hero-stats {
    width: calc(100% - 18px);
  }

  .footer-brand img {
    height: 38px;
  }
}

@media (max-width: 640px) {
  .story-card.story-card--lead {
    flex-basis: 100%;
  }

  .story-card {
    flex-basis: 82vw;
  }
}
