#hotel-references {
  padding-top: 72px;
  padding-bottom: 82px;
}

#hotel-references .hotel-section-heading {
  margin-bottom: 32px;
}

#hotel-references .hotel-section-heading > p:last-child {
  max-width: 760px;
}

.hotel-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hotel-reference-card {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #d3e5df;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbfa 100%);
  box-shadow: 0 12px 34px rgb(25 76 70 / 5%);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.hotel-reference-card::after {
  content: '';
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: #e8f5f0;
  opacity: .68;
  pointer-events: none;
}

.hotel-reference-card:hover {
  transform: translateY(-3px);
  border-color: #acd2c6;
  box-shadow: 0 18px 44px rgb(25 76 70 / 10%);
}

.hotel-reference-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hotel-reference-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #c8e1d9;
  border-radius: 11px;
  color: #1f665e;
  background: #eaf5f1;
  font-size: .95rem;
  font-weight: 700;
}

.hotel-reference-proof {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #27685d;
  background: #e6f3ee;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.hotel-reference-card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 5px;
  color: #163f48;
  font-size: 1.05rem;
}

.hotel-reference-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #607980;
  font-size: .8rem;
}

/* Give the relationship copy a little air below the MyRent PMS result badge. */
.hotel-sales-result > strong {
  display: inline-flex;
  margin-bottom: 16px;
}

.hotel-sales-result > p {
  margin-top: 0;
}

#hotel-mobile-operations {
  background: #f2f8f6;
}

#hotel-mobile-operations .hotel-section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

#hotel-mobile-operations .hotel-section-heading > p:last-child {
  max-width: 780px;
}

.hotel-mobile-ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.hotel-mobile-op-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(210px, .92fr);
  gap: 28px;
  align-items: center;
  min-height: 430px;
  padding: 32px;
  border: 1px solid #cfe2dc;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgb(24 73 68 / 6%);
}

.hotel-mobile-op-copy h3 {
  margin: 14px 0 14px;
  color: #143f48;
  font-size: 1.45rem;
  line-height: 1.2;
}

.hotel-mobile-op-copy > p {
  margin: 0 0 20px;
  color: #607980;
}

.hotel-mobile-op-copy ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-mobile-op-copy li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: #244e55;
  font-size: .86rem;
}

.hotel-mobile-op-copy li span {
  display: grid;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  color: #176b61;
  background: #e6f3ee;
  font-size: .68rem;
}

.hotel-mobile-screen {
  overflow: hidden;
  padding: 14px;
  border: 1px solid #c7ddd6;
  border-radius: 20px;
  background: #f8fbfa;
  box-shadow: 0 18px 34px rgb(23 68 64 / 8%);
}

.hotel-mobile-screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 4px 14px;
  color: #174c51;
}

.hotel-mobile-screen-head strong {
  font-size: .9rem;
}

.hotel-mobile-screen-title {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px;
  border-radius: 10px;
  color: #fff;
  background: #174f55;
  font-size: .72rem;
}

.hotel-mobile-screen-row,
.hotel-room-status {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  padding: 11px;
  border: 1px solid #dce9e5;
  border-radius: 10px;
  color: #45676c;
  background: #fff;
  font-size: .7rem;
}

.hotel-mobile-screen-row b {
  color: #1a8e7f;
}

.hotel-mobile-screen-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding: 12px;
  border-radius: 10px;
  color: #174f55;
  background: #e8f5f0;
  font-size: .72rem;
}

.hotel-mobile-screen-summary strong {
  font-size: 1rem;
}

.hotel-room-status strong {
  color: #173f48;
  font-size: .72rem;
}

.hotel-room-status-pill {
  max-width: 58%;
  padding: 5px 8px;
  border-radius: 999px;
  text-align: right;
  font-size: .62rem;
}

.hotel-room-status-0 {
  color: #8a641d;
  background: #f9f0db;
}

.hotel-room-status-1 {
  color: #306d66;
  background: #e9f3f0;
}

.hotel-room-status-2 {
  color: #176b61;
  background: #ddf1e9;
}

.hotel-mobile-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 13px;
  color: #2c6c65;
  font-size: .66rem;
  text-align: center;
}

.hotel-mobile-flow span {
  padding: 9px 6px;
  border-radius: 8px;
  background: #e8f5f0;
}

.hotel-mobile-flow i {
  font-style: normal;
}

.hotel-mobile-ops-note {
  max-width: 820px;
  margin: 20px 0 0;
  color: #74898d;
  font-size: .76rem;
}

@media (max-width: 1120px) {
  .hotel-mobile-op-card {
    grid-template-columns: 1fr;
  }

  .hotel-mobile-screen {
    max-width: 360px;
  }
}

@media (max-width: 800px) {
  .hotel-reference-grid,
  .hotel-mobile-ops-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hotel-mobile-op-card {
    padding: 24px;
  }
}

@media (max-width: 680px) {
  .hotel-mobile-ops-grid {
    grid-template-columns: 1fr;
  }

  .hotel-mobile-op-card {
    min-height: 0;
  }

  .hotel-mobile-screen {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 520px) {
  #hotel-references {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  .hotel-reference-grid {
    grid-template-columns: 1fr;
  }

  .hotel-reference-card {
    min-height: 150px;
    padding: 20px;
  }

  .hotel-mobile-op-card {
    gap: 20px;
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotel-reference-card {
    transition: none;
  }

  .hotel-reference-card:hover {
    transform: none;
  }
}
