:root {
  --bg: #0f1220;
  --bg-soft: #171b2f;
  --card: #1d2239;
  --text: #e9ecff;
  --muted: #a7afd4;
  --primary: #6c7dff;
  --primary-2: #42d8ff;
  --accent: #8dffbf;
  --danger: #ff7070;
  --ok: #7ef7a0;
  --shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% -10%, rgba(108, 125, 255, 0.20), transparent 45%),
    radial-gradient(700px 500px at 90% 10%, rgba(66, 216, 255, 0.18), transparent 50%),
    linear-gradient(180deg, #0d1020 0%, #0f1220 50%, #0b0f1c 100%);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
}

.section h2 {
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.06;
  margin-top: 16px;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section p.lead {
  color: var(--muted);
  max-width: 760px;
  font-size: clamp(16px, 2.4vw, 19px);
}

header {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 16, 32, 0.75);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: .02em;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}

.brand-name {
  min-width: 0;
  line-height: 1.25;
  font-size: clamp(14px, 3.5vw, 16px);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 8px 18px rgba(108, 125, 255, .4);
  font-size: 14px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: .25s color ease;
}

.nav-links a:hover {
  color: #fff;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s transform ease, .25s box-shadow ease, .25s background ease;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.btn:active {
  transform: translateY(1px) scale(.995);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 14px 28px rgba(108, 125, 255, .35);
}

.btn-primary:hover {
  box-shadow: 0 16px 32px rgba(108, 125, 255, .44);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.hero {
  padding: 66px 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 16px 0 20px;
}

.highlight {
  background: linear-gradient(130deg, #fff 0%, #c6d0ff 45%, #8de9ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  color: var(--muted);
  max-width: 640px;
  font-size: clamp(17px, 2.8vw, 21px);
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-stats {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 12px;
  max-width: 650px;
}

.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.stat b {
  display: block;
  font-size: clamp(20px, 4vw, 30px);
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.room {
  aspect-ratio: 5 / 4;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(66, 216, 255, .26), rgba(108, 125, 255, .22)),
    linear-gradient(180deg, #273256 0%, #1a2240 55%, #161d37 100%);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
}

.room::before, .room::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(35px);
  opacity: .7;
}

.room::before {
  width: 180px;
  height: 180px;
  background: rgba(141, 255, 191, .45);
  top: -40px;
  right: -20px;
}

.room::after {
  width: 220px;
  height: 220px;
  background: rgba(66, 216, 255, .35);
  left: -80px;
  bottom: -80px;
}

.room-label {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(7, 9, 18, .56);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
}

.chip-list {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: #d8defe;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
}

.services-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 18px;
  min-height: 164px;
  transition: .2s transform ease, .25s border-color ease;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(66, 216, 255, 0.55);
}

.service h3 {
  font-size: 20px;
  margin: 8px 0 8px;
}

.service p {
  color: var(--muted);
  font-size: 15px;
}

.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-content: center;
  font-size: 20px;
  background: rgba(108, 125, 255, 0.18);
  border: 1px solid rgba(108, 125, 255, 0.45);
}

.tabs-wrap {
  margin-top: 26px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  overflow: hidden;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.tab-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, .07);
  padding: 15px 10px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s ease;
  font-size: 14px;
}

.tab-btn:last-child {
  border-right: none;
}

.tab-btn[aria-selected="true"] {
  color: #fff;
  background: rgba(108, 125, 255, .18);
}

.tab-panel {
  display: none;
  padding: 20px;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

.tab-panel.active {
  display: grid;
}

.tab-panel h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.tab-panel p {
  color: var(--muted);
  margin-bottom: 10px;
}

.price {
  white-space: nowrap;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
}

.reviews-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  padding: 18px;
}

.review .stars {
  font-size: 16px;
  color: #ffd96a;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.review p {
  color: #dfe3fd;
  margin-bottom: 12px;
}

.review small {
  color: var(--muted);
}

.contact-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.contact-item {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .11);
}

.contact-item span {
  color: var(--muted);
  font-size: 13px;
  display: block;
}

.contact-item b {
  font-size: 16px;
}

form {
  display: grid;
  gap: 11px;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, .05);
  color: #fff;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

select option {
  color: #0f1220;
}

input::placeholder, textarea::placeholder {
  color: #b6bddf;
}

input:focus, textarea:focus, select:focus {
  border-color: rgba(66, 216, 255, 0.85);
  box-shadow: 0 0 0 4px rgba(66, 216, 255, 0.18);
}

textarea {
  resize: vertical;
  min-height: 114px;
}

.consent {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.consent input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.form-status {
  min-height: 20px;
  font-size: 14px;
}

.form-status.ok {
  color: var(--ok);
}

.form-status.error {
  color: var(--danger);
}

footer {
  border-top: 1px solid rgba(255, 255, 255, .09);
  margin-top: 70px;
  padding: 24px 0 28px;
  color: var(--muted);
  font-size: clamp(13px, 2.8vw, 14px);
}

.footer-copy {
  text-align: center;
  margin: 0 auto;
  max-width: min(100%, 40rem);
  padding-inline: 6px;
  line-height: 1.55;
  text-wrap: balance;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: .55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .services-grid, .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 730px) {
  .section {
    padding: 68px 0;
  }

  .nav {
    align-items: flex-start;
  }

  .nav-links {
    gap: 12px;
  }

  .services-grid, .reviews-grid, .row-2, .tabs {
    grid-template-columns: 1fr;
  }

  .tab-panel {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
