/* ===== TOKENS ===== */
:root {
  --bg:            #0b0f14;
  --bg-card:       #1e1e1e;
  --border:        #343434;
  --accent:        #00c0e8;
  --accent-bright: #1edafb;
  --white:         #ffffff;
  --muted:         #8f9fa3;
  --icon-tile-bg:  #002d35;
  --icon-tile-bd:  #414141;

  --maxw: 1512px;
  --radius: 20px;
  --radius-btn: 16px;

  --font-display: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  --font-body:    "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 6.6vw, 100px);
}

.section { padding: 80px 0; }
[id] { scroll-margin-top: 110px; }

/* ===== SHARED HEADINGS ===== */
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 28px;
}
.section__title--center { text-align: center; }
.accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-btn);
  padding: 17px 36px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer;
  white-space: nowrap;
  gap: 8px;
}
.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover {
  box-shadow: 0 8px 28px rgba(0, 192, 232, .35);
  transform: translateY(-2px);
}
.btn--ghost {
  background: var(--bg);
  color: var(--white);
  border: 1px solid var(--white);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 8px 28px rgba(0, 192, 232, .25);
  transform: translateY(-2px);
}
.btn--sm { padding: 13px 28px; }

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 97px;
  z-index: 50;
  display: flex;
  align-items: center;
  background: rgba(11, 15, 20, .3);
  backdrop-filter: blur(1px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo__img { height: 90px; width: auto; object-fit: contain; }
.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}
.nav__link {
  font-weight: 700;
  transition: color .15s ease;
}
.nav__link:hover { color: var(--accent); }
.header__social { display: flex; gap: 14px; align-items: center; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: color .15s ease;
}
.header__phone:hover { color: var(--accent); }
@media (max-width: 600px) {
  .header__phone span { display: none; }
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: color .15s ease, transform .15s ease;
}
.social-icon:hover { color: var(--accent); transform: translateY(-2px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  aspect-ratio: 1512 / 1014;
  min-height: 620px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  background: linear-gradient(120deg, #0b0f14 0%, #1a2530 60%, #243443 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.7) 20%, rgba(0,0,0,.3) 60%, rgba(0,0,0,0) 95%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 260px;
  flex: 1;
}
.hero__badge { position: absolute; }
.hero__accent-break { display: none; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.hero__subtitle {
  font-size: 24px;
  margin-bottom: 40px;
}
.hero__features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 44px;
}
.hero__feature {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  font-size: 16px;
}
.check-circle {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* кнопка остаётся голубой, но кликать пока нельзя */
.btn--soon {
  pointer-events: none;
  cursor: default;
}

.hero__notice {
  box-sizing: border-box;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(56, 189, 248, .08);
  border: 1px solid rgba(56, 189, 248, .28);
  color: #d7e6f2;
  font-size: 14.5px;
  line-height: 1.55;
  width: 100%;
  max-width: 431px;
}

/* плавающая кнопка — тот же голубой стиль, текст «Скоро открытие» */
.floating-badge--soon {
  pointer-events: none;
  cursor: default;
  gap: 6px;
}
.floating-badge--soon .floating-badge-logo {
  width: clamp(52px, 6vw, 78px);
}
.floating-badge--soon span {
  font-size: clamp(13px, 1.3vw, 17px);
  text-align: center;
  line-height: 1.12;
  letter-spacing: .02em;
}

.floating-badge {
  position: fixed;
  right: 28px;
  bottom: 90px;
  z-index: 60;
  width: clamp(110px, 12vw, 150px);
  height: clamp(110px, 12vw, 150px);
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 14px;
  background: var(--bg);
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  transition: transform .3s ease;
}

.floating-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: badge-ring 2.4s ease-out infinite;
  pointer-events: none;
}

.floating-badge > * { position: relative; z-index: 1; }

@keyframes badge-ring {
  0%   { transform: scale(1);    opacity: .9; }
  100% { transform: scale(1.9);  opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-badge::before { animation: none; }
}
.floating-badge-logo {
  width: clamp(74px, 8vw, 110px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
}
.floating-badge span {
  font-family: "Alumni Sans SC", var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.floating-badge:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 40px rgba(0, 192, 232, .35);
}

/* ===== CONTACT BUTTONS (страница /contacts) ===== */
.hero__contacts-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
  max-width: 360px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  border-radius: var(--radius-btn);
  padding: 18px 28px;
  width: 100%;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.contact-btn__icon {
  flex: 0 0 auto;
}
.contact-btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.contact-btn--primary:hover {
  box-shadow: 0 8px 28px rgba(0, 192, 232, .35);
  transform: translateY(-2px);
}
.contact-btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.contact-btn--ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: translateY(-2px);
}

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 201px;
  align-items: start;
}
.about__body {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 18px;
  text-align: justify;
  text-justify: inter-word;
}
.about__body:last-child { margin-bottom: 0; }
.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 24px;
  padding-top: 90px;
}
.stat__num {
  display: block;
  color: var(--accent-bright);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 5px;
}
.stat__label { font-size: 20px; }

/* ===== SERVICES ===== */
.services__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pricelist__group {
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  opacity: .5;
  margin: 32px 0 14px;
}
.pricelist__group:first-child { margin-top: 0; }
.price-table {
  display: grid;
  grid-template-columns: 1fr 37px 110px;
  align-items: baseline;
}
.price-table li {
  display: contents;
}
.price-table__name {
  grid-column: 1;
  font-size: 20px;
  padding: 11px 0;
}
.price-table__price {
  grid-column: 3;
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
  padding: 11px 0;
}

.packages { display: flex; flex-direction: column; gap: 16px; }
.package {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 99px;
  align-items: center;
}
.package--featured {
  border-color: var(--accent);
}
.package__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.package__price {
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 24px;
  white-space: nowrap;
}
.package__title {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 10px;
  white-space: nowrap;
}
.package__title strong { font-weight: 700; }
.package__list { display: flex; flex-direction: column; gap: 5px; }
.package__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
}
.package__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== ADVANTAGES ===== */
.advantages__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.advantages__media img {
  width: 100%;
  height: 100%;
  max-height: 496px;
  object-fit: cover;
  border-radius: var(--radius);
}
.advantages__list { display: flex; flex-direction: column; gap: 28px; }
.advantage { display: flex; gap: 20px; align-items: flex-start; }
.advantage__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: var(--icon-tile-bg);
  border: 1px solid var(--icon-tile-bd);
  display: flex;
  align-items: center;
  justify-content: center;
}
.advantage__body { display: flex; flex-direction: column; gap: 6px; }
.advantage__body strong { font-weight: 700; font-size: 20px; }
.advantage__body span { color: var(--white); opacity: .7; font-size: 16px; }

/* ===== WORKS ===== */
.works__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.works__grid::-webkit-scrollbar {
  display: none;
}
.work-card {
  position: relative;
  flex: 0 0 calc(25% - 15px);
  aspect-ratio: 313 / 320;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  scroll-snap-align: start;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.work-card:hover img { transform: scale(1.06); }
.work-card__tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .6);
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
}
.works__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}
.works__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  background: transparent;
  cursor: pointer;
}
.works__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
  transform: scale(1.08);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0;
}
.footer__inner {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 300px;
  flex-wrap: wrap;
}
.footer__brand { max-width: 420px; }
.footer__brand h4 { margin-bottom: 16px; }
.footer__logo { font-weight: 700; font-size: 16px; margin-bottom: 24px; }
.footer__desc { color: var(--muted); font-size: 14px; line-height: 1.4; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__cols { display: flex; gap: 64px; align-items: flex-start; }
.footer__col { flex: 1 1 0; }
.social-icon--round {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: #000;
}
.footer .footer__cols .footer__col h4 { font-weight: 500 !important; font-size: 20px !important; line-height: 1.2 !important; margin-bottom: 16px; letter-spacing: -.01em; white-space: nowrap; }
h4 {font-size: 20px !important; }
.footer__col a, .footer__col p { display: block; color: var(--muted); font-size: 14px; line-height: 1.6; white-space: nowrap; }
.footer__col a { transition: color .15s ease; }
.footer__social .social-icon { display: inline-flex; }
.social-icon--round,
.footer__col .social-icon--round { color: #000; }
.social-icon--round:hover,
.footer__col .social-icon--round:hover { color: #000; }
.footer__col a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero { min-height: 760px; }
}

@media (max-width: 900px) {
  .section { padding: 60px 0; }

  .nav-burger { display: flex; }

  .nav {
    position: fixed;
    top: 97px;
    left: 0;
    right: 0;
    transform: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 15, 20, .97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    z-index: 49;
  }
  .nav__link {
    padding: 18px clamp(20px, 6.6vw, 100px);
    border-bottom: 1px solid var(--border);
    font-size: 18px;
  }
  .nav__link:last-child { border-bottom: none; }

  .nav-toggle:checked ~ .container .nav {
    max-height: 60vh;
  }
  .nav-toggle:checked ~ .container .nav-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle:checked ~ .container .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked ~ .container .nav-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .about__grid,
  .services__layout,
  .advantages__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__stats { padding-top: 0; }
  .advantages__media { order: -1; }
  .works__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .works__grid::-webkit-scrollbar { display: none; }
  .work-card {
    flex: 0 0 70%;
    scroll-snap-align: center;
  }
  .section__title { font-size: 30px; }
  .hero__title { font-size: 38px; }
  .hero__accent-break { display: inline; }

  .hero {
    display: block;
    aspect-ratio: auto;
    min-height: 700px;
    padding-bottom: 56px;
  }
  .hero__bg { object-position: top; }
  .hero__content {
    padding-top: 140px;
  }
  .hero__contacts-actions,
  .hero__actions {
    gap: 22px;
  }
  .hero__contacts-actions { margin-top: 90px; }

  .floating-badge {
    right: 12px;
    bottom: 12px;
    width: 92px;
    height: 92px;
    padding: 0 8px;
  }
  .floating-badge span { font-size: 15px; }
  .floating-badge-logo { width: 58px; }
}

@media (max-width: 560px) {
  .section { padding: 48px 0; }
  .hero { min-height: 700px; }
  .hero__title { font-size: 30px; }
  .hero__subtitle { font-size: 18px; margin-bottom: 28px; }
  .about__stats { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat__num { font-size: 26px; }
  .stat__label, .about__body, .price-table__name, .price-table__price { font-size: 17px; }
  .stat__label { white-space: nowrap; }
  .about__body { text-align: left; }
  .package {
    padding: 28px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .package__aside {
    flex-direction: row;
    align-items: center;
  }
  .package__title { font-size: 24px; white-space: normal; }
  .work-card { flex-basis: 85%; }
  .logo__img { height: 56px; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__cols { flex-direction: column; gap: 28px; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }

  .hero__contacts-actions { max-width: none; }
  .contact-btn { padding: 16px 20px; font-size: 15px; }
}