:root {
  --navy: #001a43;
  --navy-soft: #0a2d5c;
  --ink: #06080c;
  --surface: #0f1218;
  --surface-2: #161b24;
  --line: rgba(255,255,255,0.08);
  --text: #eef1f6;
  --muted: #8b93a1;
  --link: #6ba3ff;
  --white: #fff;
  --call: #e8f0ff;
  --radius: 12px;
  --font: "Manrope", system-ui, sans-serif;
  --font-narrow: "Roboto Condensed", sans-serif;
  --wrap: min(1140px, calc(100% - 40px));
  --header: 80px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--header);
  background: rgba(6,8,12,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-header__logo:hover { text-decoration: none; }

/* Логотипы — SVG, прозрачный фон */
.logo-full,
.logo-mark {
  display: block;
  object-fit: contain;
  border: 0;
  background: transparent;
}

.logo-full--header {
  height: 56px;
  width: auto;
  max-width: 260px;
  min-width: 120px;
}

.logo-full--hero {
  width: min(420px, 100%);
  height: auto;
}

.logo-full--footer {
  width: min(280px, 100%);
  height: auto;
  margin-bottom: 16px;
}

.logo-mark--hero {
  width: min(200px, 55vw);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}
.site-header__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.site-header__nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.site-header__nav a:hover { color: var(--white); text-decoration: none; }
.site-header__phone {
  font-family: var(--font-narrow);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  text-decoration: none;
  padding: 10px 18px;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
}
.site-header__phone:hover { background: var(--navy-soft); text-decoration: none; }
.site-header__burger { display: none; font-size: 22px; padding: 8px; }

/* MOBILE CALL BAR */
.call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 190;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
}
.call-bar a {
  flex: 1;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
}
.call-bar .call-bar__tel { background: var(--white); color: var(--navy); }

/* HERO */
.hero {
  padding: calc(var(--header) + 48px) 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 15%, rgba(0,45,92,0.55), transparent),
    radial-gradient(ellipse 40% 30% at 10% 90%, rgba(0,26,67,0.4), transparent);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #4ade80;
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__live i {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 12px #4ade80;
}
.hero__title {
  font-family: var(--font-narrow);
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title span { display: block; color: var(--muted); font-weight: 400; font-size: 0.55em; letter-spacing: 0.08em; margin-bottom: 8px; }
.hero__text { font-size: 18px; color: var(--muted); max-width: 480px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { text-decoration: none; background: var(--call); }
.btn--outline { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn--outline:hover { border-color: var(--white); text-decoration: none; }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__stat {
  background: var(--surface);
  padding: 20px 18px;
}
.hero__stat strong {
  display: block;
  font-family: var(--font-narrow);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat span { font-size: 13px; color: var(--muted); }

.hero__visual {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-panel {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 28px 24px;
  background:
    linear-gradient(145deg, rgba(15, 18, 24, 0.98) 0%, rgba(0, 26, 67, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #4ade80;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

.hero-panel__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.hero-panel__shield {
  flex-shrink: 0;
  width: 92px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.hero-panel__wordmark {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.hero-panel__title {
  font-family: var(--font-narrow);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
}

.hero-panel__line {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
}

.hero-panel__sub {
  font-family: var(--font-narrow);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.34em;
  color: var(--muted);
}

.hero-panel__services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-panel__services li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}

.hero-panel__services li span {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-narrow);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
}

.hero-panel__phone {
  display: block;
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-narrow);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.hero-panel__phone:hover {
  text-decoration: none;
  background: var(--call);
}

.hero-panel__note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
}

.logo-full--hero { margin: 0 auto; }

/* SECTIONS */
.section { padding: 80px 0; }
.section--dark { background: var(--surface); border-block: 1px solid var(--line); }
.section__head { margin-bottom: 40px; max-width: 560px; }
.section__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--link);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-narrow);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}

/* BENTO SERVICES */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.bento__item {
  grid-column: span 4;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  transition: border-color 0.2s;
  text-decoration: none;
  color: inherit;
}
.bento__item:hover { border-color: rgba(107,163,255,0.35); text-decoration: none; }
.bento__item--wide { grid-column: span 8; }
.bento__item--tall { grid-row: span 2; min-height: 100%; }
.bento__item--accent { background: var(--navy); border-color: rgba(255,255,255,0.12); }
.bento__num {
  font-family: var(--font-narrow);
  font-size: 48px;
  font-weight: 700;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 12px;
}
.bento__item h3 {
  font-family: var(--font-narrow);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.bento__item p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.bento__price { font-weight: 700; color: var(--link); font-size: 15px; }
.bento__link { font-size: 13px; font-weight: 700; color: var(--link); text-transform: uppercase; letter-spacing: 0.06em; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  border-top: 2px solid var(--navy-soft);
  padding-top: 20px;
}
.step__n {
  font-family: var(--font-narrow);
  font-size: 14px;
  font-weight: 700;
  color: var(--link);
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* BLOG GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.blog-list__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.blog-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}
.blog-card:hover { border-color: rgba(107,163,255,0.35); text-decoration: none; }
.blog-card__img {
  height: 160px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--surface) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.blog-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.blog-card__body { padding: 20px; }
.blog-card__body h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.blog-card__body p { font-size: 14px; color: var(--muted); }

/* SEO TEXT */
.seo-text {
  font-size: 15px;
  color: var(--muted);
  max-width: 800px;
}
.seo-text h2 {
  font-family: var(--font-narrow);
  font-size: 24px;
  color: var(--text);
  text-transform: uppercase;
  margin: 32px 0 12px;
}
.seo-text h2:first-child { margin-top: 0; }
.seo-text h3 {
  font-family: var(--font-narrow);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 20px 0 8px;
}
.seo-text p { margin-bottom: 14px; }
.seo-text a { color: var(--link); }

.faq-inline details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
  background: var(--surface);
}
.faq-inline summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq-inline summary::-webkit-details-marker { display: none; }
.faq-inline p { margin-top: 12px; color: var(--muted); }

/* CTA BLOCK */
.cta-block {
  padding: 64px 0;
  background: var(--navy);
  text-align: center;
}
.cta-block__phone {
  display: block;
  font-family: var(--font-narrow);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin: 12px 0 24px;
  text-decoration: none;
}
.cta-block__phone:hover { text-decoration: underline; color: var(--white); }

/* REVIEWS */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.review {
  margin: 0;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.review__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}
.review__author {
  font-size: 13px;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  padding: 40px 0 calc(40px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.site-footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text);
}
.site-footer a { display: block; color: var(--muted); margin-bottom: 8px; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: none; }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .hero-panel { max-width: none; }
  .hero-panel__badge {
    flex-wrap: wrap;
    line-height: 1.4;
    border-radius: 12px;
    max-width: 100%;
  }
  .hero__live { display: none; }
  .logo-full--header { height: 40px; max-width: 170px; }
  .logo-full--hero { width: min(300px, 88vw); }
  .bento__item, .bento__item--wide { grid-column: span 12; }
  .steps { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-list__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .site-header__nav { display: none; position: fixed; top: var(--header); left: 0; right: 0; flex-direction: column; background: var(--ink); border-bottom: 1px solid var(--line); padding: 12px 0; gap: 0; }
  .site-header__nav.open { display: flex; }
  .site-header__nav a { padding: 14px 20px; border-bottom: 1px solid var(--line); }
  .site-header__phone { display: none; }
  .site-header__burger { display: block; margin-left: auto; }
  .call-bar { display: flex; }
  body { padding-bottom: 72px; }
  .hero__stats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-panel__services { grid-template-columns: 1fr; }
}
