/* =========================================================
   FLUXO — styles
   ========================================================= */
:root {
  --bg: #07070d;
  --bg-2: #0e0e18;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.09);
  --border-strong: rgba(255,255,255,.18);
  --text: #f2f2f7;
  --muted: #9b9bb0;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --grad: linear-gradient(110deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px -30px rgba(0,0,0,.6);
  --ease: cubic-bezier(.2,.8,.2,1);
  --container: 1200px;
}
:root[data-theme="light"] {
  --bg: #f7f7fb;
  --bg-2: #ffffff;
  --surface: rgba(10,10,30,.03);
  --surface-2: rgba(10,10,30,.055);
  --border: rgba(10,10,30,.09);
  --border-strong: rgba(10,10,30,.2);
  --text: #0c0c18;
  --muted: #5d5d73;
  --accent: #6440ff;
  --accent-2: #0891b2;
  --accent-3: #db2777;
  --shadow: 0 30px 80px -40px rgba(30,20,80,.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.tiny { font-size: .8rem; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* grain + glow */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.cursor-glow {
  position: fixed; width: 500px; height: 500px; left: 0; top: 0; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 18%, transparent), transparent 65%);
  pointer-events: none; z-index: 0; transform: translate(-50%,-50%); transition: opacity .3s;
  opacity: 0;
}
@media (hover: hover) { body:hover .cursor-glow { opacity: 1; } }

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  position: relative; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 38px; padding: 0 16px; font-size: .88rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad); background-size: 200% 100%; color: #fff; box-shadow: 0 10px 30px -10px var(--accent); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 16px 40px -10px var(--accent); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border-strong); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }

.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  transition: border-color .2s, transform .2s;
}
.icon-btn:hover { border-color: var(--border-strong); transform: rotate(-8deg); }
.icon-btn svg { width: 18px; height: 18px; }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: padding .3s, background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { padding: 8px 0; background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo__mark { width: 28px; height: 28px; border-radius: 9px; background: var(--grad); position: relative; box-shadow: 0 6px 20px -6px var(--accent); }
.logo__mark::after { content: ""; position: absolute; inset: 7px 7px 7px 9px; border-left: 3px solid #fff; border-top: 3px solid #fff; border-radius: 2px; }
.nav__links { display: flex; gap: 4px; padding: 5px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); }
.nav__links a { padding: 7px 15px; border-radius: 999px; font-size: .9rem; color: var(--muted); font-weight: 500; transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--surface-2); }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.burger span:first-child { top: 14px; } .burger span:last-child { bottom: 14px; }
.nav.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; animation: float 18s ease-in-out infinite; }
.blob--1 { width: 520px; height: 520px; background: var(--accent); top: -120px; left: -80px; }
.blob--2 { width: 440px; height: 440px; background: var(--accent-2); top: 10%; right: -120px; animation-delay: -6s; opacity: .35; }
.blob--3 { width: 380px; height: 380px; background: var(--accent-3); bottom: -80px; left: 35%; animation-delay: -12s; opacity: .3; }
:root[data-theme="light"] .blob { opacity: .25; }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(60px,40px) scale(1.1); } 66% { transform: translate(-40px,60px) scale(.95); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(10px); font-size: .88rem; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero__title { font-size: clamp(2.6rem, 7.4vw, 6.2rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 26px 0 22px; }
.rotator { display: inline-block; min-height: 1.05em; transition: opacity .35s var(--ease), transform .35s var(--ease), filter .35s; padding-bottom: .06em; }
.rotator.is-out { opacity: 0; transform: translateY(18px); filter: blur(8px); }
.hero__sub { max-width: 640px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--muted); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.hero__stats { list-style: none; display: flex; gap: clamp(24px, 6vw, 72px); margin: 60px 0 70px; flex-wrap: wrap; justify-content: center; }
.hero__stats li { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 2px; max-width: 170px; }
.hero__stats strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; }
.hero__stats span { margin-left: 3px; font-weight: 700; color: var(--muted); }
.hero__stats small { flex-basis: 100%; color: var(--muted); font-size: .82rem; }

.marquee { border-block: 1px solid var(--border); padding: 18px 0; overflow: hidden; background: color-mix(in srgb, var(--bg) 60%, transparent); backdrop-filter: blur(6px); }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 32s linear infinite; font-weight: 600; font-size: 1.05rem; color: var(--muted); }
.marquee__track i { font-style: normal; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: 40px 0; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section__head p { margin-top: 14px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--grad); border-radius: 2px; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; }
h3 { font-size: 1.2rem; letter-spacing: -.02em; font-weight: 700; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  backdrop-filter: blur(10px); position: relative; transition: border-color .3s, transform .4s var(--ease), background .3s;
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { padding: 30px; overflow: hidden; transform-style: preserve-3d; }
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%);
}
.service:hover { border-color: var(--border-strong); }
.service:hover::before { opacity: 1; }
.service__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.service__icon svg { width: 24px; height: 24px; }
.service:nth-child(3n+2) .service__icon { color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 14%, transparent); border-color: color-mix(in srgb, var(--accent-2) 30%, transparent); }
.service:nth-child(3n+3) .service__icon { color: var(--accent-3); background: color-mix(in srgb, var(--accent-3) 14%, transparent); border-color: color-mix(in srgb, var(--accent-3) 30%, transparent); }
.service p { color: var(--muted); margin: 10px 0 20px; font-size: .97rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .75rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); }

/* ---------- Work ---------- */
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: .88rem; font-weight: 500; color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); border-color: var(--border-strong); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project { display: block; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.project.is-hidden { display: none; }
.project__frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/11; position: relative;
  background: var(--p-bg, #111); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.project:hover .project__frame { transform: translateY(-6px); box-shadow: var(--shadow); }
.project__bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgba(0,0,0,.25); }
.project__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.project__bar b { margin-left: 10px; font-size: .7rem; font-weight: 500; opacity: .7; color: #fff; background: rgba(255,255,255,.12); padding: 2px 10px; border-radius: 6px; }
.mock { position: absolute; inset: 30px 0 0; padding: 7% 8%; color: var(--p-fg, #fff); display: flex; flex-direction: column; gap: 4%; transition: transform .8s var(--ease); }
.project:hover .mock { transform: scale(1.03); }
.mock__nav { display: flex; justify-content: space-between; align-items: center; font-size: clamp(.6rem, 1vw, .8rem); font-weight: 700; }
.mock__nav span { display: flex; gap: 10px; opacity: .7; font-weight: 500; }
.mock__title { font-size: clamp(1.1rem, 2.6vw, 2rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; max-width: 68%; font-family: var(--p-font, inherit); }
.mock__btn { align-self: flex-start; padding: .5em 1.1em; border-radius: 99px; background: var(--p-acc, #fff); color: var(--p-bg, #000); font-size: clamp(.55rem, .9vw, .75rem); font-weight: 700; }
.mock__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; margin-top: auto; }
.mock__row div { aspect-ratio: 4/3; border-radius: 10px; background: var(--p-card, rgba(255,255,255,.12)); }
.mock__shape { position: absolute; right: -10%; top: 14%; width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--p-acc); opacity: .9; filter: blur(0); }
.project__meta { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 18px 4px 0; }
.project__meta h3 { font-size: 1.15rem; }
.project__meta p { color: var(--muted); font-size: .9rem; }
.project__tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); white-space: nowrap; }

/* ---------- Process ---------- */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 4%; right: 4%; height: 1px; background: linear-gradient(90deg, transparent, var(--border-strong), transparent); }
.process__step { position: relative; padding-top: 0; }
.process__num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg); border: 1px solid var(--border-strong); font-weight: 800; margin-bottom: 22px; position: relative; }
.process__num::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; background: var(--grad) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); -webkit-mask-composite: xor; opacity: 0; transition: opacity .4s; }
.process__step:hover .process__num::after { opacity: 1; }
.process__step p { color: var(--muted); margin-top: 8px; font-size: .97rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 34px 30px; display: flex; flex-direction: column; }
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan--featured { background: linear-gradient(var(--bg-2), var(--bg-2)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--accent) 60%, transparent); }
.plan__badge { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.4rem; }
.plan > .muted { font-size: .93rem; margin-top: 4px; }
.plan__price { margin: 26px 0; display: flex; align-items: baseline; gap: 8px; }
.plan__price strong { font-size: 3rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan__price small { color: var(--muted); }
.checks { list-style: none; display: grid; gap: 11px; margin-bottom: 30px; flex: 1; }
.checks li { display: flex; gap: 10px; font-size: .95rem; }
.checks li::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: color-mix(in srgb, var(--accent-2) 18%, transparent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 12 4 4 8-8'/></svg>") center/12px no-repeat; }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.4fr 1fr; overflow: hidden; }
.estimator__form { padding: clamp(28px, 4vw, 52px); display: grid; gap: 26px; }
.estimator__form h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.estimator__form > .muted { margin-top: -14px; }
fieldset { border: 0; display: grid; gap: 12px; }
legend { font-weight: 600; margin-bottom: 12px; }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.seg label { position: relative; }
.seg input, .toggles input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .2s; }
.seg input:checked + span { background: var(--text); color: var(--bg); }
.seg input:focus-visible + span, .toggles input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--accent) var(--fill, 25%), var(--surface-2) var(--fill, 25%)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: grab; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); cursor: grab; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggles label { position: relative; }
.toggles span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--border); font-size: .9rem; cursor: pointer; transition: all .2s; color: var(--muted); }
.toggles span::before { content: "+"; font-weight: 700; }
.toggles input:checked + span { border-color: var(--accent); color: var(--text); background: color-mix(in srgb, var(--accent) 16%, transparent); }
.toggles input:checked + span::before { content: "✓"; color: var(--accent-2); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { width: 46px; height: 26px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border-strong); position: relative; transition: background .25s; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.switch input:checked + .switch__ui { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 2px; }
.estimator__result {
  padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 16px;
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%), radial-gradient(100% 80% at 0% 100%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 60%), var(--bg-2);
  border-left: 1px solid var(--border);
}
.estimator__result small { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--muted); font-size: .76rem; }
.estimator__price { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.estimator__time { color: var(--muted); }
.estimator__time b { color: var(--text); }
.bar { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-bottom: 10px; }
.bar span { display: block; height: 100%; width: 20%; background: var(--grad); border-radius: inherit; transition: width .5s var(--ease); }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.why__item { padding: 28px; display: grid; gap: 6px; border-right: 1px solid var(--border); }
.why__item:last-child { border-right: 0; }
.why__item span { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--border-strong); background: var(--surface-2); }
.faq summary { list-style: none; padding: 20px 56px 20px 22px; font-weight: 600; cursor: pointer; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 5vw, 70px); padding: clamp(28px, 5vw, 64px); overflow: hidden; }
.contact::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: var(--accent); filter: blur(120px); opacity: .18; top: -200px; left: -150px; pointer-events: none; }
.contact__info p { margin-top: 16px; }
.contact__list { list-style: none; margin-top: 34px; display: grid; gap: 10px; }
.contact__list a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, transform .2s; }
.contact__list a:hover { border-color: var(--border-strong); transform: translateX(4px); }
.contact__list svg { width: 20px; height: 20px; color: var(--accent-2); flex: none; }
.contact__list small { display: block; color: var(--muted); font-size: .78rem; }
.form { display: grid; gap: 16px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field select option { background: var(--bg-2); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ef4444; }
.hp { position: absolute; left: -9999px; }
.form__status { min-height: 1.4em; font-size: .92rem; text-align: center; }
.form__status.ok { color: #22c55e; } .form__status.err { color: #ef4444; }

/* ---------- Footer & FAB ---------- */
.footer { border-top: 1px solid var(--border); padding: 34px 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 14px 34px -10px var(--accent); transform: scale(0); transition: transform .4s var(--ease); }
.fab.is-visible { transform: scale(1); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 24px; height: 24px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why__item:nth-child(2) { border-right: 0; }
  .why__item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .estimator, .contact { grid-template-columns: 1fr; }
  .estimator__result { border-left: 0; border-top: 1px solid var(--border); }
  .faq-wrap { grid-template-columns: 1fr; gap: 10px; }
  .faq-wrap .section__head { position: static; margin-bottom: 30px; }
  .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; top: 64px; left: 16px; right: 16px; flex-direction: column; padding: 10px; border-radius: 18px;
    background: color-mix(in srgb, var(--bg-2) 95%, transparent); backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav__links a { padding: 13px 16px; font-size: 1rem; }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .burger { display: block; }
  .hide-sm { display: none; }
  .work { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .why__item { border-right: 0 !important; border-bottom: 1px solid var(--border); }
  .why__item:last-child { border-bottom: 0; }
  .seg { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .hero__stats strong { font-size: 2rem; }
  .blob { filter: blur(60px); }
  .blob--1 { width: 320px; height: 320px; } .blob--2 { width: 280px; height: 280px; } .blob--3 { width: 260px; height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Featured (real) project ---------- */
.project--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding: clamp(18px, 2.4vw, 28px); border-radius: calc(var(--radius) + 8px); border: 1px solid var(--border); background: var(--surface); }
.project__visual { position: relative; display: block; padding: 0 0 6% 0; }
.project__frame--shot { aspect-ratio: auto; background: #111; }
.project__frame--shot img { width: 100%; height: auto; transition: transform .8s var(--ease); }
.project--featured:hover .project__frame--shot { transform: translateY(-6px); box-shadow: var(--shadow); }
.project--featured:hover .project__frame--shot img { transform: scale(1.02); }
.project__phone { position: absolute; right: -3%; bottom: 0; width: 22%; aspect-ratio: 390 / 780; border-radius: 22px; padding: 6px; background: #0a0a0a; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transition: transform .6s var(--ease); }
.project__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 16px; }
.project--featured:hover .project__phone { transform: translateY(-14px) rotate(-2deg); }
.project__info { display: grid; gap: 14px; justify-items: start; }
.project__info h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.03em; }
.project__info p { color: var(--muted); }
.project__info .tags { margin-bottom: 8px; }
.project__tag--live { display: inline-flex; align-items: center; gap: 8px; color: #22c55e; border-color: color-mix(in srgb, #22c55e 40%, transparent); }
.project__tag--live .dot { width: 7px; height: 7px; }
@media (max-width: 860px) {
  .project--featured { grid-template-columns: 1fr; }
  .project__phone { width: 26%; right: 2%; }
}
@media (min-width: 861px) {
  .project--flip { grid-template-columns: 1fr 1.6fr; }
  .project--flip .project__visual { order: 2; }
  .project--flip .project__phone { right: auto; left: -3%; }
  .project--flip:hover .project__phone { transform: translateY(-14px) rotate(2deg); }
}

/* ---------- Logo tagline ---------- */
.logo__tag { position: relative; margin-left: 4px; padding-left: 12px; font-size: .78rem; font-weight: 500; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.logo__tag::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 1.3em; transform: translateY(-50%); background: var(--border-strong); }
@media (max-width: 1100px) { .nav .logo__tag { display: none; } }
@media (max-width: 860px) { .nav .logo__tag { display: inline; } }
@media (max-width: 420px) { .nav .logo__tag { display: none; } }

/* ---------- Floating chat menu ---------- */
.fab-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-wrap .fab { position: static; }
.fab__close { display: none; }
.fab-wrap.is-open .fab__chat { display: none; }
.fab-wrap.is-open .fab__close { display: block; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; pointer-events: none; }
.fab-menu__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px 11px 14px; border-radius: 999px;
  font-weight: 600; font-size: .92rem; color: #fff; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(12px) scale(.95); transition: opacity .25s var(--ease), transform .3s var(--ease);
}
.fab-menu__item svg { width: 18px; height: 18px; }
.fab-menu__item--wa { background: #25d366; }
.fab-menu__item--vb { background: #7360f2; }
.fab-menu__item--call { background: var(--bg-2); color: var(--text); border: 1px solid var(--border-strong); }
.fab-wrap.is-open .fab-menu { pointer-events: auto; }
.fab-wrap.is-open .fab-menu__item { opacity: 1; transform: none; }
.fab-wrap.is-open .fab-menu__item:nth-last-child(2) { transition-delay: .04s; }
.fab-wrap.is-open .fab-menu__item:nth-last-child(3) { transition-delay: .08s; }
.fab-menu__item:hover { filter: brightness(1.08); transform: translateX(-3px); }
