/* ================================================================
   EMPARE Digital — style.css v6.1 · Tech-Premium
   ================================================================ */

/* ─── ШРИФТЫ И ПЕРЕМЕННЫЕ (Без изменений) ──────────────────────── */
@font-face { font-family: 'Syne'; src: url('../fonts/syne-v22-latin_cyrillic-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Syne'; src: url('../fonts/syne-v22-latin_cyrillic-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-v15-latin_cyrillic-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-v15-latin_cyrillic-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-v15-latin_cyrillic-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --bg-solid:    #04080f;
  --surface:     rgba(12, 20, 36, 0.9);
  --surface-2:   rgba(18, 30, 52, 0.92);
  --border:      rgba(96, 165, 250, 0.14);
  --border-glow: rgba(96, 165, 250, 0.32);
  --text-h:      #ffffff;
  --text:        #f1f5f9;
  --text-soft:   #cbd5e1;
  --text-muted:  #94a3b8;
  --text-dim:    #64748b;
  --blue:        #60a5fa;
  --blue-dark:   #3b82f6;
  --blue-bright: #93c5fd;
  --cyan:        #22d3ee;
  --emerald:     #34d399;
  --glow-blue:    0 0 28px rgba(96, 165, 250, 0.45);
  --glow-cyan:    0 0 28px rgba(34, 211, 238, 0.4);
  --serif: 'Syne', sans-serif;
  --sans:  'DM Sans', sans-serif;
  --max-w:  1200px;
  --pad-x:  clamp(1.25rem, 5vw, 2.5rem);
  --sec-py: clamp(5rem, 10vw, 8rem);
  --ease:   cubic-bezier(.4, 0, .2, 1);
  --dur:    .3s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: clamp(17px, 1.2vw, 19px); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); font-weight: 400; line-height: 1.72; color: var(--text); background-color: var(--bg-solid); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(96,165,250,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(96,165,250,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; z-index: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--blue-bright); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); position: relative; z-index: 1; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease), transform .65s var(--ease); will-change: opacity, transform; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Типографика и Кнопки */
.section-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.section-eyebrow::before { content: ''; display: inline-block; width: 20px; height: 2px; background: linear-gradient(90deg, var(--blue-dark), var(--cyan)); border-radius: 2px; }
.section-title { font-family: var(--serif); font-weight: 800; font-size: clamp(1.9rem, 3.5vw, 2.75rem); line-height: 1.1; color: var(--text-h); letter-spacing: -.01em; }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 4rem); display: flex; flex-direction: column; gap: .9rem; }
.cyan-rule { display: block; width: 48px; height: 2px; background: linear-gradient(90deg, var(--blue-dark), var(--cyan)); border-radius: 2px; margin-block: 1.75rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: .9em 2em; border-radius: 6px; cursor: pointer; white-space: nowrap; transition: all var(--dur) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-gold { background: var(--blue-dark); color: #ffffff; border: 1px solid var(--blue-dark); }
.btn-primary:hover, .btn-gold:hover { background: var(--blue); border-color: var(--blue); color: #ffffff; box-shadow: var(--glow-blue); }
.btn-outline { background: transparent; color: var(--cyan); border: 1px solid rgba(34,211,238,.35); }
.btn-outline:hover { border-color: var(--cyan); color: var(--text-h); box-shadow: var(--glow-cyan); }
.btn-lg { font-size: .9rem; padding: 1.05em 2.4em; }

/* Лого и Шапка */
.logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: inherit; }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; min-width: 38px; background: linear-gradient(135deg, var(--blue-dark), #06b6d4); color: #fff; font-family: var(--serif); font-size: .95rem; font-weight: 800; border-radius: 8px; flex-shrink: 0; box-shadow: var(--glow-blue); }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-name { font-family: var(--serif); font-size: 1rem; font-weight: 800; color: var(--text-h); line-height: 1; }
.logo-sub { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); line-height: 1; }

.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-block: 1.1rem; border-bottom: 1px solid transparent; transition: all var(--dur) var(--ease); }
.site-header.scrolled { background: rgba(4,8,15,.94); backdrop-filter: blur(20px); border-color: var(--border); padding-block: .8rem; }
.header-inner { display: flex; align-items: center; gap: 2rem; }
.main-nav { display: flex; align-items: center; gap: 2.5rem; margin-left: auto; }
.nav-list { display: flex; gap: 1.75rem; }
.nav-link { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); position: relative; padding-bottom: 3px; }
.nav-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width var(--dur) var(--ease); }
.nav-link:hover { color: var(--blue-bright); } .nav-link:hover::after, .nav-link--active::after { width: 100%; }
.nav-link--active { color: var(--cyan) !important; }
.nav-cta { padding: .6em 1.4em; font-size: .72rem; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 28px; height: 28px; flex-shrink: 0; z-index: 110; }
.burger-bar { display: block; height: 1px; background: var(--cyan); transition: all var(--dur) var(--ease); transform-origin: center; }
.burger-bar:nth-child(2) { width: 65%; margin-left: auto; }
.burger[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 100%; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 7rem; padding-bottom: 4rem; overflow: hidden; }
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .2; animation: blobFloat 12s ease-in-out infinite alternate; }
.blob-1 { width: 600px; height: 600px; top: -15%; left: -10%; background: radial-gradient(circle, var(--blue-dark) 0%, transparent 70%); }
.blob-2 { width: 500px; height: 500px; top: 20%; right: -8%; background: radial-gradient(circle, #06b6d4 0%, transparent 70%); animation-delay: -5s; }
.blob-3 { width: 400px; height: 400px; bottom: -10%; left: 40%; background: radial-gradient(circle, #1d4ed8 0%, transparent 70%); animation-delay: -9s; }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(30px, -20px) scale(1.08); } }
.hero-noise { position: absolute; inset: 0; opacity: .025; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: clamp(2rem,5vw,4rem); align-items: center; width: 100%; }
.hero-content { display: flex; flex-direction: column; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1.4rem; opacity: 0; animation: fadeUp .8s .1s var(--ease) forwards; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--cyan); }
.hero-title { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem,5.5vw,4.5rem); line-height: 1.08; letter-spacing: -.02em; color: var(--text-h); margin-bottom: 1.25rem; opacity: 0; animation: fadeUp .85s .25s var(--ease) forwards; }
.hero-desc { font-size: clamp(1rem,1.5vw,1.1rem); color: var(--text); max-width: 520px; line-height: 1.75; margin-bottom: 2.25rem; opacity: 0; animation: fadeUp .85s .4s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; opacity: 0; animation: fadeUp .85s .55s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Терминал */
.terminal-widget { background: rgba(4,8,15,.94); border: 1px solid var(--border-glow); border-radius: 12px; overflow: hidden; box-shadow: 0 0 60px rgba(96,165,250,.12), inset 0 1px 0 rgba(96,165,250,.1); opacity: 0; animation: fadeUp .9s .5s var(--ease) forwards; }
.terminal-bar { display: flex; align-items: center; gap: .5rem; padding: .7rem 1rem; background: rgba(12,20,36,.9); border-bottom: 1px solid var(--border); }
.term-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.term-dot--red { background: #ff5f57; } .term-dot--yellow { background: #febc2e; } .term-dot--green { background: #28c840; }
.terminal-title { font-family: var(--sans); font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); margin-left: auto; }
#termOutput { padding: 1.25rem 1.25rem 1.5rem; min-height: 280px; display: flex; flex-direction: column; gap: .4rem; overflow-y: auto; scrollbar-width: none; }
#termOutput::-webkit-scrollbar { display: none; }
.term-line { font-family: 'Courier New', Courier, monospace; font-size: .9rem; line-height: 1.55; white-space: pre; animation: termAppear .22s var(--ease) forwards; opacity: 0; }
@keyframes termAppear { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: translateX(0); } }
.term-cmd { color: var(--blue-bright); } .term-info { color: var(--text-muted); } .term-ok { color: var(--emerald); } .term-bright { color: var(--text-h); font-weight: 400; }
.term-cursor { display: inline-block; width: 8px; height: 1em; background: var(--cyan); vertical-align: text-bottom; animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* Статистика и Манифест */
.section-stats { padding-block: 3rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(12,20,36,.6); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.stat-card { background: var(--surface); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: .35rem; text-align: center; align-items: center; transition: background var(--dur) var(--ease); position: relative; }
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--blue-dark), var(--cyan)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.stat-card:hover { background: var(--surface-2); } .stat-card:hover::after { opacity: 1; }
.stat-value { font-family: var(--serif); font-weight: 800; font-size: clamp(1.6rem,3vw,2rem); color: var(--cyan); line-height: 1; }
.stat-label { font-size: .82rem; font-weight: 500; color: var(--text); line-height: 1.3; }
.stat-note  { font-size: .65rem; color: var(--text-muted); letter-spacing: .04em; }

.section-manifesto { padding-block: var(--sec-py); border-bottom: 1px solid var(--border); }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,6vw,7rem); align-items: start; }
.manifesto-body { font-size: .97rem; color: var(--text-soft); line-height: 1.85; margin-bottom: 1rem; }
.manifesto-principles { display: flex; flex-direction: column; }
.principle-item { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--border); align-items: start; }
.principle-item:last-child { border-bottom: 1px solid var(--border); }
.principle-num { font-family: var(--serif); font-size: 1.4rem; font-weight: 800; color: rgba(34,211,238,.3); line-height: 1; }
.principle-title { font-size: .88rem; font-weight: 600; color: var(--text-h); margin-bottom: .3rem; }
.principle-text { font-size: .82rem; color: var(--text-soft); line-height: 1.7; }

/* Модули */
.section-menu { padding-block: var(--sec-py); border-bottom: 1px solid var(--border); }
.menu-subtitle { font-size: .97rem; color: var(--text-soft); max-width: 600px; margin-top: .75rem; line-height: 1.8; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,500px),1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 2rem; }
.menu-cat { background: var(--surface); padding: clamp(1.75rem,3vw,2.25rem); display: flex; flex-direction: column; gap: 1.4rem; transition: background var(--dur) var(--ease); position: relative; }
.menu-cat::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg,var(--blue-dark),var(--cyan)); opacity: 0; transition: opacity var(--dur) var(--ease); }
.menu-cat:hover { background: var(--surface-2); } .menu-cat:hover::before { opacity: 1; }
.menu-cat__head { display: flex; align-items: flex-start; gap: 1rem; }
.menu-cat__icon-wrap { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; min-width: 42px; border: 1px solid var(--border-glow); border-radius: 8px; background: rgba(96,165,250,.07); flex-shrink: 0; }
.menu-cat__icon { width: 18px; height: 18px; color: var(--cyan); }
.menu-cat__eyebrow { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: .3rem; }
.menu-cat__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 800; color: var(--text-h); line-height: 1.2; }
.menu-items { display: flex; flex-direction: column; }
.menu-item { padding-block: 1.1rem; border-top: 1px solid var(--border); }
.menu-item:last-child { border-bottom: 1px solid var(--border); }
.menu-item__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .35rem; flex-wrap: wrap; }
.menu-item__name { font-size: .9rem; font-weight: 600; color: var(--text); flex: 1; }
.menu-item__price { font-size: .82rem; font-weight: 700; color: var(--emerald); white-space: nowrap; flex-shrink: 0; }
.menu-item__desc { font-size: .8rem; color: var(--text-soft); line-height: 1.65; }
.addons-toggle { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--text-soft); text-transform: uppercase; width: 100%; text-align: left; border-top: 1px dashed rgba(96,165,250,.14); transition: color var(--dur) var(--ease); }
.addons-toggle:hover { color: var(--cyan); }
.addons-toggle__label { flex: 1; }
.addons-toggle__count { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(96,165,250,.14); color: var(--blue); font-size: .62rem; font-weight: 700; }
.addons-toggle__chevron { width: 14px; height: 14px; color: var(--text-muted); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.addons-toggle.is-open .addons-toggle__chevron { transform: rotate(180deg); color: var(--cyan); }
.addons-list { display: flex; flex-direction: column; padding-bottom: .5rem; }
.addon-item { display: flex; align-items: center; gap: .6rem; padding-block: .5rem; border-bottom: 1px solid rgba(96,165,250,.06); }
.addon-item__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue-dark); flex-shrink: 0; }
.addon-item__name { font-size: .8rem; color: var(--text-soft); flex: 1; }
.addon-item__price { font-size: .75rem; font-weight: 600; color: rgba(34,211,238,.7); white-space: nowrap; }
.menu-cat__cta { align-self: flex-start; margin-top: auto; font-size: .7rem; padding: .62em 1.3em; }

/* ─── Инженерные стандарты (Стойки) ─── */
.section-why { padding-block: var(--sec-py); background: rgba(12,20,36,.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; background: transparent; border: none; }
.why-card { background: var(--surface); padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: .85rem; border: 1px solid var(--border); border-top: 4px solid var(--blue-dark); border-radius: 8px; transition: all var(--dur) var(--ease); position: relative; }
.why-card:hover { background: var(--surface-2); border-top-color: var(--cyan); box-shadow: var(--glow-cyan); }
.why-icon-box { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--border-glow); border-radius: 8px; background: rgba(96,165,250,.07); flex-shrink: 0; transition: all var(--dur) var(--ease); }
.why-card:hover .why-icon-box { border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.why-svg { width: 19px; height: 19px; color: var(--cyan); }
.why-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--text-h); line-height: 1.25; }
.why-text { font-size: .88rem; color: var(--text-soft); line-height: 1.75; }

/* Процесс и FAQ */
.section-process { padding-block: var(--sec-py); border-bottom: 1px solid var(--border); }
.process-track { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 2rem; position: relative; }
@media (min-width: 900px) { .process-track::before { content: ''; position: absolute; top: 18px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg,transparent,var(--border-glow) 20%,var(--border-glow) 80%,transparent); pointer-events: none; } }
.process-step { display: flex; flex-direction: column; gap: 1rem; padding-top: 3.25rem; position: relative; }
.step-num { position: absolute; top: 0; left: 0; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-glow); border-radius: 50%; font-size: .65rem; font-weight: 700; color: var(--cyan); background: var(--bg-solid); }
.step-title { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--text-h); }
.step-text { font-size: .88rem; color: var(--text-soft); line-height: 1.75; }

.section-faq { padding-block: var(--sec-py); border-bottom: 1px solid var(--border); }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); margin-top: .5rem; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; padding: 1.35rem 0; text-align: left; color: var(--text-h); transition: color var(--dur) var(--ease); }
.faq-question:hover { color: var(--blue-bright); } .faq-question.is-open { color: var(--cyan); }
.faq-q-text { font-size: clamp(.9rem,2vw,1rem); font-weight: 600; line-height: 1.4; flex: 1; }
.faq-chevron { width: 16px; height: 16px; color: var(--text-muted); transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.faq-question.is-open .faq-chevron { transform: rotate(180deg); color: var(--cyan); }
.faq-answer { overflow: hidden; }
.faq-answer__inner { padding-bottom: 1.4rem; font-size: .92rem; color: var(--text-soft); line-height: 1.85; max-width: 780px; }

/* ─── Bento Контакты (CTA) ─── */
.section-cta { padding-block: var(--sec-py); position: relative; overflow: hidden; }
.cta-inner { position: relative; text-align: center; z-index: 1; }
.cta-glow { position: absolute; bottom: -30%; left: 50%; transform: translateX(-50%); width: min(700px,120vw); height: min(500px,80vw); background: radial-gradient(ellipse,rgba(96,165,250,.06) 0%,transparent 65%); pointer-events: none; }
.cta-title { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem,4.5vw,3.25rem); line-height: 1.1; color: var(--text-h); max-width: 680px; margin-inline: auto; margin-top: .75rem; margin-bottom: 1.25rem; }
.cta-sub { font-size: 1rem; color: var(--text-soft); max-width: 500px; margin-inline: auto; margin-bottom: 1rem; }

.contact-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 3rem auto 2rem;
  text-align: left;
}
.bento-contact-card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; transition: all var(--dur) var(--ease);
}
.bento-contact-card:hover {
  background: var(--surface-2); border-color: var(--cyan);
  transform: translateY(-2px); box-shadow: var(--glow-cyan);
}
.bento-contact-card.primary {
  background: rgba(34, 211, 238, 0.05); border-color: rgba(34, 211, 238, 0.3);
}
.bento-contact-card.primary:hover { border-color: var(--cyan); box-shadow: var(--glow-cyan); }

.card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; flex-shrink: 0; }
.max-icon { background: rgba(34,211,238,.1); color: var(--cyan); }
.tg-icon { background: rgba(96,165,250,.1); color: var(--blue); }
.email-icon { background: rgba(52,211,153,.1); color: var(--emerald); }
.card-icon svg { width: 22px; height: 22px; }

.card-info h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--text-h); margin-bottom: 0.2rem; display: flex; align-items: center; gap: 0.5rem; }
.card-info .badge { font-family: var(--sans); font-size: 0.6rem; background: var(--blue-dark); color: #fff; padding: 0.15rem 0.5rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.card-info p { font-size: 0.85rem; color: var(--text-soft); }

.copy-action { padding: 0.5rem; background: rgba(255,255,255,0.05); border-radius: 6px; cursor: pointer; transition: background 0.2s; color: var(--text-muted); }
.copy-action:hover { background: rgba(255,255,255,0.1); color: var(--text-h); }
.work-hours-note { font-size: 0.8rem; color: var(--text-dim); text-align: center; }

/* Подвал */
.site-footer { padding-block: 3.5rem; background: var(--surface); border-top: 1px solid var(--border); }
.footer-layout { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem 4rem; margin-bottom: 2.5rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1.25rem; }
.footer-tagline { font-size: .82rem; color: var(--text-muted); line-height: 1.7; max-width: 240px; }
.footer-nav-heading { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.footer-nav ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a, .footer-requisites a { font-size: .82rem; color: var(--text-muted); transition: color var(--dur) var(--ease); }
.footer-nav a:hover, .footer-requisites a:hover { color: var(--blue-bright); }
.footer-requisites { display: flex; flex-direction: column; gap: .4rem; }
.footer-requisites p:not(.footer-nav-heading) { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer-copy { font-size: .7rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-privacy-link { font-size: .7rem; color: var(--text-muted); border-bottom: 1px solid var(--border); padding-bottom: 1px; transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.footer-privacy-link:hover { color: var(--cyan); border-color: var(--cyan); }

/* Модалка (только для шапки) */
.modal-overlay { position: fixed; inset: 0; background: rgba(4,8,15,.9); backdrop-filter: blur(10px); z-index: 200; opacity: 0; transition: opacity var(--dur) var(--ease); }
.modal-overlay.is-open { opacity: 1; }
.modal { position: fixed; top: 50%; left: 50%; z-index: 201; transform: translate(-50%, calc(-50% + 20px)); width: min(540px, calc(100vw - 2rem)); max-height: calc(100svh - 3rem); overflow-y: auto; background: var(--surface-2); border: 1px solid var(--border-glow); border-radius: 12px; box-shadow: 0 0 80px rgba(96,165,250,.15); padding: clamp(1.75rem,5vw,2.5rem); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.modal.is-open { opacity: 1; transform: translate(-50%, -50%); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.modal-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 800; color: var(--text-h); line-height: 1.2; }
.modal-subtitle { font-size: .88rem; color: var(--text-soft); margin-bottom: 1.75rem; line-height: 1.6; }
.modal-close { flex-shrink: 0; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 6px; color: var(--text-muted); transition: all var(--dur) var(--ease); }
.modal-close svg { width: 14px; height: 14px; }
.modal-close:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: var(--glow-cyan); }
.modal-footer-note { text-align: center; font-size: .75rem; color: var(--text-dim); line-height: 1.6; }
.modal-footer-note a { color: var(--text-muted); border-bottom: 1px solid var(--border); }
.modal-footer-note a:hover { color: var(--cyan); border-color: var(--cyan); }

.scroll-to-top { position: fixed; bottom: 2rem; right: 2rem; z-index: 90; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border-glow); border-radius: 8px; color: var(--cyan); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all var(--dur) var(--ease); }
.stt-icon { width: 18px; height: 18px; }
.scroll-to-top.stt--visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-to-top:hover { box-shadow: var(--glow-cyan); border-color: var(--cyan); }

/* Адаптив */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; }
  .terminal-widget { display: none; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .footer-layout { grid-template-columns: 1fr 1fr; }
  .footer-requisites { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  :root { --sec-py: 4.5rem; }
  .nav-list, .nav-cta { display: none; }
  .burger { display: flex; }
  .main-nav { position: fixed; inset: 0; background: rgba(4,8,15,.97); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; margin-left: 0; z-index: 105; transform: translateX(100%); transition: transform var(--dur) var(--ease); }
  .main-nav.nav-open { transform: translateX(0); }
  .main-nav.nav-open .nav-list { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
  .main-nav.nav-open .nav-cta { display: block; }
  .manifesto-grid, .why-grid, .contact-bento-grid { grid-template-columns: 1fr; gap: 3rem; }
  .why-grid, .contact-bento-grid { gap: 1rem; }
  .footer-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .scroll-to-top { bottom: 1rem; right: 1rem; }
}
@media (min-width: 1800px) { :root { --max-w: 1400px; } html { font-size: 20px; } }