:root {
  --bg: #0d0e10;
  --bg-2: #15171a;
  --panel: #1c1f23;
  --ink: #f7f6f4;
  --muted: rgba(247, 246, 244, 0.7);
  --soft: rgba(247, 246, 244, 0.42);
  --line: rgba(247, 246, 244, 0.12);
  --cyan: #5bc9f5;
  --cyan-2: #2aa4d4;
  --navy: #0b1e3a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 76px;
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Archivo, system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(13, 14, 16, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  object-fit: cover;
}

.logo strong {
  display: block;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
}

.logo em {
  display: block;
  font-style: normal;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  color: var(--soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav > ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav a {
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a:hover,
.nav a.is-active { color: var(--ink); }

.has-sub { position: relative; }

.sub {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 0.45rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.has-sub:hover .sub,
.has-sub:focus-within .sub { display: block; }

.sub a { display: block; white-space: nowrap; }

.header-phone {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.header-phone:hover { color: var(--cyan); }

.lang a {
  border: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 14, 16, 0.86) 0%, rgba(13, 14, 16, 0.5) 55%, rgba(13, 14, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(13, 14, 16, 0.2), rgba(13, 14, 16, 0.92));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 7rem 0 4.5rem;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; }
h1 { margin: 0 0 1rem; font-size: clamp(2.1rem, 5vw, 3.7rem); }
h2 { margin: 0 0 0.8rem; font-size: clamp(1.5rem, 3vw, 2.15rem); }
h3 { margin: 0 0 0.45rem; font-size: 1.08rem; }

.lede, .prose p { color: var(--muted); }
.lede { margin: 0 0 1.6rem; font-size: 1.08rem; max-width: 40rem; }

.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #ececec; color: #141516; }
.btn-primary:hover { background: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }

.blocks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.block {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-decoration: none;
  min-height: 100%;
}

.block:nth-child(4),
.block:nth-child(5) { grid-column: span 3; }

.block img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.block-body { padding: 1.15rem 1.2rem 1.35rem; flex: 1; }
.block p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; }
.block span { color: var(--cyan); font-size: 0.8rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split img,
.frame {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.frame { height: 420px; background: var(--panel); }

.checks { display: grid; gap: 0.55rem; margin: 1.2rem 0 0; }
.checks li {
  padding-left: 1.35rem;
  position: relative;
  color: var(--muted);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.band {
  padding: 3.2rem 0;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 14, 16, 0.55), rgba(13, 14, 16, 0.82)),
    var(--img, none) center / cover;
}

.page-hero {
  position: relative;
  min-height: 280px;
  padding: 4.2rem 0 3rem;
  overflow: hidden;
  background: var(--img, none) center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 14, 16, 0.5), rgba(13, 14, 16, 0.88));
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.prose { max-width: 72ch; }
.prose p { margin: 0 0 1rem; }
.prose h2 { margin-top: 2rem; }

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 0.75rem;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
}

.card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

label { display: block; margin: 0 0 0.35rem; font-size: 0.85rem; color: var(--soft); }
input, select, textarea {
  width: 100%;
  margin-bottom: 0.9rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #121416;
  color: var(--ink);
  font: inherit;
}

textarea { min-height: 140px; resize: vertical; }

.hp { position: absolute; left: -9999px; }

.form-status {
  display: none;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
}

.form-status.is-ok { display: block; background: rgba(91, 201, 245, 0.12); }
.form-status.is-err { display: block; background: rgba(220, 80, 80, 0.18); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 0.6rem 0 0; color: var(--muted); }

.site-footer {
  padding: 2rem 0 1.4rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }
.site-footer h3 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.powered { color: var(--soft); font-size: 0.85rem; margin: 0; }
.powered a { color: var(--muted); }

.cookie {
  position: fixed;
  z-index: 50;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(22, 24, 27, 0.96);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cookie.is-open { display: flex; }
.cookie p { margin: 0; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 980px) {
  .blocks { grid-template-columns: 1fr 1fr; }
  .block,
  .block:nth-child(4),
  .block:nth-child(5) { grid-column: span 1; }
  .split,
  .contact-grid,
  .gallery,
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    inset: var(--header) 0 auto;
    padding: 0.8rem 1.25rem 1.2rem;
    background: #121416;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .sub { position: static; display: block; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 0.6rem; }
  .blocks { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; align-items: stretch; }
  .hero-copy { padding-top: 4.5rem; }
}
