/* ==========================================================
   AR GE Prefabrik — modern site
   ========================================================== */
:root {
  --bg: #0a0d12;
  --bg-2: #0f141b;
  --surface: #141b24;
  --surface-2: #1a2330;
  --line: rgba(255, 255, 255, .08);
  --text: #e9eef4;
  --muted: #8d9aab;
  --accent: #ff7a1a;
  --accent-2: #ffb547;
  --blue: #3ea6ff;
  --grad: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 60%, #ffd88a 100%);
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-d: "Space Grotesk", "Inter", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { 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; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--accent); color: #111; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero .eyebrow::before { display: none; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255,122,26,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255,122,26,0); } 100% { box-shadow: 0 0 0 0 rgba(255,122,26,0); } }

.title {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -.02em;
  margin: 0 0 22px;
}
.section__head { margin-bottom: 56px; max-width: 760px; }
.section__head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.section__head--split .title { margin-bottom: 0; }
.section__desc { color: var(--muted); max-width: 420px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 16px 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .4s var(--ease), background .3s, box-shadow .3s, color .3s;
  position: relative; overflow: hidden; will-change: transform;
}
.btn svg { font-size: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: #140a02; box-shadow: 0 10px 30px -10px rgba(255,122,26,.7); }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 16px 40px -10px rgba(255,122,26,.8); }
.btn--ghost { border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); background: rgba(255,255,255,.04); }
.btn--ghost:hover { background: #fff; color: #111; }
.btn--sm { --pad: 10px 18px; font-size: 14px; }
.btn--sm svg { fill: currentColor; stroke: none; }
.btn--block { width: 100%; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { display: grid; gap: 24px; justify-items: center; }
.preloader__logo { width: 120px; height: 70px; }
.preloader__logo .draw { stroke: var(--accent); stroke-width: 3; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.2s var(--ease) forwards; }
.preloader__logo .d2 { stroke: #fff; animation-delay: .2s; }
.preloader__logo .d3 { stroke: var(--muted); animation-delay: .4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.preloader__bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader__bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: load 1s ease-in-out infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Scroll progress + cursor ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 1001; }
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,.10), transparent 65%);
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%); transition: opacity .3s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--header-h);
  transition: background .4s, backdrop-filter .4s, border-color .4s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(10,13,18,.72); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 30px; color: #fff; }
.brand__text { display: grid; line-height: 1; }
.brand__text strong { font-family: var(--font-d); font-size: 24px; letter-spacing: .02em; }
.brand__text strong span { color: var(--accent); margin-left: 4px; }
.brand__text small { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.8); transition: color .3s; }
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 10px; }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 1002; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero__slides, .hero__slide, .hero__overlay, .hero__grid { position: absolute; inset: 0; }
.hero__slides { z-index: -3; }
.hero__slide {
  background: var(--img) center/cover no-repeat, var(--surface);
  opacity: 0; transform: scale(1.15);
  transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  z-index: -2;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(10,13,18,.55), rgba(10,13,18,.9) 70%),
    linear-gradient(180deg, rgba(10,13,18,.5) 0%, rgba(10,13,18,.2) 40%, var(--bg) 100%);
}
.hero__grid {
  z-index: -1; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 0%, transparent 70%);
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { background-position: 64px 64px; } }

.hero__content { padding: calc(var(--header-h) + 40px) 0 100px; }
.hero__title {
  font-family: var(--font-d); font-weight: 700;
  font-size: clamp(44px, 8.4vw, 112px); line-height: .98; letter-spacing: -.035em;
  margin: 0 0 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.hero__lead { max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: rgba(233,238,244,.82); margin: 0 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__dots { position: absolute; right: max(20px, calc((100vw - 1200px) / 2)); bottom: 48px; display: flex; gap: 10px; }
.hero__dots button { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__dots button.is-active::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: dotFill 6s linear forwards; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-hint { position: absolute; left: 50%; bottom: 36px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -60px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(20,27,36,.75); backdrop-filter: blur(18px);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { padding: 32px 28px; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { font-family: var(--font-d); font-size: clamp(32px, 3.6vw, 46px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: 24px; overflow: hidden; aspect-ratio: 4/5; background: var(--surface); transform-style: preserve-3d; transition: transform .3s ease-out; }
.about__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease); }
.about__media:hover .about__img img { transform: scale(1.02); }
.about__badge {
  position: absolute; right: -24px; bottom: 40px; padding: 22px 26px; border-radius: 18px;
  background: var(--accent); color: #140a02; display: grid; line-height: 1.2;
  box-shadow: 0 30px 60px -20px rgba(255,122,26,.6); animation: float 5s ease-in-out infinite;
}
.about__badge strong { font-family: var(--font-d); font-size: 26px; }
.about__badge span { font-weight: 500; }
@keyframes float { 50% { transform: translateY(-12px); } }
.about__text > p { color: var(--muted); }
.about__text > p strong { color: var(--text); }

.checklist { margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.checklist h3 { margin: 0 0 16px; font-family: var(--font-d); font-size: 19px; }
.checklist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: rgba(233,238,244,.86); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(255,122,26,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Advantages ---------- */
.advantages { background: var(--bg-2); }
.adv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s;
}
.adv::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,122,26,.14), transparent 60%);
}
.adv:hover { transform: translateY(-6px); border-color: rgba(255,122,26,.35); }
.adv:hover::before { opacity: 1; }
.adv__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 26px;
  background: linear-gradient(135deg, rgba(255,122,26,.2), rgba(255,181,71,.05)); color: var(--accent); margin-bottom: 22px;
  transition: transform .5s var(--ease);
}
.adv:hover .adv__icon { transform: rotate(-8deg) scale(1.08); }
.adv h3 { font-family: var(--font-d); font-size: 21px; margin: 0 0 8px; position: relative; }
.adv p { color: var(--muted); margin: 0; position: relative; font-size: 15px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid var(--line); background: var(--bg); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--font-d); font-size: clamp(28px, 4vw, 52px); font-weight: 700; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); transition: color .3s; }
.marquee span:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.marquee i { color: var(--accent); font-style: normal; font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.svc__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.svc {
  grid-column: span 4; position: relative; min-height: 420px; border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; cursor: pointer;
  background: var(--surface); isolation: isolate; text-align: left;
}
.svc:nth-child(1), .svc:nth-child(2) { grid-column: span 6; }
.svc__bg { position: absolute; inset: 0; z-index: -2; background: var(--img) center/cover; transform: scale(1.05); transition: transform 1.2s var(--ease), filter .6s; filter: grayscale(.4) brightness(.8); }
.svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(10,13,18,.95) 85%); }
.svc:hover .svc__bg { transform: scale(1.15); filter: none; }
.svc__num { position: absolute; top: 26px; left: 30px; font-family: var(--font-d); font-size: 14px; color: rgba(255,255,255,.6); letter-spacing: .1em; }
.svc h3 { font-family: var(--font-d); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; margin: 0 0 10px; }
.svc p { color: rgba(233,238,244,.75); margin: 0; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.svc__more svg { transition: transform .3s var(--ease); }
.svc:hover .svc__more svg { transform: translateX(6px); }
.svc__arrow {
  position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.1); backdrop-filter: blur(8px); font-size: 20px;
  transition: background .3s, transform .5s var(--ease), color .3s;
}
.svc:hover .svc__arrow { background: var(--accent); color: #140a02; transform: rotate(-45deg); }

/* ---------- Products ---------- */
.products { background: var(--bg-2); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 500; color: var(--muted); transition: all .3s var(--ease);
}
.filters button:hover { color: #fff; border-color: rgba(255,255,255,.25); }
.filters button.is-active { background: var(--accent); border-color: var(--accent); color: #140a02; }
.prod__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod {
  border-radius: 18px; background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .3s, opacity .4s, scale .4s var(--ease);
}
.prod:hover { transform: translateY(-6px); border-color: rgba(255,122,26,.35); }
.prod.is-hidden { display: none; }
.prod.is-entering { animation: popIn .5s var(--ease) both; }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.prod__img { aspect-ratio: 4/3; background: linear-gradient(135deg, #1d2633, #121820); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.prod__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.08) rotate(-1deg); }
.prod__body { padding: 18px 20px 20px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prod__body h3 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.3; }
.prod__body small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2px; }
.prod__body a { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background .3s, color .3s; }
.prod:hover .prod__body a { background: var(--accent); color: #140a02; }

/* ---------- Gallery ---------- */
.gal__grid { columns: 3 280px; column-gap: 18px; }
.gal {
  break-inside: avoid; margin-bottom: 18px; border-radius: 16px; overflow: hidden; position: relative; cursor: zoom-in;
  background: var(--surface); width: 100%; padding: 0; display: block;
}
.gal img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .6s; }
.gal:hover img { transform: scale(1.07); }
.gal figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 18px 16px; text-align: left; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); transform: translateY(100%); transition: transform .5s var(--ease);
}
.gal:hover figcaption, .gal:focus-visible figcaption { transform: none; }

/* ---------- Video ---------- */
.video__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.video__grid > div > p:not(.eyebrow) { color: var(--muted); }
.video__frame { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border-radius: 22px; overflow: hidden; background: #000; padding: 0; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1s var(--ease), opacity .4s; }
.video__frame:hover img { transform: scale(1.05); opacity: .9; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 88px; height: 88px; border-radius: 50%;
  background: var(--accent); color: #140a02; display: grid; place-items: center; font-size: 34px;
}
.play svg { fill: currentColor; stroke: none; margin-left: 4px; }
.play::before, .play::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent); animation: ring 2.4s infinite; }
.play::after { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(1.9); opacity: 0; } }

/* ---------- Vision / tabs ---------- */
.vision { background: var(--bg-2); overflow: hidden; }
.tabs { max-width: 900px; }
.tabs__nav { position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.tabs__nav button { position: relative; z-index: 1; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .3s; }
.tabs__nav button.is-active { color: #140a02; }
.tabs__ink { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--accent); transition: transform .5s var(--ease), width .5s var(--ease); }
.tabs__panels { position: relative; min-height: 170px; }
.tabs__panel { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s, transform .6s var(--ease); }
.tabs__panel.is-active { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.tabs__panel p { font-family: var(--font-d); font-size: clamp(20px, 2.4vw, 30px); line-height: 1.45; margin: 0; color: rgba(233,238,244,.92); font-weight: 500; }
.motto { margin-top: 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.motto span { padding: 26px; border-radius: var(--radius); border: 1px dashed rgba(255,122,26,.4); font-family: var(--font-d); font-size: 20px; font-weight: 600; }
.motto em { font-style: normal; color: var(--accent); display: block; }

/* ---------- CTA ---------- */
.cta { padding: 40px 0; }
.cta__inner {
  position: relative; overflow: hidden; padding: clamp(50px, 7vw, 90px) clamp(28px, 6vw, 80px); border-radius: 30px;
  background: linear-gradient(120deg, #1c2532, #11161e); border: 1px solid var(--line); text-align: center;
  display: grid; justify-items: center;
}
.cta__inner::before {
  content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: -60%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,26,.35), transparent 65%); animation: breathe 6s ease-in-out infinite; z-index: 0;
}
@keyframes breathe { 50% { transform: scale(1.2); opacity: .7; } }
.cta__inner > * { position: relative; }
.cta h2 { font-family: var(--font-d); font-size: clamp(30px, 4.4vw, 56px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -.02em; }
.cta p { color: var(--muted); margin: 0 0 32px; }
.cta .hero__actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 10px 0 30px; display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.contact__list a:hover { color: var(--accent); }
.ci { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: rgba(255,122,26,.12); color: var(--accent); }
.ci svg[viewBox] path[d^="M6.6"] { fill: currentColor; stroke: none; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

.form { padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: var(--surface); border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 20px); }
.form h3 { font-family: var(--font-d); font-size: 26px; margin: 0 0 6px; }
.form__hint { color: var(--muted); margin: 0 0 26px; font-size: 14px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 22px 16px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--text); font: inherit; outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; appearance: none;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9aab' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { background: var(--surface); }
.field label { position: absolute; left: 17px; top: 16px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,122,26,.12); }
.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: 11.5px; color: var(--accent); letter-spacing: .04em; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #ff5a5a; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.form__status { margin: 14px 0 0; min-height: 1.5em; font-size: 14px; color: var(--accent-2); }

/* ---------- Footer ---------- */
.footer { background: #07090c; border-top: 1px solid var(--line); padding: 80px 0 0; position: relative; z-index: 1; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h4 { font-family: var(--font-d); font-size: 16px; margin: 6px 0 18px; }
.footer__grid > div > a:not(.brand) { display: block; color: var(--muted); padding: 4px 0; transition: color .3s, transform .3s var(--ease); }
.footer__grid > div > a:not(.brand):hover { color: var(--accent); transform: translateX(4px); }
.footer__grid p { color: var(--muted); margin: 0 0 10px; }
.footer__about { margin-top: 18px !important; max-width: 280px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--surface); border: 1px solid var(--line); transition: all .3s var(--ease); }
.socials a:hover { background: var(--accent); color: #140a02; transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0; margin-top: 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Floating ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; font-size: 30px;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease);
}
.fab-wa svg { stroke: none; }
.fab-wa:hover { transform: scale(1.1) rotate(-8deg); }
.to-top {
  position: fixed; right: 30px; bottom: 92px; z-index: 900; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: #140a02; }

/* ---------- Modal ---------- */
.modal, .lightbox { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.modal.is-open, .lightbox.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,7,10,.75); backdrop-filter: blur(8px); }
.modal__box {
  position: relative; width: min(860px, 100%); max-height: 90vh; overflow: auto; border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line);
  transform: translateY(40px) scale(.96); transition: transform .5s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal__img { aspect-ratio: 21/9; background: var(--img) center/cover, var(--surface-2); }
.modal__body { padding: clamp(24px, 4vw, 44px); }
.modal__body h3 { font-family: var(--font-d); font-size: clamp(26px, 3vw, 36px); margin: 0 0 16px; line-height: 1.15; }
.modal__body p { color: rgba(233,238,244,.8); }
.modal__body .btn { margin-top: 14px; }
.modal__close, .lb__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.5); backdrop-filter: blur(6px); font-size: 26px; line-height: 1; transition: background .3s, transform .4s var(--ease); }
.modal__close:hover, .lb__close:hover { background: var(--accent); color: #140a02; transform: rotate(90deg); }

.lightbox { background: rgba(5,7,10,.94); }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 80vh; border-radius: 12px; transform: scale(.94); transition: transform .5s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox figcaption { color: var(--muted); }
.lb__nav { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 32px; line-height: 1; transition: background .3s; z-index: 2; }
.lb__nav:hover { background: var(--accent); color: #140a02; }
.lb__prev { left: 20px; } .lb__next { right: 20px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .prod__grid { grid-template-columns: repeat(3, 1fr); }
  .svc, .svc:nth-child(1), .svc:nth-child(2) { grid-column: span 6; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1001; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(10,13,18,.97); backdrop-filter: blur(20px);
    clip-path: circle(0 at calc(100% - 42px) 34px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .nav.is-open { clip-path: circle(150% at calc(100% - 42px) 34px); visibility: visible; }
  .nav__link { font-family: var(--font-d); font-size: 30px; font-weight: 600; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s; }
  .nav.is-open .nav__link { opacity: 1; transform: none; }
  .nav.is-open .nav__link:nth-child(2) { transition-delay: .05s; } .nav.is-open .nav__link:nth-child(3) { transition-delay: .1s; }
  .nav.is-open .nav__link:nth-child(4) { transition-delay: .15s; } .nav.is-open .nav__link:nth-child(5) { transition-delay: .2s; }
  .nav.is-open .nav__link:nth-child(6) { transition-delay: .25s; }
  .nav__cta { margin: 20px 0 0; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about__grid, .video__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__img { aspect-ratio: 4/3; }
  .about__badge { right: 16px; bottom: -24px; }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .motto { grid-template-columns: 1fr; }
  .form { position: static; }
  .video__grid { gap: 30px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .adv__grid, .prod__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .adv { padding: 24px 20px; }
  .adv__grid { grid-template-columns: 1fr; }
  .svc, .svc:nth-child(1), .svc:nth-child(2) { grid-column: span 12; min-height: 340px; }
  .prod__body { padding: 14px; }
  .prod__body h3 { font-size: 14px; }
  .prod__body a { display: none; }
  .hero__dots { display: none; }
  .stat { padding: 22px 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .lb__nav { width: 44px; height: 44px; }
  .lb__prev { left: 8px; } .lb__next { right: 8px; }
  .to-top { right: 29px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
