/* ==========================================================
   STMetal – Landing page
   ========================================================== */

:root {
  --bg: #0E0F11;
  --bg-2: #15171B;
  --steel: #1C1F24;
  --steel-2: #262A31;
  --line: rgba(255, 255, 255, .08);
  --text: #E8E8E8;
  --muted: #9AA0A8;
  --hot: #FF6B1A;
  --hot-2: #FFB347;
  --grad: linear-gradient(135deg, #FFB347 0%, #FF6B1A 55%, #E04A00 100%);
  --radius: 14px;
  --ff-head: 'Oswald', 'Arial Narrow', sans-serif;
  --ff-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); overflow-x: clip; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--hot); color: #000; }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.hot {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--ff-head); font-weight: 600; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .8rem; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
  color: var(--hot-2); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--grad); box-shadow: 0 0 10px var(--hot); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); }
.section__head--left { text-align: left; margin-inline: 0; }
.section__title { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 18px; }
.section__lead { color: var(--muted); font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 6px; font-weight: 600; letter-spacing: .03em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); color: #111; box-shadow: 0 10px 30px -10px rgba(255, 107, 26, .7); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .7s var(--ease);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px rgba(255, 107, 26, .9), 0 0 0 1px rgba(255, 179, 71, .5); }
.btn--primary:hover::after { transform: translateX(100%); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: var(--hot); color: var(--hot-2); transform: translateY(-3px); }
.btn--dark { background: #0E0F11; color: #fff; }
.btn--dark:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 40px -15px #000; }
.btn--viber { background: rgba(115, 96, 242, .16); color: #fff; border: 1px solid rgba(115, 96, 242, .55); }
.btn--viber:hover { background: #7360F2; border-color: #7360F2; transform: translateY(-3px); box-shadow: 0 16px 34px -10px rgba(115, 96, 242, .7); }
.contact__viber-link { color: #a599ff; font-weight: 500; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; transition: opacity .6s, visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 24px; }
.preloader__logo { width: 84px; animation: weld 1.2s ease-in-out infinite alternate; }
.preloader__bar { width: 180px; height: 3px; background: var(--steel-2); border-radius: 3px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--hot); animation: load 1.2s var(--ease) forwards; }
@keyframes weld { from { filter: drop-shadow(0 0 2px var(--hot)); } to { filter: drop-shadow(0 0 18px var(--hot)) brightness(1.3); } }
@keyframes load { to { width: 100%; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h);
  transition: background .4s, box-shadow .4s, height .4s, transform .4s var(--ease);
}
.nav.is-scrolled { background: rgba(14, 15, 17, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --nav-h: 64px; height: 64px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--ff-head); font-size: 1.45rem; letter-spacing: .03em; text-transform: uppercase; }
.logo b { color: var(--hot); font-weight: 600; }
.nav__menu { display: flex; gap: 28px; margin-left: auto; }
.nav__menu a { position: relative; font-size: .95rem; font-weight: 500; color: #cfd3d8; padding: 6px 0; transition: color .3s; }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__menu a:hover, .nav__menu a.is-active { color: #fff; }
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__phone { font-weight: 600; color: var(--hot-2); }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: #fff; transition: transform .35s var(--ease), opacity .3s; }
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 19px; }
.nav__burger span:nth-child(3) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 100px; }
.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.hero__video.is-playing { opacity: 1; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease; backface-visibility: hidden; transform: translateZ(0); }
.hero__slide.is-active { opacity: 1; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 75% 60%, rgba(255, 107, 26, .18), transparent 55%),
    linear-gradient(90deg, rgba(14, 15, 17, .95) 0%, rgba(14, 15, 17, .7) 45%, rgba(14, 15, 17, .25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero__sparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero__content { max-width: 1240px; }
.hero__title { font-size: clamp(2.8rem, 8vw, 6.4rem); line-height: 1; margin-bottom: 26px; max-width: 16ch; }
.hero__title .split { display: block; }
.hero__title-accent { color: var(--hot); text-shadow: 0 0 28px rgba(255, 107, 26, .35); }
.hero__title-accent .char { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .02em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #c9cdd2; max-width: 560px; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 14px 40px; color: var(--muted); font-size: .95rem; }
.hero__badges b { font-family: var(--ff-head); font-size: 1.6rem; color: #fff; margin-right: 6px; }
.hero__scroll { position: absolute; left: 50%; bottom: 32px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--hot); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* split text */
.char { display: inline-block; opacity: 0; transform: translate3d(0, 70%, 0) rotate(8deg); transition: opacity .6s var(--ease), transform .8s var(--ease); will-change: transform, opacity; }
.is-split-in .char { opacity: 1; transform: none; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; background: var(--grad); color: #111; padding: 18px 0; transform: rotate(-1.5deg) scale(1.03); margin: -20px 0 0; z-index: 2; box-shadow: 0 0 60px rgba(255, 107, 26, .35); backface-visibility: hidden; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; animation: marquee 28s linear infinite; backface-visibility: hidden; transform: translate3d(0, 0, 0); }
.marquee span { font-family: var(--ff-head); font-size: clamp(1.3rem, 2.5vw, 2rem); text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.marquee i { width: 12px; height: 12px; background: #111; transform: rotate(45deg); flex: none; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Services ---------- */
.services { background: radial-gradient(ellipse at top, #1a1c21 0%, var(--bg) 60%); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--steel);
  border: 1px solid var(--line);
  transition: border-color .35s, box-shadow .35s;
}
.card:hover { border-color: rgba(255, 107, 26, .5); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .85), 0 0 32px -10px rgba(255, 107, 26, .3); }
.card__img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; backface-visibility: hidden; transform: translateZ(0); transition: filter .4s; filter: saturate(.9); }
.card:hover .card__img { filter: saturate(1.08); }
.card__body { position: relative; padding: 26px 26px 30px; }
.card__num { position: absolute; top: -30px; right: 22px; font-family: var(--ff-head); font-size: 3.6rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 179, 71, .6); }
.card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 16px; font-size: .97rem; }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card__specs li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--line);
  font-size: .78rem; color: #cfd3d8; letter-spacing: .01em;
}
.card__specs li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 6px var(--hot); }
.card__link { font-weight: 600; color: var(--hot-2); display: inline-block; transition: transform .3s var(--ease), color .3s; }
.card__link:hover { color: #fff; transform: translateX(6px); }
.card__glare { display: none; }

/* ---------- Why ---------- */
.why { overflow: hidden; isolation: isolate; }
.why__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; filter: grayscale(.4); z-index: -1; }
.why::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(14, 15, 17, .6) 50%, var(--bg) 100%); }
.why__inner { display: block; }
.why__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 40px; margin-top: 36px; }
.why__list li { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); background: rgba(28, 31, 36, .88); border: 1px solid var(--line); }
.why__icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-size: 1.5rem; border-radius: 12px; color: var(--hot-2); background: rgba(255, 107, 26, .08); border: 1px solid rgba(255, 107, 26, .3); box-shadow: inset 0 0 20px rgba(255, 107, 26, .1); }
.why__list h3 { font-size: 1.25rem; margin-bottom: 4px; }
.why__list p { color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat {
  position: relative; padding: 34px 26px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(145deg, var(--steel-2), var(--steel)); border: 1px solid var(--line);
}
.stat::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .3s; }
.stat.is-visible::before { transform: scaleX(1); }
.stat b { display: block; font-family: var(--ff-head); font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter { padding: 10px 20px; border-radius: 40px; border: 1px solid var(--line); background: var(--steel); font-weight: 500; font-size: .92rem; transition: all .3s var(--ease); }
.filter:hover { border-color: var(--hot); color: var(--hot-2); }
.filter.is-active { background: var(--grad); color: #111; border-color: transparent; box-shadow: 0 8px 24px -8px var(--hot); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item.is-hidden { display: none; }
.gallery__item.is-filtering { opacity: 0; transform: scale(.92); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; backface-visibility: hidden; transform: translateZ(0); transition: filter .4s; }
.gallery__item:hover img { filter: brightness(.65); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0; padding: 22px; font-family: var(--ff-head); font-size: 1.2rem; text-transform: uppercase;
  background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent); transform: translateY(30%); opacity: 0; transition: all .5s var(--ease);
}
.gallery__item figcaption span { display: block; font-family: var(--ff-body); font-size: .75rem; letter-spacing: .2em; color: var(--hot-2); margin-bottom: 4px; }
.gallery__item:hover figcaption { transform: none; opacity: 1; }
.gallery__item::after { content: "+"; position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #111; font-size: 1.5rem; font-weight: 700; transform: scale(0) rotate(-90deg); transition: transform .4s var(--ease); }
.gallery__item:hover::after { transform: scale(1) rotate(0); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.steps__line { position: absolute; top: 35px; left: 12.5%; width: 75%; height: 2px; background: var(--steel-2); }
.steps__line span { position: absolute; inset: 0; background: var(--grad); box-shadow: 0 0 10px var(--hot); transform: scaleX(0); transform-origin: left; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px;
  font-family: var(--ff-head); font-size: 1.5rem; border-radius: 50%; background: var(--steel); border: 2px solid var(--steel-2);
  transition: all .6s var(--ease);
}
.step.is-lit .step__num { background: var(--grad); color: #111; border-color: transparent; box-shadow: 0 0 0 8px rgba(255, 107, 26, .12), 0 0 36px rgba(255, 107, 26, .6); }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: #111; padding: 80px 0; }
.cta-band__sparks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); max-width: 18ch; }
.cta-band .hot { background: none; color: #fff; -webkit-text-fill-color: #fff; text-shadow: 0 0 30px rgba(255, 255, 255, .6); }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--nav-h) + 30px); }
.accordion { display: grid; gap: 14px; }
.acc { border-radius: var(--radius); background: var(--steel); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.acc[open] { border-color: rgba(255, 107, 26, .45); background: linear-gradient(145deg, var(--steel-2), var(--steel)); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative; font-weight: 600; font-size: 1.05rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--hot); border-bottom: 2px solid var(--hot); transform: rotate(45deg); transition: transform .4s var(--ease); }
.acc[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.acc__body { padding: 0 24px 22px; color: var(--muted); overflow: hidden; }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(ellipse at 20% 100%, rgba(255, 107, 26, .1), transparent 50%), var(--bg-2); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact__list { display: grid; gap: 16px; margin: 30px 0; }
.contact__list li { display: grid; grid-template-columns: 130px 1fr; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact__list span { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; padding-top: 2px; }
.contact__list a:hover { color: var(--hot-2); }
.contact__map-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--steel); }
.contact__map { height: 240px; }
.contact__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); display: block; }
.contact__coverage { padding: 14px 18px; border-top: 1px solid var(--line); background: linear-gradient(145deg, var(--steel-2), var(--steel)); }
.contact__coverage-label { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--hot-2); margin-bottom: 4px; }
.contact__coverage-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 8px var(--hot); }
.contact__coverage p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

.form { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: 20px; background: var(--steel); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px #000; display: grid; gap: 18px; }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(255, 179, 71, .6), transparent 40%, transparent 60%, rgba(255, 107, 26, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 24px 16px 10px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--steel-2); border-radius: 10px;
  outline: none; transition: border-color .3s, box-shadow .3s; appearance: none; resize: vertical;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--hot) 50%), linear-gradient(135deg, var(--hot) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--steel); }
.field label { position: absolute; left: 17px; right: 16px; top: 17px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(255, 107, 26, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 6px; font-size: .74rem; color: var(--hot-2); letter-spacing: .05em; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ff4d4d; animation: shake .4s; }
.field__error { display: block; min-height: 0; color: #ff6b6b; font-size: .82rem; margin-top: 4px; }
.field__error:empty { display: none; }
@keyframes shake { 25% { transform: translateX(-6px); } 50% { transform: translateX(6px); } 75% { transform: translateX(-3px); } }
.upload { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.upload__btn { padding: 10px 16px; border-radius: 8px; border: 1px dashed rgba(255, 179, 71, .5); color: var(--hot-2); font-weight: 500; font-size: .92rem; transition: background .3s; }
.upload:hover .upload__btn { background: rgba(255, 107, 26, .08); }
.upload__names { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--hot); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.btn.is-loading .btn__label { opacity: .4; }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border: 2px solid #111; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__success { position: absolute; inset: 0; border-radius: inherit; background: var(--steel); display: grid; place-content: center; justify-items: center; text-align: center; gap: 12px; padding: 30px; animation: fadein .6s var(--ease); }
.form__success[hidden] { display: none; }
.form__success-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 2.6rem; color: #111; background: var(--grad); box-shadow: 0 0 50px rgba(255, 107, 26, .6); animation: pop .7s var(--ease); }
.form__success h3 { font-size: 2rem; }
.form__success p { color: var(--muted); }
@keyframes fadein { from { opacity: 0; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: var(--bg); }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer__tag { color: var(--muted); margin-top: 12px; }
.footer__nav, .footer__contact { display: grid; gap: 10px; color: var(--muted); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--hot-2); }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: #6b7078; font-size: .85rem; }

/* ---------- Quick contacts ---------- */
.quick { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; gap: 16px; }
.quick__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .8); transition: transform .3s var(--ease); }
.quick__btn svg { width: 26px; height: 26px; }
.quick__btn:hover { transform: scale(1.1); }
.quick__btn--viber { background: #7360F2; position: relative; }
.quick__btn--viber::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #7360F2; animation: ring 2s infinite; }
.quick__btn--call { background: var(--grad); color: #111; position: relative; }
.quick__btn--call::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--hot); animation: ring 2s infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(5, 5, 6, .94); backdrop-filter: blur(8px); display: grid; place-items: center; animation: fadein .35s; }
.lightbox[hidden] { display: none; }
.lightbox__fig { max-width: min(1200px, 90vw); text-align: center; }
.lightbox__fig img { max-height: 80vh; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px #000; animation: lbzoom .45s var(--ease); }
.lightbox__fig figcaption { margin-top: 16px; font-family: var(--ff-head); text-transform: uppercase; font-size: 1.2rem; }
@keyframes lbzoom { from { transform: scale(.9); opacity: 0; } }
.lightbox__close { position: absolute; top: 20px; right: 26px; font-size: 2.6rem; line-height: 1; transition: color .3s, transform .3s; }
.lightbox__close:hover { color: var(--hot); transform: rotate(90deg); }
.lightbox__nav { position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; font-size: 2.2rem; line-height: 1; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: background .3s; }
.lightbox__nav:hover { background: var(--hot); color: #111; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__phone { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .why__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 44px; }
  .faq .section__head { position: static; text-align: center; margin-inline: auto; }
}
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__burger { display: block; margin-left: auto; z-index: 2; }
  .nav__cta { display: none; }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 24px;
    background: rgba(14, 15, 17, .97); backdrop-filter: blur(10px);
    clip-path: circle(0 at calc(100% - 40px) 32px); transition: clip-path .6s var(--ease), visibility .6s;
    visibility: hidden; pointer-events: none;
  }
  .nav__menu a { font-family: var(--ff-head); font-size: 1.85rem; text-transform: uppercase; }
  .nav__menu.is-open { clip-path: circle(150% at calc(100% - 40px) 32px); visibility: visible; pointer-events: auto; }
  .nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; transform: none; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 48px) 0 80px; }
  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(14, 15, 17, .78) 0%, rgba(14, 15, 17, .85) 65%, var(--bg) 100%);
  }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps__line { display: none; }
  .why__list { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 32px; }
  .section__title { font-size: clamp(1.85rem, 7.5vw, 2.5rem); margin-bottom: 12px; }
  .section__lead { font-size: .98rem; }
  .eyebrow { font-size: .74rem; letter-spacing: .16em; gap: 10px; margin-bottom: 12px; }
  .eyebrow::before { width: 24px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
  .btn--lg { padding: 15px 22px; font-size: .98rem; }
  .hero { padding: calc(var(--nav-h) + 32px) 0 60px; }
  .hero__title { font-size: clamp(2.1rem, 9.2vw, 3.1rem); line-height: 1.06; margin-bottom: 18px; }
  .hero__lead { font-size: .98rem; margin-bottom: 26px; }
  .hero__actions { gap: 12px; margin-bottom: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .marquee { padding: 12px 0; margin-top: -10px; }
  .marquee__track { gap: 22px; }
  .marquee span { font-size: 1.15rem; }
  .marquee i { width: 8px; height: 8px; }
  .services__grid { grid-template-columns: 1fr; gap: 18px; }
  .card__body { padding: 20px 20px 24px; }
  .card__num { font-size: 2.8rem; top: -24px; right: 18px; }
  .card h3 { font-size: 1.4rem; }
  .why__list li { padding: 18px; gap: 14px; }
  .why__icon { width: 46px; height: 46px; font-size: 1.3rem; border-radius: 10px; }
  .filters { gap: 8px; margin-bottom: 26px; }
  .filter { padding: 8px 15px; font-size: .85rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 175px; gap: 12px; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item figcaption { opacity: 1; transform: none; font-size: .95rem; padding: 12px; }
  .gallery__item::after { display: none; }
  .step__num { width: 60px; height: 60px; font-size: 1.3rem; margin-bottom: 16px; }
  .step h3 { font-size: 1.25rem; }
  .cta-band { padding: 56px 0; }
  .cta-band__inner { justify-content: center; text-align: center; gap: 20px; }
  .cta-band h2 { font-size: clamp(1.75rem, 7vw, 2.4rem); }
  .cta-band .btn { width: 100%; }
  .acc summary { padding: 18px 46px 18px 18px; font-size: .98rem; }
  .acc summary::after { right: 18px; width: 11px; height: 11px; }
  .acc__body { padding: 0 18px 18px; font-size: .94rem; }
  .contact__list { margin: 22px 0; gap: 12px; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; padding-bottom: 12px; }
  .contact__map { height: 220px; }
  .form { padding: 22px 18px; border-radius: 16px; gap: 14px; }
  .form__row { grid-template-columns: 1fr; gap: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; padding: 22px 14px 8px; }
  .field label { left: 14px; right: 14px; top: 15px; font-size: .92rem; }
  .footer { padding: 44px 0 96px; }
  .footer__inner { flex-direction: column; gap: 28px; }
  .footer__nav { grid-template-columns: repeat(2, auto); gap: 10px 28px; }
  .footer__bottom { margin-top: 28px; padding-top: 20px; }
  .quick { right: 14px; bottom: 14px; gap: 12px; }
  .quick__btn { width: 48px; height: 48px; }
  .quick__btn svg { width: 22px; height: 22px; }
  .lightbox__fig { max-width: 94vw; }
  .lightbox__fig img { max-height: 72vh; }
  .lightbox__close { top: 12px; right: 16px; font-size: 2.2rem; }
  .lightbox__nav { width: 42px; height: 42px; margin-top: -21px; font-size: 1.7rem; background: rgba(14, 15, 17, .78); }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
}
