*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-page: #020617;
  --bg-shell: #020617;
  --bg-panel: #020617;
  --bg-card: #020617;
  --bg-soft: #0b1120;
  --border-soft: #1f2937;
  --accent-main: #22c55e;
  --accent-alt: #22d3ee;
  --accent-hot: #f97316;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow-soft: 0 22px 60px rgba(15, 23, 42, 0.9);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    sans-serif;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: radial-gradient(circle at 0 0, #22c55e22 0, transparent 60%),
    radial-gradient(circle at 100% 100%, #22d3ee22 0, transparent 60%),
    var(--bg-page);
  line-height: 1.6;
}

/* FRAME */

.site-frame {
  min-height: 100vh;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 1rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* HEADER */

.site-header {
  border-radius: 999px;
  background: radial-gradient(circle at 0 0, #1e293b 0, #020617 60%);
  border: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
  padding: 0.45rem 0.9rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.brand-orb {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: conic-gradient(from 210deg, #22c55e, #22d3ee, #f97316, #22c55e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #020617;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 0 0 2px #020617, 0 0 0 4px rgba(15, 23, 42, 0.95),
    0 16px 40px rgba(15, 23, 42, 0.95);
}

.brand-orb a {
  color: inherit;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  font-weight: 650;
}

.brand-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.header-center {
  display: flex;
  justify-content: center;
}

.nav-main {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 0.18rem;
  border: 1px solid #111827;
}

.nav-main ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-main a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.16s ease, color 0.16s ease, transform 0.12s ease;
}

.nav-main a span.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1f2937;
}

.nav-main a:hover {
  background: #020617;
  color: #f9fafb;
  transform: translateY(-1px);
}

.nav-main a:hover span.dot {
  background: var(--accent-main);
}

.header-right {
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.header-right a {
  color: var(--accent-alt);
  text-decoration: none;
  font-weight: 500;
}

.header-right a:hover {
  text-decoration: underline;
}
.nav-toggle {
  display: none; /* по замовчуванню прихована, видно тільки на мобі */
  margin-left: 0.6rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid #1f2937;
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  margin: 3px 0;
}

/* INFO STRIP */

.info-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  padding-inline: 0.2rem;
}

.info-strip .geo-pill {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #1f2937;
  background: rgba(15, 23, 42, 0.9);
}

.info-strip .geo-pill strong {
  color: #e5e7eb;
}

/* MAIN LAYOUT */

.main-layout {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 1.1rem;
  margin-top: 0.3rem;
}

@media (max-width: 980px) {
  .main-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* HERO LEFT */

.hero-left {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, #22c55e22 0, transparent 60%),
    radial-gradient(circle at 100% 100%, #22d3ee11 0, transparent 60%), #020617;
  border: 1px solid #111827;
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hero-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.05;
}

.hero-title span {
  color: var(--accent-main);
}

.hero-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-pill {
  font-size: 0.78rem;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  border: 1px dashed #16a34a;
  background: rgba(22, 163, 74, 0.12);
  color: #bbf7d0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
}

.hero-card {
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid #1f2937;
  padding: 0.7rem 0.8rem;
  font-size: 0.86rem;
}

.hero-card strong {
  display: block;
  margin-bottom: 0.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(115deg, #22c55e, #22d3ee);
  color: #020617;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1px solid #1f2937;
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.btn-ghost span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #1f2937;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
}

/* HERO RIGHT */

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rooms-strip {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, #22d3ee20 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #f9731620 0, transparent 55%), #020617;
  border: 1px solid #111827;
  padding: 0.8rem 0.8rem 0.85rem;
  box-shadow: var(--shadow-soft);
}

.rooms-strip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.rooms-strip-header strong {
  color: #e5e7eb;
}

.rooms-list {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
}

.room-card {
  min-width: 180px;
  max-width: 220px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid #1f2937;
  padding: 0.55rem 0.65rem 0.65rem;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.room-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.room-name {
  font-size: 0.9rem;
  margin: 0.18rem 0;
}

.room-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.room-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-alt);
  display: inline-block;
  margin-right: 0.25rem;
}

.hero-form-panel {
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid #1f2937;
  padding: 0.85rem 0.9rem 0.9rem;
  box-shadow: var(--shadow-soft);
  font-size: 0.82rem;
}

.hero-form-panel h2 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.hero-form-panel p {
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.hero-form-panel label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-form-panel input,
.hero-form-panel textarea {
  width: 100%;
  margin-top: 0.14rem;
  margin-bottom: 0.48rem;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #020617;
  color: var(--text-main);
  font: inherit;
  font-size: 0.84rem;
}

.hero-form-panel textarea {
  resize: vertical;
  min-height: 64px;
}

/* SECTIONS */

.section {
  margin-top: 1.8rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.3rem;
  margin-bottom: 1.1rem;
}

.section-kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, #22c55e, #22d3ee);
}

.section-title {
  font-size: 1.3rem;
}

.section-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 30rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
}

.card {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid #1f2937;
  box-shadow: var(--shadow-soft);
  padding: 0.75rem 0.85rem 0.8rem;
  font-size: 0.86rem;
}

.card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4ade80;
  margin-bottom: 0.25rem;
}

.card h3 {
  font-size: 0.96rem;
  margin-bottom: 0.3rem;
}

.card p {
  color: var(--text-muted);
}

/* CONTENT LAYOUT */

.content-layout {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 1.4rem;
}

.content-main h1 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.content-main h2 {
  font-size: 1.02rem;
  margin-top: 0.7rem;
  margin-bottom: 0.35rem;
}

.content-main p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.content-main ul,
.content-main ol {
  margin-left: 1.2rem;
  margin-bottom: 0.7rem;
}

.content-main li {
  margin-bottom: 0.25rem;
}

.aside-box {
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed #1f2937;
  padding: 0.7rem 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

.aside-box h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.illustration {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid #1f2937;
  padding: 0.7rem;
  background: radial-gradient(circle at 0 0, #22d3ee22 0, transparent 55%),
    radial-gradient(circle at 100% 100%, #22c55e11 0, transparent 55%), #020617;
  margin-bottom: 0.7rem;
}

.illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.illustration figcaption {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* FORMS GENERIC */

form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

form input,
form textarea {
  width: 100%;
  margin-top: 0.16rem;
  margin-bottom: 0.6rem;
  padding: 0.48rem 0.6rem;
  border-radius: 10px;
  border: 1px solid #1f2937;
  background: #020617;
  color: var(--text-main);
  font: inherit;
  font-size: 0.88rem;
}

form textarea {
  resize: vertical;
  min-height: 110px;
}

/* FOOTER */

.site-footer {
  margin-top: 1.2rem;
  border-radius: 18px;
  border: 1px solid #111827;
  background: radial-gradient(circle at 0 0, #1f2937 0, #020617 60%);
  padding: 0.7rem 1rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.site-footer a {
  color: var(--accent-alt);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.8rem;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cookie-banner a {
  color: #bfdbfe;
  text-decoration: underline;
}

.cookie-banner button {
  border-radius: 999px;
  border: none;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  cursor: pointer;
  background: linear-gradient(115deg, #22c55e, #22d3ee);
  color: #020617;
  font-weight: 600;
}

/* MEDIA */

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    row-gap: 0.4rem;
    align-items: center;
  }

  .header-left {
    grid-column: 1 / 2;
  }

  .header-right {
    grid-column: 2 / 3;
    justify-self: end;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .header-contact {
    font-size: 0.72rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-center {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    width: 100%;
  }

  .nav-main {
    display: none; /* сховано, поки не відкрито меню */
    width: 100%;
    margin-top: 0.2rem;
  }

  .nav-main--open {
    display: block; /* показуємо при відкритті */
  }

  .nav-main ul {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .nav-main a {
    width: 48%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-frame {
    padding-inline: 0.7rem;
  }
  .main-layout {
    gap: 0.9rem;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* === Styl poziomego paska przewijania w sekcji "rooms-list" === */

.rooms-list {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #22c55e88 transparent;
}

/* WebKit (Chrome, Edge, Opera, Safari) */
.rooms-list::-webkit-scrollbar {
  height: 6px; /* wysokość poziomego paska */
}

.rooms-list::-webkit-scrollbar-track {
  background: transparent; /* bez tła, zlewa się z blokiem */
  border-radius: 999px;
}

.rooms-list::-webkit-scrollbar-thumb {
  background: #1f2937; /* ciemny, dyskretny kciuk */
  border-radius: 999px;
  border: 1px solid #020617;
}

.rooms-list::-webkit-scrollbar-thumb:hover {
  background-image: linear-gradient(90deg, #22c55e, #22d3ee);
  border-color: #020617;
}

/* Opcjonalnie – pokazuj pasek tylko przy hover na bloku z kartami */
.rooms-strip {
  overflow: hidden;
}

.rooms-strip:hover .rooms-list {
  overflow-x: auto;
}
