:root {
    --primary: #0078d4;
    --primary-dark: #005a9e;
    --secondary: #00bcf2;
    --accent: #ffb900;
    --dark: #0f172a;
    --gray: #64748b;
    --light-bg: #f8fafc;
}

/* ── BTN-CTA ─────────────────────────────────────── */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 120, 212, 0.3);
}
.btn-cta-ghost { background: transparent; border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-cta-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; box-shadow: none; transform: translateY(-2px); }
.btn-cta-blue { background: #0078d4; }
.btn-cta-blue:hover { background: #005a9e; box-shadow: 0 8px 24px rgba(0, 120, 212, 0.35); }

/* ── LOADER ──────────────────────────────────────── */
.loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease; }
.loader.hidden { opacity: 0; pointer-events: none; }
.metro-loader { display: flex; gap: 6px; align-items: flex-end; }
.metro-loader-bar { width: 4px; background: var(--dark); animation: loaderPulse 1.2s ease-in-out infinite; }
.metro-loader-bar:nth-child(1) { height: 32px; }
.metro-loader-bar:nth-child(2) { height: 48px; animation-delay: .15s; background: var(--primary); }
.metro-loader-bar:nth-child(3) { height: 40px; animation-delay: .3s; background: var(--secondary); }
.metro-loader-bar:nth-child(4) { height: 56px; animation-delay: .45s; }
.metro-loader-bar:nth-child(5) { height: 36px; animation-delay: .6s; background: var(--primary); }
@keyframes loaderPulse { 0%, 100% { transform: scaleY(0.4); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* ── FOOTER PARTNERS ─────────────────────────────── */
.footer-partners{margin-top:2.25rem;padding:1.5rem;border:1px solid #1f2937;background:linear-gradient(180deg,#0b1220 0%,#0f172a 100%);}
.partners-title{font-size:.875rem;font-weight:700;letter-spacing:0.5px;color:#94a3b8;margin-bottom:1rem;text-align:center;}
.partner-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.75rem;}
.partner-btn{display:flex;align-items:flex-start;gap:.75rem;padding:.85rem .95rem;text-decoration:none;background:#111827;border:1px solid #1f2937;transition:all .25s ease;min-height:64px;cursor:pointer;}
.partner-btn:hover{transform:translateY(-2px);border-color:#334155;box-shadow:0 10px 24px rgba(0,0,0,.35);}
.partner-btn .btn-icon{font-size:1.1rem;line-height:1.2;flex-shrink:0;}
.partner-btn .btn-text{display:flex;flex-direction:column;gap:2px;min-width:0;}
.partner-btn .btn-text strong{font-size:.86rem;line-height:1.2;color:#f8fafc;font-weight:700;}
.partner-btn .btn-text small{font-size:.8125rem;line-height:1.4;color:#94a3b8;}

/* ── MOBILE MENU ─────────────────────────────────── */
@media (min-width: 1024px)  { .mobile-menu-btn { display: none !important; } }
@media (max-width: 1023px)  {
    .mobile-menu-btn { display: flex !important; align-items: center; justify-content: center; background: none !important; border: none !important; cursor: pointer; padding: 6px; color: #1e293b !important; }
}
@media (max-width: 768px)   { .scroll-top { display: none !important; } }

/* ═══════════════════════════════════════════════════
   LANDING / SERVICE PAGES — ОБЩИЕ КОМПОНЕНТЫ
   ═══════════════════════════════════════════════════ */

/* HERO */
.hero-service { background: #0f172a; position: relative; overflow: hidden; padding: 7rem 0 5rem; }
.hero-service::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,120,212,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(0,120,212,.06) 1px, transparent 1px); background-size: 60px 60px; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
@media (max-width: 768px) { .hero-service { padding: 5rem 0 3rem; } }

/* SERVICE BADGE */
.service-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(0,120,212,.15); border: 1px solid rgba(0,120,212,.3); font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #60a5fa; margin-bottom: 1.5rem; }

/* STATUS DOT */
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #60a5fa; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* BREADCRUMBS */
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: .8125rem; color: rgba(255,255,255,.5); flex-wrap: wrap; }
.breadcrumbs a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,.3); display: inline-flex; align-items: center; }
.breadcrumb-sep svg, .breadcrumb-sep i { display: none; }
.breadcrumb-sep::after { content: '›'; font-size: 1rem; line-height: 1; }
.breadcrumb-current { color: #fff; font-weight: 500; }

/* SECTION TYPOGRAPHY */
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .75rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.section-eyebrow::before { content: ''; width: 24px; height: 3px; background: var(--primary); }
.section-eyebrow.center { justify-content: center; }
.section-eyebrow.center::before { display: none; }
.section-eyebrow.center::after { content: ''; width: 24px; height: 3px; background: var(--primary); order: -1; }
.section-title { font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 300; line-height: 1.2; color: var(--dark); margin-bottom: 1.25rem; }
.section-title strong { font-weight: 700; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* RESULT TILE */
.result-tile { padding: 2rem; background: #fff; border: 1px solid #f1f5f9; transition: all .3s ease; }
.result-tile:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-4px); border-color: #e2e8f0; }

/* PROBLEM ROW */
.problem-row { display: flex; gap: 1rem; padding: 1.5rem; border-left: 3px solid #e5e7eb; background: #fff; transition: all .3s ease; border-bottom: 1px solid #f1f5f9; }
.problem-row:hover { border-left-color: var(--primary); background: #f8fafc; }

/* SIGNAL CARD */
.signal-card { background: #fff; padding: 2rem; border: 1px solid #f1f5f9; border-top: 4px solid #0078d4; transition: all .3s ease; }
.signal-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-3px); }

/* FAQ */
.faq-item { border: 1px solid #e5e7eb; background: #fff; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: none; cursor: pointer; text-align: left; font-size: .9375rem; font-weight: 600; color: var(--dark); transition: all .2s ease; font-family: inherit; }
.faq-q:hover { background: #f8fafc; }
.faq-q.open { color: var(--primary); }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .3s ease; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.16,1,.3,1); }
.faq-a p { padding: 0 1.5rem 1.25rem; font-size: .875rem; color: #64748b; line-height: 1.7; }

/* CONTACT FORM */
.contact-form-card { background: #fff; padding: 2.5rem; border: 1px solid #e5e7eb; }
.form-label { display: block; font-size: .8125rem; font-weight: 600; color: #374151; margin-bottom: .5rem; }
.form-input { width: 100%; padding: 10px 14px; border: 1.5px solid #e5e7eb; background: #f9fafb; font-size: .875rem; color: var(--dark); outline: none; transition: all .2s ease; font-family: inherit; border-radius: 0; }
.form-input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(0,120,212,.1); }
textarea.form-input { resize: vertical; }

.form-pdn-consent { margin: 0 0 1rem; }
.form-pdn-consent__row {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  align-items: start;
}
.form-pdn-consent__input {
  grid-column: 1;
  grid-row: 1;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  max-width: 18px;
  margin: 2px 0 0 !important;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
label.form-pdn-consent__text {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin: 0;
  font-size: .75rem;
  line-height: 1.5;
  font-weight: 400;
  color: #64748b;
  cursor: pointer;
}
label.form-pdn-consent__text a { display: inline; color: var(--primary); text-decoration: underline; }
label.form-pdn-consent__text a:hover { color: var(--primary-dark); }
.contact-form-card label.form-pdn-consent__text { color: #6b7280; }
.contact-form-card label.form-pdn-consent__text a { color: var(--primary); }

/* CTA SECTION */
.cta-section { background: var(--dark); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(0,120,212,.3) 0%, transparent 70%); }
.cta-section::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 40px 40px; }

/* CHECKLIST */
.checklist-item { display: flex; align-items: flex-start; gap: .75rem; padding: .5rem 0; }
.check-icon { width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: #f0fdfa; margin-top: 1px; }

/* WORK-BLOCK */
.work-block { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid #f1f5f9; }
.work-block:last-child { border-bottom: none; }
.work-num { font-size: 2.5rem; font-weight: 700; color: #e2e8f0; line-height: 1; flex-shrink: 0; min-width: 3rem; }

/* RISK-CARD */
.risk-card { padding: 1.25rem 1.5rem; border-left: 4px solid; }
.risk-card.red { background: #fef2f2; border-color: #ef4444; }
.risk-card.yellow { background: #fffbeb; border-color: #f59e0b; }
.risk-card.green { background: #f0fdf4; border-color: #10b981; }

/* FEATURE-ROW */
.feature-row { display: flex; gap: 1rem; align-items: flex-start; padding: .75rem 0; }

/* LANDING-CARD */
.landing-card { background: #fff; padding: 1.5rem; border: 1px solid #f1f5f9; border-top: 3px solid #0078d4; transition: all .3s ease; }
.landing-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-4px); }

/* STAT-BOX */
.stat-box { background: #fff; padding: 2rem; border: 1px solid #f1f5f9; text-align: center; }
.stat-val { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: #0f172a; line-height: 1; margin-bottom: .5rem; }

/* PRICE-CARD */
.price-card { background: #fff; padding: 2.5rem; border: 1px solid #e5e7eb; position: relative; transition: all .3s; }
.price-card.featured { border: 2px solid var(--primary); box-shadow: 0 8px 32px rgba(0,120,212,.15); }
.price-amount { font-size: 2.5rem; font-weight: 700; color: #0f172a; line-height: 1; }

/* BENEFIT-CARD */
.benefit-card { transition: all .3s ease; }
.benefit-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); transform: translateY(-3px); }

/* ECO-ICON */
.eco-icon { width: 48px; height: 48px; background: #f5f3ff; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; flex-shrink: 0; }

/* Кнопка «наверх» — глобально (раньше была только в page-css) */
.scroll-top{position:fixed;bottom:2rem;right:2rem;width:52px;height:52px;background:var(--primary);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s;z-index:999;border-bottom:4px solid var(--primary-dark);}
.scroll-top.visible{opacity:1;visibility:visible;}
.scroll-top:hover{background:var(--primary-dark);}
