:root {
  --ink: #17213a;
  --muted: #64708a;
  --primary: #5b4fe9;
  --primary-dark: #473acb;
  --accent: #2fbec4;
  --surface: #ffffff;
  --surface-soft: #f5f7ff;
  --line: #e5e9f4;
  --shadow: 0 20px 50px rgba(55, 61, 118, 0.13);
  --radius-lg: 24px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 88px 0 120px;
  color: white;
  background: linear-gradient(135deg, #5b4fe9 0%, #6656f2 52%, #2fbec4 145%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 -1px;
  height: 72px;
  background: #fbfcff;
  clip-path: polygon(0 68%, 100% 0, 100% 100%, 0 100%);
}

.hero__content { max-width: 850px; text-align: center; }
.hero__content p { max-width: 720px; margin: 18px auto 0; color: rgba(255,255,255,.86); font-size: 1.08rem; }

.hero__glow { position: absolute; z-index: -2; border-radius: 50%; filter: blur(4px); opacity: .22; }
.hero__glow--one { width: 320px; height: 320px; top: -90px; left: -80px; background: #b9f5ff; }
.hero__glow--two { width: 260px; height: 260px; right: -60px; bottom: 20px; background: #ffe3a3; }

.eyebrow,
.section-kicker,
.modal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .76rem;
}

.eyebrow {
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.11);
}

h1 { margin: 18px 0 0; font-size: clamp(2.25rem, 5vw, 4.45rem); line-height: 1.05; letter-spacing: -.045em; }

.hotel-section { padding: 54px 0 88px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}
.section-heading h2 { margin: 4px 0 0; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.section-heading p { max-width: 440px; margin: 0; color: var(--muted); }
.section-kicker, .modal__eyebrow { color: var(--primary); }

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

.hotel-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(45, 51, 94, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.hotel-card:hover {
  transform: translateY(-7px);
  border-color: rgba(91,79,233,.26);
  box-shadow: var(--shadow);
}

.hotel-card__image-wrap { position: relative; height: 230px; overflow: hidden; background: #eef1f8; }
.hotel-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.hotel-card:hover .hotel-card__image { transform: scale(1.045); }

.room-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border-radius: 999px;
  color: white;
  background: rgba(23,33,58,.78);
  backdrop-filter: blur(8px);
  font-size: .76rem;
  font-weight: 750;
}

.hotel-card__body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 24px; }
.hotel-card__number { position: absolute; top: 16px; right: 21px; color: #e4e6f6; font-size: 2.4rem; font-weight: 900; line-height: 1; }
.hotel-card h3 { position: relative; z-index: 1; padding-right: 50px; margin: 0 0 14px; font-size: 1.34rem; line-height: 1.25; }
.hotel-card__summary { margin: 12px 0 18px; color: var(--muted); font-size: .94rem; }

.info-line { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: #49546d; font-size: .91rem; }
.icon { flex: 0 0 18px; width: 18px; margin-top: 2px; color: var(--primary); }
.icon svg { width: 100%; fill: currentColor; }

.hotel-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.hotel-card__meta span { padding: 6px 9px; border-radius: 9px; color: #57627a; background: var(--surface-soft); font-size: .76rem; font-weight: 700; }

.hotel-card__actions, .modal__actions { display: flex; gap: 10px; margin-top: 22px; }

.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { color: white; background: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost { color: var(--ink); border-color: var(--line); background: white; }
.btn--ghost:hover { border-color: rgba(91,79,233,.35); background: var(--surface-soft); }
.hotel-card__actions .btn { flex: 1; }

.notice {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px solid #dbe2ff;
  border-radius: var(--radius-md);
  background: #f5f7ff;
}
.notice p { margin: 0; color: #505c75; }
.notice__icon { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border-radius: 50%; color: white; background: var(--primary); font-weight: 900; }

.site-footer { padding: 26px 0; border-top: 1px solid var(--line); background: white; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer__inner div { display: flex; flex-direction: column; }
.site-footer__inner span { color: var(--muted); font-size: .88rem; }
.site-footer__inner a { color: var(--primary); text-decoration: none; font-weight: 800; }

.modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .2s ease, visibility .2s ease; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14,20,40,.72); backdrop-filter: blur(6px); }
.modal__dialog {
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  width: min(980px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  border-radius: 26px;
  background: white;
  box-shadow: 0 35px 90px rgba(0,0,0,.28);
}
.modal__image-wrap { min-height: 480px; background: #eef1f8; }
.modal__image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.modal__content { overflow-y: auto; padding: 38px; }
.modal__content h2 { margin: 8px 0 24px; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; letter-spacing: -.035em; }
.modal__close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.93); box-shadow: 0 8px 24px rgba(0,0,0,.14); cursor: pointer; font-size: 1.65rem; }
.modal__details { display: grid; gap: 12px; }
.detail-row { display: grid; grid-template-columns: 100px 1fr; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.detail-row__label { color: var(--muted); font-size: .84rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.detail-row a { color: var(--primary); font-weight: 850; text-decoration: none; }
.modal__note { margin: 20px 0 0; padding: 14px 16px; border-radius: 12px; color: #55607a; background: var(--surface-soft); }
.modal__actions .btn { min-width: 130px; }
body.modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .hotel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotel-card:last-child { grid-column: 1 / -1; width: min(560px, 100%); justify-self: center; }
  .modal__dialog { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__image-wrap { min-height: 280px; max-height: 350px; }
  .modal__content { overflow: visible; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1180px); }
  .hero { padding: 68px 0 102px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hotel-grid { grid-template-columns: 1fr; }
  .hotel-card:last-child { grid-column: auto; width: 100%; }
  .hotel-card__image-wrap { height: 235px; }
  .site-footer__inner { align-items: flex-start; flex-direction: column; }
  .modal { padding: 10px; }
  .modal__content { padding: 28px 22px 24px; }
  .modal__image-wrap { min-height: 230px; max-height: 270px; }
}

@media (max-width: 420px) {
  .hotel-card__actions, .modal__actions { flex-direction: column; }
  .detail-row { grid-template-columns: 1fr; gap: 3px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
