@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

:root {
  --sand: #dec3aa;
  --sand-deep: #d3b397;
  --dark: #44484a;
  --dark-soft: #5b5d5e;
  --muted: #9a9a9a;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(47, 43, 39, 0.22);
  --container: 1220px;
  --radius: 8px;
  --ease: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--dark);
  background: var(--sand);
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  animation: page-fade 640ms ease both;
}

button,
input,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
input {
  border: 0;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 96px));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 44px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform var(--ease),
    box-shadow var(--ease),
    filter var(--ease),
    background-color var(--ease);
}

.btn:focus-visible {
  transform: scale(1.045);
  filter: brightness(0.94);
  box-shadow:
    0 0 24px rgba(255, 255, 255, 0.34),
    var(--shadow);
  outline: none;
}

.btn--light {
  color: var(--dark);
  background: var(--white);
}

.btn--dark {
  color: var(--white);
  background: var(--dark);
}

.btn--muted {
  color: var(--white);
  background: var(--muted);
}

.site-header {
  position: relative;
  z-index: 5;
  background: var(--sand);
}

.site-header--home {
  position: absolute;
  inset: 0 0 auto;
  background: transparent;
}

.site-header__inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.site-logo {
  flex: 0 0 auto;
}

.site-logo img {
  width: 249px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 68px);
  font-weight: 600;
}

.site-nav__link {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition:
    font-weight var(--ease),
    color var(--ease);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--ease);
}

.site-nav__link:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  font-weight: 900;
}

.hero {
  min-height: 595px;
  position: relative;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
    url("../images/hero-bg.png") center / cover no-repeat;
  color: var(--white);
  padding: 132px 0 58px;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__title {
  margin: 0;
  text-align: center;
  font-size: clamp(4.8rem, 10vw, 8.7rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--white);
  animation: title-rise 820ms ease 120ms both;
}

.search-panel {
  width: min(820px, 100%);
  min-height: 74px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr 62px;
  align-items: center;
  margin: 112px auto 0;
  padding: 9px 10px 9px 30px;
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.search-panel__field {
  display: grid;
  gap: 2px;
  padding: 0 16px;
  border-right: 1px solid rgba(68, 72, 74, 0.22);
}

.search-panel__field:first-child {
  padding-left: 0;
}

.search-panel__field span,
.booking-field span {
  font-size: 1rem;
  font-weight: 800;
}

.search-panel input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--dark);
  background: transparent;
  outline: none;
}

.search-panel input::placeholder,
.booking-form input::placeholder {
  color: #b6b6b6;
  font-weight: 600;
  font-size: 12px;
}

.search-panel__submit {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark);
  transition:
    transform var(--ease),
    filter var(--ease),
    box-shadow var(--ease);
}

.search-panel__submit:focus-visible {
  transform: scale(1.08);
  filter: brightness(0.92);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.46);
  outline: none;
}

.search-panel__submit img {
  width: 25px;
  height: 25px;
}

.home-promo {
  min-height: 480px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05)),
    url("../images/reservation.png") center / cover no-repeat;
  color: var(--white);
}

.home-promo__copy {
  width: min(430px, 100%);
}

.home-promo h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.home-promo p {
  max-width: 380px;
  margin: 0 0 34px;
  font-size: 1.16rem;
  font-weight: 600;
}

.newsletter {
  overflow: hidden;
  background: var(--sand);
}

.newsletter__inner {
  min-height: 118px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 44px;
  align-items: center;
}

.newsletter h2,
.newsletter p {
  margin: 0;
}

.newsletter h2 {
  font-size: 1.25rem;
}

.newsletter p {
  margin-top: 4px;
  font-weight: 500;
}

.newsletter__form {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr 58px;
  align-items: center;
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--ease);
}

.newsletter__form:focus-within {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.36),
    var(--shadow);
}

.newsletter__form input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 28px;
  color: var(--dark);
  background: transparent;
  outline: none;
}

.newsletter__form button {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--muted);
  transition:
    transform var(--ease),
    filter var(--ease),
    box-shadow var(--ease);
}

.newsletter__form button:focus-visible {
  transform: scale(1.06);
  filter: brightness(0.92);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
  outline: none;
}

.newsletter__form img {
  width: 32px;
}

.main-footer {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  background: var(--sand-deep);
}

.main-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/footer-bg.jpg") center bottom / cover no-repeat;
  opacity: 0.34;
}

.main-footer > .container {
  position: relative;
  z-index: 1;
}

.main-footer__map {
  width: min(840px, 78%);
  margin: 0 auto 66px;
  aspect-ratio: 1.9;
  object-fit: cover;
}

.main-footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.main-footer h2 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 1;
}

.main-footer h3 {
  margin: 0 0 28px;
  font-size: 1.35rem;
}

.main-footer p {
  max-width: 390px;
  margin: 0 0 20px;
  font-weight: 500;
}

.main-footer__school {
  width: 219px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.main-footer__contacts {
  font-style: normal;
}

.socials {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

.socials a {
  transition:
    transform var(--ease),
    filter var(--ease);
}

.socials a:focus-visible {
  transform: translateY(-3px);
  filter: brightness(0.8);
  outline: none;
}

.socials img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.catalog-page,
.about-page {
  min-height: 100vh;
  background: var(--sand);
}

.catalog-main {
  padding: 78px 0 106px;
}

.room-grid,
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 52px;
  row-gap: 66px;
}

.shop-grid {
  row-gap: 92px;
}

.room-card,
.shop-card,
.reason-card {
  min-width: 0;
}

.room-card {
  cursor: pointer;
  outline: none;
  transition: transform var(--ease);
}

.room-card:focus-visible {
  transform: translateY(-9px);
}

.catalog-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #c6a98f;
}

.catalog-card__media img,
.shop-card img,
.reason-card img,
.about-intro img {
  width: 100%;
  object-fit: cover;
  transition:
    transform 320ms ease,
    filter 320ms ease;
}

.catalog-card__media img {
  aspect-ratio: 1.13;
}

.favorite-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d6d6d6;
  background: transparent;
  font-size: 2.4rem;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  transition:
    transform var(--ease),
    color var(--ease),
    text-shadow var(--ease);
}

.favorite-btn:focus-visible {
  transform: scale(1.18);
  color: var(--white);
  outline: none;
}

.favorite-btn.is-active {
  color: #ffffff;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.75),
    0 2px 8px rgba(0, 0, 0, 0.42);
}

.price-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  min-width: 42%;
  padding: 16px 22px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0));
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 800;
  opacity: 0.78;
  transform: translateY(5px);
  transition:
    opacity var(--ease),
    transform var(--ease);
}

.room-card:focus-visible .price-badge {
  opacity: 1;
  transform: translateY(0);
}

.image-dots {
  position: absolute;
  right: 22px;
  bottom: 21px;
  display: flex;
  gap: 8px;
}

.image-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--white);
}

.room-card h2,
.shop-card h2,
.reason-card h3 {
  margin: 26px 0 8px;
  font-size: clamp(1.12rem, 1.6vw, 1.38rem);
  line-height: 1.12;
}

.room-card p,
.shop-card p,
.reason-card p {
  margin: 0;
  color: var(--dark);
  font-weight: 700;
}

.shop-card {
  border-radius: var(--radius);
}

.shop-card img {
  aspect-ratio: 1.1;
  border-radius: var(--radius);
}

.shop-card__image {
  cursor: pointer;
}

.shop-card__image:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 4px;
}

.shop-card h2 {
  margin-top: 28px;
}

.shop-card__buy {
  min-height: 42px;
  margin-top: 18px;
  padding: 0 28px;
  font-size: 0.9rem;
}

.shop-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: rgba(68, 72, 74, 0.86);
  opacity: 0;
  transition: opacity 260ms ease;
}

.shop-modal[hidden] {
  display: none;
}

.shop-modal.is-open {
  opacity: 1;
}

.shop-modal__content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.shop-modal.is-open .shop-modal__content {
  opacity: 1;
  transform: scale(1);
}

.shop-modal__image {
  width: auto;
  max-width: min(1180px, 100%);
  max-height: calc(100vh - 96px);
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.shop-modal__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--dark);
  background: var(--white);
  font-size: 2rem;
  line-height: 1;
}

.shop-modal__close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 4px;
}

.about-main {
  padding: 86px 0 96px;
}

.about-intro {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 108px;
  align-items: center;
}

.about-intro img {
  aspect-ratio: 1.1;
  border-radius: var(--radius);
}

.about-intro h1 {
  margin: 0 0 34px;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.about-intro p {
  max-width: 660px;
  margin: 0 0 48px;
  color: var(--dark-soft);
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  line-height: 1.55;
  font-weight: 500;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.reasons {
  margin-top: 132px;
}

.reasons h2 {
  margin: 0 0 42px;
  font-size: clamp(3rem, 5.7vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.reason-card img {
  aspect-ratio: 1.16;
  border-radius: var(--radius);
}

.reason-card h3 {
  margin-top: 28px;
}

.reason-card p {
  max-width: 360px;
  line-height: 1.2;
}

.utility-page {
  min-height: 100vh;
  background: var(--sand);
}

.utility-main {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 48px 80px;
}

.utility-logo {
  position: absolute;
  top: 42px;
  left: max(48px, calc((100vw - var(--container)) / 2));
}

.utility-logo img {
  width: 249px;
}

.utility-main h1 {
  position: absolute;
  top: 54px;
  left: max(48px, calc((100vw - var(--container)) / 2));
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
}

.booking-page .utility-logo {
  display: none;
}

.booking-panel {
  width: min(760px, 100%);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  transition: box-shadow var(--ease);
}

.booking-field {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 0 54px;
  background: var(--white);
}

.booking-field:first-child {
  border-radius: 999px 0 0 999px;
}

.booking-field:nth-child(2) {
  border-radius: 0 999px 999px 0;
}

.booking-field select,
.booking-field input {
  width: 100%;
  min-width: 0;
  color: var(--dark);
  background: transparent;
  font-size: 1.28rem;
  font-weight: 700;
  outline: none;
}

.booking-form p {
  grid-column: 1 / -1;
  margin: 34px 0 28px;
  text-align: center;
  color: var(--dark-soft);
  font-size: 1.05rem;
  font-weight: 600;
}

.booking-form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  min-width: 236px;
}

.confirmation-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: rgba(222, 195, 170, 0.92);
}

.confirmation-modal[hidden] {
  display: none;
}

.confirmation-modal__content {
  display: grid;
  gap: 24px;
  justify-items: center;
  animation: title-rise 360ms ease both;
}

.confirmation-modal__content p {
  min-width: min(430px, calc(100vw - 64px));
  margin: 0;
  padding: 25px 42px;
  border-radius: 28px;
  color: var(--white);
  background: var(--dark);
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
}

.confirmation-modal__content .btn {
  min-width: 290px;
}

.error-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  text-align: center;
}

.error-code {
  margin: 0 0 36px;
  font-size: clamp(7rem, 16vw, 12rem);
  line-height: 0.8;
  font-weight: 900;
}

.error-main h1 {
  margin: 0 0 22px;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.1;
}

.error-main p:not(.error-code) {
  max-width: 560px;
  margin: 0 0 36px;
  color: rgba(68, 72, 74, 0.43);
  font-size: 1.35rem;
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter.reveal,
.main-footer.reveal {
  opacity: 1;
  transform: none;
}

.newsletter.reveal .newsletter__inner,
.main-footer.reveal > .container {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 680ms ease,
    transform 680ms ease;
}

.newsletter.reveal.is-visible .newsletter__inner,
.main-footer.reveal.is-visible > .container {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: scale(1.045);
    filter: brightness(0.94);
    box-shadow:
      0 0 24px rgba(255, 255, 255, 0.34),
      var(--shadow);
    outline: none;
  }

  .site-nav__link:hover::after {
    transform: scaleX(1);
  }

  .search-panel__submit:hover {
    transform: scale(1.08);
    filter: brightness(0.92);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.46);
    outline: none;
  }

  .newsletter__form:hover {
    box-shadow:
      0 0 0 3px rgba(255, 255, 255, 0.36),
      var(--shadow);
  }

  .newsletter__form button:hover {
    transform: scale(1.06);
    filter: brightness(0.92);
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.4);
    outline: none;
  }

  .socials a:hover {
    transform: translateY(-3px);
    filter: brightness(0.8);
    outline: none;
  }

  .room-card:hover {
    transform: translateY(-9px);
  }

  .room-card:hover .catalog-card__media img,
  .shop-card:hover img,
  .reason-card:hover img,
  .about-intro img:hover {
    transform: scale(1.025);
    filter: brightness(1.07);
  }

  .favorite-btn:hover {
    transform: scale(1.18);
    color: var(--white);
    outline: none;
  }

  .room-card:hover .price-badge {
    opacity: 1;
    transform: translateY(0);
  }

  .booking-page .btn:hover {
    transform: none;
    filter: none;
    box-shadow: none;
  }
}

@keyframes page-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes title-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .container {
    width: min(var(--container), calc(100% - 56px));
  }

  .site-header__inner {
    gap: 22px;
  }

  .site-logo img {
    width: 190px;
  }

  .site-nav {
    gap: 22px;
    font-size: 0.98rem;
  }

  .btn {
    min-height: 52px;
    padding: 0 32px;
  }

  .site-header .btn {
    min-height: 50px;
    padding: 0 20px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 530px;
  }

  .search-panel {
    margin-top: 76px;
  }

  .room-grid,
  .shop-grid,
  .reasons__grid {
    gap: 42px 32px;
  }

  .catalog-main {
    padding-top: 58px;
  }

  .about-intro {
    gap: 42px;
  }

  .about-intro p {
    margin-bottom: 30px;
  }

  .reasons {
    margin-top: 96px;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .site-header__inner {
    min-height: 132px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px 18px;
    padding: 18px 0;
  }

  .site-logo img {
    width: 176px;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    font-size: 0.98rem;
  }

  .site-header .btn {
    min-height: 44px;
    padding: 0 22px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 600px;
    padding-top: 164px;
    align-items: start;
  }

  .hero__title {
    margin-top: 24px;
    font-size: clamp(2.4rem, 14vw, 5.1rem);
  }

  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 54px;
    padding: 16px;
    border-radius: 28px;
  }

  .search-panel__field {
    min-height: 54px;
    padding: 0 12px 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(68, 72, 74, 0.18);
  }

  .search-panel__field:nth-child(3) {
    padding-left: 0 !important;
  }

  .search-panel__submit {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: 999px;
  }

  .search-panel input::placeholder,
  .booking-form input::placeholder {
    color: #b6b6b6;
    font-weight: 600;
    font-size: 10px;
  }

  .home-promo {
    min-height: 430px;
    background-position: 62% center;
  }

  .newsletter__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .main-footer {
    padding-top: 44px;
  }

  .main-footer__map {
    width: 100%;
    margin-bottom: 48px;
  }

  .main-footer__content,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .room-grid,
  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 22px;
  }

  .room-card h2,
  .shop-card h2,
  .reason-card h3 {
    margin-top: 18px;
    font-size: 1rem;
  }

  .room-card p,
  .shop-card p,
  .reason-card p {
    font-size: 0.88rem;
  }

  .shop-card__buy {
    min-height: 38px;
    margin-top: 14px;
    padding: 0 22px;
    font-size: 0.78rem;
  }

  .shop-modal {
    padding: 20px;
  }

  .shop-modal__image {
    max-height: calc(100vh - 40px);
  }

  .shop-modal__close {
    width: 42px;
    height: 42px;
    font-size: 1.7rem;
  }

  .favorite-btn {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.9rem;
  }

  .price-badge {
    padding: 10px 12px;
    font-size: 0.86rem;
  }

  .image-dots {
    right: 12px;
    bottom: 12px;
    gap: 5px;
  }

  .image-dots i {
    width: 7px;
    height: 7px;
  }

  .about-main {
    padding-top: 48px;
  }

  .about-intro__copy {
    order: -1;
  }

  .about-intro h1,
  .reasons h2 {
    font-size: 2.7rem;
  }

  .about-intro p {
    font-size: 1rem;
  }

  .reasons {
    margin-top: 72px;
  }

  .reasons__grid {
    grid-template-columns: 1fr;
  }

  .utility-main {
    padding: 110px 22px 60px;
  }

  .utility-main h1,
  .utility-logo {
    left: 22px;
  }

  .utility-logo img {
    width: 180px;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .booking-field,
  .booking-field:first-child,
  .booking-field:nth-child(2) {
    min-height: 78px;
    padding: 0 28px;
    border-radius: 28px;
  }

  .booking-field + .booking-field {
    margin-top: 12px;
  }

  .booking-form p {
    font-size: 0.92rem;
  }
}

@media (max-width: 430px) {
  .site-logo img {
    width: 154px;
  }

  .site-nav {
    font-size: 0.9rem;
  }

  .site-header .btn {
    padding: 0 16px;
  }

  .room-grid,
  .shop-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card__media img,
  .shop-card img {
    aspect-ratio: 1.18;
  }

  .main-footer__school {
    width: 127px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
