:root {
  color-scheme: light;
  --ink: #15201f;
  --muted: #62716e;
  --paper: #f4f1e9;
  --surface: #ffffff;
  --soft: #edf5f2;
  --line: rgba(21, 32, 31, 0.13);
  --teal: #0b6e71;
  --teal-dark: #063f43;
  --blue: #1f5b9d;
  --gold: #b58e43;
  --coral: #cf6c53;
  --shadow: 0 18px 50px rgba(16, 31, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(11, 110, 113, 0.12), transparent 330px),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

figure {
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
}

.app {
  width: min(100%, 1080px);
  margin: 0 auto;
  background: rgba(244, 241, 233, 0.96);
}

.hero {
  position: relative;
  min-height: clamp(540px, 74vh, 760px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(4, 24, 25, 0.28) 0%, rgba(4, 24, 25, 0.18) 40%, rgba(4, 24, 25, 0.74) 100%),
    radial-gradient(circle at 50% 48%, rgba(4, 24, 25, 0.08), rgba(4, 24, 25, 0.54) 72%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  display: grid;
  gap: clamp(28px, 6vh, 54px);
  justify-self: center;
  padding: clamp(24px, 5vw, 46px) clamp(18px, 5vw, 42px);
  text-align: left;
}

.hero__top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__top p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}

.avatar {
  width: 82px;
  height: 82px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.kicker {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: #f5d38a;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 2.5vw, 1.24rem);
  line-height: 1.56;
}

.quickbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px clamp(12px, 4vw, 28px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.9);
  backdrop-filter: blur(18px);
}

.quickbar__link {
  min-height: 54px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.quickbar__link:first-child {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.quickbar__link.is-disabled {
  color: rgba(6, 63, 67, 0.48);
  cursor: default;
}

.quickbar__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  line-height: 1;
}

.quickbar__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.quickbar__icon--telegram {
  color: #229ed9;
}

.quickbar__icon--max {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
}

.quickbar__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.section {
  padding: clamp(24px, 5vw, 46px) clamp(14px, 4vw, 42px);
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section--tint {
  background: rgba(237, 245, 242, 0.74);
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section__head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.35rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section__head p {
  max-width: 590px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 900;
}

.grid {
  display: grid;
  gap: 12px;
}

.grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.wifi-card,
.action-card,
.link-card,
.deal-card,
.place-card,
.detail-card,
.mini-card,
.image-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(16, 31, 29, 0.06);
}

.wifi-card,
.action-card,
.mini-card {
  min-height: 148px;
  padding: 18px;
}

.card-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
}

.wifi-card h3 {
  margin: 0 0 8px;
  font-size: 2.1rem;
  line-height: 1;
}

.action-card h3,
.mini-card h3,
.link-card h3,
.deal-card h3,
.place-card h3,
.image-panel h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.wifi-card p,
.action-card p,
.mini-card p,
.link-card p,
.deal-card p,
.place-card p,
.image-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.button-link {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.button-link.is-disabled {
  background: #d9dedb;
  color: #7a8582;
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 16px;
  overflow-wrap: anywhere;
}

.link-card__arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(207, 108, 83, 0.13);
  color: var(--coral);
  font-size: 1.35rem;
  line-height: 1;
}

.deal-card,
.place-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.deal-card {
  border-top: 4px solid var(--gold);
}

.place-card {
  border-top: 4px solid var(--blue);
}

.place-card--food {
  border-top-color: var(--coral);
}

.card-spacer {
  flex: 1;
}

.card-open {
  width: fit-content;
  margin-top: 14px;
  color: var(--teal);
  font-size: 0.84rem;
  font-weight: 900;
}

.image-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1fr;
  gap: 0;
  min-height: 280px;
  margin-bottom: 14px;
  overflow: hidden;
}

.image-panel__image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: block;
  object-fit: cover;
}

.image-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 4vw, 30px);
}

.accordion {
  display: grid;
  gap: 10px;
}

.accordion--spaced {
  margin-top: 14px;
}

.detail-card {
  overflow: hidden;
}

.detail-card summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  color: var(--teal-dark);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
  overflow-wrap: anywhere;
}

.detail-card summary::-webkit-details-marker {
  display: none;
}

.detail-card summary::after {
  content: "+";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(207, 108, 83, 0.12);
  color: var(--coral);
  font-size: 1.2rem;
}

.detail-card[open] summary::after {
  content: "-";
}

.detail-card__body {
  padding: 0 16px 16px;
  color: var(--muted);
  line-height: 1.56;
}

.detail-card__image {
  width: 100%;
  max-height: 360px;
  display: block;
  object-fit: cover;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.detail-card__text {
  white-space: pre-line;
}

.detail-card--important {
  border-top: 4px solid var(--coral);
}

.detail-card--rules .detail-card__body {
  max-height: 58vh;
  overflow: auto;
  padding-right: 18px;
}

.footer {
  padding: 28px clamp(14px, 4vw, 42px) 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

@media (max-width: 920px) {
  .grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .app {
    width: min(100%, 560px);
  }

  .hero {
    min-height: 560px;
  }

  .grid--three,
  .grid--two {
    grid-template-columns: 1fr;
  }

  .section__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .image-panel {
    grid-template-columns: 1fr;
  }

  .image-panel__image {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 540px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.35rem);
  }

  .avatar {
    width: 68px;
    height: 68px;
  }

  .quickbar {
    gap: 6px;
    padding: 8px;
  }

  .quickbar__link {
    min-height: 50px;
    font-size: 0.68rem;
  }

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

  .link-card {
    grid-template-columns: 1fr;
  }

  .link-card__arrow {
    position: absolute;
    right: 12px;
    bottom: 12px;
  }
}
