@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-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 800; font-display: swap; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-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 {
  --bg: #040a1c;
  --bg-2: #07122e;
  --card: #0b1a3d;
  --card-2: #0e2250;
  --line: rgba(80, 150, 255, 0.18);
  --text: #eaf1ff;
  --muted: #9fb3d9;
  --electric: #1e6bff;
  --electric-2: #3d8bff;
  --cyan: #38d6ff;
  --glow: 0 0 0 1px rgba(61, 139, 255, .35), 0 10px 40px -10px rgba(30, 107, 255, .6);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--cyan); text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
section { padding: 90px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--cyan); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 14px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--electric), var(--electric-2)); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { box-shadow: 0 0 0 1px rgba(61,139,255,.6), 0 14px 50px -8px rgba(30,107,255,.85); }
.btn-ghost { background: rgba(255,255,255,.04); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--electric-2); }
.btn-tg { background: #229ed9; color: #fff; }
.btn-viber { background: #7360f2; color: #fff; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 10, 28, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--electric), var(--cyan)); box-shadow: var(--glow);
}
.logo-mark svg { width: 22px; height: 22px; }
.logo small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: -3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }
.lang { display: flex; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.lang a { padding: 5px 10px; border-radius: 7px; color: var(--muted); font-size: 13px; font-weight: 700; }
.lang a.active { background: var(--electric); color: #fff; }
.header-phone { font-weight: 700; color: var(--text); white-space: nowrap; }

/* Hero */
.hero { padding: 80px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(30,107,255,.35), transparent 60%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(61,139,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(61,139,255,.07) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; }
.hero h1 .accent { background: linear-gradient(90deg, var(--electric-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 580px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(30,107,255,.1); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: #cfe0ff;
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 30px 80px -20px rgba(30,107,255,.55); border: 1px solid var(--line); }
.hero-card {
  position: absolute; left: -30px; bottom: 30px; background: rgba(7,18,46,.92); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--glow); max-width: 240px;
}
.hero-card b { display: block; font-size: 28px; color: #fff; line-height: 1.1; }
.hero-card span { font-size: 13px; color: var(--muted); }
.hero-card.top { left: auto; right: -20px; top: 30px; bottom: auto; }

/* Services */
.services { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: linear-gradient(180deg, var(--card), rgba(11,26,61,.6)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(61,139,255,.5); transform: translateY(-3px); }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(30,107,255,.14); border: 1px solid rgba(61,139,255,.35); color: var(--cyan);
}
.card-icon svg { width: 28px; height: 28px; }
.card .where { font-size: 13px; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.card li { position: relative; padding-left: 26px; margin-bottom: 12px; color: #cdd9f3; font-size: 15px; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 14px; border-radius: 4px;
  background: linear-gradient(135deg, var(--electric), var(--cyan));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.card li b { color: var(--text); }

.extra { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 22px; }
.extra .card { display: flex; gap: 22px; align-items: flex-start; }
.extra .card .card-icon { flex: none; margin: 0; }
.price-tag { font-size: 34px; font-weight: 800; color: #fff; line-height: 1; margin: 6px 0 8px; }
.price-tag small { font-size: 16px; color: var(--muted); font-weight: 600; }
.note {
  margin-top: 22px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 14px;
  background: rgba(56,214,255,.06); border: 1px dashed rgba(56,214,255,.35); color: #cfe7ff; font-size: 15px;
}
.note svg { width: 22px; height: 22px; flex: none; color: var(--cyan); margin-top: 1px; }

/* Errors */
.errors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.err {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; cursor: zoom-in; transition: border-color .2s, transform .2s;
}
.err:hover { border-color: rgba(61,139,255,.55); transform: translateY(-3px); }
.err img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.err-body { padding: 16px 18px 20px; }
.err-code {
  display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-weight: 700; font-size: 13px;
  padding: 4px 10px; border-radius: 8px; background: rgba(255,70,90,.12); color: #ff8a98; border: 1px solid rgba(255,70,90,.3); margin-bottom: 10px;
}
.err h3 { font-size: 17px; margin-bottom: 6px; }
.err p { font-size: 14px; color: var(--muted); margin: 0; }
.errors-foot { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  padding: 24px 28px; border-radius: var(--radius); background: linear-gradient(90deg, rgba(30,107,255,.18), rgba(56,214,255,.08)); border: 1px solid var(--line); }
.errors-foot p { margin: 0; font-size: 18px; font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-size: 40px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--electric-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: 15px; margin: 0; }

/* Europe */
.europe { background: var(--bg-2); }
.europe-box {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 48px; border-radius: 26px;
  background: radial-gradient(circle at 90% 10%, rgba(56,214,255,.18), transparent 50%), linear-gradient(135deg, #0a1f55, #0b1638);
  border: 1px solid rgba(61,139,255,.35); box-shadow: 0 30px 80px -30px rgba(30,107,255,.6);
}
.europe-box p { color: #cddcf7; font-size: 17px; }
.europe-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.europe-list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-weight: 600; }
.europe-list li span { font-size: 22px; }

/* Works */
.works-grid { display: grid; grid-template-columns: 1fr 1fr 0.9fr; gap: 18px; }
.work { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); position: relative; }
.work img, .work video { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.work figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-weight: 600; font-size: 15px;
  background: linear-gradient(transparent, rgba(4,10,28,.92)); pointer-events: none; }
.work img { cursor: zoom-in; }

/* FAQ */
.faq-list { max-width: 860px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 12px; overflow: hidden; }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--cyan); font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contacts */
.contacts .container { position: relative; }
.contact-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 56px; border-radius: 28px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--electric) 0%, #0b3fc4 55%, #06246f 100%); box-shadow: 0 40px 100px -30px rgba(30,107,255,.8);
}
.contact-box::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(56,214,255,.45), transparent 65%); }
.contact-box > * { position: relative; z-index: 1; }
.contact-box h2 { color: #fff; }
.contact-box p { color: #dbe7ff; font-size: 18px; }
.big-phone { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: #fff; display: inline-block; margin: 6px 0 4px; letter-spacing: -.01em; }
.contact-actions { display: grid; gap: 12px; align-content: center; }
.contact-actions .btn { width: 100%; padding: 18px 22px; font-size: 17px; justify-content: flex-start; }
.contact-actions .btn-light { background: #fff; color: #0b3fc4; }
.contact-actions .btn-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }

/* Footer */
.footer { padding: 36px 0 110px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .container { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; }

/* Floating mobile bar */
.mobile-bar { display: none; }


/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .lang { margin-left: auto; }
  .errors-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 70px 0; }
  .hero { padding: 48px 0 70px; }
  .hero .container, .europe-box, .contact-box, .extra { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .grid-3 { grid-template-columns: 1fr; }
  .errors-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .works-grid .work:last-child { grid-column: span 2; max-width: 340px; justify-self: center; width: 100%; }
  .europe-box, .contact-box { padding: 32px 24px; }
  .hero-card { left: 12px; bottom: 12px; }
  .hero-card.top { right: 12px; top: 12px; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .header .container { height: 64px; gap: 12px; }
  .logo small { display: none; }
  .logo { font-size: 17px; }
  .errors-grid, .steps { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .work:last-child { grid-column: auto; max-width: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .extra .card { flex-direction: column; }
  .errors-foot { padding: 20px; }
  .errors-foot .btn { width: 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(4,10,28,.95); border-top: 1px solid var(--line);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .mobile-bar .btn { padding: 12px 6px; font-size: 14px; gap: 6px; }
  .mobile-bar .btn svg { width: 18px; height: 18px; }
}
.logo { letter-spacing: .02em; }
.logo .accent { background: linear-gradient(90deg, var(--electric-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); margin: 0; }
section.pt0 { padding-top: 0; }
.ct-label { color: #bcd2ff; font-weight: 600; margin-top: 18px; }
[data-zoom]:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-size: clamp(32px, 5vw, 56px); }
.notfound .hero-cta { justify-content: center; margin-top: 28px; }

/* Header CTA + small helpers */
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 11px; }
.header-cta { flex: none; }
.nav a.active { color: var(--text); }
.text-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 15px; }
.text-link:hover { color: #fff; }
.btn-ghost-strong { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18); }

/* Contact page */
.contact-page { padding: 64px 0 90px; }
.contact-page h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 24px; align-items: start; }
.form-card {
  background: linear-gradient(180deg, var(--card), rgba(11,26,61,.7)); border: 1px solid var(--line);
  border-radius: 22px; padding: 34px; box-shadow: 0 30px 80px -40px rgba(30,107,255,.6);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: #dbe6ff; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input[type="text"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(4,10,28,.6);
  border: 1px solid rgba(80,150,255,.28); border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239fb3d9' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px;
}
.field select option { background: #0b1a3d; color: var(--text); }
.field ::placeholder { color: #5f7399; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--electric-2); box-shadow: 0 0 0 3px rgba(61,139,255,.25); }
.field .invalid { border-color: #ff5d73 !important; box-shadow: 0 0 0 3px rgba(255,93,115,.2) !important; }
.file-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer;
  padding: 24px 16px; border-radius: 14px; border: 1.5px dashed rgba(56,214,255,.4); background: rgba(56,214,255,.05); color: var(--cyan);
  transition: background .15s, border-color .15s;
}
.file-drop:hover, .file-drop.drag { background: rgba(56,214,255,.1); border-color: var(--cyan); }
.file-drop svg { width: 28px; height: 28px; }
.file-drop b { color: var(--text); }
.file-drop small { color: var(--muted); font-size: 13px; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-drop:focus-within { outline: 2px solid var(--cyan); outline-offset: 3px; }
.file-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.file-list span { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: rgba(30,107,255,.15); border: 1px solid var(--line); color: #cfe0ff; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }
.form-status { display: none; margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; background: rgba(255,93,115,.1); border: 1px solid rgba(255,93,115,.35); color: #ffb3bf; }
.form-status.show { display: block; }
.btn-submit { width: 100%; padding: 17px 22px; font-size: 17px; }
.btn-submit[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-done { text-align: center; padding: 40px 10px; }
.form-done[hidden] { display: none; }
.done-icon { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--electric), var(--cyan)); box-shadow: var(--glow); }
.done-icon svg { width: 36px; height: 36px; }
.form-done .btn { margin-top: 22px; }
.contact-side { display: grid; gap: 18px; }
.contact-side .card:hover { transform: none; }
.contact-side .contact-actions { margin-top: 14px; }
.contact-side .contact-actions .btn { width: 100%; justify-content: flex-start; }
.next-list { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: n; }
.next-list li { position: relative; padding: 0 0 14px 42px; color: #cdd9f3; font-size: 15px; counter-increment: n; }
.next-list li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--electric), var(--cyan)); }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-page { padding: 40px 0 70px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 22px 18px; border-radius: 18px; }
}
.nav { gap: 18px; }
.nav a, .logo small { white-space: nowrap; }
@media (max-width: 1360px) { .header-phone { display: none; } }
.card .next-list li::before { -webkit-mask: none; mask: none; width: 28px; height: 28px; top: -2px; border-radius: 8px; }

/* Home Expert logo */
.logo { gap: 12px; letter-spacing: 0; }
.logo .logo-mark { width: auto; height: 42px; background: none; box-shadow: none; border-radius: 0; display: block; flex: none; filter: drop-shadow(0 0 10px rgba(232,183,92,.35)); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-weight: 700; font-size: 19px; letter-spacing: .12em;
  background: linear-gradient(90deg, #f7dd98, #d8a84c 55%, #eac678); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo small { margin-top: 3px; letter-spacing: .02em; }
@media (max-width: 560px) {
  .logo .logo-mark { height: 34px; }
  .logo-name { font-size: 16px; letter-spacing: .08em; }
}
.logo-name, .logo small { white-space: nowrap; }
@media (max-width: 1240px) { .logo-name { letter-spacing: .06em; } .nav { gap: 14px; } }

/* ---------- Slider (home) ---------- */
.works-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.works-head .section-head { margin-bottom: 32px; }
.slider-nav { display: flex; gap: 10px; margin-bottom: 36px; }
.slider-btn {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text); transition: background .2s, border-color .2s, transform .15s;
}
.slider-btn:hover { background: var(--electric); border-color: var(--electric); transform: translateY(-2px); }
.slider-btn svg { width: 22px; height: 22px; }
.slider { position: relative; }
.slider-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, calc((min(100vw, var(--max)) - 40px - 3 * 18px) / 3.4));
  gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 6px max(20px, calc((100vw - var(--max)) / 2 + 20px)) 18px; scroll-padding: 0 max(20px, calc((100vw - var(--max)) / 2 + 20px));
  scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  margin: 0; position: relative; border-radius: 20px; overflow: hidden; scroll-snap-align: start; cursor: zoom-in;
  border: 1px solid var(--line); background: var(--card); aspect-ratio: 3 / 4;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s;
}
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.slide:hover { transform: translateY(-6px); border-color: rgba(61,139,255,.6); box-shadow: 0 24px 60px -24px rgba(30,107,255,.7); }
.slide:hover img { transform: scale(1.06); }
.slide figcaption, .g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; font-weight: 600; font-size: 15px; line-height: 1.35;
  background: linear-gradient(transparent, rgba(4,10,28,.94)); pointer-events: none;
}
.slider-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.slider-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.slider-dots span { width: 8px; height: 8px; border-radius: 99px; background: rgba(159,179,217,.35); transition: width .3s, background .3s; }
.slider-dots span.active { width: 28px; background: linear-gradient(90deg, var(--electric), var(--cyan)); box-shadow: 0 0 10px rgba(56,214,255,.6); }

/* ---------- Gallery page ---------- */
.gallery-page { padding: 64px 0 90px; }
.gallery-page h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; }
.g-sub { font-size: 24px; margin: 8px 0 20px; }
.v-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 220px)); gap: 14px; margin-bottom: 48px; }
.v-item { margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.v-item video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: #000; }
.v-item figcaption { padding: 10px 12px; font-weight: 700; font-size: 14px; background: var(--card); }
.g-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.g-item {
  margin: 0; aspect-ratio: 3 / 4; position: relative; border-radius: 14px; overflow: hidden; cursor: zoom-in;
  border: 1px solid var(--line); background: var(--card); transition: border-color .3s, box-shadow .3s;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.g-item:hover { border-color: rgba(61,139,255,.6); box-shadow: 0 20px 50px -24px rgba(30,107,255,.7); }
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption { opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.g-cta { margin-top: 40px; }
.g-cta p { margin: 0 0 4px; }
@media (hover: none) { .g-item figcaption { opacity: 1; transform: none; font-size: 13px; padding: 36px 12px 10px; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(2,6,18,.95); display: none; align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox.open { display: flex; animation: lbIn .25s ease; }
.lb-figure { margin: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; max-height: 100%; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 14px; box-shadow: 0 20px 80px rgba(30,107,255,.35); animation: lbImg .3s ease; }
.lb-figure figcaption { margin-top: 14px; font-weight: 600; text-align: center; color: #dbe6ff; }
.lb-btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .2s;
}
.lb-btn:hover { background: var(--electric); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
.lb-count { position: absolute; top: 28px; left: 24px; font-weight: 700; color: var(--muted); font-size: 14px; }
body.no-scroll { overflow: hidden; }
@keyframes lbIn { from { opacity: 0; } }
@keyframes lbImg { from { opacity: 0; transform: scale(.97); } }

/* ---------- Simple animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(56,214,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(56,214,255,0); } 100% { box-shadow: 0 0 0 0 rgba(56,214,255,0); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes gridDrift { to { background-position: 56px 56px, 56px 56px; } }
@keyframes glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes shine { from { left: -60%; } to { left: 130%; } }

.hero-card { animation: float 6s ease-in-out infinite; }
.hero-card.top { animation-delay: -3s; }
.badge i { animation: pulse 2.4s ease-out infinite; }
.hero-badges .badge:nth-child(2) i { animation-delay: .6s; }
.hero-badges .badge:nth-child(3) i { animation-delay: 1.2s; }
.hero-badges .badge:nth-child(4) i { animation-delay: 1.8s; }
.hero h1 .accent { background-image: linear-gradient(90deg, var(--electric-2), var(--cyan), #9be8ff, var(--cyan), var(--electric-2)); background-size: 200% auto; animation: shimmer 6s linear infinite; }
.hero::after { animation: gridDrift 18s linear infinite; }
.hero::before { animation: glow 7s ease-in-out infinite; }
.logo .logo-mark { animation: glow 4s ease-in-out infinite; }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg);
}
.btn-primary:hover::after { animation: shine .8s ease; }
.hero .eyebrow, .hero h1, .hero .lead, .hero-cta, .hero-badges, .hero-visual { animation: heroIn .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: .08s; }
.hero .lead { animation-delay: .16s; }
.hero-cta { animation-delay: .24s; }
.hero-badges { animation-delay: .32s; }
.hero-visual { animation-delay: .2s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .slider-track { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .works-head { display: block; }
  .slider-nav { display: none; }
  .slider-track { grid-auto-columns: 62%; }
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lightbox { padding: 64px 12px 40px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .lb-figure img { max-height: calc(100vh - 190px); }
  .gallery-page { padding: 40px 0 70px; }
}
@media (max-width: 560px) {
  .slider-track { grid-auto-columns: 78%; gap: 12px; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .g-item { border-radius: 12px; }
  .v-grid { gap: 10px; }
  .slider-foot .btn { width: 100%; }
}

.g-item figcaption { font-size: 13px; padding: 34px 12px 10px; }
@media (max-width: 1200px) { .g-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 900px) { .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.slider-track { grid-auto-columns: minmax(240px, calc((min(100vw, var(--max)) - 40px - 4 * 18px) / 4.3)); }
@media (max-width: 900px) { .slider-track { grid-auto-columns: 46%; } }
@media (max-width: 560px) { .slider-track { grid-auto-columns: 72%; } }
