:root {
  color-scheme: dark;
  --bg: #050807;
  --panel: #0b1514;
  --panel-strong: #101c1a;
  --text: #f5f4e8;
  --muted: #b9c4bb;
  --green: #18eba2;
  --cyan: #20c6ff;
  --red: #eb2a51;
  --gold: #f4c246;
  --line: rgba(255, 255, 255, .13);
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5, 8, 7, .96), rgba(13, 5, 7, .98) 60%, #050807),
    var(--bg);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 7, .84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  border-radius: 8px;
}

.brand:focus-visible,
.nav-link:focus-visible,
.btn:focus-visible,
.text-link:focus-visible,
.menu-toggle:focus-visible,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.brand img {
  width: 270px;
  height: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: rgba(24, 235, 162, .1);
  box-shadow: inset 0 0 0 1px rgba(24, 235, 162, .25);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 78px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 6, .94) 0%, rgba(4, 7, 6, .74) 36%, rgba(4, 7, 6, .34) 72%),
    linear-gradient(180deg, rgba(4, 7, 6, .2), rgba(4, 7, 6, .92));
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 132px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 82px);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(26px, 3vw, 42px);
}

h3 {
  font-size: 22px;
}

p {
  color: var(--muted);
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  font-size: clamp(17px, 2vw, 21px);
  color: #e2eadf;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #06100e;
  background: var(--green);
  box-shadow: 0 0 26px rgba(24, 235, 162, .28);
}

.btn.primary:hover {
  background: #5dffd1;
}

.btn.ghost,
.btn.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
}

.btn.ghost:hover,
.btn.secondary:hover {
  border-color: rgba(244, 194, 70, .55);
  box-shadow: 0 0 24px rgba(244, 194, 70, .16);
}

.hero-strip {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  background: rgba(7, 15, 14, .72);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: #eaf8ee;
  font-weight: 800;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.hero-strip span:last-child {
  border-right: 0;
}

.signal-band,
.content-grid,
.feature-grid,
.split-panel,
.faq-block,
.page-hero,
.article-layout,
.room-grid,
.contact-grid,
.policy-page,
.not-found {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 28px 0 12px;
}

.band-item {
  min-height: 108px;
  padding: 22px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
}

.band-item strong {
  display: block;
  color: var(--green);
  font-size: 30px;
  line-height: 1;
}

.band-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.content-grid,
.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, .88fr);
  gap: 36px;
  align-items: center;
  padding: 72px 0;
}

.content-grid img,
.split-panel img,
.page-hero img {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 32px 0 82px;
}

.feature-card {
  min-width: 0;
  background: rgba(255, 255, 255, .048);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(24, 235, 162, .5);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .3);
}

.card-media {
  display: block;
  aspect-ratio: 1.35;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.feature-card:hover .card-media img {
  transform: scale(1.04);
}

.card-body {
  padding: 20px;
}

.card-body p {
  min-height: 106px;
  margin: 12px 0 16px;
  font-size: 15px;
}

.text-link {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--gold);
}

.split-panel {
  margin-bottom: 64px;
  padding: 42px;
  border: 1px solid rgba(244, 194, 70, .22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(244, 194, 70, .08), rgba(24, 235, 162, .05));
}

.faq-block {
  padding: 72px 0 92px;
}

.wide-faq {
  max-width: 920px;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 52px 18px 20px;
  color: var(--text);
  font-weight: 850;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--green);
  font-size: 26px;
  line-height: 1;
}

.faq-item[open] {
  border-color: rgba(24, 235, 162, .45);
  box-shadow: 0 0 28px rgba(24, 235, 162, .08);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 20px 20px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .8fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0 44px;
}

.compact-hero h1 {
  font-size: clamp(38px, 5vw, 66px);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 24px 0 88px;
  align-items: start;
}

.article-card,
.note-panel,
.contact-panel,
.contact-form {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
  box-shadow: var(--shadow);
}

.article-card {
  padding: clamp(24px, 4vw, 46px);
}

.article-card h2 + p,
.policy-page h2 + p {
  margin-top: 12px;
}

.article-card h2:not(:first-child),
.policy-page h2:not(:first-child) {
  margin-top: 34px;
}

.note-panel {
  padding: 24px;
  position: sticky;
  top: 98px;
}

.note-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.note-panel li + li {
  margin-top: 10px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 24px 0 88px;
}

.room-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .025));
  transition: transform .18s ease, border-color .18s ease;
}

.room-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 194, 70, .55);
}

.room-grid span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 8px;
  color: #06100e;
  background: var(--gold);
  font-weight: 900;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 24px 0 90px;
}

.contact-panel,
.contact-form {
  padding: 28px;
}

.contact-panel a {
  color: var(--green);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text);
  background: rgba(0, 0, 0, .28);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.policy-page {
  max-width: 900px;
  padding: 72px 0 96px;
}

.not-found {
  min-height: 62vh;
  display: grid;
  align-content: center;
  padding: 80px 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #030605;
}

.footer-grid {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 36px;
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr .9fr;
  gap: 32px;
}

.footer-logo {
  width: 210px;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 17px;
}

.site-footer a {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
}

.footer-bottom {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #89948c;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

@media (max-width: 1050px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .primary-nav {
    position: fixed;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 8, 7, .96);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-toggle {
    display: block;
  }
}

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

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(4, 7, 6, .62), rgba(4, 7, 6, .94)),
      linear-gradient(90deg, rgba(4, 7, 6, .92), rgba(4, 7, 6, .44));
  }

  .hero-content {
    padding-top: 70px;
  }

  .hero-strip,
  .signal-band,
  .content-grid,
  .split-panel,
  .page-hero,
  .article-layout,
  .room-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(var(--max), calc(100% - 36px));
    margin: -96px auto 28px;
  }

  .hero-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
  }

  .hero-strip span:last-child {
    border-bottom: 0;
  }

  .content-grid,
  .split-panel {
    padding: 52px 0;
  }

  .split-panel {
    padding: 26px;
  }

  .page-hero {
    padding-top: 48px;
  }

  .article-layout {
    padding-bottom: 64px;
  }

  .note-panel {
    position: static;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .signal-band,
  .content-grid,
  .feature-grid,
  .split-panel,
  .faq-block,
  .page-hero,
  .article-layout,
  .room-grid,
  .contact-grid,
  .policy-page,
  .not-found,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, var(--max));
  }

  .brand img {
    width: 218px;
  }

  .hero-content {
    width: min(100% - 24px, var(--max));
  }

  .primary-nav.open {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(31px, 9vw, 38px);
    overflow-wrap: normal;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

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

  .card-body p {
    min-height: 0;
  }
}
