/* ==========================================================================
   OneT Digital Solutions — main stylesheet
   Design: "Emerald Corporate" (Option D)
   ========================================================================== */

:root {
  --ink: #0B1F1C;
  --ink-2: #22403A;
  --muted: #4B5F5B;
  --line: #E2ECE9;
  --line-2: #D5E6E1;
  --soft: #F3F8F6;
  --mint: #E7F6F1;
  --white: #FFFFFF;
  --primary: #087A62;
  --primary-2: #0FA383;
  --primary-dark: #066551;
  --bright: #16C79A;
  --deep: #05302A;
  --deep-2: #0E4A41;
  --deep-line: #1B4D45;
  --on-deep: #CFE3DE;
  --on-deep-2: #9FC2BA;
  --wa: #25D366;
  --star: #F5B301;

  --font-display: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 4px 14px rgba(5, 48, 42, 0.06);
  --shadow: 0 20px 40px rgba(5, 48, 42, 0.12);
  --shadow-lg: 0 40px 80px rgba(5, 48, 42, 0.2);

  --container: 1240px;
  --gutter: 24px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; line-height: 1.15; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--deep); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 110px 0; }
.section-sm { padding: 72px 0; }
.bg-soft { background: var(--soft); }
.bg-deep { background: var(--deep); color: #fff; }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
.bg-deep .eyebrow { color: var(--bright); }
.h1 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; }
.h3 { font-size: 22px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); }
.bg-deep .lead { color: var(--on-deep); }
.text-primary { color: var(--primary); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 56px; }
.section-head > div { display: flex; flex-direction: column; gap: 16px; max-width: 720px; }
.section-head > p { max-width: 440px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center > div { align-items: center; max-width: 860px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 16px; padding: 16px 26px; border-radius: 12px; border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; white-space: nowrap; min-height: 48px; }
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 14px 30px rgba(8, 122, 98, 0.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 18px 36px rgba(8, 122, 98, 0.35); }
.btn-outline { background: #fff; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-dark { background: var(--deep); color: #fff; }
.btn-dark:hover { background: #031f1b; transform: translateY(-2px); }
.btn-bright { background: var(--bright); color: var(--deep); }
.btn-bright:hover { background: #2ad8ab; transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,.3); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Utility bar ---------- */
.topbar { background: var(--deep); color: var(--on-deep); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 42px; }
.topbar-list { display: flex; gap: 28px; align-items: center; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; }
.topbar a:hover { color: #fff; }
.topbar .topbar-cta { color: var(--bright); font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(5,48,42,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.brand-sub { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; color: var(--muted); }
.main-nav > ul { display: flex; gap: 4px; align-items: center; }
.main-nav a, .nav-trigger { display: inline-flex; align-items: center; gap: 6px; padding: 12px 12px; white-space: nowrap; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--ink); background: none; border: none; transition: background .15s, color .15s; }
.main-nav a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--mint); color: var(--primary); }
.main-nav a[aria-current="page"] { color: var(--primary); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.icon-btn { width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--mint); color: var(--primary); border: none; flex-shrink: 0; transition: background .15s; }
.icon-btn:hover { background: #d4efe6; }
.icon-btn svg { width: 22px; height: 22px; }
.menu-toggle { display: none; background: var(--soft); color: var(--ink); border: 1px solid var(--line); }

/* Mega menu */
.has-mega { position: static; }
.mega { position: absolute; top: calc(100% + 1px); left: var(--gutter); right: var(--gutter); display: grid; grid-template-columns: 1fr 1fr 340px; background: #fff; border: 1px solid var(--line); border-top: none; border-radius: 0 0 20px 20px; box-shadow: var(--shadow-lg); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega-col { padding: 28px; display: flex; flex-direction: column; gap: 4px; }
.mega-col + .mega-col { border-left: 1px solid var(--line); }
.mega-title { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--muted); padding: 0 12px 10px; }
.mega-link { display: flex !important; gap: 14px; padding: 12px !important; border-radius: 12px; align-items: flex-start !important; }
.mega-link:hover { background: var(--soft) !important; }
.mega-link .ico { width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px; background: var(--mint); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.mega-link .ico svg { width: 20px; height: 20px; }
.mega-link strong { display: block; font-size: 16px; color: var(--ink); }
.mega-link small { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.mega-cta { background: var(--deep); color: #fff; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.mega-cta .eyebrow { color: var(--bright); font-size: 12px; }
.mega-cta h4 { font-size: 22px; line-height: 1.3; }
.mega-cta p { color: var(--on-deep); font-size: 15px; }
.mega-cta .btn { margin-top: auto; align-self: flex-start; padding: 12px 18px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; background: rgba(5,48,42,.45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer.open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer nav { padding: 12px 20px; }
.drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); }
.drawer nav a svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.drawer-group-title { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--muted); padding: 18px 4px 4px; }
.drawer-sub a { font-size: 16px; font-weight: 500; padding: 12px 4px; }
.drawer-foot { margin-top: auto; padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--soft); overflow: hidden; padding: 80px 0 96px; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: .7; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(22,199,154,.35) 0%, rgba(22,199,154,0) 65%); }
.hero .glow { right: -180px; top: -140px; width: 820px; height: 820px; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; padding: 7px 16px 7px 7px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); }
.pill b { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--primary); color: #fff; letter-spacing: .06em; }
.checks { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks svg { width: 18px; height: 18px; color: var(--primary); }

/* Hero visual */
.hero-visual { position: relative; height: 580px; }
.laptop { position: absolute; top: 76px; left: 0; width: 86%; max-width: 620px; }
.laptop-screen { border-radius: 18px; background: var(--ink); padding: 12px; box-shadow: 0 50px 90px rgba(5,48,42,.28); }
.laptop-base { height: 16px; margin: 0 -4%; border-radius: 0 0 20px 20px; background: #C9D6D2; }
.dash { border-radius: 10px; background: #fff; height: 370px; display: grid; grid-template-columns: 140px minmax(0,1fr); overflow: hidden; }
.dash-side { background: var(--deep); padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; color: var(--on-deep-2); }
.dash-side .logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 13px; padding-bottom: 8px; }
.dash-side .logo i { width: 20px; height: 20px; border-radius: 6px; background: var(--bright); }
.dash-side span { padding: 0 10px; }
.dash-side .active { padding: 8px 10px; border-radius: 8px; background: var(--deep-2); color: #fff; font-weight: 600; }
.dash-main { padding: 18px; display: flex; flex-direction: column; gap: 12px; background: #F7FAF9; }
.dash-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-display); font-size: 14px; font-weight: 700; }
.dash-top small { font-family: var(--font-body); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--primary); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.kpi { padding: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.kpi strong { display: block; font-family: var(--font-display); font-size: 15px; color: var(--ink); margin: 2px 0; }
.kpi em { font-style: normal; color: var(--primary); font-weight: 700; }
.kpi.on { background: var(--primary); border-color: var(--primary); color: #d8f1ea; }
.kpi.on strong, .kpi.on em { color: #fff; }
.chart { flex-grow: 1; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 14px; display: flex; align-items: flex-end; gap: 8px; }
.chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: #CDEBE2; transform-origin: bottom; animation: grow 1.2s cubic-bezier(.2,.8,.2,1) both; }
.chart i.hi { background: var(--primary); }
@keyframes grow { from { transform: scaleY(0); } }

.phone { position: absolute; top: 170px; right: -8px; width: 196px; height: 400px; border-radius: 34px; background: var(--ink); padding: 9px; box-shadow: 0 40px 70px rgba(5,48,42,.35); }
.phone-screen { height: 100%; border-radius: 26px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.phone-head { padding: 22px 14px 14px; background: var(--primary); color: #fff; font-size: 10px; }
.phone-head strong { display: block; font-family: var(--font-display); font-size: 14px; }
.phone-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 10px; }
.order { padding: 10px; border-radius: 10px; background: var(--soft); display: flex; gap: 8px; align-items: center; }
.order i { width: 30px; height: 30px; border-radius: 8px; background: #CDEBE2; flex-shrink: 0; }
.order i.b { background: #FFE3B8; }
.order b { display: block; }
.order span { color: var(--primary); }
.banner { height: 70px; border-radius: 10px; background: linear-gradient(135deg, var(--bright), var(--primary)); }
.phone-btn { padding: 10px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; text-align: center; }

.float-card { position: absolute; border-radius: 16px; box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.float-wa { top: 0; right: 150px; width: 280px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.float-wa .ico { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; }
.float-wa .ico svg { width: 20px; height: 20px; }
.float-wa strong { display: block; font-size: 14px; }
.float-wa small { font-size: 12px; color: var(--muted); }
.float-voice { bottom: 0; left: 0; width: 300px; padding: 16px; background: var(--deep); color: #fff; display: flex; flex-direction: column; gap: 10px; animation-delay: -3s; }
.float-voice .row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; }
.float-voice .row small { color: var(--on-deep-2); font-weight: 500; }
.float-voice p { font-size: 13px; color: var(--on-deep); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--bright); margin-right: 8px; box-shadow: 0 0 0 0 rgba(22,199,154,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(22,199,154,0); } 100% { box-shadow: 0 0 0 0 rgba(22,199,154,0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.wave i { width: 4px; border-radius: 3px; background: var(--bright); animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 0%,100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* ---------- Client strip ---------- */
.clients { border-bottom: 1px solid var(--line); padding: 32px 0; }
.clients .container { display: flex; align-items: center; gap: 48px; }
.clients-label { font-size: 15px; font-weight: 600; color: var(--muted); width: 190px; flex-shrink: 0; line-height: 1.4; }
.clients-list { flex: 1; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px 40px; font-family: var(--font-display); font-size: 20px; font-weight: 700; color: #7F948F; }

/* ---------- Tabs ---------- */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); margin-top: 8px; }
.tab { font-weight: 700; font-size: 16px; padding: 12px 24px; border: none; border-radius: 10px; background: transparent; color: var(--ink-2); transition: background .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--primary); color: #fff; }

/* ---------- Cards ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }

.svc-card { display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease, border-color .25s, background .25s, opacity .3s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card.featured { background: var(--primary); border-color: var(--primary); color: #fff; }
.svc-card.dim { opacity: .32; }
.ico-box { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--mint); color: var(--primary); flex-shrink: 0; }
.ico-box svg { width: 28px; height: 28px; }
.svc-card.featured .ico-box { background: rgba(255,255,255,.16); color: #fff; }
.svc-card h3 { font-size: 21px; line-height: 1.3; }
.svc-card p { font-size: 15px; color: var(--muted); }
.svc-card.featured p { color: #E3F4EF; }
.tick-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.tick-list li { display: flex; align-items: flex-start; gap: 8px; }
.tick-list svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--primary); }
.svc-card.featured .tick-list svg { color: #fff; }
.svc-card .more { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--primary); display: inline-flex; gap: 6px; align-items: center; }
.svc-card.featured .more { color: #fff; }
.svc-card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc-card:hover .more svg { transform: translateX(4px); }

.info-card { display: flex; gap: 20px; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card .ico-box { width: 56px; height: 56px; border-radius: 14px; background: var(--primary); color: #fff; }
.info-card .ico-box svg { width: 26px; height: 26px; }
.info-card h3 { font-size: 20px; margin-bottom: 6px; }
.info-card p { font-size: 15px; color: var(--muted); }

.feature { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.feature .ico-box { width: 52px; height: 52px; border-radius: 14px; }
.feature .ico-box svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; }
.feature p { font-size: 15px; color: var(--muted); }

/* ---------- Stats band ---------- */
.stats { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--deep); color: #fff; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 52px 56px; gap: 32px; }
.stats .glow { left: -120px; bottom: -220px; width: 520px; height: 520px; }
.stat { position: relative; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--deep-line); }
.stat strong { font-family: var(--font-display); font-size: clamp(28px, 3vw, 44px); line-height: 1.1; color: var(--bright); white-space: nowrap; }
.stat span { font-size: 16px; color: var(--on-deep); }

/* ---------- AI flow ---------- */
.ai-grid { display: grid; grid-template-columns: minmax(0, 480px) minmax(0,1fr); gap: 64px; align-items: center; }
.mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.mini { padding: 18px; border-radius: var(--radius); background: var(--soft); }
.mini strong { display: block; font-family: var(--font-display); font-size: 17px; }
.mini span { font-size: 14px; color: var(--muted); }
.flow { position: relative; aspect-ratio: 700 / 560; border-radius: var(--radius-xl); background: var(--deep); overflow: hidden; }
.flow .dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(159,194,186,.18) 1px, transparent 1px); background-size: 22px 22px; }
.flow svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow .dash-anim { stroke-dasharray: 6 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.node { position: absolute; transform: translate(0, -50%); }
.node-in { left: 5%; width: 23%; padding: 12px; border-radius: 14px; background: #fff; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.node-in .ico { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--mint); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.node-in .ico.wa { background: var(--wa); color: #fff; }
.node-in .ico svg { width: 18px; height: 18px; }
.node-core { left: 47.1%; top: 50%; width: 14.3%; aspect-ratio: 1; transform: translate(0, -50%); border-radius: 28%; background: var(--bright); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; box-shadow: 0 0 0 14px rgba(22,199,154,.16), 0 0 0 30px rgba(22,199,154,.08); animation: corePulse 3s ease-in-out infinite; }
.node-core svg { width: 36%; height: auto; }
.node-core span { font-size: 11px; font-weight: 800; color: var(--deep); }
@keyframes corePulse { 50% { box-shadow: 0 0 0 20px rgba(22,199,154,.12), 0 0 0 40px rgba(22,199,154,.05); } }
.node-out { left: 75.7%; width: 20%; padding: 12px 14px; border-radius: 14px; background: var(--deep-2); border: 1px solid #1B6B5E; color: #fff; font-size: 14px; font-weight: 700; }
.node-out small { display: block; font-size: 12px; font-weight: 500; color: var(--on-deep-2); }

/* ---------- Portfolio ---------- */
.work-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.work-stack { display: flex; flex-direction: column; gap: 24px; }
.work-card { position: relative; border-radius: 24px; overflow: hidden; display: block; background: var(--soft); min-height: 268px; }
.work-card.big { min-height: 560px; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover img { transform: scale(1.04); }
.work-meta { position: absolute; left: 20px; right: 20px; bottom: 20px; padding: 18px 22px; border-radius: 16px; background: #fff; display: flex; justify-content: space-between; align-items: center; gap: 20px; box-shadow: var(--shadow-sm); }
.work-meta small { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--primary); text-transform: uppercase; }
.work-meta h3 { font-size: 20px; }
.work-meta p { font-size: 15px; color: var(--muted); }
.work-card:not(.big) .work-meta { right: auto; }
.round-arrow { width: 50px; height: 50px; flex-shrink: 0; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .25s; }
.round-arrow svg { width: 20px; height: 20px; }
.work-card:hover .round-arrow { transform: rotate(45deg); }

.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.case:first-child { border-top: none; padding-top: 0; }
.case:nth-child(even) .case-media { order: 2; }
.case-media { border-radius: 24px; overflow: hidden; background: var(--soft); aspect-ratio: 16 / 10; position: relative; border: 1px solid var(--line); }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body { display: flex; flex-direction: column; gap: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; background: var(--mint); color: var(--primary-dark); }

/* illustrated mockups (no screenshot) */
.mock-erp { position: absolute; inset: 0; padding: 28px; display: grid; grid-template-columns: 150px minmax(0,1fr); gap: 16px; background: var(--deep); }
.mock-erp .side { border-radius: 14px; background: var(--deep-2); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 13px; color: var(--on-deep-2); }
.mock-erp .side b { color: var(--bright); }
.mock-erp .main { display: flex; flex-direction: column; gap: 12px; }
.mock-erp .row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.mock-erp .row i { height: 70px; border-radius: 12px; background: var(--deep-2); }
.mock-erp .row i:last-child { background: var(--bright); }
.mock-erp .big { flex: 1; border-radius: 12px; background: var(--deep-2); }
.mock-travel { position: absolute; inset: 0; background: linear-gradient(135deg, var(--mint), #fff); display: flex; align-items: center; justify-content: center; gap: 24px; }
.mock-travel .p { width: 150px; height: 290px; border-radius: 26px; background: var(--ink); padding: 7px; box-shadow: var(--shadow); }
.mock-travel .p > div { height: 100%; border-radius: 20px; background: #fff; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.mock-travel .p .top { height: 110px; background: linear-gradient(160deg, var(--primary), var(--bright)); }
.mock-travel .p .l { height: 34px; margin: 0 10px; border-radius: 8px; background: var(--soft); }

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.process::before { content: ""; position: absolute; left: 40px; right: 40px; top: 36px; height: 2px; background: #1B6B5E; }
.bg-soft .process::before, .process.light::before { background: var(--line-2); }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; }
.step-num { width: 72px; height: 72px; border-radius: 50%; background: var(--bright); color: var(--deep); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 22px; font-weight: 700; box-shadow: 0 0 0 8px var(--deep); }
.process.light .step-num { background: var(--primary); color: #fff; box-shadow: 0 0 0 8px #fff; }
.bg-soft .process.light .step-num { box-shadow: 0 0 0 8px var(--soft); }
.step h3 { font-size: 21px; }
.step p { font-size: 15px; color: var(--on-deep); }
.process.light .step p { color: var(--muted); }
.tech { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 32px; margin-top: 56px; border-top: 1px solid var(--deep-line); }
.tech > span:first-child { font-size: 15px; font-weight: 700; color: var(--on-deep-2); margin-right: 12px; }
.chip { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; background: var(--deep-2); border: 1px solid #1B6B5E; }
.chip.light { background: #fff; border-color: var(--line); color: var(--ink); }
.deep-section { position: relative; overflow: hidden; }
.deep-section .glow { right: -220px; top: -220px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(22,199,154,.25), rgba(22,199,154,0) 65%); }
.deep-section .container { position: relative; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--soft); transition: background .2s, border-color .2s; }
.faq details[open] { background: #fff; border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-size: 17px; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s, transform .25s; }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { background: var(--primary); color: #fff; transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; font-size: 16px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { display: flex; flex-direction: column; gap: 16px; padding: 40px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); }
.form-card h3 { font-size: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; font-weight: 500; padding: 14px 16px; border-radius: 12px; border: 1px solid #CFDFDA; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; width: 100%; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(8,122,98,.14); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); flex-shrink: 0; }
.consent a { color: var(--primary); text-decoration: underline; }
.form-status { font-size: 15px; font-weight: 600; }
.form-status.error { color: #B42318; }
.chips-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-select label { cursor: pointer; }
.chips-select input { position: absolute; opacity: 0; pointer-events: none; }
.chips-select span { display: inline-block; font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 999px; border: 1px solid #CFDFDA; background: #fff; transition: all .15s; }
.chips-select input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.chips-select input:focus-visible + span { outline: 3px solid var(--bright); outline-offset: 2px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--primary) 0%, var(--primary-2) 100%); color: #fff; padding: 56px 64px; display: flex; justify-content: space-between; align-items: center; gap: 40px; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.07); }
.cta-band h2 { font-size: clamp(28px, 3vw, 40px); }
.cta-band p { font-size: 18px; opacity: .92; margin-top: 10px; }
.cta-band .btn-row { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--soft); overflow: hidden; padding: 64px 0 80px; }
.page-hero .glow { right: -200px; top: -200px; width: 700px; height: 700px; }
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-hero-grid.single { grid-template-columns: minmax(0, 820px); }
.page-hero-copy { display: flex; flex-direction: column; gap: 22px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #9DB0AB; }
.breadcrumb [aria-current] { color: var(--ink); }

/* Service visuals */
.svc-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.browser { width: 100%; max-width: 560px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: var(--soft); 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; flex: 1; font-size: 12px; color: var(--muted); background: #fff; border-radius: 8px; padding: 5px 10px; border: 1px solid var(--line); }
.browser-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.sk { border-radius: 10px; background: var(--soft); }
.sk.hero-sk { height: 130px; background: linear-gradient(135deg, var(--primary), var(--bright)); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px; }
.sk.hero-sk i { display: block; height: 12px; border-radius: 6px; background: rgba(255,255,255,.85); width: 60%; }
.sk.hero-sk i + i { width: 40%; opacity: .7; }
.sk-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.sk-row .sk { height: 80px; }
.seo-badge { position: absolute; right: 0; bottom: 20px; padding: 14px 18px; border-radius: 14px; background: var(--deep); color: #fff; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; animation: float 6s ease-in-out infinite; }
.seo-badge strong { font-family: var(--font-display); font-size: 26px; color: var(--bright); }
.seo-badge span { font-size: 13px; color: var(--on-deep); line-height: 1.3; }
.chat-win { width: 100%; max-width: 420px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--primary); color: #fff; }
.chat-head.wa { background: #075E54; }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.chat-head .av svg { width: 20px; height: 20px; }
.chat-head strong { display: block; font-size: 15px; }
.chat-head small { font-size: 12px; opacity: .85; }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); min-height: 300px; }
.chat-body.wa { background: #ECE5DD; }
.msg { max-width: 82%; font-size: 14px; line-height: 1.45; padding: 10px 13px; border-radius: 14px; background: #fff; align-self: flex-start; box-shadow: 0 1px 1px rgba(0,0,0,.04); }
.msg.me { align-self: flex-end; background: var(--primary); color: #fff; }
.chat-body.wa .msg.me { background: #DCF8C6; color: var(--ink); }
.msg.sys { align-self: center; font-size: 12px; background: rgba(8,122,98,.1); color: var(--primary-dark); font-weight: 700; }
.quick { display: flex; flex-wrap: wrap; gap: 6px; }
.quick span { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--primary); color: var(--primary); background: #fff; }
.call-card { width: 100%; max-width: 420px; border-radius: 26px; background: var(--deep); color: #fff; padding: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 18px; }
.call-top { display: flex; align-items: center; gap: 14px; }
.call-top .av { width: 54px; height: 54px; border-radius: 50%; background: var(--bright); color: var(--deep); display: flex; align-items: center; justify-content: center; }
.call-top .av svg { width: 26px; height: 26px; }
.call-top strong { display: block; font-size: 18px; }
.call-top small { color: var(--on-deep-2); }
.call-card .wave { height: 54px; gap: 4px; }
.call-card .wave i { width: 5px; }
.transcript { display: flex; flex-direction: column; gap: 8px; }
.transcript .msg { background: var(--deep-2); color: #fff; }
.transcript .msg.me { background: var(--bright); color: var(--deep); font-weight: 600; }
.call-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.call-actions span { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--deep-2); color: var(--on-deep); }
.code-win { width: 100%; max-width: 520px; border-radius: 18px; background: #0B1F1C; box-shadow: var(--shadow-lg); overflow: hidden; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.8; color: #CFE3DE; }
.code-win .browser-bar { background: #0E2A26; border-color: #1B3A35; }
.code-win .browser-bar span { background: #0B1F1C; border-color: #1B3A35; color: var(--on-deep-2); font-family: inherit; }
.code-win pre { margin: 0; padding: 22px 24px; white-space: pre; overflow: hidden; }
.code-win .k { color: #7FF0CF; } .code-win .s { color: #FFD48A; } .code-win .c { color: #6B8F87; } .code-win .f { color: #9FC7FF; }

/* ---------- Content blocks ---------- */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 64px; align-items: center; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.check-item { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 16px; line-height: 1.4; }
.check-item svg { width: 22px; height: 22px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; }
.bg-deep .check-item { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.bg-deep .check-item svg { background: var(--bright); color: var(--deep); }
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose p, .prose li { color: var(--ink-2); font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.prose a { color: var(--primary); text-decoration: underline; }
.note { padding: 18px 20px; border-radius: var(--radius); background: var(--mint); color: var(--primary-dark); font-size: 15px; font-weight: 600; }
.svc-row { display: grid; grid-template-columns: 80px minmax(0,1fr) minmax(0, 420px) auto; gap: 32px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .num { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--primary); }
.svc-row h3 { font-size: 28px; margin-bottom: 8px; }
.svc-row p { color: var(--muted); }
.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
a.contact-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.contact-item .ico-box { width: 48px; height: 48px; border-radius: 12px; background: var(--primary); color: #fff; }
.contact-item .ico-box svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 13px; color: var(--muted); font-weight: 600; }
.contact-item strong { font-size: 17px; word-break: break-word; }
.value { padding: 32px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 12px; }
.value .ico-box { background: var(--bright); color: var(--deep); width: 52px; height: 52px; }
.value h3 { font-size: 20px; }
.value p { color: var(--on-deep); font-size: 15px; }
.center-block { max-width: 640px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.big-icon { width: 96px; height: 96px; border-radius: 50%; background: var(--mint); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.big-icon svg { width: 44px; height: 44px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep); padding: 80px 0 32px; margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand p { font-size: 15px; margin-top: 18px; max-width: 330px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--on-deep-2); }
.footer-col h4 { font-family: var(--font-body); font-size: 16px; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--deep-line); font-size: 14px; }
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .08s; } .js .reveal-d2 { transition-delay: .16s; } .js .reveal-d3 { transition-delay: .24s; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 1180px) {
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .hero-grid { grid-template-columns: minmax(0,1fr); }
  .hero-visual { max-width: 720px; width: 100%; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .ai-grid, .split, .page-hero-grid, .page-hero-grid.single { grid-template-columns: minmax(0,1fr); }
  .svc-row { grid-template-columns: 60px minmax(0,1fr); gap: 20px 24px; }
  .svc-row .tick-list, .svc-row .btn { grid-column: 2; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; --header-h: 70px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .topbar .hide-sm { display: none !important; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 40px; }
  .grid-3, .grid-2, .work-grid, .case { grid-template-columns: minmax(0,1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 36px 28px; gap: 28px 20px; }
  .stat + .stat { padding-left: 0; border-left: none; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .process::before { display: none; }
  .case { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .case:nth-child(even) .case-media { order: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .clients .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .clients-list { justify-content: flex-start; font-size: 17px; }
  .work-card.big { min-height: 420px; }
  .form-card { padding: 28px 22px; }
}
@media (max-width: 640px) {
  .topbar .container { justify-content: center; }
  .topbar-list { gap: 18px; }
  .topbar .topbar-cta { display: none; }
  .topbar .hide-xs { display: none !important; }
  .brand svg { width: 38px; height: 38px; }
  .brand-name { font-size: 18px; }
  .header-actions .wa-btn { display: none; }
  .hero { padding: 48px 0 64px; }
  .hero-visual { height: 420px; }
  .laptop { left: 0; width: 100%; top: 56px; }
  .dash { height: 240px; grid-template-columns: 90px minmax(0,1fr); }
  .dash-side { font-size: 10px; padding: 12px 8px; gap: 6px; }
  .dash-side span:nth-child(n+6) { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kpis .kpi:nth-child(3) { display: none; }
  .phone { display: none; }
  .float-wa { right: 0; width: 250px; top: 0; }
  .laptop { top: 70px; }
  .float-voice { width: 250px; }
  .grid-4 { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 12px 10px; font-size: 15px; }
  .mini-grid, .check-grid, .form-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .info-card { flex-direction: column; }
  .work-meta { left: 12px; right: 12px !important; bottom: 12px; padding: 14px 16px; }
  .work-card.big { min-height: 360px; }
  .node-in { font-size: 11px; padding: 8px; gap: 6px; width: 25%; }
  .node-in .ico { width: 24px; height: 24px; border-radius: 7px; }
  .node-in .ico svg { width: 13px; height: 13px; }
  .node-out { font-size: 11px; padding: 8px; width: 22%; left: 74%; }
  .node-out small { display: none; }
  .node-core span { font-size: 8px; }
  .svc-visual { min-height: 0; }
  .seo-badge { position: relative; right: auto; bottom: auto; margin-top: -30px; }
  .svc-visual.has-badge { flex-direction: column; }
  .mock-erp { padding: 14px; grid-template-columns: 90px minmax(0,1fr); gap: 10px; }
  .mock-erp .side { font-size: 11px; padding: 10px; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
