/* =========================================================
   Brand tokens: PLACEHOLDER palette, swap for your brand colours
   ========================================================= */
:root {
  --navy-900: #06122e;
  --navy-800: #0b1d47;
  --navy-700: #1a2a57;
  --primary: #0051cc;      /* brand blue (from logo) */
  --primary-600: #0043a8;
  --primary-bright: #008cfe; /* logo mid blue */
  --accent: #03c8f0;       /* brand cyan (from logo) */
  --accent-2: #f59e0b;     /* construction amber */
  --text: #1e293b;
  --muted: #5b6b82;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(15, 30, 70, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 30, 70, .35);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 1rem; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--navy-900); letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.ic { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: inherit; font-weight: 650; padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; line-height: 1.2; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-bright)); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 81, 204, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(0, 81, 204, .7); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: rgba(0, 81, 204, .07); transform: translateY(-2px); }
.btn-sm { padding: .55em 1.1em; font-size: .92rem; }
.btn-lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background .25s, box-shadow .25s; }
.site-header.scrolled, .site-header.open { background: rgba(6, 18, 46, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); box-shadow: 0 6px 20px -10px rgba(0,0,0,.5); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; text-decoration: none !important; }
.brand-logo { height: 40px; width: auto; }
.brand-icon { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; gap: 5px; width: 125px; }
.brand-word { height: 24px; width: 125px; }
.brand-tag { display: block; font-size: 8.5px; font-weight: 600; line-height: 1; color: #e2e8f0; text-align: justify; text-align-last: justify; white-space: nowrap; overflow: hidden; }
.site-footer .brand-logo { height: auto; width: 220px; }
.site-nav ul { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.85); font-weight: 550; font-size: .97rem; }
.site-nav a:not(.btn):hover { color: #fff; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: #cbd5e1; padding: calc(var(--header-h) + 72px) 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(800px 400px at 85% 10%, rgba(0,81,204,.45), transparent 60%),
  radial-gradient(600px 400px at 10% 90%, rgba(3,200,240,.2), transparent 60%),
  linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.grad { background: linear-gradient(90deg, var(--primary-bright), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--primary); margin-bottom: .9em; }
.hero .eyebrow, .section-dark .eyebrow { color: var(--accent); }
.lead { font-size: 1.15rem; max-width: 560px; color: #cbd5e1; }
.lead-sm { font-size: 1.05rem; color: #cbd5e1; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stats strong { display: block; color: #fff; font-size: 1.8rem; font-weight: 800; line-height: 1.1; }
.stats span { font-size: .88rem; color: #94a3b8; }

.hero-visual { position: relative; }
.mock { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #eef2f7; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; } .mock-bar i:nth-child(3) { background: #34d399; }
.mock-bar span { margin-left: 10px; font-size: .75rem; color: #64748b; background: #fff; padding: 2px 10px; border-radius: 6px; }
.mock-body { display: grid; grid-template-columns: 56px 1fr; min-height: 300px; }
.mock-side { background: var(--navy-800); padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; }
.mock-side b { height: 10px; border-radius: 5px; background: rgba(255,255,255,.2); }
.mock-side b:first-child { background: var(--accent); }
.mock-main { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock-cards small { display: block; font-size: .68rem; color: var(--muted); }
.mock-cards strong { font-size: 1.15rem; color: var(--navy-900); }
.mock-chart { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 150px; padding: 12px; border-radius: 10px; background: linear-gradient(#f8fafc, #eef4ff); }
.mock-chart span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--primary), var(--primary-bright)); }
.mock-chart span:nth-child(even) { background: linear-gradient(var(--accent), #67e8f9); }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--navy-900); font-weight: 650; font-size: .85rem; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.float-card .ic { color: var(--accent); }
.fc-1 { left: -24px; bottom: 36px; }
.fc-2 { right: -12px; top: -18px; animation-delay: -3s; }
.fc-2 .ic { color: var(--accent-2); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy-900); color: #cbd5e1; position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p:last-child { color: var(--muted); font-size: 1.07rem; }
.placeholder-note { display: inline-block; font-size: .85rem !important; background: #fff7ed; color: #9a3412 !important; border: 1px dashed #fdba74; padding: 4px 12px; border-radius: 999px; }

.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: transform .2s, box-shadow .2s, border-color .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d6f0; }
.card p { color: var(--muted); }
.card-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #e0ecff, #d9f6fd); color: var(--primary); margin-bottom: 20px; }
.card-ic .ic { width: 26px; height: 26px; }
.card-feature { border: 2px solid var(--accent-2); background: linear-gradient(180deg, #fffbf0, #fff 40%); }
.card-feature .card-ic { background: #fef3c7; color: #b45309; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 6px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%2316a34a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: #b45309; }

/* Construction spotlight */
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 0% 0%, rgba(245,158,11,.16), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(0,81,204,.3), transparent 60%); pointer-events: none; }
.split { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
#construction-tech .eyebrow { color: var(--accent-2); }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-list li { display: flex; gap: 14px; padding: 22px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.feature-list .ic { width: 28px; height: 28px; color: var(--accent-2); }
.feature-list h3 { font-size: 1.02rem; margin-bottom: .3em; }
.feature-list p { margin: 0; font-size: .93rem; color: #94a3b8; }

/* Why */
.why { text-align: left; padding: 28px; border-radius: var(--radius-lg); background: var(--bg-alt); }
.why .ic { width: 34px; height: 34px; color: var(--primary); margin-bottom: 16px; }
.why p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: 0 1px 0 var(--line), var(--shadow); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -24px; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 6px, transparent 6px 10px); }
.step-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-900); color: #fff; font-weight: 800; margin-bottom: 18px; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Portfolio */
.case { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-img { height: 180px; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.case-img .ic { width: 64px; height: 64px; }
.ci-1 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.ci-2 { background: linear-gradient(135deg, #008cfe, #0b1d47); }
.ci-3 { background: linear-gradient(135deg, #03c8f0, #0051cc); }
.case { display: flex; flex-direction: column; }
.case-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.case-body p { color: var(--muted); font-size: .96rem; }
.case-body .tag { align-self: flex-start; }
.tag { display: inline-block; font-size: .75rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary) !important; background: #e8f0ff; padding: 3px 10px; border-radius: 999px; }
.result { margin: auto 0 0 !important; padding-top: 14px; border-top: 1px solid var(--line); color: var(--navy-900) !important; font-weight: 600; font-size: .95rem !important; }
.result strong { display: block; margin-bottom: 2px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); }

/* Tech */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; transition: border-color .2s, box-shadow .2s; }
.tech-card:hover { border-color: #c7d6f0; box-shadow: var(--shadow); }
.tech-card-head { display: flex; gap: 14px; align-items: flex-start; }
.tech-card-head .card-ic { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex-shrink: 0; }
.tech-card-head .card-ic .ic { width: 22px; height: 22px; }
.tech-card h3 { margin: 0 0 .2em; font-size: 1.05rem; }
.tech-card p { margin: 0; font-size: .9rem; color: var(--muted); }
.tech-card .chips li { background: var(--bg-alt); font-size: .85rem; padding: 5px 12px; }
.tech-card .chips .chip-more { background: none; border-style: dashed; color: var(--muted); }
.tech-note { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 30px; border-radius: var(--radius-lg); background: linear-gradient(135deg, #e8f0ff, #e3f8fd); border: 1px solid #cfe0fb; }
.tech-note h3 { margin-bottom: .3em; }
.tech-note p { margin: 0; color: var(--muted); max-width: 640px; }
.tech-note .btn { flex-shrink: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 550; color: var(--navy-800); }


/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 32px 18px 0; font-weight: 650; color: var(--navy-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Contact */
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.contact-list .ic { color: var(--accent); width: 22px; height: 22px; }
.contact-list a, .contact-list span { color: #e2e8f0; }
.quote-form { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--navy-900); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); padding: .75em .9em; border: 1.5px solid #cbd5e1; border-radius: 10px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,81,204,.15); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
.form-fine { margin: 6px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: #070e22; color: #94a3b8; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { margin-bottom: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

/* Product previews */
.mock-shot { display: block; width: 100%; height: auto; }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto 32px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; }
.tab { font: inherit; font-weight: 650; font-size: .95rem; color: var(--muted); background: none; border: 0; padding: .7em 1.3em; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.tab:hover { color: var(--navy-900); }
.tab[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.tab-panel { display: grid; grid-template-columns: 1.75fr 1fr; gap: 48px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: fadeUp .45s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.browser { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser img { display: block; width: 100%; height: auto; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.browser-bar i:nth-child(2) { background: #fbbf24; } .browser-bar i:nth-child(3) { background: #34d399; }
.browser-bar span { margin-left: 10px; font-size: .75rem; color: #64748b; background: #fff; padding: 2px 12px; border-radius: 6px; }
.browser-plain { border: 0; }
.panel-copy p { color: var(--muted); }
.panel-copy h3 { font-size: 1.4rem; }
.case-img { display: block; overflow: hidden; background: var(--navy-900); }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .4s ease; }
.case-img-center img { object-position: center; }
.case:hover .case-img img { transform: scale(1.04); }

/* Service pages */
.card .link { color: var(--primary); }
.card-feature .link { color: #b45309; }
.split .btn + .btn { margin-left: 10px; }
.page-hero { padding-bottom: 80px; }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
.page-shot { position: relative; margin: 0; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; font-size: .85rem; }
.breadcrumb li { color: #94a3b8; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #475569; }
.breadcrumb a { color: #cbd5e1; }
.breadcrumb [aria-current] { color: #fff; }
.split-light { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.promise-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 24px); }
.promise-card .ticks { margin-bottom: 22px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.chips-center { justify-content: center; margin-top: 24px; }
.related { text-decoration: none !important; color: inherit; }
.related h3 { margin-bottom: .2em; }
.center-ctas { justify-content: center; margin-bottom: 0; }
.cta-band { padding: 80px 0; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .split-light { grid-template-columns: 1fr; gap: 32px; }
  .promise-card { position: static; }
  .page-shot { transform: none; }
  .tab-panel { grid-template-columns: 1fr; gap: 28px; }
  .cards-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li::after { display: none; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; top: var(--header-h); left: 0; right: 0; background: rgba(6,18,46,.98); padding: 12px 20px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .site-nav.open { opacity: 1; transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-nav a:not(.btn) { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 12px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .tech-grid { grid-template-columns: 1fr; }
  .tech-note { flex-direction: column; align-items: stretch; text-align: left; padding: 22px; }
  .split .btn + .btn { margin: 10px 0 0; }
  .tabs { border-radius: 16px; justify-content: stretch; }
  .tab { flex: 1 1 45%; padding: .65em .8em; font-size: .88rem; }
  .section { padding: 72px 0; }
  .hero { padding: calc(var(--header-h) + 40px) 0 72px; }
  .cards-3, .cards-4, .steps, .feature-list, .field-row, .footer-grid { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .stats { gap: 24px; }
  .hero-ctas .btn { width: 100%; }
  .mock { transform: none; }
  .mock-body { min-height: 220px; }
  .fc-1 { left: 8px; bottom: -18px; } .fc-2 { right: 8px; }
  .quote-form { padding: 24px; }
  .section-head { margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
