/* ===== Nodika.cloud — глобални стилове ===== */
@font-face {
  font-family: "Atomic Alice";
  src: url("../fonts/AtomicAlice-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0f1e;
  --bg-2: #0e1528;
  --card: #111a33;
  --card-2: #152142;
  --border: rgba(148, 163, 184, 0.14);
  --text: #e7edf8;
  --muted: #97a3ba;
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --green: #34d399;
  --amber: #fbbf24;
  --danger: #f87171;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.55);
  --container: 1160px;
  --header-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: "Atomic Alice", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

button, input, select, textarea { font-family: inherit; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ===== Заглавна лента ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled {
  background: rgba(10, 15, 30, 0.92);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: 0;
}
.logo-mark {
  width: 48px;
  height: 48px;
  flex: none;
  object-fit: contain;
}
.logo-full {
  height: 64px;
  width: auto;
  display: block;
}
.logo span.dot { color: var(--accent); margin-left: -0.14em; }

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--text); background: rgba(148, 163, 184, 0.1); }
.nav a.active { color: var(--accent); background: rgba(34, 211, 238, 0.1); }
.nav .nav-cta {
  color: #06121f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 700;
  margin-left: 8px;
}
.nav .nav-cta:hover { color: #06121f; filter: brightness(1.08); background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 64px) 0 80px;
  background:
    linear-gradient(90deg, rgba(10, 15, 30, 0.9) 0%, rgba(10, 15, 30, 0.58) 55%, rgba(10, 15, 30, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 15, 30, 0.86) 0%, rgba(10, 15, 30, 0.62) 45%, var(--bg) 100%),
    url("../img/pages/hero-house.jpg") center 30% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 20% 40%, rgba(34, 211, 238, 0.14), transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
  color: var(--accent);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.gradient-text {
  background: linear-gradient(120deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 { text-shadow: 0 2px 26px rgba(2, 6, 23, 0.65); }
.hero p.lead {
  font-size: 1.13rem;
  color: #eef3fc;
  text-shadow: 0 2px 16px rgba(2, 6, 23, 0.7);
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, filter 0.18s, background 0.18s, border-color 0.18s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #06121f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(148, 163, 184, 0.08);
}
.btn-ghost:hover { border-color: rgba(34, 211, 238, 0.5); color: var(--accent); transform: translateY(-2px); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 30px;
}
.stat .num {
  font-size: 1.7rem;
  font-weight: 800;
  background: linear-gradient(120deg, #fff, #9fb2d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .lbl { color: var(--muted); font-size: 0.88rem; }

/* ===== Секции ===== */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 54px; }
.eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.03rem; }

/* ===== Услуги ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: var(--shadow);
}
.icon-box {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--accent);
  margin-bottom: 18px;
}
.icon-box svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.94rem; }

/* ===== Пакети ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px 30px;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured {
  border: 1px solid rgba(34, 211, 238, 0.6);
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.09), var(--card) 55%);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.25), var(--shadow);
}
.price-card .tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06121f;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name { font-size: 1.05rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.price {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan-desc { color: var(--muted); font-size: 0.92rem; margin: 12px 0 22px; }
.plan-list { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: #c6d0e2; }
.plan-list svg { width: 18px; height: 18px; flex: none; color: var(--green); margin-top: 3px; }
.plan-list li.off { color: #5b6578; }
.plan-list li.off svg { color: #475069; }
.price-card .btn { justify-content: center; width: 100%; }
.pricing-note {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.pricing-note strong { color: var(--green); }

/* ===== Инсталационна такса ===== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split .media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.split .media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(34, 211, 238, 0.12), transparent 45%);
}
.check-list { display: grid; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #c6d0e2; font-size: 0.98rem; }
.check-list svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 2px; }
.fee-box {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.07);
  border-radius: 14px;
  padding: 14px 20px;
  margin-bottom: 28px;
}
.fee-box .from { color: var(--muted); font-size: 0.9rem; }
.fee-box .amount { font-size: 1.9rem; font-weight: 800; color: var(--accent); }
.fee-box .vat { color: var(--muted); font-size: 0.85rem; }

/* ===== Контактна лента ===== */
.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-strip .card { display: flex; gap: 16px; align-items: flex-start; }
.contact-strip .icon-box { margin-bottom: 0; flex: none; }
.contact-strip h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-strip p { color: var(--muted); font-size: 0.92rem; }
.contact-strip a.link { color: var(--accent); font-weight: 600; }
.contact-strip a.link:hover { text-decoration: underline; }

/* ===== Страници с банер ===== */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 64px;
  background:
    radial-gradient(55% 90% at 85% 10%, rgba(129, 140, 248, 0.16), transparent 70%),
    radial-gradient(45% 80% at 10% 20%, rgba(34, 211, 238, 0.12), transparent 70%),
    var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-hero { position: relative; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero::before {
  content: "";
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  width: min(300px, 38vw);
  aspect-ratio: 1;
  background: url("../img/logo/logo-icon.png") center / contain no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 1.05rem; }
.breadcrumb { color: var(--muted); font-size: 0.86rem; margin-bottom: 18px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Инсталатори ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.member {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
}
.member:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.45); box-shadow: var(--shadow); }
.member .photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--card-2);
}
.member .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 0.35s;
}
.member:hover .photo img { transform: scale(1.045); }
.member .exp {
  position: absolute;
  right: 14px; bottom: 14px;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}
.member .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.member h3 { font-size: 1.15rem; }
.member .role { color: var(--accent); font-size: 0.88rem; font-weight: 600; }
.member .bio { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chip {
  font-size: 0.76rem;
  font-weight: 600;
  color: #b9c6dd;
  border: 1px solid var(--border);
  background: rgba(148, 163, 184, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ===== Процес ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.step .n {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  color: #06121f;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  margin-bottom: 16px;
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ===== За нас ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-grid .media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
}
.about-grid .media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 60px;
}
.partners {
  margin-top: 70px;
  text-align: center;
}
.partners .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 28px 64px;
  margin-top: 34px;
}
.partner-lg {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #dbe4f5;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.partner-lg img { height: 46px; width: auto; display: block; }
.stats-band {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  text-align: center;
}
.stats-band .stat-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  background: linear-gradient(180deg, var(--card), var(--bg-2));
}
.stats-band .num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stats-band .lbl { color: var(--muted); font-size: 0.9rem; }

/* ===== Контакти ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.info-list { display: grid; gap: 18px; }
.info-list .card { display: flex; gap: 16px; align-items: flex-start; }
.info-list .icon-box { margin-bottom: 0; flex: none; }
.info-list h3 { font-size: 1rem; margin-bottom: 3px; }
.info-list p, .info-list a { color: var(--muted); font-size: 0.94rem; }
.info-list a.link { color: var(--accent); font-weight: 600; }
.info-list a.link:hover { text-decoration: underline; }

.form-card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 34px;
}
.form-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 0.88rem; font-weight: 600; color: #c6d0e2; }
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(10, 15, 30, 0.65);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.16);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); margin: 4px 0 22px; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.form-success {
  display: none;
  border: 1px solid rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.form-success.show { display: block; }
.map-wrap {
  margin-top: 28px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: saturate(0.85) contrast(1.02); }

/* ===== CTA банер ===== */
.cta-band {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.35);
  background:
    radial-gradient(70% 120% at 80% 0%, rgba(129, 140, 248, 0.25), transparent 60%),
    radial-gradient(60% 120% at 10% 100%, rgba(34, 211, 238, 0.22), transparent 60%),
    var(--card);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: var(--muted); max-width: 520px; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 64px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-grid p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 340px; }
.footer-grid h4 { font-size: 0.95rem; margin-bottom: 16px; color: var(--text); }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid ul a { color: var(--muted); font-size: 0.92rem; transition: color 0.2s; }
.footer-grid ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== Анимации при скрол ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }

/* ===== Адаптивен дизайн ===== */
@media (max-width: 980px) {
  .services-grid, .pricing-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats, .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .price-card.featured { order: -1; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(10, 15, 30, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s, transform 0.22s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav .nav-cta { margin-left: 0; text-align: center; margin-top: 6px; }
}
@media (max-width: 620px) {
  .section { padding: 68px 0; }
  .services-grid, .pricing-grid, .team-grid, .steps, .values-grid, .contact-strip, .diff-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band { padding: 36px 26px; }
  .form-card { padding: 26px 22px; }
}

/* ===== Какво ни различава ===== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.diff-item {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.22s, border-color 0.22s, box-shadow 0.22s;
}
.diff-item:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: var(--shadow);
}
.diff-item .diff-ic {
  color: #f4f8ff;
  background: rgba(231, 237, 248, 0.07);
  border-color: rgba(231, 237, 248, 0.22);
  margin-bottom: 14px;
}

/* Секция „Какво ни различава“ — снимка на заден план с фейд по краищата */
#razlichia {
  position: relative;
  background: url("../img/pages/diff-bg-server.jpg") center 40% / cover no-repeat;
}
#razlichia::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-2) 0%, rgba(14, 21, 40, 0.78) 22%, rgba(14, 21, 40, 0.78) 78%, var(--bg-2) 100%),
    linear-gradient(90deg, var(--bg-2) 0%, rgba(14, 21, 40, 0.55) 30%, rgba(14, 21, 40, 0.55) 70%, var(--bg-2) 100%);
}
#razlichia .container { position: relative; z-index: 1; }
#razlichia .diff-item {
  background: linear-gradient(180deg, rgba(17, 26, 51, 0.86), rgba(14, 21, 40, 0.86));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.diff-item p { color: #c6d0e2; font-size: 0.94rem; }
.diff-item strong { color: var(--accent); }
@media (max-width: 980px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .page-hero::before { display: none; }
  .logo-full { height: 48px; }
  .logo { font-size: 1.5rem; }
  .logo-mark { width: 40px; height: 40px; }
  .partner-lg { font-size: 1.15rem; }
  .partner-lg img { height: 38px; }
}
