/* NovacPay — Card mono-landing — Styles */

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--brand-blue); color: var(--white); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-blue); }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h1 em, h2 em { font-style: normal; color: var(--brand-blue); }
.eyebrow { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: var(--sp-4); display: inline-block; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text); }

/* LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-6); }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 var(--sp-6); }
.section { padding: var(--sp-9) 0; position: relative; }
.section-paper { background: var(--paper); }
.section-bg { background: var(--brand-bg); }

.section-head { text-align: center; margin-bottom: var(--sp-8); max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head .lead { color: var(--muted); margin-top: var(--sp-4); }

@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 var(--sp-5); }
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2); padding: 0.95rem 1.6rem; border-radius: var(--r-pill); font-weight: 600; font-size: 0.97rem; line-height: 1; transition: transform var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast); white-space: nowrap; }
.btn-primary { background: var(--brand-blue); color: var(--white); box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); background: var(--brand-deep); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }

/* NAVBAR */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: var(--sp-4) 0; transition: background var(--tr-md), backdrop-filter var(--tr-md), border-color var(--tr-md); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(255, 255, 255, 0.85); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom-color: var(--border); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--sp-6); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); }
.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.logo-alpha {
  color: var(--brand-blue);
  font-style: normal;
  font-weight: 700;
  display: inline-block;
  font-size: 1.05em;
  margin: 0 -0.02em;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.18);
}
.nav-links { display: flex; gap: var(--sp-6); }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text); transition: color var(--tr-fast); }
.nav-links a:hover { color: var(--brand-blue); }
.nav-cta { display: flex; align-items: center; gap: var(--sp-3); }

.nav-toggle { display: none; width: 38px; height: 38px; border-radius: var(--r-md); background: var(--paper); align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { padding: 0.7rem 1.1rem; font-size: 0.88rem; }
}

/* MOBILE NAV OVERLAY */
.nav-overlay { position: fixed; inset: 0; background: var(--white); z-index: 99; padding: 5rem var(--sp-6) var(--sp-6); transform: translateY(-100%); transition: transform var(--tr-md); display: flex; flex-direction: column; gap: var(--sp-5); }
.nav-overlay.open { transform: translateY(0); }
.nav-overlay a { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border); }

/* HERO STATIC — split: текст слева, картинка справа (карта чуть шире текста) */
.hero-static { padding: 8rem 0 var(--sp-9); position: relative; }
.hero-static-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: var(--sp-7);
  align-items: center;
}
.hero-static-text .eyebrow { color: var(--brand-blue); }
.hero-static-text h1 { margin-bottom: var(--sp-5); }
.hero-static-text .lead { color: var(--muted); margin-bottom: var(--sp-6); max-width: 540px; }

.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-6); }
.hero-trust { display: flex; gap: var(--sp-4); flex-wrap: wrap; align-items: center; font-size: var(--fs-caption); color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-trust svg { width: 16px; height: 16px; color: var(--success); }

.hero-static-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-static-img img {
  display: block;
  width: 115%;
  max-width: none;
  height: auto;
  transform: translate(5%, -3%);
}

@media (max-width: 900px) {
  .hero-static { padding: 7rem 0 var(--sp-7); }
  .hero-static-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-static-text .lead { max-width: 100%; }
  .hero-static-img img {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    transform: none;
  }
}

@media (max-width: 480px) {
  .hero-static { padding: 6rem 0 var(--sp-6); }
  .hero-cta { gap: var(--sp-2); }
  .hero-cta .btn { width: 100%; }
}

/* PAINS SECTION */
.pains-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-5); }
.pain-card { background: var(--white); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: var(--sp-6); transition: transform var(--tr-md), box-shadow var(--tr-md), border-color var(--tr-md); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03); }
.pain-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(37, 99, 235, 0.14), 0 2px 6px rgba(15, 23, 42, 0.05); border-color: var(--brand-blue); }
.pain-icon { width: 70px; height: 70px; border-radius: 18px; background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%); color: var(--brand-blue); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4); box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.04); transition: transform var(--tr-md), box-shadow var(--tr-md); }
.pain-card:hover .pain-icon { transform: scale(1.04); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2), 0 8px 20px rgba(37, 99, 235, 0.18), 0 2px 5px rgba(37, 99, 235, 0.08); }
.pain-icon svg { width: 40px; height: 40px; }
.pain-card h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); line-height: 1.3; }
.pain-card p { font-size: 0.92rem; color: var(--muted); }
.pain-card .arrow { color: var(--brand-blue); font-weight: 700; font-size: 1.05em; display: inline-block; transition: transform var(--tr-fast); margin-left: 0.15em; }
.pain-card:hover .arrow { transform: translateX(4px); }

/* TOP SERVICES — 12 чипов с логотипами */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }

.service-chip {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  text-align: center;
  transition: border-color var(--tr-fast), transform var(--tr-fast), box-shadow var(--tr-fast);
  min-height: 130px;
}
.service-chip:hover { border-color: var(--brand-soft); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.service-chip-logo {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--tr-fast);
}
.service-chip-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.service-chip:hover .service-chip-logo { transform: scale(1.08); }

.service-chip-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.service-chip-tag {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}
.services-more { text-align: center; margin-top: var(--sp-5); }
.services-more-btn { font-size: 0.92rem; color: var(--brand-blue); font-weight: 600; padding: var(--sp-3) var(--sp-5); border-radius: var(--r-pill); background: var(--brand-bg); transition: background var(--tr-fast); display: inline-block; }
.services-more-btn:hover { background: var(--brand-soft); }

@media (max-width: 768px) {
  .service-chip { padding: var(--sp-4) var(--sp-3); min-height: 96px; }
  .service-chip-name { font-size: 0.78rem; }
  .service-chip-tag { font-size: 0.68rem; }
}
@media (max-width: 480px) {
  .services-grid { gap: var(--sp-2); }
  .service-chip { padding: var(--sp-3) var(--sp-2); min-height: 86px; }
  .service-chip-logo { width: 30px; height: 30px; }
}

/* HOW IT WORKS — 4 шага */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  position: relative;
  transition: transform var(--tr-md), border-color var(--tr-md), box-shadow var(--tr-md);
}
.step:hover { transform: translateY(-4px); border-color: var(--brand-soft); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-bg);
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: var(--sp-4);
}
.step h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); line-height: 1.3; }
.step p { font-size: 0.92rem; color: var(--muted); line-height: 1.55; }

@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* TRUST + STATS SECTION */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sp-5); margin-bottom: var(--sp-8); }
.trust-card { padding: var(--sp-5); }
.trust-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--white); color: var(--text); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4); }
.trust-icon svg { width: 28px; height: 28px; }
.trust-card h3 { font-size: 1.05rem; margin-bottom: var(--sp-2); }
.trust-card p { font-size: 0.9rem; color: var(--muted); }

.stats-bar { background: var(--ink); color: var(--white); border-radius: var(--r-xl); padding: var(--sp-7) var(--sp-6); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -0.03em; line-height: 1; color: var(--brand-soft); font-variant-numeric: tabular-nums; }
.stat-num-text { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: var(--sp-3); }
.stats-caption { max-width: 720px; margin: var(--sp-5) auto 0; text-align: center; font-size: 0.95rem; line-height: 1.55; color: var(--muted); }
@media (max-width: 720px) { .stats-bar { grid-template-columns: 1fr; gap: var(--sp-6); padding: var(--sp-6) var(--sp-5); } }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color var(--tr-fast), box-shadow var(--tr-fast); }
.faq-item:hover { border-color: var(--brand-soft); }
.faq-item.open { border-color: var(--brand-blue); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5) var(--sp-6); font-size: 1rem; font-weight: 600; color: var(--ink); text-align: left; transition: background var(--tr-fast); }
.faq-q:hover { background: var(--paper); }
.faq-q-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-bg); color: var(--brand-blue); display: inline-flex; align-items: center; justify-content: center; transition: transform var(--tr-md); font-weight: 700; font-size: 1.1rem; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); background: var(--brand-blue); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--tr-md), padding var(--tr-md); padding: 0 var(--sp-6); color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.faq-item.open .faq-a { max-height: 800px; padding: 0 var(--sp-6) var(--sp-5); }
.faq-list-bullets { display: flex; flex-direction: column; gap: var(--sp-2); margin: var(--sp-2) 0; padding-left: var(--sp-4); }
.faq-list-bullets li { position: relative; padding-left: var(--sp-3); }
.faq-list-bullets li::before { content: '•'; position: absolute; left: 0; color: var(--brand-blue); font-weight: 700; }

/* FINAL CTA */
.final-cta { background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-blue) 100%); color: var(--white); border-radius: var(--r-xl); padding: var(--sp-9) var(--sp-6); text-align: center; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; top: -40%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%); pointer-events: none; }
.final-cta::after { content: ''; position: absolute; bottom: -40%; left: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(168,213,242,0.25), transparent 60%); pointer-events: none; }
.final-cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.final-cta h2 { color: var(--white); margin-bottom: var(--sp-4); font-size: clamp(2rem, 4vw, 3rem); }
.final-cta h2 em { color: var(--brand-soft); font-style: normal; }
.final-cta p { color: rgba(255,255,255,0.85); font-size: var(--fs-lead); margin-bottom: var(--sp-7); }
.final-cta .hero-cta { justify-content: center; margin-bottom: 0; }
.final-cta .btn-primary { background: var(--white); color: var(--brand-deep); }
.final-cta .btn-primary:hover { background: var(--brand-bg); color: var(--brand-deep); }
.final-cta .btn-secondary { color: var(--white); border-color: rgba(255,255,255,0.4); }
.final-cta .btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* FOOTER */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: var(--sp-9) 0 var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-7); margin-bottom: var(--sp-8); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: var(--sp-4);
  display: inline-block;
  line-height: 1;
}
.footer-brand .logo-alpha {
  color: var(--brand-soft);
  text-shadow: 0 0 30px rgba(168, 213, 242, 0.4);
}
.footer-tag { font-size: 0.88rem; line-height: 1.6; max-width: 280px; }
.footer-col-title { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 700; color: var(--white); margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a { font-size: 0.92rem; transition: color var(--tr-fast); }
.footer-col a:hover { color: var(--brand-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--sp-5); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--sp-4); font-size: 0.78rem; }

/* COMPLIANCE NOTE (replace tag) */
.replace-tag { display: inline-block; background: rgba(250, 216, 224, 0.55); color: #b54250; padding: 0 0.4rem; border-radius: 4px; font-family: var(--font-mono); font-size: 0.85em; }

/* LEGAL DOC — оферта, политика, согласие, реквизиты */
.legal-doc { max-width: 760px; color: var(--text); }
.legal-doc h1 { margin-bottom: var(--sp-5); font-size: clamp(1.8rem, 4vw, 2.4rem); }
.legal-doc h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-4); font-size: 1.3rem; color: var(--ink); }
.legal-doc h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); font-size: 1.05rem; color: var(--ink); }
.legal-doc p { margin-bottom: var(--sp-4); line-height: 1.7; }
.legal-doc strong { color: var(--ink); font-weight: 600; }
.legal-doc ul, .legal-doc ol { margin: 0 0 var(--sp-4) 0; padding-left: 1.5rem; }
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc li { margin-bottom: var(--sp-2); line-height: 1.65; }
.legal-doc li ul, .legal-doc li ol { margin-top: var(--sp-2); margin-bottom: 0; }
.legal-doc a { color: var(--brand-blue); text-decoration: underline; }
.legal-doc a:hover { color: var(--brand-deep); }
.legal-doc .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: var(--sp-7); }
.legal-doc .req-table { display: grid; grid-template-columns: minmax(200px, auto) 1fr; gap: var(--sp-3) var(--sp-5); padding: var(--sp-5) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: var(--sp-5) 0 var(--sp-7); }
.legal-doc .req-table dt { color: var(--muted); font-size: 0.92rem; }
.legal-doc .req-table dd { color: var(--ink); font-weight: 500; font-size: 0.97rem; word-break: break-word; }
@media (max-width: 600px) {
  .legal-doc .req-table { grid-template-columns: 1fr; gap: var(--sp-2) 0; }
  .legal-doc .req-table dd { padding-bottom: var(--sp-3); border-bottom: 1px solid var(--border); }
  .legal-doc .req-table dd:last-child { border-bottom: none; }
}
.legal-doc .legal-foot { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--border); color: var(--muted); font-size: 0.88rem; }

/* NFC TEASER — вторичный блок «Скоро Novac NFC», не конкурирует с «Оформить карту» */
.nfc-soon { max-width: 720px; margin: 0 auto; text-align: center; padding: var(--sp-7) var(--sp-6); background: var(--white); border: 1px dashed var(--border-strong); border-radius: var(--r-lg); }
.nfc-soon-badge { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-blue); background: var(--brand-bg); padding: 0.3rem 0.75rem; border-radius: var(--r-pill); margin-bottom: var(--sp-4); }
.nfc-soon-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: var(--sp-3); color: var(--ink); }
.nfc-soon-title em { color: var(--brand-blue); font-style: normal; }
.nfc-soon p { color: var(--muted); font-size: var(--fs-lead); line-height: 1.6; max-width: 540px; margin: 0 auto var(--sp-5); }
.nfc-soon-link { display: inline-block; color: var(--brand-blue); font-weight: 600; font-size: 1rem; text-decoration: none; transition: color var(--tr-fast); }
.nfc-soon-link:hover { color: var(--brand-deep); text-decoration: underline; text-underline-offset: 3px; }

/* COOKIE BANNER — фиксируется снизу, выбор хранится в localStorage (см. main.js) */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--ink); color: var(--white); padding: var(--sp-4) var(--sp-5); box-shadow: 0 -4px 24px rgba(15,23,42,0.25); border-top: 1px solid rgba(255,255,255,0.08); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; font-size: 0.85rem; line-height: 1.5; color: rgba(255,255,255,0.85); }
.cookie-banner a { color: var(--brand-soft); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; gap: var(--sp-2); flex-shrink: 0; }
.cookie-btn { padding: 0.5rem 1.1rem; border-radius: var(--r-sm); font-size: 0.82rem; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: background var(--tr-fast), border-color var(--tr-fast); }
.cookie-btn-ghost { background: transparent; border-color: rgba(255,255,255,0.25); color: rgba(255,255,255,0.85); }
.cookie-btn-ghost:hover { border-color: rgba(255,255,255,0.5); }
.cookie-btn-primary { background: var(--brand-blue); color: var(--white); }
.cookie-btn-primary:hover { background: var(--brand-deep); }
@media (max-width: 560px) {
  .cookie-banner-actions { width: 100%; }
  .cookie-btn { flex: 1; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* TOUCH DEVICES — отключаем hover-эффекты */
@media (hover: none) {
  .pain-card:hover,
  .step:hover,
  .trust-card:hover,
  .service-chip:hover,
  .faq-item:hover,
  .nav-links a:hover,
  .footer-col a:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .services-more-btn:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--border);
  }
}

/* TABLET (≤1024) */
@media (max-width: 1024px) {
  .container, .container-narrow { padding: 0 var(--sp-5); }
  .nav-inner { padding: 0 var(--sp-5); }
  .section { padding: var(--sp-9) 0; }
  .section-head { margin-bottom: var(--sp-7); }
  h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
  h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
}

/* MOBILE (≤768) */
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 var(--sp-4); }
  .nav-inner { padding: 0 var(--sp-4); }
  .section { padding: var(--sp-8) 0; }
  .section-head { margin-bottom: var(--sp-6); }
  .section-head .lead { font-size: 1rem; }
  .hero-static-text h1 { font-size: clamp(1.85rem, 7vw, 2.4rem); line-height: 1.15; margin-bottom: var(--sp-4); }
  .hero-static-text .lead { font-size: 0.97rem; line-height: 1.55; margin-bottom: var(--sp-5); }
  .hero-trust { gap: var(--sp-3); font-size: 0.78rem; }
  .pain-card { padding: var(--sp-5); }
  .pain-card h3 { font-size: 1rem; }
  .pain-card p { font-size: 0.88rem; }
  .pains-grid { gap: var(--sp-4); }
  .step { padding: var(--sp-5); }
  .step h3 { font-size: 1rem; }
  .step p { font-size: 0.88rem; }
  .trust-grid { gap: var(--sp-4); margin-bottom: var(--sp-6); }
  .trust-card { padding: var(--sp-4); }
  .stats-bar { padding: var(--sp-6) var(--sp-5); }
  .stats-caption { font-size: 0.9rem; }
  .faq-q { padding: var(--sp-4) var(--sp-5); font-size: 0.95rem; }
  .faq-item.open .faq-a { padding: 0 var(--sp-5) var(--sp-4); font-size: 0.9rem; }
  .final-cta { padding: var(--sp-7) var(--sp-5); border-radius: var(--r-lg); }
  .final-cta h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .final-cta p { font-size: 1rem; margin-bottom: var(--sp-5); }
  .footer { padding: var(--sp-8) 0 var(--sp-5); }
  .footer-grid { gap: var(--sp-6); margin-bottom: var(--sp-6); }
  .footer-tag { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); text-align: left; font-size: 0.72rem; }
}

/* SMALL MOBILE (≤480) */
@media (max-width: 480px) {
  .nav-cta .btn { padding: 0.6rem 0.95rem; font-size: 0.82rem; }
  .nav-logo { font-size: 1.35rem; }
  .footer-brand { font-size: 1.55rem; }
  .hero-static-text h1 { font-size: clamp(1.7rem, 7.5vw, 2rem); }
  .hero-static-text .lead { font-size: 0.92rem; }
  .hero-trust { gap: var(--sp-2); font-size: 0.72rem; }
  .pain-card { padding: var(--sp-4); }
  .pain-icon { width: 38px; height: 38px; margin-bottom: var(--sp-3); }
  .pain-icon svg { width: 18px; height: 18px; }
  .pain-card h3 { font-size: 0.95rem; }
  .step { padding: var(--sp-4); }
  .step-num { width: 32px; height: 32px; font-size: 0.92rem; margin-bottom: var(--sp-3); }
  .stat-num { font-size: 2rem; }
  .stat-label { font-size: 0.78rem; }
  .final-cta { padding: var(--sp-6) var(--sp-4); }
  .final-cta .hero-cta { gap: var(--sp-2); }
}
