:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #eef2f8;
  --ink: #111827;
  --muted: #596273;
  --line: #d9e0ec;
  --blue: #1246a8;
  --blue-dark: #081d48;
  --blue-soft: #dbe7ff;
  --orange: #f47a20;
  --dark: #07142f;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(26, 48, 87, .14);
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding: 110px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 999; transform: translateY(-180%); background: var(--dark); color: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header.is-scrolled { background: rgba(246,247,251,.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(17,24,39,.08); }
.nav-wrap { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; }
.brand-mark { font-weight: 900; font-style: italic; color: var(--blue); font-size: 22px; letter-spacing: -.12em; }
.brand-name { font-size: 15px; }
.brand-name span { color: var(--blue); }
.main-nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
.main-nav > a:not(.button) { position: relative; }
.main-nav > a:not(.button)::after { content:""; position:absolute; left:0; right:100%; bottom:-7px; height:1px; background:var(--blue); transition:right .25s ease; }
.main-nav > a:not(.button):hover::after, .main-nav > a:not(.button):focus-visible::after { right:0; }
.menu-button { display:none; width:42px; height:42px; border:0; background:transparent; padding:10px; }
.menu-button span:not(.sr-only) { display:block; height:2px; margin:5px 0; background:var(--ink); transition:.25s ease; }

.button { min-height: 48px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding: 0 20px; border-radius: 10px; border:1px solid transparent; font-weight:700; transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease; cursor:pointer; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .scene-controls button:focus-visible { outline: 3px solid rgba(18,70,168,.25); outline-offset: 3px; }
.button-primary { background: var(--orange); color:white; box-shadow: 0 12px 30px rgba(244,122,32,.24); }
.button-primary:hover { background:#dc6511; }
.button-secondary { border-color:#aab4c4; background:rgba(255,255,255,.62); }
.button-secondary:hover { border-color:var(--blue); color:var(--blue); }
.button-dark { background: var(--blue-dark); color:white; }
.button-light { background:white; color:var(--blue-dark); }
.button-small { min-height:42px; padding-inline:16px; font-size:13px; }
.button-full { width:100%; }

.eyebrow { margin:0 0 14px; color:var(--blue); font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
h1,h2,h3,p { margin-top:0; }
h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: .99; letter-spacing: -.055em; max-width: 760px; }
h2 { font-size: clamp(34px, 4.2vw, 58px); line-height:1.03; letter-spacing:-.045em; margin-bottom:24px; }
h3 { font-size: 24px; line-height:1.15; letter-spacing:-.025em; }
.hero { min-height: 820px; display:flex; align-items:center; padding-top:130px; background: radial-gradient(circle at 85% 18%, rgba(18,70,168,.08), transparent 28%), linear-gradient(180deg,#fafbfe 0%,#f5f7fb 100%); position:relative; }
.hero::after { content:""; position:absolute; inset:auto 0 0; height:120px; background:linear-gradient(180deg,transparent,rgba(255,255,255,.6)); pointer-events:none; }
.hero-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items:center; }
.hero-copy { position:relative; z-index:2; }
.hero-text { max-width:610px; color:var(--muted); font-size:18px; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; margin:32px 0 24px; }
.coverage { font-size:14px; color:var(--muted); display:flex; align-items:center; gap:8px; }

.hero-stage { position:relative; height:540px; perspective:1400px; }
.stage-lines { position:absolute; inset:0; background-image: linear-gradient(rgba(18,70,168,.08) 1px, transparent 1px), linear-gradient(90deg,rgba(18,70,168,.08) 1px, transparent 1px); background-size:56px 56px; mask-image: radial-gradient(circle at center,black 0,transparent 72%); }
.project-scene { position:absolute; inset:30px 0 56px 30px; opacity:0; transform:translateX(30px) scale(.985); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); pointer-events:none; }
.project-scene.is-active { opacity:1; transform:translateX(0) scale(1); pointer-events:auto; }
.screen { position:absolute; overflow:hidden; border:1px solid rgba(255,255,255,.14); box-shadow:var(--shadow); }
.screen-wide { inset:20px 30px 50px 0; border-radius:26px; background:#0b1325; transform:rotateY(-5deg) rotateX(2deg); transform-origin:center; }
.screen-top { height:64px; display:flex; align-items:center; justify-content:space-between; padding:0 24px; color:white; border-bottom:1px solid rgba(255,255,255,.1); }
.screen-top small { color:#9fb0ca; }
.screen-body { display:grid; grid-template-columns:150px 1fr; height:calc(100% - 64px); }
.screen-body aside { display:flex; flex-direction:column; gap:18px; padding:24px 18px; color:#8090aa; border-right:1px solid rgba(255,255,255,.08); font-size:12px; }
.screen-body aside b { color:white; }
.screen-content { padding:32px; color:white; }
.screen-content p { max-width:340px; font-size:20px; font-weight:700; }
.mini-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:38px; }
.mini-grid i { aspect-ratio:1; border-radius:14px; background:linear-gradient(145deg,#1f3a70,#11254b); animation:pulseCard 4s ease-in-out infinite; }
.mini-grid i:nth-child(2){animation-delay:.3s}.mini-grid i:nth-child(3){animation-delay:.6s}.mini-grid i:nth-child(4){animation-delay:.9s}
.phone { position:absolute; right:0; bottom:20px; width:178px; height:350px; border-radius:34px; padding:30px 16px 16px; background:#fff7f5; box-shadow:0 28px 70px rgba(15,32,64,.28); border:7px solid #0d1118; display:flex; flex-direction:column; align-items:center; text-align:center; }
.phone-notch { position:absolute; top:5px; left:50%; transform:translateX(-50%); width:78px; height:16px; background:#0d1118; border-radius:0 0 12px 12px; }
.phone small { font-family:Georgia,serif; font-size:20px; }
.phone strong { margin:14px 0; font-size:14px; }
.phone span { margin-top:auto; background:#e99682; color:white; border-radius:8px; padding:8px 12px; font-size:11px; }
.nail-photo { width:100%; height:142px; border-radius:12px; background:linear-gradient(135deg,#6d2f44,#e4a1a8 48%,#26121d); position:relative; overflow:hidden; }
.nail-photo::after { content:""; position:absolute; width:90px; height:160px; left:46px; top:-12px; background:linear-gradient(180deg,#f1c6b3,#c78c83); border-radius:45%; transform:rotate(18deg); }
.scene-label { position:absolute; left:6px; bottom:0; color:var(--muted); font-size:12px; letter-spacing:.08em; text-transform:uppercase; }
.floating-note { position:absolute; right:8px; bottom:70px; width:190px; padding:18px; color:white; background:#153568; border-radius:16px; box-shadow:var(--shadow); }
.floating-note span { display:block; color:#9fc0ff; font-size:11px; text-transform:uppercase; letter-spacing:.08em; }
.floating-note b { font-size:14px; line-height:1.3; display:block; margin-top:6px; }
.floating-note.light { color:var(--ink); background:white; }
.pizza-dashboard { padding:28px; display:grid; grid-template-columns:repeat(3,1fr); gap:14px; color:white; }
.pizza-dashboard > div { padding:20px; border-radius:16px; background:#111f3a; }
.pizza-dashboard b { display:block; color:#8fa2c1; font-size:12px; }
.pizza-dashboard strong { display:block; margin-top:8px; font-size:22px; }
.chart-bars { grid-column:1/-1; height:130px; display:flex; align-items:flex-end; gap:14px; }
.chart-bars i { flex:1; background:linear-gradient(#3f76d7,#1a3b73); border-radius:5px 5px 0 0; animation:barGrow 2.6s ease-in-out infinite alternate; }
.chart-bars i:nth-child(1){height:34%}.chart-bars i:nth-child(2){height:66%}.chart-bars i:nth-child(3){height:48%}.chart-bars i:nth-child(4){height:82%}.chart-bars i:nth-child(5){height:61%}.chart-bars i:nth-child(6){height:94%}
.psico-screen { display:grid; grid-template-columns:1fr 1fr; background:#f6f1e8; color:#26312b; }
.psico-copy { padding:46px; }
.psico-copy small { font-family:Georgia,serif; }
.psico-copy h3 { margin:40px 0 14px; font-size:35px; }
.psico-copy span { display:inline-block; background:#24342e; color:white; padding:9px 12px; border-radius:8px; font-size:12px; }
.psico-room { position:relative; background:linear-gradient(180deg,#e4ddd0,#c8bcab); }
.psico-room i:nth-child(1){position:absolute; left:12%; bottom:12%; width:70%; height:30%; background:#ddd2c3; border-radius:30px 30px 8px 8px;}
.psico-room i:nth-child(2){position:absolute; right:12%; bottom:34%; width:70px; height:180px; background:#53705f; border-radius:50% 10% 45% 20%; transform:rotate(-18deg)}
.psico-room i:nth-child(3){position:absolute; right:23%; bottom:12%; width:8px; height:120px; background:#8f7964}
.flow-screen { display:flex; align-items:center; justify-content:center; gap:18px; background:linear-gradient(145deg,#0c214d,#07142f); color:white; }
.flow-node { padding:24px 28px; border:1px solid rgba(255,255,255,.18); border-radius:16px; background:rgba(255,255,255,.06); animation:nodeGlow 3s ease-in-out infinite; }
.scene-controls { position:absolute; right:30px; bottom:10px; display:flex; gap:10px; }
.scene-controls button { width:26px; height:4px; padding:0; border:0; border-radius:999px; background:#c7d0df; cursor:pointer; transition:width .3s ease, background .3s ease; }
.scene-controls button.is-active { width:54px; background:var(--blue); }

.section-heading { max-width:820px; margin-bottom:58px; }
.split-heading { max-width:none; display:grid; grid-template-columns:1.15fr .85fr; gap:70px; align-items:end; }
.split-heading > p, .split-heading .price-intro { color:var(--muted); }
.solutions { background:var(--surface); }
.solutions-layout { display:grid; gap:22px; }
.solution-block { min-height:300px; position:relative; display:grid; grid-template-columns:100px minmax(260px,1fr) minmax(280px,.8fr); gap:36px; align-items:center; padding:42px; border-top:1px solid var(--line); }
.solution-block:last-child { border-bottom:1px solid var(--line); }
.solution-number { font-size:13px; color:var(--muted); }
.solution-block h3 { font-size:32px; }
.solution-block p:not(.eyebrow) { color:var(--muted); max-width:520px; }
.mini-site, .mini-admin { justify-self:end; width:min(100%,350px); height:200px; border:1px solid var(--line); border-radius:18px; background:#f3f6fb; box-shadow:0 18px 60px rgba(33,58,94,.12); overflow:hidden; }
.mini-site { padding:22px; position:relative; }
.mini-site span { display:block; width:44%; height:10px; background:#1f3f78; border-radius:8px; margin-bottom:28px; }
.mini-site b { display:block; width:70%; height:32px; background:#263b5b; border-radius:8px; }
.mini-site i { display:inline-block; width:42%; height:90px; margin:24px 12px 0 0; background:#dfe6f1; border-radius:12px; }
.automation-flow { justify-self:end; display:flex; align-items:center; gap:10px; flex-wrap:wrap; max-width:370px; }
.automation-flow span { padding:13px 16px; border:1px solid var(--line); background:white; border-radius:12px; box-shadow:0 10px 30px rgba(33,58,94,.08); }
.automation-flow i { width:24px; height:1px; background:var(--blue); position:relative; }
.automation-flow i::after { content:""; position:absolute; right:-1px; top:-3px; width:6px; height:6px; border-top:1px solid var(--blue); border-right:1px solid var(--blue); transform:rotate(45deg); }
.mini-admin { background:linear-gradient(145deg,#0a1732,#101f3d); padding:28px; color:white; }
.mini-admin b { font-size:28px; }
.mini-admin span { display:block; margin-top:16px; height:12px; border-radius:6px; background:#183764; }
.mini-admin span:nth-child(2){width:88%}.mini-admin span:nth-child(3){width:70%}.mini-admin span:nth-child(4){width:94%}

.projects { background:#f2f5fa; }
.project-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.project-card { background:white; border-radius:var(--radius); overflow:hidden; border:1px solid rgba(17,24,39,.08); transition:transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.project-card-wide { grid-column:span 2; display:grid; grid-template-columns:1.3fr .7fr; }
.project-preview { min-height:360px; padding:36px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.project-info { padding:32px; }
.project-info > span { color:var(--blue); font-size:11px; text-transform:uppercase; font-weight:800; letter-spacing:.08em; }
.project-info p { color:var(--muted); }
.project-info a { color:var(--blue); font-weight:800; }
.preview-mini { background:#0e1930; position:relative; justify-content:stretch; }
.preview-mini::before { content:""; position:absolute; inset:22px; border:1px solid rgba(255,255,255,.1); border-radius:16px; }
.preview-sidebar { width:26%; height:220px; background:#111f3a; border-radius:14px 0 0 14px; position:relative; z-index:1; }
.preview-area { flex:1; height:220px; background:#f5f7fb; border-radius:0 14px 14px 0; padding:26px; position:relative; z-index:1; }
.preview-area div { height:48px; background:white; border-radius:10px; margin-top:20px; box-shadow:0 6px 18px rgba(33,58,94,.08); }
.preview-isabelle { background:linear-gradient(135deg,#f0e4e0,#efd0ce); }
.project-phone { width:190px; height:320px; padding:34px 18px; background:#fff8f7; border:7px solid #111; border-radius:34px; box-shadow:0 28px 60px rgba(60,35,40,.24); text-align:center; display:flex; flex-direction:column; }
.project-phone small { font-family:Georgia,serif; font-size:24px; }
.project-phone b { margin:20px 0; }
.project-phone i { flex:1; border-radius:16px; background:linear-gradient(135deg,#7e344a,#e5adaf); }
.preview-psico { background:#e9e4d8; }
.preview-psico > div { width:90%; height:260px; background:#f8f5ee; border-radius:18px; padding:32px; position:relative; overflow:hidden; }
.preview-psico small { font-family:Georgia,serif; }
.preview-psico b { display:block; width:55%; font-size:25px; margin-top:40px; }
.preview-psico i { position:absolute; right:0; bottom:0; width:42%; height:82%; background:linear-gradient(145deg,#d9d0c1,#94aa95); border-radius:70% 0 0 0; }
.dark-card { background:#0a1732; color:white; }
.dark-card .project-info p { color:#b9c5d9; }
.preview-pizza { background:linear-gradient(145deg,#08142e,#101f3d); color:white; flex-direction:column; align-items:flex-start; }
.preview-pizza strong { font-size:38px; }
.preview-pizza span { color:#9fb0ca; }
.pizza-orders { display:flex; gap:10px; width:100%; margin-bottom:36px; }
.pizza-orders i { height:130px; flex:1; border-radius:14px; background:linear-gradient(180deg,#1b3768,#0f2447); }

.problem { background:white; }
.problem-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:80px; align-items:center; }
.problem-copy p:not(.eyebrow) { color:var(--muted); font-size:17px; }
.compare-wrap { display:grid; grid-template-columns:1fr 60px 1fr; align-items:center; }
.compare-card { padding:32px; border-radius:20px; border:1px solid var(--line); min-height:320px; }
.compare-card small { display:block; font-weight:800; text-transform:uppercase; letter-spacing:.08em; margin-bottom:28px; }
.compare-card ul { list-style:none; padding:0; margin:0; display:grid; gap:18px; }
.compare-card li { position:relative; padding-left:28px; }
.compare-card li::before { position:absolute; left:0; }
.compare-card.muted { background:#f2f3f5; color:#697180; }
.compare-card.muted li::before { content:"×"; }
.compare-card.active { background:linear-gradient(180deg,#1349ad,#0b347f); color:white; box-shadow:0 24px 70px rgba(18,70,168,.24); }
.compare-card.active li::before { content:"✓"; }
.compare-arrow { width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:white; border:1px solid var(--line); color:var(--blue); font-size:22px; z-index:2; justify-self:center; }

.process { background:var(--dark); color:white; position:relative; }
.section-heading.light .eyebrow { color:#78a4ff; }
.process-line { height:2px; background:rgba(255,255,255,.15); margin:10px 0 30px; }
.process-line span { display:block; width:0; height:100%; background:#6c9cff; transition:width .15s linear; }
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:28px; }
.process-step { position:relative; padding-top:30px; }
.process-step b { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:#184baf; margin-bottom:28px; box-shadow:0 0 0 6px rgba(58,110,214,.15); }
.process-step p { color:#afbdd2; }

.evolution { background:white; }
.evolution-track { display:flex; align-items:center; gap:12px; overflow-x:auto; padding-bottom:18px; scrollbar-width:thin; }
.evolution-item { flex:0 0 150px; min-height:170px; padding:26px 18px; border:1px solid var(--line); border-radius:18px; text-align:center; display:flex; flex-direction:column; justify-content:center; background:#fbfcfe; }
.evolution-item b { font-size:18px; }
.evolution-item span { margin-top:12px; color:var(--muted); font-size:13px; }
.evolution-track > i { font-style:normal; color:var(--blue); animation:arrowNudge 1.8s ease-in-out infinite; }

.behind { background:#0d1a34; color:white; }
.behind-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:70px; align-items:center; }
.behind-copy p:not(.eyebrow) { color:#b6c3d7; }
.behind-canvas { position:relative; height:520px; perspective:1000px; }
.behind-layer { position:absolute; inset:50px 60px; border-radius:22px; padding:28px; box-shadow:0 30px 80px rgba(0,0,0,.32); transition:transform .35s ease; }
.behind-layer span { text-transform:uppercase; letter-spacing:.08em; font-size:11px; font-weight:800; }
.layer-wire { background:#f7f8fb; color:#111827; transform:translate(-55px,-50px) rotate(-4deg); }
.layer-wire i { display:block; border:1px solid #b8c1cf; height:55px; margin-top:18px; border-radius:10px; }
.layer-design { background:#dce7fb; color:#102349; transform:translate(0,0) rotate(2deg); }
.layer-design b { display:inline-block; width:28%; height:180px; margin:40px 3% 0 0; border-radius:16px; background:#90aee0; }
.layer-live { background:linear-gradient(145deg,#103a8c,#07142f); color:white; transform:translate(60px,58px) rotate(-1deg); display:flex; flex-direction:column; justify-content:center; }
.layer-live strong { font-size:46px; }
.layer-live small { color:#aec2e2; }
.behind-canvas:hover .layer-wire { transform:translate(-70px,-64px) rotate(-5deg); }
.behind-canvas:hover .layer-live { transform:translate(74px,72px) rotate(-1deg); }

.investment { background:#f4f6fa; }
.price-intro small { display:block; }
.price-intro strong { display:block; color:var(--blue); font-size:46px; line-height:1.1; margin:8px 0 12px; }
.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.price-card { background:white; border:1px solid var(--line); border-radius:20px; padding:32px; display:flex; flex-direction:column; }
.price-card small { color:var(--blue); font-weight:800; text-transform:uppercase; letter-spacing:.07em; }
.price-card ul { padding:0; list-style:none; display:grid; gap:12px; color:var(--muted); }
.price-card li::before { content:"✓"; color:var(--blue); margin-right:10px; }
.price-card > strong { margin-top:auto; padding-top:28px; color:var(--blue); }

.contact { background:white; }
.contact-grid { display:grid; grid-template-columns:.75fr 1.25fr; gap:70px; align-items:start; }
.contact-copy { position:sticky; top:120px; }
.contact-copy > p:not(.eyebrow) { color:var(--muted); font-size:18px; }
.contact-note { margin-top:40px; padding:24px; border-left:3px solid var(--orange); background:#fff7f1; }
.contact-note b,.contact-note span { display:block; }
.contact-note span { color:var(--muted); }
.contact-form { padding:38px; border:1px solid var(--line); border-radius:24px; background:#f9fafc; box-shadow:0 24px 70px rgba(33,58,94,.10); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.contact-form label { display:grid; gap:8px; font-size:13px; font-weight:700; margin-bottom:20px; }
.contact-form input,.contact-form textarea,.contact-form select { width:100%; border:1px solid #cdd5e1; border-radius:10px; background:white; padding:13px 14px; color:var(--ink); }
.contact-form textarea { resize:vertical; }
.consent { grid-template-columns:auto 1fr !important; align-items:start; font-weight:500 !important; color:var(--muted); }
.consent input { width:18px; height:18px; margin-top:3px; }
.form-status { min-height:24px; font-size:13px; color:#b42318; }
.prototype-note { display:block; margin-top:12px; color:var(--muted); text-align:center; }

.final-cta { background:linear-gradient(110deg,#0d3a8b,#07142f); color:white; padding:54px 0; }
.final-cta-wrap { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.final-cta h2 { font-size:clamp(30px,4vw,52px); max-width:800px; margin-bottom:12px; }
.final-cta p:not(.eyebrow) { color:#bdcbe0; }
.site-footer { background:#051027; color:#c5d0e2; padding:70px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; }
.footer-grid > div { display:flex; flex-direction:column; gap:10px; }
.footer-grid b { color:white; margin-bottom:10px; }
.footer-brand { color:white; margin-bottom:10px; }
.footer-bottom { display:flex; justify-content:space-between; gap:20px; margin-top:50px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12); font-size:12px; }

.reveal { opacity:0; transform:translateY(30px); transition:opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity:1; transform:translateY(0); }

@keyframes pulseCard { 0%,100%{transform:translateY(0);opacity:.85}50%{transform:translateY(-8px);opacity:1} }
@keyframes barGrow { from{transform:scaleY(.72);transform-origin:bottom}to{transform:scaleY(1);transform-origin:bottom} }
@keyframes nodeGlow { 0%,100%{box-shadow:0 0 0 rgba(73,131,255,0)}50%{box-shadow:0 0 34px rgba(73,131,255,.25)} }
@keyframes arrowNudge { 0%,100%{transform:translateX(0)}50%{transform:translateX(5px)} }

@media (max-width: 980px) {
  .main-nav { position:fixed; top:78px; right:20px; left:20px; display:none; flex-direction:column; align-items:stretch; padding:24px; background:rgba(255,255,255,.98); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); }
  .main-nav.is-open { display:flex; }
  .menu-button { display:block; }
  .hero-grid,.problem-grid,.behind-grid,.contact-grid,.split-heading { grid-template-columns:1fr; }
  .hero { min-height:auto; }
  .hero-stage { height:510px; }
  .solution-block { grid-template-columns:60px 1fr; }
  .solution-block > :last-child { grid-column:2; justify-self:start; }
  .project-card-wide { grid-template-columns:1fr; }
  .process-grid,.price-grid { grid-template-columns:repeat(2,1fr); }
  .contact-copy { position:static; }
  .final-cta-wrap { align-items:flex-start; flex-direction:column; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 32px, 1180px); }
  .section-pad { padding:78px 0; }
  .nav-wrap { height:68px; }
  .main-nav { top:68px; }
  h1 { font-size:clamp(40px,13vw,60px); }
  h2 { font-size:clamp(32px,10vw,46px); }
  .hero { padding-top:110px; }
  .hero-grid { gap:28px; }
  .hero-text { font-size:16px; }
  .hero-actions { flex-direction:column; }
  .hero-actions .button { width:100%; }
  .hero-stage { height:410px; margin-top:10px; }
  .project-scene { inset:10px 0 48px 0; }
  .screen-wide { inset:10px 18px 70px 0; border-radius:18px; transform:none; }
  .screen-body { grid-template-columns:90px 1fr; }
  .screen-body aside { gap:10px; padding:16px 10px; font-size:9px; }
  .screen-content { padding:18px; }
  .screen-content p { font-size:14px; }
  .mini-grid { gap:6px; margin-top:20px; }
  .phone { width:118px; height:240px; right:0; bottom:28px; border-width:5px; padding:24px 10px 10px; }
  .phone small { font-size:14px; }
  .phone strong { font-size:10px; }
  .nail-photo { height:90px; }
  .phone span { font-size:8px; padding:6px; }
  .floating-note { width:150px; right:0; bottom:80px; padding:12px; }
  .scene-label { font-size:9px; }
  .scene-controls { right:10px; }
  .pizza-dashboard { padding:16px; gap:7px; }
  .pizza-dashboard > div { padding:12px; }
  .pizza-dashboard strong { font-size:14px; }
  .chart-bars { height:90px; }
  .psico-copy { padding:18px; }
  .psico-copy h3 { font-size:20px; margin:20px 0 10px; }
  .flow-screen { gap:7px; padding:10px; }
  .flow-node { padding:12px; font-size:10px; }
  .solution-block { grid-template-columns:1fr; padding:34px 0; gap:18px; }
  .solution-block > :last-child { grid-column:auto; width:100%; }
  .solution-number { order:-1; }
  .automation-flow { justify-self:start; }
  .project-grid,.process-grid,.price-grid,.form-grid { grid-template-columns:1fr; }
  .project-card-wide { grid-column:auto; }
  .project-preview { min-height:280px; padding:22px; }
  .compare-wrap { grid-template-columns:1fr; gap:16px; }
  .compare-arrow { transform:rotate(90deg); }
  .process-line { display:none; }
  .process-step { border-left:1px solid rgba(255,255,255,.18); padding:0 0 28px 30px; }
  .process-step b { margin-left:-54px; }
  .behind-canvas { height:420px; }
  .behind-layer { inset:70px 20px; }
  .layer-wire { transform:translate(-12px,-50px) rotate(-3deg); }
  .layer-live { transform:translate(12px,50px) rotate(-1deg); }
  .contact-form { padding:24px; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom { flex-direction:column; }
}

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