/* SELF-HOSTED FONTS (Unbounded, Manrope) — latin + cyrillic */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/manrope-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/manrope-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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-style:normal;font-weight:500;font-display:swap;src:url(fonts/manrope-500-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/manrope-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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-style:normal;font-weight:600;font-display:swap;src:url(fonts/manrope-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/manrope-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, 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-style:normal;font-weight:700;font-display:swap;src:url(fonts/manrope-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/manrope-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:300;font-display:swap;src:url(fonts/unbounded-300-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:300;font-display:swap;src:url(fonts/unbounded-300-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/unbounded-400-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/unbounded-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/unbounded-600-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/unbounded-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/unbounded-700-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/unbounded-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/unbounded-800-cyrillic.woff2) format('woff2');unicode-range:U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:800;font-display:swap;src:url(fonts/unbounded-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

:root {
  --p:    #6B3FA0;
  --plt:  #9B6FD0;
  --p2:   #4A2A78;
  --pdeep:#341C5A;
  --acc:  #9B6FD0;
  --accl: #C8B3E8;
  --lav:  #ECE4FA;
  --bg:   #F7F3FD;
  --w:    #FFFFFF;
  --ink:  #181023;
  --gr:   #6B6080;
  --brd:  #E5DDF4;
  --r:    16px;
  --sh-sm: 0 2px 10px rgba(74,42,120,.05);
  --sh-md: 0 12px 34px rgba(74,42,120,.09);
  --sh-lg: 0 28px 64px rgba(52,28,90,.16);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif; color: var(--ink); line-height: 1.6;
  background:
    radial-gradient(900px 560px at 92% -8%, rgba(155,111,208,.12), transparent 60%),
    radial-gradient(760px 520px at -12% 24%, rgba(155,111,208,.07), transparent 58%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(107,63,160,.18); }

/* NAV */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 68px;
  background: rgba(255,255,255,.78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--brd);
  position: sticky; top: 0; z-index: 99; transition: box-shadow .3s, background .3s;
}
nav.scrolled { box-shadow: var(--sh-md); background: rgba(255,255,255,.9); }
.logo { font-family: 'Unbounded', sans-serif; font-size: 1.05rem; font-weight: 700; color: var(--p); text-decoration: none; letter-spacing: -0.02em; }
.nav-menu { display: flex; gap: 2.4rem; list-style: none; }
.nav-menu a { font-size: 0.8rem; font-weight: 500; color: var(--gr); text-decoration: none; letter-spacing: 0.04em; transition: color .2s; }
.nav-menu a:hover { color: var(--p); }
.nav-cta { background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; font-family: 'Manrope', sans-serif; font-size: 0.8rem; font-weight: 600; padding: 0.6rem 1.4rem; border-radius: 50px; text-decoration: none; box-shadow: 0 6px 18px rgba(107,63,160,.24); transition: box-shadow .25s, transform .15s; }
.nav-cta:hover { box-shadow: 0 10px 26px rgba(107,63,160,.34); transform: translateY(-1px); }

/* HERO */
#hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  min-height: calc(100vh - 64px);
  overflow: hidden;
}
.hero-left {
  grid-column: 1; grid-row: 1 / 3;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 4rem 6rem 5%;
  border-right: 1px solid var(--brd);
  position: relative;
}
.hero-left::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(107,63,160,0.08) 0%, transparent 70%);
  top: -100px; left: -100px;
  pointer-events: none;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--p); background: var(--lav); padding: 0.3rem 0.9rem;
  border-radius: 50px; margin-bottom: 1.8rem; width: fit-content;
}
.hero-tag span { width: 6px; height: 6px; background: var(--acc); border-radius: 50%; box-shadow: 0 0 0 3px rgba(155,111,208,.22); }
h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.6rem);
  font-weight: 300; line-height: 1.15; color: var(--ink);
  margin-bottom: 1.4rem; letter-spacing: -0.02em;
}
h1 strong { font-weight: 700; color: var(--p); display: block; }
.hero-desc { font-size: 0.97rem; color: var(--gr); max-width: 440px; margin-bottom: 2.4rem; }
.btns { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.btn-main {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff;
  font-family: 'Manrope', sans-serif; font-size: 0.88rem; font-weight: 600;
  padding: 0.9rem 1.9rem; border-radius: 50px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(107,63,160,.26);
  transition: box-shadow .25s, transform .15s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(107,63,160,.34); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--p); font-family: 'Manrope', sans-serif; font-size: 0.88rem; font-weight: 500;
  padding: 0.85rem 1.8rem; border-radius: 50px; text-decoration: none;
  border: 1.5px solid var(--brd); transition: border-color .2s, background .2s;
}
.btn-ghost:hover { border-color: var(--plt); background: var(--lav); }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem;
  padding-top: 2.5rem; border-top: 1px solid var(--brd);
}
.stat-n { font-family: 'Unbounded', sans-serif; font-size: 2rem; font-weight: 700; color: var(--p); line-height: 1; }
.stat-l { font-size: 0.75rem; color: var(--gr); font-weight: 500; margin-top: 0.2rem; }

.hero-right-top {
  grid-column: 2; grid-row: 1;
  background:
    radial-gradient(420px 320px at 85% 12%, rgba(155,111,208,.22), transparent 62%),
    linear-gradient(150deg, var(--p) 0%, var(--p2) 58%, var(--pdeep) 100%);
  padding: 3.5rem 4rem 3.5rem 3.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden; min-height: 52%;
}
.hero-right-top::before { content: ''; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(200,179,232,0.22); border-radius: 50%; top: -80px; right: -80px; }
.hero-right-top::after { content: ''; position: absolute; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,0.08); border-radius: 50%; bottom: 40px; left: 40px; }
.big-label { font-family: 'Unbounded', sans-serif; font-size: clamp(3.5rem, 6vw, 7rem); font-weight: 800; color: rgba(200,179,232,0.10); line-height: 1; position: absolute; top: 2rem; left: 2.5rem; letter-spacing: -0.04em; pointer-events: none; }
.hero-right-top-content { position: relative; z-index: 1; }
.hero-right-top-content p { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 0.8rem; }
.hero-right-top-content h2 { font-family: 'Unbounded', sans-serif; font-size: clamp(1.3rem, 2.2vw, 2rem); font-weight: 300; color: #fff; line-height: 1.25; }
.hero-right-top-content h2 b { font-weight: 700; }

.hero-right-bottom {
  grid-column: 2; grid-row: 2;
  background: var(--w); padding: 2.5rem 3.5rem;
  border-top: 1px solid var(--brd);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.feat { display: flex; align-items: flex-start; gap: 0.8rem; }
.feat-ico { width: 36px; height: 36px; flex-shrink: 0; background: var(--lav); border-radius: 9px; display: flex; align-items: center; justify-content: center; }
.feat strong { display: block; font-size: 0.83rem; font-weight: 600; color: var(--ink); }
.feat span { font-size: 0.75rem; color: var(--gr); }

/* MARQUEE */
.marquee-wrap { background: linear-gradient(90deg, var(--p2), var(--p) 50%, var(--p2)); overflow: hidden; padding: 1rem 0; white-space: nowrap; }
.marquee-track { display: inline-block; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: 'Unbounded', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.82); padding: 0 2.5rem; }
.marquee-track span.dot { color: rgba(255,255,255,.45); padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTIONS */
.section { padding: 7rem 5%; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--p); margin-bottom: 0.7rem; }
.sec-eyebrow::before { content: ''; width: 26px; height: 1.5px; background: linear-gradient(90deg, var(--acc), var(--accl)); border-radius: 2px; }
h2.sec-h { font-family: 'Unbounded', sans-serif; font-size: clamp(1.6rem, 2.8vw, 2.6rem); font-weight: 300; color: var(--ink); line-height: 1.2; margin-bottom: 0.6rem; letter-spacing: -0.02em; }
h2.sec-h b { font-weight: 700; color: var(--p); }
.sec-lead { font-size: 0.95rem; color: var(--gr); max-width: 500px; margin-bottom: 3rem; }

/* SERVICES */
#services { background: var(--w); }
.services-layout { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; align-items: start; }
.services-intro { position: sticky; top: 84px; }
.services-intro p { font-size: 0.9rem; color: var(--gr); margin-top: 0.8rem; margin-bottom: 2rem; line-height: 1.7; }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.s-card { background: var(--w); border: 1px solid var(--brd); border-radius: var(--r); padding: 1.7rem; box-shadow: var(--sh-sm); transition: border-color .25s, box-shadow .25s, transform .2s; }
.s-card:hover { border-color: rgba(155,111,208,.55); box-shadow: var(--sh-md); transform: translateY(-4px); }
.s-ico { width: 42px; height: 42px; background: linear-gradient(140deg, var(--lav), #F3EEFC); border: 1px solid var(--brd); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; transition: background .25s; }
.s-card:hover .s-ico { background: linear-gradient(140deg, #E7DCF8, #F0E9FB); }
.s-card h3 { font-family: 'Unbounded', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.s-card p { font-size: 0.8rem; color: var(--gr); line-height: 1.6; }

/* STEPS */
#steps { background: var(--lav); }
#steps .sec-eyebrow { color: var(--plt); }
#steps h2.sec-h { color: var(--ink); }
#steps h2.sec-h b { color: var(--p); }
#steps .sec-lead { color: var(--gr); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--brd); border: 1px solid var(--brd); border-radius: var(--r); overflow: hidden; }
.step-card { background: var(--w); padding: 2rem 1.8rem; transition: background .2s; }
.step-card:hover { background: var(--bg); }
.step-num { font-family: 'Unbounded', sans-serif; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 1.2rem; background: linear-gradient(135deg, var(--p), var(--plt)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step-card:hover .step-num { background: linear-gradient(135deg, var(--p), var(--acc)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.step-card h4 { font-family: 'Unbounded', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.78rem; color: var(--gr); line-height: 1.6; }

/* CONTACT */
#contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.contact-main { background: radial-gradient(380px 300px at 88% 8%, rgba(155,111,208,.20), transparent 60%), linear-gradient(150deg, var(--p) 0%, var(--p2) 60%, var(--pdeep) 100%); border-radius: 22px; padding: 3.5rem; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--sh-lg); }
.contact-main::before { content: ''; position: absolute; width: 300px; height: 300px; border: 1px solid rgba(200,179,232,0.22); border-radius: 50%; bottom: -80px; right: -80px; }
.contact-main::after { content: ''; position: absolute; width: 180px; height: 180px; border: 1px solid rgba(255,255,255,0.07); border-radius: 50%; top: -50px; left: -50px; }
.contact-main-text { position: relative; z-index: 1; }
.contact-main p.eyebrow { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 0.8rem; }
.contact-main h3 { font-family: 'Unbounded', sans-serif; font-size: clamp(1.4rem, 2.5vw, 2.2rem); font-weight: 300; color: #fff; line-height: 1.2; margin-bottom: 0.8rem; }
.contact-main h3 b { font-weight: 700; }
.contact-main .sub { font-size: 0.88rem; color: rgba(255,255,255,0.55); position: relative; z-index: 1; margin-top: 0.6rem; }
.btn-white { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--p); font-family: 'Manrope', sans-serif; font-size: 0.88rem; font-weight: 700; padding: 0.85rem 1.8rem; border-radius: 50px; text-decoration: none; margin-top: 2rem; position: relative; z-index: 1; width: fit-content; transition: opacity .2s; }
.btn-white:hover { opacity: 0.88; }
.contact-side { display: flex; flex-direction: column; gap: 1rem; }
.c-card { background: var(--w); border: 1px solid var(--brd); border-radius: var(--r); padding: 1.8rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; box-shadow: var(--sh-sm); transition: box-shadow .25s, transform .2s; }
.c-card:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.c-card-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gr); margin-bottom: 0.5rem; }
.c-card h4 { font-family: 'Unbounded', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.c-card p { font-size: 0.8rem; color: var(--gr); margin-bottom: 1.2rem; }
.c-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 600; text-decoration: none; padding: 0.6rem 1.2rem; border-radius: 50px; width: fit-content; transition: opacity .2s; }
.c-link:hover { opacity: 0.8; }
.c-link-vk { background: #0077FF; color: #fff; }
.c-link-cat { background: var(--lav); color: var(--p); }
.c-link:focus-visible, .btn-main:focus-visible, .btn-ghost:focus-visible, .btn-white:focus-visible, .nav-cta:focus-visible, .nav-menu a:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--brd); padding: 3rem 5% 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-logo { font-family: 'Unbounded', sans-serif; font-size: 1rem; font-weight: 700; color: var(--p); text-decoration: none; display: block; margin-bottom: 0.6rem; }
.footer-desc { font-size: 0.78rem; color: var(--gr); max-width: 260px; line-height: 1.6; }
.footer-col h5 { font-family: 'Unbounded', sans-serif; font-size: 0.72rem; font-weight: 600; color: var(--gr); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.8rem; color: var(--gr); text-decoration: none; margin-bottom: 0.4rem; cursor: pointer; }
.footer-col a:hover { color: var(--p); }
.footer-col a[href^="mailto"] { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--brd); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.footer-bottom span { font-size: 0.72rem; color: var(--gr); }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { font-size: 0.72rem; color: var(--gr); text-decoration: none; cursor: pointer; }
.footer-legal-links a:hover { color: var(--p); }

/* HERO ENTRANCE */
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-left > * { animation: heroIn .75s cubic-bezier(.22,.61,.36,1) both; }
.hero-left > *:nth-child(1) { animation-delay: .05s; }
.hero-left > *:nth-child(2) { animation-delay: .13s; }
.hero-left > *:nth-child(3) { animation-delay: .21s; }
.hero-left > *:nth-child(4) { animation-delay: .29s; }
.hero-left > *:nth-child(5) { animation-delay: .37s; }
.hero-right-top-content > * { animation: heroIn .8s cubic-bezier(.22,.61,.36,1) both; animation-delay: .25s; }
.hero-right-top-content > *:nth-child(2) { animation-delay: .33s; }
.hero-right-bottom .feat { animation: heroIn .7s cubic-bezier(.22,.61,.36,1) both; }
.hero-right-bottom .feat:nth-child(1) { animation-delay: .30s; }
.hero-right-bottom .feat:nth-child(2) { animation-delay: .38s; }
.hero-right-bottom .feat:nth-child(3) { animation-delay: .46s; }
.hero-right-bottom .feat:nth-child(4) { animation-delay: .54s; }

/* REVEAL ON SCROLL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .07s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .14s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: .28s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track { animation: none; }
  .hero-left > *, .hero-right-top-content > *, .hero-right-bottom .feat { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* MOBILE */
@media (max-width: 960px) {
  #hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  #hero > * { min-width: 0; }
  .hero-stats { flex-wrap: wrap; }
  .hero-left { grid-column: 1; grid-row: 1; border-right: none; border-bottom: 1px solid var(--brd); padding: 3rem 5%; }
  .hero-right-top { grid-column: 1; grid-row: 2; min-height: 220px; }
  .hero-right-bottom { grid-column: 1; grid-row: 3; }
  .services-layout { grid-template-columns: 1fr; gap: 2rem; }
  .services-intro { position: static; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .s-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-right-top { padding: 2.5rem 5%; }
  .hero-right-bottom { grid-template-columns: 1fr; padding: 2rem 5%; }
  .hero-stats { gap: 1.2rem 1.5rem; }
  .contact-main { padding: 2.5rem 1.6rem; }
  .footer-top { flex-direction: column; }
}

/* BURGER MENU */
.nav-burger { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--brd); border-radius: 10px; cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--p); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-burger:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; }
@media (max-width: 960px) {
  .nav-burger { display: flex; }
  .nav-right { display: flex; align-items: center; gap: 0.7rem; }
  .nav-menu { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--brd); box-shadow: var(--sh-md); padding: 0.6rem 0; }
  .nav-menu.open { display: flex; }
  .nav-menu a { display: block; padding: 0.9rem 5%; font-size: 0.9rem; }
}

/* DOC PAGES */
.doc-wrap { max-width: 760px; margin: 0 auto; padding: 3.5rem 5% 5rem; }
.doc-wrap h1 { font-family: 'Unbounded', sans-serif; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(1.5rem, 2.6vw, 2.2rem); margin-bottom: 0.4rem; }
.doc-date { font-size: 0.78rem; color: var(--gr); margin-bottom: 2.2rem; }
.doc-wrap h4 { font-family: 'Unbounded', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin: 1.6rem 0 0.5rem; }
.doc-wrap p, .doc-wrap li { font-size: 0.88rem; color: var(--gr); line-height: 1.7; margin-bottom: 0.6rem; }
.doc-wrap ul { padding-left: 1.2rem; }
.doc-back { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; font-weight: 600; color: var(--p); text-decoration: none; margin-bottom: 2rem; }
.doc-back:hover { text-decoration: underline; }
.doc-back:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; border-radius: 4px; }
