/* ==========================================================
   TMSZ — Legendary Tech Services
   ========================================================== */

:root {
  --bg: #05090f;
  --bg-2: #081019;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(34, 229, 212, 0.35);
  --text: #e8f1f5;
  --muted: #8ba0ad;
  --accent: #22e5d4;
  --accent-2: #7c5cff;
  --accent-3: #136071;
  --grad: linear-gradient(120deg, #22e5d4 0%, #3fa9ff 45%, #7c5cff 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-glow: 0 0 0 1px rgba(34, 229, 212, .25), 0 10px 40px -10px rgba(34, 229, 212, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Readex Pro", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-latin: "Space Grotesk", var(--font);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }

::selection { background: rgba(34, 229, 212, .3); color: #fff; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }

.ico {
  width: 1.2em; height: 1.2em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

.gradient-text {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine { to { background-position: 200% center; } }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-content: center; gap: 22px;
  background: var(--bg);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__img { width: 120px; height: 120px; margin-inline: auto; border-radius: 50%; padding: 3px; background: var(--grad); box-shadow: 0 0 50px -6px rgba(34, 229, 212, .7); animation: pulse 1.6s ease-in-out infinite; }
.loader__logo {
  font-family: var(--font-latin);
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 700; letter-spacing: .12em;
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 2s linear infinite, pulse 1.6s ease-in-out infinite;
}
.loader__bar { width: 220px; height: 3px; margin-inline: auto; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: load 1.1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(260%); } to { transform: translateX(-160%); } }
@keyframes pulse { 50% { filter: drop-shadow(0 0 22px rgba(34, 229, 212, .6)); } }

/* ---------- Background ---------- */
#bg-canvas { position: fixed; inset: 0; z-index: -3; width: 100%; height: 100%; }
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb { position: fixed; z-index: -2; border-radius: 50%; filter: blur(110px); pointer-events: none; opacity: .5; }
.bg-orb--1 { width: 520px; height: 520px; top: -160px; right: -120px; background: #0f7d85; animation: drift 18s ease-in-out infinite alternate; }
.bg-orb--2 { width: 460px; height: 460px; bottom: -180px; left: -140px; background: #4b2fb8; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-80px, 120px) scale(1.15); } }

.cursor-glow {
  position: fixed; z-index: -1; pointer-events: none;
  width: 500px; height: 500px; margin: -250px 0 0 -250px; left: 0; top: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 229, 212, .10), transparent 65%);
  transition: opacity .3s;
  opacity: 0;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 14px 26px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad);
  border-radius: 999px;
  font-weight: 600; font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, border-color .35s;
  white-space: nowrap;
}
.btn--sm { --pad: 9px 18px; font-size: 14px; }
.btn--lg { --pad: 17px 32px; font-size: 17px; }
.btn--glow {
  background: var(--grad); background-size: 180% auto;
  color: #031014;
  box-shadow: 0 8px 30px -8px rgba(34, 229, 212, .6);
}
.btn--glow:hover { background-position: right center; box-shadow: 0 14px 44px -8px rgba(124, 92, 255, .65); transform: translateY(-2px); }
.btn--ghost { background: var(--surface); border-color: var(--border); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-2px); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(-4px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  padding: 10px 0;
  background: rgba(5, 9, 15, .7);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--border);
}
.header__inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 42px; height: 42px; border-radius: 50%; padding: 2px; background: var(--grad); box-shadow: 0 0 18px -4px rgba(34, 229, 212, .6); flex-shrink: 0; }
.brand__mark img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.brand__text { font-family: var(--font-latin); font-weight: 700; font-size: 22px; letter-spacing: .08em; }

.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color .3s, background .3s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .35s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(34, 229, 212, .08);
  border: 1px solid rgba(34, 229, 212, .25);
  color: var(--accent); font-size: 14px; font-weight: 500;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(34, 229, 212, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 229, 212, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 229, 212, 0); } }

.hero__title { margin-top: 22px; font-size: clamp(38px, 6vw, 72px); font-weight: 700; letter-spacing: -.01em; }
.hero__title .typer { display: block; min-height: 1.3em; }
.typer::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-inline-start: 6px; vertical-align: -.08em; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero__lead { margin-top: 22px; max-width: 580px; color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; padding: 0; margin: 36px 0 0; color: var(--muted); font-size: 14px; }
.hero__trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero__trust .ico { color: var(--accent); }

/* Orbit visual */
.hero__visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.orbit { position: absolute; inset: 0; display: grid; place-items: center; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(34, 229, 212, .18); animation: spin linear infinite; }
.orbit__ring--1 { inset: 30%; animation-duration: 14s; }
.orbit__ring--2 { inset: 16%; animation-duration: 22s; animation-direction: reverse; border-style: dashed; border-color: rgba(124, 92, 255, .25); }
.orbit__ring--3 { inset: 2%; animation-duration: 34s; }
.orbit__node { position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px 4px rgba(34, 229, 212, .7); }
.orbit__ring--2 .orbit__node { background: var(--accent-2); box-shadow: 0 0 18px 4px rgba(124, 92, 255, .7); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__core {
  width: 34%; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 229, 212, .18), rgba(124, 92, 255, .06) 60%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}
.orbit__core { width: 42%; padding: 5px; background: var(--grad); box-shadow: 0 0 60px -6px rgba(34, 229, 212, .55), 0 0 120px -20px rgba(124, 92, 255, .6); }
.orbit__core img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid var(--bg); }
@keyframes float { 50% { transform: translateY(-14px); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(10, 18, 28, .72);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
  font-size: 14px; line-height: 1.4;
  animation: float 7s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card__ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(34, 229, 212, .1); color: var(--accent); }
.float-card--a { top: 8%; right: -4%; }
.float-card--b { bottom: 14%; right: 2%; animation-delay: -2.5s; }
.float-card--b .float-card__ico { background: rgba(124, 92, 255, .14); color: #a996ff; }
.float-card--c { top: 44%; left: -6%; animation-delay: -4.5s; }
.float-card--c .float-card__ico { background: rgba(63, 169, 255, .14); color: #6cc0ff; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--border); background: rgba(255, 255, 255, .015); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; color: rgba(232, 241, 245, .55); }
.marquee__track span:nth-child(even) { color: var(--accent); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(19, 96, 113, .07) 30%, rgba(19, 96, 113, .07) 70%, transparent); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(44px, 6vw, 70px); }
.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 14px; font-weight: 600; letter-spacing: .04em;
  color: var(--accent);
}
.eyebrow::before, .eyebrow::after { content: "—"; opacity: .5; margin: 0 8px; }
.section__title { font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  position: relative; overflow: hidden;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 229, 212, .6), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 229, 212, .09), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.card:hover { box-shadow: 0 30px 60px -30px rgba(34, 229, 212, .35); }
.card:hover::before, .card:hover .card__glow { opacity: 1; }

.card__ico {
  position: relative;
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 16px; margin-bottom: 22px;
  color: var(--accent); font-size: 24px;
  background: linear-gradient(135deg, rgba(34, 229, 212, .14), rgba(124, 92, 255, .12));
  border: 1px solid rgba(34, 229, 212, .2);
  transform: translateZ(30px);
}
.card h3 { font-size: 20px; margin-bottom: 10px; transform: translateZ(20px); }
.card p { color: var(--muted); font-size: 15px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 18px 0 0; }
.card__tags li { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); color: #b6c7d1; border: 1px solid var(--border); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.why__text .section__title { text-align: start; }
.why__text .btn { margin-top: 30px; }
.why__text .eyebrow::before { display: none; }
.why__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.feature {
  position: relative; padding: 28px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .4s;
}
.feature:nth-child(even) { transform: translateY(30px); }
.feature:hover { border-color: var(--border-strong); }
.feature__num {
  display: block; margin-bottom: 14px;
  font-family: var(--font-latin); font-size: 40px; font-weight: 700; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .9;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; list-style: none; padding: 0; margin: 0; }
.process::before {
  content: ""; position: absolute; top: 34px; right: 12%; left: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 229, 212, .5), rgba(124, 92, 255, .5), transparent);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__dot {
  position: relative; z-index: 1;
  width: 70px; height: 70px; margin: 0 auto 22px; display: grid; place-items: center;
  border-radius: 50%; font-size: 26px; color: var(--accent);
  background: var(--bg-2);
  border: 1px solid rgba(34, 229, 212, .35);
  box-shadow: 0 0 0 8px var(--bg), 0 0 30px rgba(34, 229, 212, .25);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.step:hover .step__dot { transform: scale(1.08) rotate(-6deg); box-shadow: 0 0 0 8px var(--bg), 0 0 50px rgba(34, 229, 212, .5); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 14px; }
.faq__item {
  border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color .3s, background .3s;
}
.faq__item[open] { border-color: var(--border-strong); background: rgba(34, 229, 212, .04); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface-2);
  color: var(--accent); font-size: 20px; font-weight: 400;
  transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(50px, 7vw, 90px) clamp(20px, 5vw, 70px);
  border-radius: 32px;
  background:
    radial-gradient(600px circle at 50% -10%, rgba(34, 229, 212, .18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
}
.cta__beam {
  position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: conic-gradient(from var(--angle, 0deg), transparent 0 75%, var(--accent) 85%, var(--accent-2) 92%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: beam 6s linear infinite;
}
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes beam { to { --angle: 360deg; } }
.cta__title { font-size: clamp(32px, 5vw, 58px); font-weight: 700; }
.cta__lead { margin: 16px auto 0; max-width: 560px; color: var(--muted); font-size: 18px; }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 46px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 28px 18px; border-radius: var(--radius);
  background: rgba(5, 9, 15, .55); border: 1px solid var(--border);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.contact-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-glow); }
.contact-card__ico { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 6px; }
.contact-card__ico svg { width: 28px; height: 28px; }
.contact-card__ico--wa { background: rgba(37, 211, 102, .12); color: #25d366; }
.contact-card__ico--tg { background: rgba(42, 171, 238, .12); color: #2aabee; }
.contact-card__ico--x { background: rgba(255, 255, 255, .08); color: #fff; }
.contact-card__ico--mail { background: rgba(124, 92, 255, .14); color: #a996ff; }
.contact-card__label { color: var(--muted); font-size: 14px; }
.contact-card__value { font-family: var(--font-latin); font-weight: 700; font-size: 18px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 34px 0; background: rgba(0, 0, 0, .25); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer__copy { color: var(--muted); font-size: 14px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); transition: color .3s, border-color .3s, transform .3s var(--ease); }
.footer__social a:hover { color: var(--accent); border-color: var(--border-strong); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; display: grid; place-items: center;
  border-radius: 50%; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .35s var(--ease);
}
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.2s ease-out infinite; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.feature.reveal.is-visible:nth-child(even) { transform: translateY(30px); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .float-card--a { right: 0; }
  .float-card--c { left: 0; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { display: flex; flex-direction: column; align-items: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 400px; margin-top: 10px; }
  .why { grid-template-columns: 1fr; gap: 40px; }
  .why__text { text-align: center; }
  .why__text .section__title { text-align: center; }
  .why__text .eyebrow::before { display: inline; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }

  .burger { display: flex; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 70px 16px auto; flex-direction: column; gap: 4px;
    padding: 14px; border-radius: 20px;
    background: rgba(8, 14, 22, .96); border: 1px solid var(--border);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 16px; font-size: 16px; }
  .header__inner { justify-content: space-between; }
}

@media (max-width: 600px) {
  .services, .why__grid, .contact-grid { grid-template-columns: 1fr; }
  .feature:nth-child(even), .feature.reveal.is-visible:nth-child(even) { transform: none; }
  .process { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .float-card { padding: 9px 12px; font-size: 12px; }
  .float-card small { display: none; }
  .float-card__ico { width: 30px; height: 30px; }
  .scroll-hint { display: none; }
  .fab { width: 52px; height: 52px; left: 16px; bottom: 16px; }
}

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