/* DigitilizeIT Tech Solutions — static site styles */
:root {
  /* Brand: Void #0B0B0D, Silicon #C9CCD1, Ember #FF7A1A */
  --bg: #0b0b0d;
  --bg-2: #0f0f12;
  --panel: #141417;
  --panel-2: #1a1a1e;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #eeeff1;
  --muted: #9a9da3;
  --silicon: #c9ccd1;
  --brand: #ff7a1a;
  --brand-2: #ff9440;
  --brand-ink: #160a01;
  --amber: #ff7a1a;
  --wa: #25d366;
  --wa-ink: #04220f;
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic.solid { fill: currentColor; stroke: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: var(--brand-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section.alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.grad { color: var(--brand); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 .74rem var(--mono); letter-spacing: .2em; text-transform: uppercase;
  color: var(--silicon); margin-bottom: 18px;
}
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 122, 26, .16); }
.head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
/* Heading accent: a circuit arm ending in a node, echoing the logo */
.head h2::after, .page-hero h1::after, .split h2::after {
  content: ""; display: block; width: 104px; height: 14px; margin-top: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 14'%3E%3Cpath d='M0 7h88' stroke='%23FF7A1A' stroke-width='3'/%3E%3Ccircle cx='95' cy='7' r='5' fill='none' stroke='%23FF7A1A' stroke-width='3'/%3E%3C/svg%3E") left center / contain no-repeat;
}
.head.center h2::after { margin-inline: auto; }
.head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 52px); }
.head-row .head { margin-bottom: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: var(--brand-ink); box-shadow: 0 10px 30px -10px rgba(255, 122, 26, .6); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .65); }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; font-size: .95rem; }
.link .ic { transition: transform .2s; }
.link:hover .ic { transform: translateX(4px); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 13, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }
.logo img { height: 46px; width: auto; }
.footer .logo img { height: 56px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font: 500 .5rem var(--mono); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.logo b { color: var(--brand); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .93rem; font-weight: 500; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; align-items: center; justify-content: center; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

/* Hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(760px, 88vh); min-height: min(760px, 88svh); padding: clamp(64px, 9vw, 112px) 0; overflow: hidden; background: var(--bg) url("../img/hero-bg.jpg") center right / cover no-repeat; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .8) 0%, rgba(11, 11, 13, .5) 45%, rgba(11, 11, 13, .08) 100%),
    linear-gradient(180deg, rgba(11, 11, 13, .1) 0%, rgba(11, 11, 13, 0) 70%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero .wrap > div { max-width: 660px; text-shadow: 0 2px 18px rgba(11, 11, 13, .75); }
.hero .btn { text-shadow: none; }
.hero .lead { color: #dfe1e5; }
.hero .mini-stats span { color: #c9ccd1; }
.hero h1 { font-size: clamp(2.7rem, 7.4vw, 5.2rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hero .lead { color: var(--muted); font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 560px; margin: 24px 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-2); }
.mini-stats strong { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.mini-stats span { color: var(--muted); font-size: .85rem; }


/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.stat { padding: 30px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 700 clamp(1.9rem, 4vw, 2.7rem)/1.1 var(--display); }
.stat span { color: var(--muted); font-size: .9rem; }

/* Stats: staggered entrance, light sweep, count-up pop */
[data-count] { font-variant-numeric: tabular-nums; }
.stats { position: relative; }
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 122, 26, .22) 50%, transparent 65%);
  transform: translateX(-100%);
}
.stat { position: relative; }
.stat strong { display: inline-block; transform-origin: 50% 80%; }
.stat span { display: block; }
.stat::after {
  content: ""; display: block; height: 3px; width: 44px; margin: 14px auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform-origin: left;
}
.js .stats .stat { opacity: 0; transform: translateY(34px) scale(.92); filter: blur(10px); }
.js .stats .stat::after { transform: scaleX(0); }
.js .stats.in .stat {
  opacity: 1; transform: none; filter: none;
  transition: opacity .7s ease, transform .9s cubic-bezier(.2, .9, .25, 1.25), filter .7s ease;
}
.js .stats.in .stat::after { transform: scaleX(1); transition: transform 1.6s cubic-bezier(.2, .8, .2, 1) .5s; }
.js .stats.in .stat:nth-child(2), .js .stats.in .stat:nth-child(2)::after { transition-delay: .15s, .15s, .15s; }
.js .stats.in .stat:nth-child(3), .js .stats.in .stat:nth-child(3)::after { transition-delay: .3s, .3s, .3s; }
.js .stats.in .stat:nth-child(4), .js .stats.in .stat:nth-child(4)::after { transition-delay: .45s, .45s, .45s; }
.js .stats.in .stat:nth-child(2)::after { transition-delay: .65s; }
.js .stats.in .stat:nth-child(3)::after { transition-delay: .8s; }
.js .stats.in .stat:nth-child(4)::after { transition-delay: .95s; }
.js .stats.in::before { animation: sweep 1.6s ease-out .35s both; }
.counting { text-shadow: 0 0 26px rgba(255, 122, 26, .55); }
.counted { animation: pop .6s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes sweep { to { transform: translateX(100%); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.18); text-shadow: 0 0 34px rgba(255, 122, 26, .8); } 100% { transform: scale(1); } }

/* Cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; padding: 30px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s, background .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 122, 26, .4); background: var(--panel-2); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.icon-box { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; color: var(--silicon); background: rgba(201, 204, 209, .06); border: 1px solid var(--line-2); transition: color .25s, border-color .25s; }
.card:hover .icon-box, .channel:hover .icon-box { color: var(--brand); border-color: rgba(255, 122, 26, .45); }
.icon-box .ic { width: 24px; height: 24px; }
.card.big { padding: clamp(28px, 4vw, 42px); }
.card.big h3 { font-size: 1.5rem; }
.checks { margin-top: 20px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.checks .ic { color: var(--brand); width: 20px; height: 20px; }
.card .link { margin-top: 18px; }

/* Terminal + stack */
.build { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.terminal { border-radius: var(--radius); border: 1px solid var(--line-2); background: #060607; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #121215; border-bottom: 1px solid var(--line); font: 500 .78rem var(--mono); color: var(--muted); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.terminal-bar i:nth-child(1) { background: #f87171; } .terminal-bar i:nth-child(2) { background: #fbbf24; } .terminal-bar i:nth-child(3) { background: #34d399; }
.terminal-bar span { margin-left: 8px; display: inline-flex; align-items: center; gap: 8px; }
.terminal-body { padding: 22px; min-height: 250px; font: 400 .86rem/1.9 var(--mono); color: #c9ccd1; }
.terminal-body .t-title { color: var(--brand); font-weight: 600; margin-bottom: 6px; }
.terminal-body .ok { color: #34d399; }
.terminal-body .dim { color: #6f7278; }
.cursor { display: inline-block; width: 9px; height: 1.1em; background: var(--brand); vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stack h3 { font-size: 1.1rem; margin-bottom: 18px; }
.stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tech { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.tech:hover { border-color: rgba(255, 122, 26, .4); }
.tech .ic { color: var(--silicon); width: 22px; height: 22px; }
.tech strong { display: block; font-size: .92rem; line-height: 1.25; }
.tech span { color: var(--muted); font-size: .76rem; }

/* AI chat */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.split h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
.split .lead { color: var(--muted); margin: 18px 0 28px; font-size: 1.05rem; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.trio div { padding: 16px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); }
.trio strong { display: block; font: 700 1.4rem/1.2 var(--display); color: var(--brand); }
.trio span { color: var(--muted); font-size: .8rem; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-bottom: 30px; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.feature-list .ic { color: var(--brand); }
.chat { max-width: 380px; margin-inline: auto; border-radius: 26px; border: 1px solid var(--line-2); background: var(--panel); overflow: hidden; box-shadow: 0 50px 90px -40px rgba(255, 122, 26, .35); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--brand), var(--brand-2)); color: var(--brand-ink); }
.chat-head strong { display: block; line-height: 1.2; }
.chat-head small { color: #34d399; font-size: .78rem; display: inline-flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.chat-body { padding: 20px 18px; display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; line-height: 1.45; }
.msg.user { justify-self: end; background: linear-gradient(100deg, var(--brand), var(--brand-2)); color: var(--brand-ink); border-bottom-right-radius: 4px; font-weight: 500; }
.msg.bot { justify-self: start; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-bottom-left-radius: 4px; display: flex; gap: 8px; align-items: center; }
.msg.bot .ic { color: var(--brand); width: 1.1em; height: 1.1em; }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 18px 18px; padding: 8px 8px 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: .88rem; }
.chat-input span:last-child { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); }

/* CTA band */
.cta-band { position: relative; text-align: center; padding: clamp(44px, 7vw, 76px) 24px; border-radius: 28px; border: 1px solid rgba(255, 122, 26, .28); overflow: hidden; background: radial-gradient(600px 300px at 50% 0%, rgba(255, 122, 26, .2), transparent 70%), var(--panel); }
.cta-band h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.cta-band p { color: var(--muted); margin: 16px auto 30px; max-width: 520px; font-size: 1.05rem; }
.cta-band .actions { justify-content: center; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 320px at 15% 0%, rgba(255, 122, 26, .14), transparent 70%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); font-weight: 800; letter-spacing: -.035em; max-width: 820px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin-top: 18px; }

/* Services page */
.service { display: grid; grid-template-columns: auto 1fr; gap: 22px; }
.service .icon-box { margin: 0; }
.service ul { margin-top: 14px; display: grid; gap: 7px; }
.service li { display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: .92rem; }
.service li .ic { color: var(--brand); width: 18px; height: 18px; margin-top: 3px; }
.steps { counter-reset: s; }
.step { counter-increment: s; }
.step::before { content: "0" counter(s); display: block; font: 700 .85rem var(--mono); color: var(--brand); margin-bottom: 14px; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.client { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .25s, border-color .25s; }
.client:hover { transform: translateY(-3px); border-color: rgba(255, 122, 26, .4); }
.mono { flex: none; width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; font: 700 .95rem var(--display); letter-spacing: .02em; color: var(--silicon); background: rgba(201, 204, 209, .06); border: 1px solid var(--line-2); }
.client h3 { font: 600 1.02rem/1.3 var(--font); letter-spacing: 0; }

/* Team */
.leader { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.leader .portrait { width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(255, 122, 26, .2), rgba(255, 122, 26, .08)); border: 1px solid rgba(255, 122, 26, .3); color: var(--brand); }
.leader .portrait .ic { width: 52px; height: 52px; stroke-width: 1.4; }
.leader .role { color: var(--brand); font-weight: 600; font-size: .9rem; margin: 6px 0 12px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(255, 122, 26, .4); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--brand); transition: transform .25s; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }
.faq details a { color: var(--brand); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.channel:hover { transform: translateX(4px); border-color: rgba(255, 122, 26, .4); }
.channel .icon-box { margin: 0; flex: none; }
.channel div { min-width: 0; flex: 1; }
.channel small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.channel strong { display: block; font-weight: 600; overflow-wrap: anywhere; }
.channel > .ic { color: var(--muted); }
.channel.static:hover { transform: none; border-color: var(--line); }
.wa-card { padding: clamp(26px, 4vw, 40px); border-radius: 24px; border: 1px solid rgba(37, 211, 102, .32); background: radial-gradient(420px 240px at 100% 0%, rgba(37, 211, 102, .16), transparent 70%), var(--panel); position: sticky; top: 96px; }
.wa-card .wa-badge { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--wa); color: var(--wa-ink); margin-bottom: 22px; }
.wa-card .wa-badge .ic { width: 32px; height: 32px; }
.wa-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.wa-card > p { color: var(--muted); margin: 12px 0 24px; }
.wa-card h3 { font: 600 .8rem var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.topic { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; font-size: .88rem; font-weight: 500; transition: all .2s; }
.topic:hover { border-color: var(--wa); }
.topic[aria-pressed="true"] { background: rgba(37, 211, 102, .16); border-color: var(--wa); color: #86efac; }
.wa-card .btn { width: 100%; }
.wa-card .note { margin-top: 16px; font-size: .86rem; color: var(--muted); text-align: center; }
.wa-card .note a { color: var(--text); font-weight: 600; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p { color: var(--muted); font-size: .93rem; margin-top: 16px; max-width: 320px; }
.footer h4 { font: 600 .8rem var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer li a, .footer li span { display: inline-flex; align-items: center; gap: 10px; font-size: .93rem; color: #c9ccd1; transition: color .2s; }
.footer li a:hover { color: var(--brand); }
.footer li .ic { color: var(--brand); }
.copy { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; text-align: center; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 30px; height: 30px; }

/* Let grid and flex children shrink instead of forcing sideways scroll */
.grid > *, .build > *, .split > *, .contact > *, .stack-grid > *, .trio > *, .footer-grid > *, .hero .wrap > * { min-width: 0; }
.tech > div, .client h3 { min-width: 0; overflow-wrap: anywhere; }

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

/* Responsive */
@media (max-width: 1020px) {
  .build, .split, .contact { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wa-card { position: static; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 14px 20px 22px; background: rgba(11, 11, 13, .98); border-bottom: 1px solid var(--line); display: none; }
  .nav a { padding: 13px 14px; border-radius: 12px; font-size: 1rem; }
  .nav-open .nav { display: flex; max-height: calc(100vh - 72px); overflow-y: auto; }
  .header-cta .btn span { display: none; }
  .header-cta .btn { padding: 12px; }
}
@media (max-width: 680px) {
  .g2, .g3, .g4, .feature-list { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stack-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service, .leader { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
}
/* Phones */
@media (max-width: 680px) {
  .btn { white-space: normal; text-align: center; }
  .section { padding: 56px 0; }
  .hero { min-height: 0; padding: 56px 0 64px; background-position: 68% center; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(11, 11, 13, .62) 0%, rgba(11, 11, 13, .5) 55%, var(--bg) 100%);
  }
  .hero h1 { font-size: clamp(2.3rem, 12.5vw, 3.4rem); }
  .hero .lead { margin: 18px 0 26px; }
  .mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; padding-top: 22px; }
  .mini-stats strong { font-size: 1.35rem; }
  .mini-stats span { font-size: .76rem; line-height: 1.3; display: block; }
  .page-hero { padding: 44px 0 28px; }
  .page-hero h1 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .page-hero p, .head p, .split .lead, .cta-band p { font-size: 1rem; }
  .head h2, .split h2 { font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
  .head-row { align-items: flex-start; }
  .head-row .btn { width: 100%; }
  .card, .card.big { padding: 22px; }
  .stat { padding: 22px 12px; }
  .stat span { font-size: .82rem; }
  .terminal-body { padding: 16px; min-height: 230px; font-size: .76rem; }
  .terminal-bar { font-size: .7rem; }
  .tech { padding: 12px; gap: 10px; }
  .trio { gap: 8px; }
  .trio div { padding: 12px 10px; }
  .trio strong { font-size: 1.15rem; }
  .trio span { font-size: .72rem; line-height: 1.3; display: block; }
  .split .btn, .cta-band .btn { width: 100%; }
  .cta-band { padding: 40px 20px; border-radius: 22px; }
  .cta-band h2 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
  .clients { grid-template-columns: 1fr 1fr; gap: 10px; }
  .client { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .client h3 { font-size: .95rem; }
  .mono { width: 46px; height: 46px; border-radius: 13px; font-size: .82rem; }
  .channel { padding: 14px; gap: 12px; }
  .channel .icon-box { width: 44px; height: 44px; }
  .channel strong { font-size: .95rem; }
  .wa-card { padding: 22px; border-radius: 20px; }
  .topic { min-height: 44px; padding: 10px 16px; }
  .wa-card .note a { display: inline-block; padding: 10px 4px; }
  .link { min-height: 44px; }
  .footer { padding: 48px 0 96px; }
  .footer li { margin-bottom: 2px; }
  .footer li a, .footer li span { min-height: 44px; overflow-wrap: anywhere; }
  .copy { margin-top: 28px; }
  .faq summary { padding: 16px; }
}
@media (max-width: 400px) {
  .wrap { width: calc(100% - 32px); }
  .header .wrap { gap: 10px; }
  .logo { gap: 8px; font-size: 1.05rem; }
  .logo img { height: 40px; }
  .logo-text small { letter-spacing: .26em; }
  .header-cta { gap: 8px; }
  .stack-grid { gap: 8px; }
  .tech strong { font-size: .84rem; }
  .channel > .ic { display: none; }
  .channel strong { font-size: .84rem; letter-spacing: -.01em; }
  .tech .ic { width: 18px; height: 18px; }
}
@media (max-width: 340px) {
  .clients { grid-template-columns: 1fr; }
  .client { flex-direction: row; align-items: center; }
}
/* Short landscape phones */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .nav { max-height: calc(100vh - 72px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .js .stats .stat { opacity: 1; transform: none; filter: none; }
  .js .stats .stat::after { transform: none; }
}
