/* ── Self-hosted fonts ── */
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/fonts/JetBrainsMono-400-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/fonts/JetBrainsMono-400-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/fonts/JetBrainsMono-600-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/fonts/JetBrainsMono-600-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Manrope'; font-weight: 300; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-400-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 300; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-400-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-400-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-400-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-500-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-500-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-600-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-600-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-700-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/fonts/Manrope-700-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: 'Oswald'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-400-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-400-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-400-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-weight: 500; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-400-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-600-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-600-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-700-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Oswald'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('/fonts/Oswald-700-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Весь остальной CSS — 1:1 из статичного сайта ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg:           #060609;
    --bg-card:      #0C0C13;
    --bg-card-h:    #111119;
    --accent:       #FF1744;
    --accent-dim:   rgba(255,23,68,.12);
    --cyan:         #00E5FF;
    --cyan-dim:     rgba(0,229,255,.08);
    --text:         #F0F0EC;
    --text-mid:     #9999AA;
    --text-muted:   #52526A;
    --border:       #18181F;
    --border-b:     #26263A;
    --f-display:    'Oswald', sans-serif;
    --f-body:       'Manrope', sans-serif;
    --f-mono:       'JetBrains Mono', monospace;
    --ease:         cubic-bezier(.25,.8,.25,1);
}

html { scroll-behavior: smooth; }

body { background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999;
}

::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
section { padding: 110px 0; }

.section-label { display: flex; align-items: center; gap: 18px; margin-bottom: 64px; }
.section-num { font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .12em; }
.section-title-wrap { display: flex; flex-direction: column; }
.section-title { font-family: var(--f-display); font-size: clamp(36px, 5vw, 62px); font-weight: 700; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.section-line { height: 1px; background: linear-gradient(90deg, var(--accent), transparent); margin-top: 8px; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; padding: 22px 0; transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(6,6,9,.94); backdrop-filter: blur(24px); padding: 14px 0; border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; z-index: 201; }
.nav-logo span { color: var(--accent); }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link { font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .07em; text-transform: uppercase; transition: color .3s; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--accent); transition: width .3s var(--ease); }
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone { font-family: var(--f-mono); font-size: 13px; color: var(--text-mid); transition: color .3s; }
.nav-phone:hover { color: var(--text); }
.nav-tg, .nav-max { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--border-b); color: var(--text-muted); transition: all .3s var(--ease); }
.nav-tg:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
.nav-max:hover { border-color: #a855f7; color: #a855f7; background: rgba(168,85,247,.08); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 201; padding: 4px; background: none; border: none; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); transition: all .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 130px 0 90px; }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.013) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.013) 1px, transparent 1px); background-size: 72px 72px; pointer-events: none; }
.hero-ghost { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-family: var(--f-display); font-size: clamp(100px, 16vw, 260px); font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(255,23,68,.055); white-space: nowrap; pointer-events: none; user-select: none; letter-spacing: .02em; }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); pointer-events: none; }
.glow-r { width: 700px; height: 700px; top: -150px; right: -150px; background: radial-gradient(circle, rgba(255,23,68,.10) 0%, transparent 70%); }
.glow-c { width: 500px; height: 500px; bottom: -180px; left: -80px; background: radial-gradient(circle, rgba(0,229,255,.055) 0%, transparent 70%); }
.hero-content { position: relative; z-index: 1; max-width: 920px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-mono); font-size: 12px; color: var(--accent); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 28px; }
.hero-eyebrow::before { content: ''; display: block; width: 44px; height: 1px; background: var(--accent); }
.hero-title { font-family: var(--f-display); font-size: clamp(56px, 9vw, 120px); font-weight: 700; line-height: .94; letter-spacing: .01em; text-transform: uppercase; margin-bottom: 34px; }
.hero-title .l1 { display: block; }
.hero-title .l2 { display: block; color: var(--accent); }
.hero-title .l3 { display: block; color: transparent; -webkit-text-stroke: 1px rgba(240,240,236,.28); }
.hero-desc { font-size: 17px; color: var(--text-mid); max-width: 520px; line-height: 1.75; margin-bottom: 52px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; font-family: var(--f-display); font-size: 16px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: all .3s var(--ease); border: none; outline: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #ff3d63; transform: translateY(-2px); box-shadow: 0 14px 44px rgba(255,23,68,.32); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-b); }
.btn-ghost:hover { border-color: var(--text-mid); background: rgba(255,255,255,.04); }
.hero-scroll { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--text-muted); font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.hero-scroll-bar { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--accent), transparent); animation: scrollBlink 2s ease-in-out infinite; }
@keyframes scrollBlink { 0%,100% { opacity: 1; transform: scaleY(1); } 50% { opacity: .4; transform: scaleY(.55); } }

/* SERVICES */
.services { background: linear-gradient(180deg, transparent, rgba(255,23,68,.018) 50%, transparent); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
.s-card { background: var(--bg-card); padding: 44px 38px 48px; position: relative; overflow: hidden; transition: background .3s var(--ease); display: block; text-decoration: none; color: inherit; }
.s-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.s-card:hover { background: var(--bg-card-h); }
.s-card:hover::before { transform: scaleX(1); }
.s-num { font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .1em; margin-bottom: 28px; }
.s-icon { width: 46px; height: 46px; color: var(--accent); margin-bottom: 22px; }
.s-name { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.s-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.s-arrow { position: absolute; bottom: 30px; right: 30px; color: var(--border-b); transition: all .3s var(--ease); }
.s-card:hover .s-arrow { color: var(--accent); transform: translate(3px,-3px); }
.s-card-full { grid-column: 1 / -1; }

/* TOOLS */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--border); }
.tool-card { display: flex; flex-direction: column; background: var(--bg-card); padding: 40px 36px 44px; position: relative; overflow: hidden; transition: background .3s var(--ease); cursor: pointer; text-decoration: none; color: inherit; }
.tool-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tool-card:hover { background: var(--bg-card-h); }
.tool-card:hover::before { transform: scaleX(1); }
.tool-card-badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent-dim); padding: 4px 10px; margin-bottom: 28px; width: fit-content; }
.tool-card-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.tool-card-name { font-family: var(--f-display); font-size: clamp(22px, 2.5vw, 28px); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; margin-bottom: 16px; transition: color .3s; }
.tool-card:hover .tool-card-name { color: var(--accent); }
.tool-card-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; flex: 1; }
.tool-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); }
.tool-card-cta { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); transition: color .3s; }
.tool-card:hover .tool-card-cta { color: var(--accent); }
.tool-card-arrow { color: var(--border-b); transition: all .3s var(--ease); }
.tool-card:hover .tool-card-arrow { color: var(--accent); transform: translate(3px,-3px); }

/* WHY */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.stat { background: var(--bg-card); padding: 44px 36px; }
.stat-num { font-family: var(--f-display); font-size: clamp(52px, 6vw, 76px); font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-lbl { font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .07em; text-transform: uppercase; }
.features { display: flex; flex-direction: column; }
.feat { display: flex; align-items: flex-start; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); }
.feat:first-child { padding-top: 0; }
.feat:last-child { border-bottom: none; padding-bottom: 0; }
.feat-ico { flex-shrink: 0; width: 36px; height: 36px; border: 1px solid var(--border-b); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.feat-text h4 { font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.feat-text p { font-size: 14px; color: var(--text-mid); line-height: 1.65; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.c-info-title { font-family: var(--f-display); font-size: clamp(26px, 3vw, 42px); font-weight: 600; letter-spacing: .02em; text-transform: uppercase; line-height: 1.1; margin-bottom: 20px; }
.c-info-desc { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 48px; }
.c-links { display: flex; flex-direction: column; }
.c-link { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); transition: padding-left .3s var(--ease); }
.c-link:first-child { border-top: 1px solid var(--border); }
.c-link:hover { padding-left: 10px; }
.c-link-ico { flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--bg-card); border: 1px solid var(--border-b); color: var(--text-muted); transition: all .3s var(--ease); }
.c-link:hover .c-link-ico { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.c-link-lbl { font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 3px; }
.c-link-val { font-size: 15px; color: var(--text); }

/* FORM */
.form-box { background: var(--bg-card); border: 1px solid var(--border); padding: 50px 44px; position: relative; }
.form-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--cyan)); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f-group { margin-bottom: 18px; }
.f-label { display: block; font-family: var(--f-mono); font-size: 10px; color: var(--text-muted); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.f-input, .f-textarea { width: 100%; background: var(--bg); border: 1px solid var(--border-b); color: var(--text); padding: 14px 16px; font-family: var(--f-body); font-size: 15px; outline: none; transition: border-color .3s, background .3s; border-radius: 1px; appearance: none; }
.f-input::placeholder, .f-textarea::placeholder { color: var(--text-muted); }
.f-input:focus, .f-textarea:focus { border-color: var(--accent); background: rgba(255,23,68,.025); }
.f-textarea { min-height: 120px; resize: vertical; }
.f-check-wrap { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 24px; cursor: pointer; }
.f-check-wrap input[type="checkbox"] { display: none; }
.check-box { flex-shrink: 0; width: 20px; height: 20px; border: 1px solid var(--border-b); background: var(--bg); display: flex; align-items: center; justify-content: center; transition: all .25s var(--ease); margin-top: 2px; }
.check-box svg { display: none; color: #fff; }
.f-check-wrap input:checked + .check-box { background: var(--accent); border-color: var(--accent); }
.f-check-wrap input:checked + .check-box svg { display: block; }
.check-text { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
.check-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.btn-submit { width: 100%; background: var(--accent); color: #fff; border: none; padding: 17px 32px; font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .3s var(--ease); position: relative; overflow: hidden; }
.btn-submit::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent); transition: left .5s ease; }
.btn-submit:hover:not(:disabled)::before { left: 100%; }
.btn-submit:hover:not(:disabled) { background: #ff3d63; transform: translateY(-1px); box-shadow: 0 10px 32px rgba(255,23,68,.38); }
.btn-submit:active:not(:disabled) { transform: none; }
.btn-submit:disabled { background: var(--bg-card-h); color: var(--text-muted); cursor: not-allowed; border: 1px solid var(--border-b); }
.f-status { display: none; padding: 14px 16px; font-size: 14px; margin-top: 16px; line-height: 1.5; }
.f-status.ok { display: block; background: rgba(0,200,83,.08); border: 1px solid rgba(0,200,83,.25); color: #00C853; }
.f-status.err { display: block; background: rgba(255,23,68,.08); border: 1px solid rgba(255,23,68,.25); color: var(--accent); }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-logo { font-family: var(--f-display); font-size: 20px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer-logo span { color: var(--accent); }
.footer-copy { font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); }
.footer-mail { font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); letter-spacing: .04em; transition: color .3s; }
.footer-mail:hover { color: var(--accent); }

/* SCROLL REVEAL */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* MODAL */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: #0E0E16; border: 1px solid var(--border-b); max-width: 680px; width: 100%; max-height: 82vh; display: flex; flex-direction: column; transform: translateY(20px); transition: transform .3s var(--ease); position: relative; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), #9B50F5); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 28px 36px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.modal-title { font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.modal-close { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-b); background: none; color: var(--text-muted); cursor: pointer; transition: all .25s var(--ease); flex-shrink: 0; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-body { overflow-y: auto; padding: 32px 36px 36px; font-size: 14px; color: var(--text-mid); line-height: 1.75; }
.modal-body::-webkit-scrollbar { width: 3px; }
.modal-body::-webkit-scrollbar-track { background: transparent; }
.modal-body::-webkit-scrollbar-thumb { background: var(--border-b); }
.modal-body h3 { font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--text); margin: 28px 0 10px; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 12px; }
.modal-body ul { padding-left: 20px; margin-bottom: 12px; }
.modal-body ul li { margin-bottom: 6px; }
.modal-body a { color: var(--accent); text-underline-offset: 2px; }
.modal-updated { display: inline-block; font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .06em; margin-bottom: 24px; padding: 6px 12px; border: 1px solid var(--border); }

/* COOKIE */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: rgba(10,10,16,.97); backdrop-filter: blur(20px); border-top: 1px solid var(--border-b); padding: 22px 0; transform: translateY(100%); transition: transform .45s cubic-bezier(.25,.8,.25,1); }
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cookie-bar-icon { flex-shrink: 0; font-size: 26px; line-height: 1; }
.cookie-bar-text { flex: 1; min-width: 240px; font-size: 13.5px; color: var(--text-mid); line-height: 1.55; }
.cookie-bar-text strong { display: block; color: var(--text); font-size: 14px; margin-bottom: 4px; }
.cookie-bar-text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { padding: 10px 26px; font-family: var(--f-display); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; border: none; transition: all .25s var(--ease); }
.cookie-btn-accept { background: var(--accent); color: #fff; }
.cookie-btn-accept:hover { background: #ff3d63; box-shadow: 0 6px 24px rgba(255,23,68,.35); }
.cookie-btn-decline { background: transparent; color: var(--text-muted); border: 1px solid var(--border-b); }
.cookie-btn-decline:hover { border-color: var(--text-mid); color: var(--text); }

/* INNER PAGE HELPERS */
.page-hero { padding: 140px 0 80px; border-bottom: 1px solid var(--border); }
.page-hero-eyebrow { font-family: var(--f-mono); font-size: 11px; color: var(--accent); letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
.page-hero h1 { font-family: var(--f-display); font-size: clamp(36px, 6vw, 80px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin-bottom: 20px; }
.page-hero p { font-size: 16px; color: var(--text-mid); max-width: 560px; line-height: 1.7; }

.inner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
@media (max-width: 1024px) { .inner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .inner-grid { grid-template-columns: 1fr; } }

.inner-card { background: var(--bg-card); padding: 40px 36px; position: relative; overflow: hidden; transition: background .3s var(--ease); display: block; text-decoration: none; color: inherit; }
.inner-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.inner-card:hover { background: var(--bg-card-h); }
.inner-card:hover::before { transform: scaleX(1); }
.inner-card h3 { font-family: var(--f-display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; transition: color .3s; }
.inner-card:hover h3 { color: var(--accent); }
.inner-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { display: block; text-decoration: none; color: inherit; background: var(--bg-card); padding: 36px 32px 44px; position: relative; overflow: hidden; transition: background .3s var(--ease); }
.blog-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.blog-card:hover { background: var(--bg-card-h); }
.blog-card:hover::before { transform: scaleX(1); }
.blog-card-cat { font-family: var(--f-mono); font-size: 10px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.blog-card h3 { font-family: var(--f-display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; margin-bottom: 12px; transition: color .3s; }
.blog-card:hover h3 { color: var(--accent); }
.blog-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 24px; }
.blog-card-meta { font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); }

.breadcrumb { font-family: var(--f-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; }

.prose-content { font-size: 15px; color: var(--text-mid); line-height: 1.8; }
.prose-content h2 { font-family: var(--f-display); font-size: 22px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text); margin: 40px 0 16px; }
.prose-content h3 { font-family: var(--f-display); font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--text); margin: 32px 0 12px; }
.prose-content p { margin-bottom: 16px; }
.prose-content ul, .prose-content ol { padding-left: 24px; margin-bottom: 16px; }
.prose-content li { margin-bottom: 8px; }
.prose-content a { color: var(--accent); text-underline-offset: 2px; }
.prose-content strong { color: var(--text); }

.cta-section { padding: 100px 0; text-align: center; border-top: 1px solid var(--border); }
.cta-section h2 { font-family: var(--f-display); font-size: clamp(28px, 4vw, 52px); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--text-mid); margin-bottom: 40px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; gap: 56px; }
    .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 768px) {
    section { padding: 76px 0; }
    .nav-menu { display: none; position: fixed; inset: 0; background: rgba(6,6,9,.97); flex-direction: column; align-items: center; justify-content: center; gap: 44px; z-index: 200; }
    .nav-menu.open { display: flex; }
    .nav-menu .nav-link { font-size: 16px; }
    .nav-right { display: none; }
    .burger { display: flex; }
    .services-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .f-row { grid-template-columns: 1fr; }
    .form-box { padding: 32px 24px; }
}
@media (max-width: 600px) {
    .cookie-bar-actions { width: 100%; }
    .cookie-btn { flex: 1; text-align: center; }
    .modal-head { padding: 22px 20px 18px; }
    .modal-body { padding: 24px 20px 28px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; align-items: flex-start; }
    .footer-inner { flex-direction: column; text-align: center; }
}
