/* ═══════════════════════════════════════
   PREMIUM VISUAL OVERRIDES
   МедиПасс — ₽1 000 000 level design
═══════════════════════════════════════ */

/* ── HERO: LIGHT PREMIUM ── */
@keyframes blob1 { 0%{transform:translate(0,0) scale(1)} 100%{transform:translate(60px,80px) scale(1.18)} }

/* ── HERO BACKGROUND PARTICLES ── */
@keyframes floatA {
  0%   { transform: translateY(0)   translateX(0)   rotate(0deg);   opacity:.18; }
  33%  { transform: translateY(-30px) translateX(14px)  rotate(60deg);  opacity:.28; }
  66%  { transform: translateY(-12px) translateX(-10px) rotate(120deg); opacity:.16; }
  100% { transform: translateY(0)   translateX(0)   rotate(180deg);  opacity:.18; }
}
@keyframes floatB {
  0%   { transform: translateY(0)   translateX(0)   rotate(0deg);   opacity:.12; }
  50%  { transform: translateY(22px)  translateX(-18px) rotate(90deg);  opacity:.22; }
  100% { transform: translateY(0)   translateX(0)   rotate(180deg);  opacity:.12; }
}
@keyframes floatC {
  0%   { transform: scale(1)   rotate(0deg);   opacity:.10; }
  50%  { transform: scale(1.3) rotate(45deg);  opacity:.20; }
  100% { transform: scale(1)   rotate(90deg);  opacity:.10; }
}
@keyframes driftDot {
  0%,100% { transform: translateY(0) translateX(0);   opacity:.15; }
  25%     { transform: translateY(-20px) translateX(8px);  opacity:.25; }
  75%     { transform: translateY(10px)  translateX(-8px); opacity:.10; }
}

.hero-particles { position:absolute; inset:0; pointer-events:none; overflow:hidden; z-index:0; }
/* В обычных секциях частицы крупнее и чуть медленнее */
.sec-particles span:nth-child(n) { animation-duration: calc(var(--d, 9s) * 1.4); opacity:.08; }
.sec-particles span:nth-child(odd) { background: #0ea5e9; }
.hero-particles span {
  position: absolute;
  border-radius: 50%;
  background: #1572a3;
  display: block;
}
/* круги */
.hero-particles span:nth-child(1)  { width:8px;  height:8px;  top:12%;  left:8%;   animation: floatA 7s ease-in-out infinite; }
.hero-particles span:nth-child(2)  { width:5px;  height:5px;  top:25%;  left:20%;  animation: floatB 9s ease-in-out infinite 1s; }
.hero-particles span:nth-child(3)  { width:10px; height:10px; top:60%;  left:5%;   animation: floatA 11s ease-in-out infinite 2s; }
.hero-particles span:nth-child(4)  { width:4px;  height:4px;  top:75%;  left:30%;  animation: driftDot 8s ease-in-out infinite 0.5s; }
.hero-particles span:nth-child(5)  { width:7px;  height:7px;  top:85%;  left:15%;  animation: floatB 10s ease-in-out infinite 3s; }
.hero-particles span:nth-child(6)  { width:6px;  height:6px;  top:40%;  left:50%;  animation: floatA 12s ease-in-out infinite 1.5s; }
.hero-particles span:nth-child(7)  { width:9px;  height:9px;  top:10%;  left:65%;  animation: floatB 8s ease-in-out infinite 4s; }
.hero-particles span:nth-child(8)  { width:5px;  height:5px;  top:50%;  left:75%;  animation: driftDot 9s ease-in-out infinite 2s; }
.hero-particles span:nth-child(9)  { width:11px; height:11px; top:20%;  left:85%;  animation: floatA 13s ease-in-out infinite 0.8s; }
.hero-particles span:nth-child(10) { width:4px;  height:4px;  top:70%;  left:90%;  animation: floatB 7.5s ease-in-out infinite 3.5s; }
/* квадратики-ромбы */
.hero-particles span:nth-child(11),
.hero-particles span:nth-child(12),
.hero-particles span:nth-child(13) { border-radius:3px; background:rgba(99,179,237,.5); }
.hero-particles span:nth-child(11) { width:7px;  height:7px;  top:35%;  left:40%;  animation: floatC 10s ease-in-out infinite 1s; }
.hero-particles span:nth-child(12) { width:5px;  height:5px;  top:55%;  left:60%;  animation: floatC 8s  ease-in-out infinite 2.5s; }
.hero-particles span:nth-child(13) { width:9px;  height:9px;  top:80%;  left:70%;  animation: floatC 12s ease-in-out infinite 0.5s; }
/* большие прозрачные кольца */
.hero-particles span:nth-child(14),
.hero-particles span:nth-child(15) {
  background: transparent;
  border: 1.5px solid rgba(21,114,163,.12);
}
.hero-particles span:nth-child(14) { width:60px; height:60px; top:15%; left:45%;  animation: floatB 14s ease-in-out infinite; }
.hero-particles span:nth-child(15) { width:40px; height:40px; top:65%; left:80%;  animation: floatA 16s ease-in-out infinite 2s; }

/* ── HERO ENTRANCE ANIMATIONS ── */
@keyframes heroFadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes heroFadeDown { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes heroFadeLeft { from { opacity:0; transform:translateX(-32px); } to { opacity:1; transform:translateX(0); } }
@keyframes heroFadeRight{ from { opacity:0; transform:translateX(32px); } to { opacity:1; transform:translateX(0); } }

.hero-anim-badge  { animation: heroFadeDown  .55s cubic-bezier(.22,.68,0,1.2) both; animation-delay: .05s; }
.hero-anim-h1     { animation: heroFadeLeft  .6s  cubic-bezier(.22,.68,0,1.1) both; animation-delay: .18s; }
.hero-anim-tagline{ animation: heroFadeLeft  .5s  ease both; animation-delay: .32s; }
.hero-anim-sub    { animation: heroFadeLeft  .5s  ease both; animation-delay: .42s; }
.hero-anim-feats  { animation: heroFadeUp    .55s ease both; animation-delay: .52s; }
.hero-anim-kpis   { animation: heroFadeUp    .55s ease both; animation-delay: .65s; }
.hero-anim-card   { animation: heroFadeRight .65s cubic-bezier(.22,.68,0,1.1) both; animation-delay: .25s; }

.hero {
  background: linear-gradient(140deg, #f0f9ff 0%, #e8f4fb 50%, #f5fffd 100%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(21,114,163,.07) 0%, transparent 65%);
  top: -200px; left: -100px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,.05) 0%, transparent 65%);
  bottom: -100px; right: 80px;
  pointer-events: none;
}

/* ══════════════════════════════════════════
   LIVE ACTIVITY TOAST
══════════════════════════════════════════ */
.live-toast {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 8000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  max-width: 320px;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .3s, visibility .3s;
  pointer-events: none;
}
.live-toast.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lt-dot {
  position: absolute;
  top: 12px; left: 12px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease infinite;
}
.lt-ico { font-size: 22px; flex-shrink: 0; }
.lt-body { flex: 1; min-width: 0; }
.lt-company {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.lt-detail {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lt-close {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--dim);
  cursor: pointer;
  flex-shrink: 0;
  padding: 2px 4px;
  line-height: 1;
  transition: color .2s;
}
.lt-close:hover { color: var(--text); }
@media(max-width:600px) {
  .live-toast { left: 16px; right: 16px; max-width: none; bottom: 16px; }
}

/* ══════════════════════════════════════════
   MANAGER AVATAR IN FORM
══════════════════════════════════════════ */
.hfc-manager {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.hfc-mgr-ava {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1572a3, #0ea5e9);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(21,114,163,.2);
  overflow: hidden;
}
.hfc-mgr-info { flex: 1; }
.hfc-mgr-name { font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.hfc-mgr-title { font-size: 11.5px; color: var(--muted); }
.hfc-mgr-online {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-l);
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 3px 9px;
  flex-shrink: 0;
}

/* ── HERO FORM CARD ── */
.hero-form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(21,114,163,.12), 0 4px 16px rgba(21,114,163,.06);
  position: relative;
  overflow: hidden;
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1572a3, #0ea5e9);
}
.hfc-guarantee {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
}
.hfc-g-emoji { font-size: 22px; flex-shrink: 0; }
.hfc-g-body { flex: 1; }
.hfc-g-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 2px;
}
.hfc-g-sub {
  font-size: 11.5px;
  color: #16a34a;
  line-height: 1.4;
}
.hfc-g-sub b { font-weight: 800; }
.hfc-g-seal {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  color: #15803d;
  background: #fff;
  border: 1px solid #86efac;
  border-radius: 5px;
  padding: 3px 7px;
  flex-shrink: 0;
}
.hfc-heading {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.4px;
  margin-bottom: 4px;
}
.hfc-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

/* ── HERO VISUAL CARD ── */
.hv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 24px 64px rgba(21,114,163,.12), 0 4px 16px rgba(21,114,163,.06);
  position: relative;
  z-index: 1;
}
.hv-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.hv-card-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
}
.hv-logo-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue), #22a4d4);
  position: relative;
  flex-shrink: 0;
}
.hv-logo-mark::after { content: '+'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 300; }
.hv-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-l);
  border: 1px solid #bbf7d0;
  border-radius: 100px;
  padding: 4px 10px;
}
.hv-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--dim);
  margin-bottom: 10px;
}
.hv-services {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.hv-svc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  cursor: default;
  transition: border-color .2s, background .2s;
}
.hv-svc-active {
  border-color: var(--blue);
  background: var(--blue-ll);
}
.hv-svc-icon { font-size: 22px; flex-shrink: 0; }
.hv-svc-info { flex: 1; min-width: 0; }
.hv-svc-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.hv-svc-fit {
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hv-svc-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--blue);
  flex-shrink: 0;
}
.hv-result {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.hv-result-check {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.hv-result-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #15803d;
  margin-bottom: 2px;
}
.hv-result-sub { font-size: 11.5px; color: #16a34a; opacity: .8; }
.hv-compliance {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hv-comp-item {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
}

/* floating badges */
.hv-float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: var(--sh2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: floatBob 4s ease-in-out infinite;
}
.hv-float-1 { bottom: 16px; left: -20px; animation-delay: 0s; }
.hv-float-2 { top: 20px; right: -16px; animation-delay: 2s; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.hv-float-n { font-size: 20px; font-weight: 800; color: var(--blue); letter-spacing: -.5px; line-height: 1; margin-bottom: 3px; }
.hv-float-l { font-size: 10.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }

.hero-right { position: relative; }

/* ── DEVICE MOCKUP ── */
.dmock {
  background: #0a111e;
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 32px 80px rgba(0,0,0,.65),
    0 0 80px rgba(37,99,235,.12);
}
.dmock-bar {
  background: #0d1828;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 12px;
}
.dmock-dots {
  display: flex; gap: 5px;
}
.dmock-dots span {
  width: 10px; height: 10px; border-radius: 50%;
}
.dmock-dots span:nth-child(1) { background: #ff5f57; }
.dmock-dots span:nth-child(2) { background: #febc2e; }
.dmock-dots span:nth-child(3) { background: #28c840; }
.dmock-bar-title {
  flex: 1; text-align: center;
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.5);
  letter-spacing: .5px;
}
.dmock-time {
  font-size: 12px; font-weight: 700; color: rgba(255,255,255,.4);
  font-variant-numeric: tabular-nums;
}
.dmock-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.dmock-driver {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px; padding: 12px 14px;
}
.dmock-ava {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.dmock-dname { font-size: 13px; font-weight: 700; color: #e2f0ff; margin-bottom: 2px; }
.dmock-dinfo { font-size: 11px; color: rgba(255,255,255,.4); }
.dmock-id-ok {
  margin-left: auto; flex-shrink: 0;
  font-size: 10.5px; font-weight: 700; color: #4ade80;
  background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25);
  padding: 3px 8px; border-radius: 5px; letter-spacing: .3px;
}
.dmock-vitals {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.dmock-vital {
  background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px; padding: 12px 14px;
}
.dmock-vl { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: rgba(255,255,255,.4); margin-bottom: 4px; }
.dmock-vv { font-size: 22px; font-weight: 800; color: #e2f0ff; line-height: 1; margin-bottom: 3px; letter-spacing: -.5px; }
.dmock-vv sub { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: 0; }
.dmock-vu { font-size: 11px; color: rgba(255,255,255,.35); margin-bottom: 6px; }
.dmock-vnorm { font-size: 10.5px; font-weight: 700; color: #4ade80; }

/* ECG wave */
.dmock-wave {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07);
  border-radius: 11px; padding: 10px 14px; position: relative; overflow: hidden;
}
.dmock-wave-label { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.dmock-wave svg { width: 100%; height: 44px; }
.dmock-ecg-path {
  fill: none; stroke: #4ade80; stroke-width: 1.8;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: ecgDraw 2.5s ease forwards .8s;
  filter: drop-shadow(0 0 4px rgba(74,222,128,.6));
}
@keyframes ecgDraw { to { stroke-dashoffset: 0; } }

/* STATUS */
.dmock-status {
  display: flex; align-items: center; gap: 12px;
  background: rgba(74,222,128,.08); border: 1.5px solid rgba(74,222,128,.35);
  border-radius: 11px; padding: 14px 16px;
  animation: statusPop .5s cubic-bezier(.34,1.56,.64,1) forwards 3s;
  opacity: 0; transform: scale(.96);
}
@keyframes statusPop { to { opacity: 1; transform: scale(1); } }
.dmock-status-ico {
  width: 36px; height: 36px; border-radius: 50%;
  background: #16a34a; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0;
}
.dmock-status-title { font-size: 14px; font-weight: 800; color: #4ade80; margin-bottom: 2px; }
.dmock-status-sub { font-size: 11px; color: rgba(74,222,128,.65); }

/* ── PREMIUM NAVIGATION ── */
header {
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 24px rgba(0,0,0,.06);
}
.logo-name {
  background: linear-gradient(135deg, #0f172a 60%, #1572a3);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-name span {
  background: linear-gradient(135deg, #1572a3, #0ea5e9);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── PREMIUM BUTTONS ── */
.btn-primary {
  background: linear-gradient(135deg, #1572a3 0%, #0ea5e9 100%);
  box-shadow: 0 2px 12px rgba(14,165,233,.3);
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.15), transparent);
  opacity: 0; transition: opacity .25s;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(14,165,233,.45);
}

/* ── PREMIUM SERVICE CARDS ── */
.svc-card {
  position: relative;
  transition: transform .3s cubic-bezier(.34,1.3,.64,1), box-shadow .3s, border-color .3s;
}
.svc-card::before {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(21,114,163,.06), transparent 60%);
  opacity: 0; transition: opacity .3s; pointer-events: none; z-index: 0;
}
.svc-card:hover::before { opacity: 1; }
.svc-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: #a8cfed;
  box-shadow: 0 20px 60px rgba(21,114,163,.13), 0 0 0 1px rgba(21,114,163,.08);
}
.svc-card-body { position: relative; z-index: 1; }

/* ── PREMIUM STATS SECTION ── */
.section-blue {
  background: linear-gradient(160deg, #040c1b 0%, #071525 100%);
  position: relative; overflow: hidden;
}
.section-blue::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,.1) 0%, transparent 65%);
  top: -200px; left: -100px; pointer-events: none;
}
.section-blue .stat-item {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
}
.section-blue .stat-num { color: #60a5fa; }
.section-blue .stat-label { color: rgba(255,255,255,.5); }

/* ── PREMIUM ADVANTAGE CARDS ── */
.adv-card {
  transition: transform .3s cubic-bezier(.34,1.3,.64,1), box-shadow .3s;
}
.adv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(21,114,163,.12);
}
.adv-ico {
  background: linear-gradient(135deg, var(--blue-ll), var(--blue-l));
  border: none; box-shadow: 0 4px 16px rgba(21,114,163,.15);
  transition: box-shadow .3s, transform .3s;
}
.adv-card:hover .adv-ico {
  box-shadow: 0 8px 24px rgba(21,114,163,.25);
  transform: scale(1.05);
}
.adv-title { font-size: 20px; }

/* ── PREMIUM PROCESS STEPS ── */
.proc-num {
  background: linear-gradient(135deg, #1572a3, #0ea5e9);
  box-shadow: 0 6px 20px rgba(14,165,233,.4);
  transition: transform .3s, box-shadow .3s;
}
.proc-step:hover .proc-num {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(14,165,233,.5);
}

/* ── PREMIUM PRICING CARDS ── */
.pc-card {
  transition: transform .3s cubic-bezier(.34,1.3,.64,1), box-shadow .3s;
}
.pc-card:hover { transform: translateY(-6px); }
.pc-card.pc-pop {
  box-shadow: 0 12px 48px rgba(21,114,163,.2), 0 0 0 2px var(--blue);
}
.pc-val { letter-spacing: -3px; }

/* ── PREMIUM CTA SECTION ── */
.cta-section {
  background: linear-gradient(160deg, #040c1b 0%, #071525 40%, #0a1c35 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(14,165,233,.12) 0%, transparent 65%);
  top: -300px; left: 50%; transform: translateX(-50%);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.btn-outline-white {
  border-color: rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); }

/* ── PREMIUM FOOTER ── */
footer { background: #040c1b; border-top: 1px solid rgba(255,255,255,.06); }
.footer-logo {
  background: linear-gradient(135deg, #fff 60%, #93c5fd);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-logo span { color: #60a5fa; -webkit-text-fill-color: #60a5fa; }
.footer-about p { color: rgba(255,255,255,.4); }
.footer-contacts div { color: rgba(255,255,255,.5); }
.footer-col h4 { color: rgba(255,255,255,.85); }
.footer-col a { color: rgba(255,255,255,.4); }
.footer-col a:hover { color: #60a5fa; }
.footer-copy, .footer-legal a { color: rgba(255,255,255,.25); }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ── PREMIUM BADGES BAR ── */
.badges-bar { background: #f8fafd; border-color: #e2ecf5; }
.badge-item {
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.badge-item:hover {
  border-color: #a8cfed; box-shadow: var(--sh); transform: translateY(-2px);
}

/* ── PREMIUM PAGE HERO ── */
.page-hero {
  background: linear-gradient(140deg, #040c1b 0%, #071525 60%, #091c34 100%);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(21,114,163,.18) 0%, transparent 65%);
  top: -250px; left: -150px; pointer-events: none;
  animation: blob1 12s ease-in-out infinite alternate;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.page-hero .hero-badge { background: rgba(37,99,235,.12); border-color: rgba(96,165,250,.3); color: #93c5fd; }
.page-hero .page-hero-title { color: #f0f6ff; }
.page-hero .page-hero-tagline { color: #60a5fa; }
.page-hero .page-hero-sub { color: rgba(240,246,255,.6); }
.page-hero .ph-stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.page-hero .phs-n { color: #60a5fa; }
.page-hero .phs-l { color: rgba(255,255,255,.45); }
.page-hero .btn-outline { border-color: rgba(255,255,255,.25); color: rgba(255,255,255,.9); background: rgba(255,255,255,.04); }
.page-hero .btn-outline:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); color: #fff; }
.page-hero .cert-badge { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.page-hero-inner { position: relative; z-index: 1; }

/* ── PAGE HERO contact cards ── */
.page-hero a[href^="tel"],
.page-hero div[style*="border-radius:12px"] {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(255,255,255,.12) !important;
}
.page-hero a[href^="tel"]:hover {
  border-color: rgba(96,165,250,.5) !important;
}
.page-hero a[href^="tel"] div:last-child,
.page-hero div[style*="Медосмотры"] { color: rgba(255,255,255,.8) !important; }
.page-hero a[href^="tel"] .phs-n { color: #60a5fa !important; }

/* ── PREMIUM SECTION ALT ── */
.section-alt { background: #f7fbfd; }

/* ── PREMIUM CARDS HOVER ── */
.feat-card:hover { border-color: #a8cfed; }
.adv-card:hover { border-color: #a8cfed; }
.inc-item { transition: border-color .25s; }
.inc-item:hover { border-color: #a8cfed; }

/* ── PREMIUM FAQ ── */
.faq-list { box-shadow: 0 4px 24px rgba(21,114,163,.06); }
.faq-q { transition: background .2s, color .2s; }

/* ── PREMIUM MODAL ── */
.modal-box {
  box-shadow: 0 32px 100px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.1);
}
.modal-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #1572a3, #0ea5e9);
}

/* ── PREMIUM GALLERY ── */
.gallery-item::after {
  content: '';
  position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  pointer-events: none; z-index: 2;
  transition: box-shadow .3s;
}
.gallery-item:hover::after {
  box-shadow: inset 0 0 0 2px rgba(21,114,163,.4);
}

/* ── PREMIUM BACK TO TOP ── */
.back-top {
  background: linear-gradient(135deg, #1572a3, #0ea5e9);
  box-shadow: 0 4px 20px rgba(14,165,233,.4);
}
.back-top:hover { box-shadow: 0 8px 28px rgba(14,165,233,.6); }

/* ── SECTION DIVIDER ── */
.sec-title::after {
  display: none; /* remove if needed */
}

/* ── PREMIUM DOC LINKS ── */
.doc-link { transition: border-color .2s, box-shadow .2s, transform .25s; }
.doc-link:hover {
  border-color: #1572a3;
  box-shadow: 0 6px 20px rgba(21,114,163,.1);
  transform: translateY(-3px);
}

/* ── VIDEO PH ── */
.video-ph {
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.video-ph:hover .video-play-btn {
  background: rgba(255,255,255,.3) !important;
  box-shadow: 0 0 0 8px rgba(255,255,255,.08);
}

/* ── REVIEWS ── */
.reviews-section {
  background: linear-gradient(135deg, #f0f8fc, #e8f4fb);
  border: 1.5px dashed #a8cfed;
}

/* ── BLOG CARDS ── */
.svc-card-cta {
  background: linear-gradient(135deg, #040c1b, #0a1c35) !important;
  border: 1px solid rgba(96,165,250,.2) !important;
}

/* ── PRICING TABLE ── */
.pricing-preview .pp-card { transition: transform .25s, box-shadow .25s; }
.pricing-preview .pp-card:hover { transform: translateY(-4px); box-shadow: var(--sh2); }
.pricing-preview .pp-popular { box-shadow: 0 8px 32px rgba(21,114,163,.15), 0 0 0 2px var(--blue); }

/* ── STEP NUMBERS ── */
.step-number {
  background: linear-gradient(135deg, rgba(21,114,163,.12), rgba(14,165,233,.08));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

/* ══════════════════════════════════════════
   HERO GUARANTEE + KPIs
══════════════════════════════════════════ */
.hero-guarantee {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(22,163,74,.08);
}
.hg-icon {
  font-size: 26px;
  flex-shrink: 0;
}
.hg-body { flex: 1; }
.hg-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}
.hg-text {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.hg-text b { color: var(--green); font-weight: 800; }
.hg-seal {
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  color: var(--green);
  background: var(--green-l);
  border: 1px solid #bbf7d0;
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}

.hero-kpis {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.hkpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}
.hkpi:first-child { padding-left: 0; }
.hkpi-n {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -.5px;
  line-height: 1;
  margin-bottom: 3px;
}
.hkpi-l {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.hkpi-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   ADVANTAGES V2 — PREMIUM REDESIGN
══════════════════════════════════════════ */
.adv-v2-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.adv-v2-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.adv-v2-card:hover {
  box-shadow: 0 20px 56px rgba(21,114,163,.1);
  transform: translateY(-6px);
  border-color: #b8d9ef;
}
.adv-v2-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.adv-v2-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.adv-v2-emoji {
  font-size: 32px;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.08));
}
.adv-v2-ico {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.pf-ico-wrap {
  width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.adv-v2-tag-pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .2px;
}
.adv-v2-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -.3px;
  margin-bottom: 10px;
}
.adv-v2-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}
.adv-v2-fact {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.avf-n {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.5px;
  flex-shrink: 0;
}
.avf-l {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
}

@media(max-width:1100px) {
  .adv-v2-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px) {
  .adv-v2-grid { grid-template-columns: 1fr; }
  .hero-kpis { gap: 0; }
  .hkpi { padding: 0 12px; }
  .hkpi-n { font-size: 18px; }
}

/* ── DROPDOWN SEPARATOR ── */
.dm-separator {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
}

/* ── SERVICE CARDS VISUAL ── */
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }
.svc-card-vis {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.svc-vis-blue  { background: linear-gradient(135deg, #e8f4fb, #d0eaf8); color: #1572a3; }
.svc-vis-green { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #15803d; }
.svc-vis-purple{ background: linear-gradient(135deg, #f3e5f5, #e1bee7); color: #7e22ce; }
.svc-card-vis svg { opacity: .7; }
.svc-vis-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  background: rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.8);
  color: inherit;
  letter-spacing: .3px;
}
.svc-fit {
  font-size: 12px;
  color: var(--dim);
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* ── EXTRA SERVICES CHIPS ── */
.extra-svcs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 14px 20px;
}
.extra-svcs-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: .5px;
  flex-shrink: 0;
  white-space: nowrap;
}
.extra-svc-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  flex: 1;
  min-width: 260px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.extra-svc-chip:hover {
  border-color: var(--blue);
  box-shadow: var(--sh);
  transform: translateY(-2px);
}
.esc-ico { font-size: 20px; flex-shrink: 0; }
.esc-title { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.esc-sub { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.esc-arr { font-size: 16px; color: var(--blue); margin-left: auto; flex-shrink: 0; opacity: .6; }

/* ── ADVANTAGE CARD NOTE ── */
.adv-note {
  margin-top: 12px;
  padding: 6px 10px;
  background: var(--blue-l);
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
}

/* ── PROCESS ICON WRAP ── */
.proc-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.proc-icon-blue   { background: linear-gradient(135deg, #e8f4fb, #d0eaf8); color: #1572a3; }
.proc-icon-green  { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #15803d; }
.proc-icon-purple { background: linear-gradient(135deg, #f3e5f5, #e1bee7); color: #7e22ce; }
.proc-icon-orange { background: linear-gradient(135deg, #fff8e1, #ffecb3); color: #d97706; }

/* ── ХТИ ALERT ── */
.xti-alert {
  display: flex;
  gap: 20px;
  background: linear-gradient(135deg, #fffbeb, #fef9c3);
  border: 1.5px solid #fde68a;
  border-radius: var(--rl);
  padding: 28px 32px;
  align-items: flex-start;
}
.xti-alert-left { flex-shrink: 0; }
.xti-alert-ico { font-size: 32px; line-height: 1; }
.xti-alert-title {
  font-size: 18px;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 10px;
  line-height: 1.3;
}
.xti-alert-text {
  font-size: 14.5px;
  color: #78350f;
  line-height: 1.75;
}

/* ── INLINE CTA FORM ── */
.inline-cta-grid {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.inline-cta-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 32px;
  box-shadow: var(--sh2);
  position: relative;
  overflow: hidden;
}
.inline-cta-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1572a3, #0ea5e9);
}

/* ── TEXTAREA ── */
textarea.fi {
  resize: vertical;
  min-height: 80px;
  font-family: 'Manrope', sans-serif;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   DIMECO HERO IMAGE
══════════════════════════════════════════ */
.dimeco-hero-img {
  border-radius: 18px;
  overflow: hidden;
  height: 400px;
  position: relative;
  box-shadow: var(--sh3);
}
.dimeco-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.dimeco-hero-img.img-fallback {
  background: linear-gradient(135deg, #e8f4fb, #d0eaf8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   DIMECO GALLERY
══════════════════════════════════════════ */
.dimeco-diagram-wrap {
  margin-bottom: 28px;
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: var(--sh2);
  background: #fff;
}
.dimeco-diagram-img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 8px;
}
.dimeco-photo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.dpg-item {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  height: 220px;
  background: #f5f5f5;
  cursor: pointer;
}
.dpg-item.dpg-large {
  height: 100%;
  grid-row: span 1;
}
.dpg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s;
}
.dpg-item:hover img { transform: scale(1.04); }
.dpg-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 600;
  padding: 24px 12px 10px;
}

/* Components chips */
.dimeco-components {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  flex: 1;
  min-width: 160px;
  transition: border-color .2s, box-shadow .2s;
}
.dc-item:hover { border-color: var(--blue); box-shadow: var(--sh); }
.dc-ico { font-size: 20px; flex-shrink: 0; }
.dc-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 1px; }
.dc-sub { font-size: 11px; color: var(--muted); }

/* Step real images */
.step-real-img {
  border-radius: var(--rl);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--sh2);
}
.step-real-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ══════════════════════════════════════════
   НИИАТ BLOCK
══════════════════════════════════════════ */
.niiат-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
  background: linear-gradient(135deg, #f8fafc, #eef4fb);
  border: 1.5px solid var(--border2);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
}
.niiат-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.niiат-logo-icon { font-size: 36px; }
.niiат-logo-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
  margin-bottom: 2px;
}
.niiат-logo-sub {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.niiат-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.3px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.niiат-desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.niiат-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.niiат-point {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}
.np-ico {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.niiат-point b { color: var(--text); }

/* Right side — flow diagram */
.niiат-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.nf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg2);
  border: 1px solid var(--border);
  text-align: center;
  min-width: 90px;
}
.nf-step-highlight {
  background: var(--blue);
  border-color: var(--blue);
}
.nf-step-highlight .nf-label { color: rgba(255,255,255,.9); }
.nf-icon { font-size: 24px; }
.nf-label { font-size: 11px; font-weight: 700; color: var(--muted); line-height: 1.3; }
.nf-arrow { font-size: 18px; color: var(--blue); font-weight: 700; flex-shrink: 0; }

.niiат-stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.niiат-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.niiат-stat-n {
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 4px;
  letter-spacing: -.3px;
}
.niiат-stat-l { font-size: 11px; color: var(--muted); line-height: 1.4; }

@media(max-width:900px) {
  .niiат-block { grid-template-columns: 1fr; }
  .dimeco-photo-grid { grid-template-columns: 1fr 1fr; }
  .niiат-stat-cards { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:600px) {
  .dimeco-photo-grid { grid-template-columns: 1fr; }
  .niiат-flow { gap: 6px; }
  .nf-step { min-width: 70px; padding: 8px; }
  .niiат-stat-cards { grid-template-columns: 1fr; }
}

/* ── PRICING FORMATS ── */
.pricing-formats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pf-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  padding: 28px 24px;
  cursor: pointer;
  transition: box-shadow .3s, transform .3s, border-color .3s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pf-card:hover {
  box-shadow: var(--sh2);
  transform: translateY(-6px);
  border-color: var(--border2);
}
.pf-card-featured {
  border-color: var(--blue);
  border-width: 2px;
  background: var(--blue-ll);
}
.pf-card-featured:hover { box-shadow: 0 16px 48px rgba(21,114,163,.18); }
.pf-badge-top {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 0 0 8px 8px;
  letter-spacing: .5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.pf-icon { font-size: 36px; margin-bottom: 12px; }
.pf-name { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 4px; letter-spacing: -.3px; }
.pf-who { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.4; }
.pf-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.pf-from { font-size: 13px; color: var(--muted); }
.pf-num { font-size: 36px; font-weight: 800; color: var(--blue); letter-spacing: -1.5px; line-height: 1; }
.pf-per { font-size: 13px; color: var(--muted); }
.pf-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}
.pf-list li {
  font-size: 13.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pf-list li::before {
  content: '✓';
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-l);
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pf-btn {
  width: 100%;
  padding: 11px;
  border-radius: 10px;
  border: 1.5px solid var(--border2);
  background: var(--bg2);
  color: var(--blue);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  margin-top: auto;
}
.pf-btn:hover { background: var(--blue-l); border-color: var(--blue); }
.pf-btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.pf-btn-primary:hover { background: var(--blue-d); }

/* ══════════════════════════════════════════
   CITIES GRID
══════════════════════════════════════════ */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.city-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
  cursor: default;
}
.city-card:hover {
  box-shadow: var(--sh);
  border-color: var(--border2);
  transform: translateY(-2px);
}
.city-own {
  border-color: var(--blue);
  border-width: 2px;
  background: var(--blue-ll);
}
.city-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.city-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.2px;
  line-height: 1.2;
}
.city-badge {
  font-size: 9.5px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  background: var(--bg2);
  color: var(--muted);
  border: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.city-badge-own {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.city-address {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  line-height: 1.35;
}
.city-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green);
}
.city-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.city-dot-green {
  background: var(--green);
  animation: pulse 2s ease infinite;
}

/* Не нашли свой город */
.city-not-found {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--blue-ll), #e0f2fe);
  border: 1.5px solid var(--border2);
  border-radius: var(--rl);
  padding: 24px 28px;
  flex-wrap: wrap;
}
.cnf-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 260px;
}
.cnf-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }
.cnf-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
  letter-spacing: -.2px;
}
.cnf-sub {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

@media(max-width:1100px) {
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:700px) {
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .city-not-found { flex-direction: column; align-items: flex-start; }
  .city-not-found .btn-primary { width: 100%; }
}
@media(max-width:420px) {
  .cities-grid { grid-template-columns: 1fr; }
}

/* ── RESPONSIVE additions ── */
@media(max-width:900px) {
  .services-grid-3 { grid-template-columns: 1fr; }
  .inline-cta-grid { grid-template-columns: 1fr; }
  .extra-svcs { flex-direction: column; }
  .xti-alert { flex-direction: column; gap: 12px; }
  .pricing-formats { grid-template-columns: 1fr; }
  .hv-card { max-width: 100%; }
  .hv-float-1, .hv-float-2 { display: none; }
}
@media(max-width:600px) {
  .extra-svc-chip { min-width: unset; }
  .inline-cta-form { padding: 22px 18px; }
  .xti-alert { padding: 20px; }
}

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1572a3, #0ea5e9, #38bdf8);
  z-index: 9999;
  width: 0%;
  transition: width .08s linear;
}

/* ── HERO CANVAS ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── HERO ACCENT (animated gradient h1) ── */
.hero-accent {
  background: linear-gradient(90deg, #60a5fa, #38bdf8, #818cf8, #60a5fa);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 5s ease infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ── FLOATING NOTIFICATION ── */
.hero-notify {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(10,17,30,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(96,165,250,.28);
  border-radius: 14px;
  padding: 11px 16px;
  margin-top: 14px;
  width: fit-content;
  animation: notifyIn .7s cubic-bezier(.34,1.56,.64,1) forwards 2.5s;
  opacity: 0;
  transform: translateY(12px);
  box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.04);
}
@keyframes notifyIn { to { opacity: 1; transform: translateY(0); } }
.hn-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: #4ade80;
  background: rgba(74,222,128,.1);
  border: 1px solid rgba(74,222,128,.2);
  border-radius: 5px;
  padding: 2px 7px;
  flex-shrink: 0;
}
.hn-pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}
.hn-ico { font-size: 18px; flex-shrink: 0; }
.hn-body { flex: 1; }
.hn-title { font-size: 12.5px; font-weight: 700; color: #e2f0ff; margin-bottom: 1px; }
.hn-sub { font-size: 11px; color: rgba(255,255,255,.45); }

/* ── LIVE STAT CHIP ── */
.hero-live-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  margin-top: 10px;
  animation: notifyIn .5s ease forwards 3.5s;
  opacity: 0;
}
.hero-live-stat b {
  color: #4ade80;
  font-size: 13px;
  font-weight: 800;
}

/* ── CLIENTS MARQUEE STRIP ── */
.clients-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  overflow: hidden;
}
.clients-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px,4vw,48px);
  display: flex;
  align-items: center;
  gap: 20px;
}
.clients-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--dim);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .6px;
  flex-shrink: 0;
}
.clients-track {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.clients-scroll {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: clientsScroll 35s linear infinite;
}
.clients-scroll:hover { animation-play-state: paused; }
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 15px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  cursor: default;
  transition: border-color .2s, color .2s, background .2s;
}
.client-chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-l); }
.cc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .4;
  flex-shrink: 0;
}

/* ── TESTIMONIAL CARDS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 28px 24px 22px;
  position: relative;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.testi-card:hover {
  box-shadow: 0 16px 48px rgba(21,114,163,.1);
  transform: translateY(-5px);
  border-color: #a8cfed;
}
.testi-quote {
  font-size: 64px;
  line-height: .8;
  font-family: Georgia, serif;
  color: var(--blue-l);
  margin-bottom: 4px;
  letter-spacing: -2px;
}
.testi-stars {
  font-size: 16px;
  color: #f59e0b;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.testi-text {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  flex: 1;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-ava {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.testi-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.testi-co {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}
.testi-src {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--dim);
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  text-align: center;
}

/* ── REVIEW PLATFORMS BAR ── */
.testi-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 16px 32px;
  flex-wrap: wrap;
  gap: 24px;
}
.tp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.tp-logo {
  font-size: 13px;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.3;
}
.tp-yandex { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.tp-2gis { background: linear-gradient(135deg, #e8f4fb, #c3def2); color: var(--blue); }
.tp-stars { font-size: 15px; color: #f59e0b; letter-spacing: 1px; }
.tp-score { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.tp-divider { width: 1px; height: 52px; background: var(--border); }
.tp-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  padding: 10px 20px;
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  transition: background .2s;
  white-space: nowrap;
}
.tp-cta:hover { background: var(--blue-l); }

/* ── RESPONSIVE PREMIUM ── */
@media(max-width:900px) {
  .hero::before { width: 400px; height: 400px; top: -150px; left: -80px; }
  .hero::after { display: none; }
  .page-hero::before { width: 300px; height: 300px; }
  .dmock-vitals { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; gap: 16px; }
  .clients-inner { gap: 12px; }
}
@media(max-width:600px) {
  .dmock { border-radius: 14px; }
  .dmock-body { padding: 12px; gap: 10px; }
  .dmock-vv { font-size: 18px; }
  .dmock-vitals { gap: 8px; }
  .clients-label { display: none; }
  .hero-notify { min-width: unset; }
  .testi-platforms { padding: 14px 16px; gap: 14px; }
  .tp-divider { display: none; }
}

/* ══════════════════════════════════════════
   MOBILE BOTTOM NAV
══════════════════════════════════════════ */
.mob-bottom-nav { display: none; }

@media(max-width:1100px) {
  /* Скрыть live-toast (уведомления компаний) */
  .live-toast { display: none !important; }
}

@media(max-width:768px) {
  /* Скрыть бургер — заменён нижним меню */
  .burger { display: none !important; }

  /* Показать нижнюю навигацию */
  .mob-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1.5px solid var(--border);
    z-index: 950;
    box-shadow: 0 -4px 24px rgba(0,0,0,.10);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .mob-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 4px;
    cursor: pointer;
    border: none;
    background: none;
    font-family: 'Manrope', sans-serif;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    transition: color .2s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
  }
  .mob-nav-item svg { width: 22px; height: 22px; flex-shrink: 0; }
  .mob-nav-item.active { color: var(--blue); }
  .mob-nav-item.active svg { filter: drop-shadow(0 0 4px rgba(21,114,163,.35)); }
  .mob-nav-item:not(.mob-nav-cta):active { background: var(--blue-l); border-radius: 10px; color: var(--blue); }
  .mob-nav-item.mob-nav-cta {
    background: linear-gradient(145deg, #1572a3, #0ea5e9);
    color: #fff;
    border-radius: 14px;
    margin: 7px 6px;
    padding: 9px 6px;
    flex: 0 0 auto;
    width: 62px;
    font-size: 9.5px;
    box-shadow: 0 4px 14px rgba(14,165,233,.4);
    transition: box-shadow .2s, transform .15s;
  }
  .mob-nav-item.mob-nav-cta:active { transform: scale(.95); box-shadow: 0 2px 8px rgba(14,165,233,.3); }

  /* Отступ снизу чтобы контент не прятался под панелью */
  body { padding-bottom: 68px; }

  /* Меню-оверлей открывается снизу с правильным отступом */
  #main-nav.open {
    bottom: 68px;
    top: auto;
    top: 68px;
    max-height: calc(100vh - 68px - 68px);
  }
}

@media(max-width:480px) {
  .header-phone { display: none; }
  .header-right { gap: 8px; }
}

/* 2ГИС виджет — адаптив */
.twogis-widget-wrap iframe {
  max-width: 100%;
  width: 100% !important;
}
@media(max-width:560px) {
  .twogis-widget-wrap { padding: 0 8px; }
  .twogis-widget-wrap iframe { height: 680px !important; }
}

/* ══════════════════════════════════════════
   ИСПРАВЛЕНИЕ ИНЛАЙН-ГРИДОВ НА МОБИЛЬНОМ
   Все grid-template-columns заданы inline style="",
   поэтому переопределяем через !important
══════════════════════════════════════════ */
@media(max-width:900px) {
  /* 2 равные колонки → 1 колонка */
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* Боковая панель 360px → 1 колонка */
  [style*="grid-template-columns:360px"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* page-hero-inner: 1fr 460px → 1 колонка */
  [style*="grid-template-columns:1fr 460px"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  /* 4 колонки → 2 колонки */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  /* 3 колонки отзывов → 1 колонка */
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  /* cities-grid по id */
  #cities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
}
@media(max-width:600px) {
  /* 4 колонки на маленьком → 1 колонка */
  [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr !important;
  }
  #cities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* inline-cta-grid */
  [style*="grid-template-columns:1fr 480px"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* ══════════════════════════════════════════
   БЛОГ — КАРТОЧКИ
══════════════════════════════════════════ */
.blog-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border, #e2ecf0);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
  overflow: hidden;
}
.blog-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}
.blog-post-body h2 { font-size: 22px; font-weight: 700; margin: 28px 0 10px; }
.blog-post-body h3 { font-size: 18px; font-weight: 700; margin: 22px 0 8px; }
.blog-post-body p  { margin-bottom: 16px; }
.blog-post-body ul, .blog-post-body ol { padding-left: 22px; margin-bottom: 16px; }
.blog-post-body li { margin-bottom: 6px; }
.blog-post-body a  { color: var(--blue, #1572a3); }
.blog-post-body blockquote {
  border-left: 3px solid var(--blue, #1572a3);
  padding: 12px 18px; margin: 20px 0;
  background: var(--blue-l, #e8f4fb); border-radius: 0 8px 8px 0;
  font-style: italic;
}

@media(max-width:900px) {
  #blog-cards { grid-template-columns: 1fr !important; }
}
@media(min-width:601px) and (max-width:900px) {
  #blog-cards { grid-template-columns: repeat(2,1fr) !important; }
}

/* ══════════════════════════════════════════
   ТАБЛИЦА СРАВНЕНИЯ ФОРМАТОВ
══════════════════════════════════════════ */
@media(max-width:900px) {
  /* Контейнер таблицы — прокрутка по горизонтали */
  [style*="overflow-x:auto"] {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid var(--border);
  }
  /* Уменьшить шрифт и отступы в ячейках */
  [style*="overflow-x:auto"] table td,
  [style*="overflow-x:auto"] table th {
    padding: 10px 8px !important;
    font-size: 12px !important;
  }
  [style*="overflow-x:auto"] table td:first-child,
  [style*="overflow-x:auto"] table th:first-child {
    padding-left: 12px !important;
    min-width: 120px;
  }
}
@media(max-width:600px) {
  [style*="overflow-x:auto"] table td,
  [style*="overflow-x:auto"] table th {
    padding: 9px 7px !important;
    font-size: 11.5px !important;
  }
  [style*="overflow-x:auto"] {
    /* Подсказка что таблица скроллится */
    position: relative;
  }
}
