:root { --ink: #0e1424; --ink2: #1b2440; --muted: #5d6680; --bg: #f7f7fb; --card: #fff; --line: #e4e6ef; --accent: #5b5bf6; --accent2: #22c7a9; --warm: #ffb547; --r: 18px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 16px/1.6 Inter, system-ui, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.2rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--accent); margin: 0 0 10px; }
.eyebrow.light { color: var(--accent2); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14, 20, 36, .18); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.accent { background: linear-gradient(90deg, var(--accent), #7c4dff); }
.btn.sm { padding: 10px 16px; font-size: .92rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.nav { position: sticky; top: 0; z-index: 30; background: rgba(247, 247, 251, .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1.3rem 'Space Grotesk', sans-serif; text-decoration: none; letter-spacing: .02em; }
.brand small { font: 500 .8rem Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
.logo { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent2)); font-size: 1.1rem; }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { text-decoration: none; color: var(--muted); font-weight: 500; }
.links a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang button { border: 0; background: transparent; padding: 7px 10px; font: 600 .8rem Inter, sans-serif; cursor: pointer; color: var(--muted); }
.lang button.on { background: var(--ink); color: #fff; }
.burger { display: none; border: 0; background: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); padding: 8px 20px 16px; border-bottom: 1px solid var(--line); }
  .links.open { display: flex; } .links a { padding: 10px 0; }
  .burger { display: block; } .lang { margin-left: auto; }
  .nav .btn.sm { display: none; }
}

.hero { padding: 64px 0 56px; overflow: hidden; background: radial-gradient(900px 500px at 85% 10%, rgba(91, 91, 246, .14), transparent 60%), radial-gradient(700px 400px at 10% 90%, rgba(34, 199, 169, .12), transparent 60%); }
.hgrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 560px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 30px; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.stats b { display: block; font: 700 1.25rem 'Space Grotesk', sans-serif; }
.stats span { color: var(--muted); font-size: .88rem; }
.stack { position: relative; aspect-ratio: 1 / .85; }
.win { position: absolute; width: 78%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(14, 20, 36, .22); border: 1px solid var(--line); }
.win i { display: block; height: 22px; background: #eef0f6; position: relative; }
.win i::before { content: ""; position: absolute; left: 10px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #ff6159; box-shadow: 13px 0 #ffbd2e, 26px 0 #28c941; }
.w1 { left: 0; top: 4%; z-index: 3; transform: rotate(-2deg); }
.w2 { right: 0; top: 0; z-index: 1; width: 66%; transform: rotate(3deg); }
.w3 { right: 4%; bottom: 0; z-index: 2; width: 60%; transform: rotate(1deg); }
@media (max-width: 900px) { .hgrid { grid-template-columns: 1fr; } .hero { padding-top: 36px; } .stack { margin-top: 10px; } }

.sec { padding: 84px 0; }
.sec.alt { background: #eef0f8; }
.sub { color: var(--muted); font-size: 1.05rem; margin-top: -6px; }
.sub.small { font-size: .95rem; text-align: center; margin-top: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.svc { background: var(--card); border-radius: var(--r); padding: 26px; border: 1px solid var(--line); }
.svc .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #eeeefe; font-size: 1.3rem; margin-bottom: 14px; color: var(--accent); }
.svc p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .grid3 { grid-template-columns: 1fr; } .sec { padding: 60px 0; } }

.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 30px; }
.case { background: var(--card); border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.case:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 20, 36, .12); }
.case .shot { aspect-ratio: 16 / 10; overflow: hidden; background: #e8eaf2; }
.case .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .4s; }
.case:hover .shot img { transform: scale(1.04); }
.cap { padding: 18px 20px 22px; }
.cap h3 { margin-bottom: 4px; }
.cap p { color: var(--muted); margin: 0 0 10px; font-size: .95rem; }
.tags { font-size: .78rem; font-weight: 600; color: var(--accent); }
@media (max-width: 900px) { .work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .work { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.hot { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 24px 60px rgba(14, 20, 36, .25); }
.plan.hot .for, .plan.hot li { color: #c7cce0; }
.plan.hot .btn { background: linear-gradient(90deg, var(--accent), #7c4dff); }
.badge { position: absolute; top: -13px; left: 26px; background: var(--warm); color: #3b2500; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.amt { font: 700 2.6rem 'Space Grotesk', sans-serif; margin: 4px 0; }
.for { color: var(--muted); min-height: 3em; }
.plan ul { list-style: none; padding: 0; margin: 10px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; color: var(--ink2); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent2); font-weight: 700; }
.care { margin-top: 22px; background: var(--card); border: 1px dashed #c9cde0; border-radius: 18px; padding: 22px 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.care h3 { margin: 0 0 4px; } .care p { margin: 0; color: var(--muted); max-width: 720px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; } }

.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: var(--card); border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.steps li::before { counter-increment: s; content: "0" counter(s); display: block; font: 700 1.6rem 'Space Grotesk', sans-serif; color: var(--accent); margin-bottom: 8px; }
.steps b { display: block; font-size: 1.08rem; margin-bottom: 6px; }
.steps span { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .steps { grid-template-columns: 1fr; } }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 12px 0; }
summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

.quote { background: var(--ink); color: #e6e9f5; }
.quote h2 { color: #fff; }
.qgrid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.mail a { color: #fff; font-weight: 600; }
.qform { background: var(--ink2); border-radius: 20px; padding: 26px; display: grid; gap: 14px; }
.qform label { display: grid; gap: 6px; font-size: .88rem; color: #b8bfd8; }
.qform input, .qform select, .qform textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #333d5e; background: #121a30; color: #fff; font: inherit; }
.qform textarea { min-height: 120px; resize: vertical; }
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 2px solid var(--accent); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.fmsg { margin: 0; min-height: 1.4em; font-weight: 500; }
.fmsg.ok { color: var(--accent2); } .fmsg.err { color: #ff8a80; }
@media (max-width: 900px) { .qgrid { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 580px) { .two { grid-template-columns: 1fr; } }

.foot { background: #090d18; color: #9aa3c0; padding: 40px 0; }
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot .brand { color: #fff; margin-bottom: 8px; }
.foot a, .foot span { display: block; text-decoration: none; margin: 4px 0; color: #9aa3c0; }
.foot a:hover { color: #fff; }
.foot span span { display: inline; }
@media (max-width: 700px) { .fgrid { grid-template-columns: 1fr 1fr; } .fgrid > div:first-child { grid-column: 1 / -1; } }

.page { max-width: 760px; margin: 0 auto; padding: 50px 20px 70px; }
.page h2 { font-size: 1.3rem; margin-top: 1.5em; }
