:root {
  --bg-top: #587537;
  --bg-mid: #354b29;
  --bg-low: #1d2a1a;
  --panel: rgba(22, 34, 19, 0.86);
  --panel-strong: rgba(15, 24, 14, 0.94);
  --panel-soft: rgba(31, 47, 26, 0.72);
  --header: rgba(15, 26, 14, 0.93);
  --paper: #eef0d8;
  --sand: #d8ddbd;
  --muted: #b9c39e;
  --accent: #b7da69;
  --accent-2: #90b84e;
  --line: rgba(190, 220, 120, 0.20);
  --line-strong: rgba(190, 220, 120, 0.38);
  --shadow: 0 28px 80px rgba(5, 12, 5, 0.30);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  line-height: 1.55;
  background:
    radial-gradient(circle at 74% 7%, rgba(180, 220, 95, .10), transparent 25%),
    linear-gradient(180deg, var(--bg-top) 0%, #496632 18%, #3d562d 38%, var(--bg-mid) 60%, #293a22 78%, var(--bg-low) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  inset: 0;
  min-height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(214, 235, 165, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 235, 165, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.18) 35%, rgba(0,0,0,.35) 100%);
}
body::after {
  content: "";
  position: absolute;
  inset: 0;
  min-height: 100%;
  pointer-events: none;
  z-index: 0;
  background: url('/assets/images/network-lines.svg') top center / 1600px 1400px repeat-y;
  opacity: .18;
}
body.modal-open { overflow: hidden; }
main, .site-header, .site-footer, .floating-ai, .assistant-modal, .industry-drawer { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, summary { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 92px 0; position: relative; }
.section.compact { padding: 62px 0; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 850; }
h1, h2, h3, h4 { margin: 0; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3.1rem, 7vw, 6.2rem); max-width: 10ch; }
h2 { font-size: clamp(2.3rem, 4.5vw, 4.2rem); max-width: 13ch; }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
p { margin: 0; }
.lede { font-size: clamp(1rem, 1.5vw, 1.22rem); color: var(--sand); max-width: 720px; }
.section-head { display: grid; gap: 17px; margin-bottom: 36px; }
.section-head.row { grid-template-columns: 1.1fr .9fr; align-items: end; }
.section-head.row .lede { justify-self: end; }
.small-note { color: var(--muted); font-size: .9rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 26px; }
.brand { font-weight: 900; letter-spacing: -.035em; font-size: 1.08rem; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--sand); font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.lang-switch { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(10,18,10,.38); }
.lang-switch button { border: 0; background: transparent; color: var(--muted); min-width: 36px; min-height: 34px; border-radius: 999px; cursor: pointer; font-weight: 800; }
.lang-switch button.active { background: rgba(184,218,105,.16); color: var(--paper); }
.mobile-contact-only { display: none; }
.header-contact { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); display: inline-flex; align-items: center; justify-content: center; color: var(--paper); font-size: .9rem; font-weight: 800; background: rgba(184,218,105,.10); }
.header-contact:hover { background: rgba(184,218,105,.18); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(18,29,17,.8); cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--paper); border-radius: 10px; }

.btn {
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  background: var(--accent);
  color: #17210f;
}
.btn:hover { transform: translateY(-1px); background: #c3e77a; }
.btn.secondary { background: rgba(19,31,17,.34); color: var(--paper); }
.btn.secondary:hover { background: rgba(184,218,105,.12); }
.btn.small { min-height: 40px; padding: 0 14px; font-size: .86rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero { min-height: calc(100vh - 76px); display: flex; align-items: center; padding: 66px 0 78px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: center; }
.hero-copy { display: grid; gap: 22px; position: relative; z-index: 3; }
.hero-copy .lede { max-width: 650px; }
.hero-tech-stage { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-tech-stage::before {
  content: "";
  position: absolute;
  inset: 8% 0 7% 4%;
  background: radial-gradient(ellipse at center, rgba(12,19,10,.58), rgba(12,19,10,.12) 64%, transparent 78%);
  filter: blur(12px);
}
.hero-tech-image {
  position: relative;
  z-index: 1;
  width: 112%;
  max-width: 730px;
  transform: translateX(4%);
  -webkit-mask-image: radial-gradient(ellipse 78% 73% at 52% 53%, #000 58%, rgba(0,0,0,.94) 74%, rgba(0,0,0,.38) 89%, transparent 100%);
  mask-image: radial-gradient(ellipse 78% 73% at 52% 53%, #000 58%, rgba(0,0,0,.94) 74%, rgba(0,0,0,.38) 89%, transparent 100%);
  filter: drop-shadow(0 34px 56px rgba(0,0,0,.30));
}
.hero-flow-card { position: absolute; z-index: 3; min-width: 152px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(13,23,13,.82); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.hero-flow-card small { display: block; color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; font-size: .65rem; }
.hero-flow-card strong { display: block; margin-top: 4px; font-size: .9rem; }
.hero-flow-card.a { left: 2%; top: 24%; }
.hero-flow-card.b { right: 0; top: 18%; }
.hero-flow-card.c { right: 3%; bottom: 16%; }
.hero-capabilities { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; color: var(--muted); font-size: .84rem; }
.hero-capabilities span { padding-left: 13px; position: relative; }
.hero-capabilities span::before { content: ""; position: absolute; left: 0; top: .7em; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.demo-copy { display: grid; gap: 18px; }
.lang-chips { display: flex; gap: 8px; margin-top: 8px; }
.lang-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; color: var(--muted); font-size: .78rem; }
.ig-phone { width: min(100%, 520px); justify-self: end; border-radius: 30px; border: 1px solid var(--line-strong); background: #0f150f; box-shadow: var(--shadow); overflow: hidden; min-height: 640px; display: flex; flex-direction: column; }
.ig-header { display: flex; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); background: #111a11; }
.ig-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.ig-title { min-width: 0; }
.ig-title strong { display: block; font-size: .96rem; }
.ig-title span { color: var(--muted); font-size: .78rem; }
.ig-header-icons { margin-left: auto; display: flex; gap: 9px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(43,64,36,.5); color: var(--paper); }
.context-chip { margin: 8px 16px 0; padding: 6px 10px; display: none; width: fit-content; border: 1px solid var(--line); border-radius: 999px; color: var(--accent); font-size: .76rem; }
.context-chip.visible { display: inline-flex; }
.ig-messages { flex: 1; min-height: 460px; max-height: 460px; overflow-y: auto; padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: #496032 transparent; }
.message { max-width: 82%; padding: 10px 13px; border-radius: 18px; font-size: .94rem; overflow-wrap: anywhere; }
.message.user { align-self: flex-end; background: #405631; border-bottom-right-radius: 6px; }
.message.ai { align-self: flex-start; background: #1f2f1a; border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--paper); }
.message.system { align-self: center; max-width: 92%; background: transparent; color: var(--muted); text-align: center; font-size: .8rem; }
.typing { display: inline-flex; gap: 4px; align-items: center; min-width: 52px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%,60%,100% { opacity:.3; transform:translateY(0); } 30% { opacity:1; transform:translateY(-2px); } }
.ig-composer { padding: 12px; border-top: 1px solid var(--line); display: flex; align-items: end; gap: 8px; background: #111a11; }
.ig-composer textarea { flex: 1; resize: none; max-height: 120px; min-height: 44px; border-radius: 22px; border: 1px solid var(--line); background: #1b2a18; color: var(--paper); padding: 10px 14px; outline: none; }
.ig-composer textarea::placeholder { color: #8d9b79; }
.send-btn { flex: 0 0 auto; min-width: 78px; height: 44px; border-radius: 22px; border: 1px solid var(--line-strong); background: var(--accent); color: #16200e; cursor: pointer; font-weight: 900; }
.send-btn:disabled { opacity: .55; cursor: wait; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.industry-card { min-height: 230px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); display: flex; flex-direction: column; gap: 14px; box-shadow: 0 16px 44px rgba(6,12,5,.12); }
.industry-card .letter { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); font-weight: 900; }
.industry-card p { color: var(--muted); }
.industry-card .card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }

.workflow-shell { display: grid; gap: 26px; }
.workflow-sequence { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-weight: 750; }
.workflow-sequence strong { color: var(--paper); }
.workflow-sequence .arrow { color: var(--accent); }
.visual-tabs { display: flex; flex-wrap: wrap; gap: 9px; }
.visual-tabs button { border: 1px solid var(--line); background: rgba(15,25,13,.25); color: var(--muted); border-radius: 999px; padding: 10px 14px; cursor: pointer; }
.visual-tabs button.active { background: rgba(184,218,105,.15); color: var(--paper); border-color: var(--line-strong); }
.crm-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel-strong); box-shadow: var(--shadow); }
.crm-frame img { width: 100%; height: auto; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.step { padding: 22px 18px; border-top: 1px solid var(--line-strong); background: rgba(16,25,14,.12); }
.step .num { color: var(--accent); font-weight: 900; letter-spacing: .14em; font-size: .75rem; }
.step h3 { margin-top: 10px; }
.step p { margin-top: 9px; color: var(--muted); font-size: .92rem; }

.pricing-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--panel); display: grid; gap: 20px; min-height: 250px; }
.price-card.featured { background: rgba(43,67,34,.86); border-color: var(--line-strong); }
.price-card .price-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.regular { color: var(--muted); text-decoration: line-through; font-size: 1.02rem; }
.launch { font-size: clamp(2rem, 3vw, 3rem); font-weight: 900; letter-spacing: -.04em; }
.launch-label { color: var(--accent); font-weight: 900; font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.pricing-foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.pricing-note { color: var(--muted); max-width: 680px; font-size: .9rem; }

.page-hero { padding: 84px 0 52px; }
.page-hero .lede { margin-top: 18px; }
.page-hero h1 { max-width: 12ch; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lede { margin-inline: auto; }

.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.capability-card { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: 24px; min-height: 200px; display: grid; gap: 12px; align-content: start; }
.capability-card p { color: var(--muted); }

.launch-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 40px; }
.launch-mini { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(25,40,21,.72); padding: 20px; display: grid; gap: 10px; }
.launch-mini .old { color: var(--muted); text-decoration: line-through; }
.launch-mini .new { font-size: 1.75rem; font-weight: 900; color: var(--paper); }

.service-groups { display: grid; gap: 48px; }
.service-group { display: grid; gap: 18px; }
.service-group h2 { font-size: clamp(1.7rem, 3vw, 2.55rem); max-width: none; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
details.service-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; min-height: 180px; }
details.service-card[open] { background: rgba(28,44,24,.92); border-color: var(--line-strong); }
.service-card summary { list-style: none; cursor: pointer; padding: 22px; display: grid; gap: 14px; min-height: 180px; }
.service-card summary::-webkit-details-marker { display: none; }
.service-top { display: flex; align-items: start; gap: 14px; justify-content: space-between; }
.service-price { color: var(--accent); font-weight: 900; white-space: nowrap; }
.service-short { color: var(--muted); font-size: .92rem; }
.service-plus { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; font-weight: 900; color: var(--paper); }
.service-plus::before { content: "+"; }
details[open] .service-plus::before { content: "−"; }
.service-body { padding: 0 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.service-info-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.service-info { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(11,19,10,.18); }
.service-info strong { display: block; margin-bottom: 6px; font-size: .86rem; }
.service-info p { color: var(--muted); font-size: .9rem; }
.service-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.about-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: start; }
.about-copy { display: grid; gap: 18px; }
.about-copy p { color: var(--sand); font-size: 1.02rem; }
.about-timeline { display: grid; gap: 12px; }
.timeline-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); padding: 18px; }
.timeline-item small { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.timeline-item p { color: var(--muted); margin-top: 8px; }

.contact-page { min-height: 100vh; }
.contact-page main { min-height: calc(100vh - 76px); display: flex; align-items: center; }
.contact-screen { width: 100%; padding: 44px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 42px; align-items: center; }
.contact-copy { display: grid; gap: 18px; }
.contact-list { display: grid; gap: 9px; margin-top: 8px; }
.contact-item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--panel); }
.contact-item span { color: var(--muted); font-size: .82rem; display: block; }
.contact-item strong { overflow-wrap: anywhere; }
.contact-robot { max-height: 590px; width: 100%; object-fit: contain; filter: drop-shadow(0 28px 42px rgba(0,0,0,.25)); }
.selected-service { display: none; width: fit-content; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: var(--accent); font-size: .82rem; }
.selected-service.visible { display: inline-flex; }
.contact-page .site-footer { display: none; }

.site-footer { padding: 34px 0; border-top: 1px solid var(--line); background: rgba(11,18,10,.45); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 18px; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--paper); }

.floating-ai { position: fixed; right: 18px; bottom: 14px; z-index: 60; display: flex; align-items: end; gap: 5px; }
.floating-robot { width: 92px; height: 118px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.32)); pointer-events: none; }
.floating-label { margin-bottom: 12px; border: 1px solid var(--line-strong); background: rgba(21,34,18,.9); color: var(--paper); padding: 11px 14px; border-radius: 999px; cursor: pointer; font-weight: 850; box-shadow: var(--shadow); }

.assistant-modal, .industry-drawer { position: fixed; inset: 0; z-index: 100; display: none; background: rgba(6,12,6,.70); backdrop-filter: blur(8px); padding: 20px; }
.assistant-modal.open, .industry-drawer.open { display: grid; place-items: center; }
.assistant-panel { width: min(560px, 100%); max-height: min(790px, calc(100vh - 40px)); border: 1px solid var(--line-strong); border-radius: 28px; background: #0f170f; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.50); display: flex; flex-direction: column; }
.assistant-top { display: flex; align-items: center; gap: 12px; padding: 15px; border-bottom: 1px solid var(--line); background: #111b11; }
.assistant-top .close, .drawer-close { margin-left: auto; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: rgba(32,49,26,.7); color: var(--paper); cursor: pointer; font-size: 1.25rem; }
.assistant-panel .ig-messages { min-height: 360px; max-height: 520px; }

.industry-panel { width: min(720px, 100%); border: 1px solid var(--line-strong); border-radius: 28px; background: #101910; box-shadow: 0 40px 100px rgba(0,0,0,.48); padding: 26px; display: grid; gap: 20px; }
.drawer-head { display: flex; gap: 16px; align-items: start; }
.drawer-head small { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-weight: 850; }
.drawer-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: none; margin-top: 5px; }
.industry-panel ul { margin: 0; padding-left: 20px; display: grid; gap: 9px; color: var(--sand); }
.drawer-note { color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.final-cta { text-align: center; }
.final-cta h2, .final-cta .lede { margin-inline: auto; }
.final-cta .hero-actions { justify-content: center; margin-top: 22px; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: rgba(14,24,13,.98); border-bottom: 1px solid var(--line); padding: 22px 20px 26px; display: none; flex-direction: column; align-items: flex-start; gap: 18px; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-wrap { gap: 12px; }
  .nav-wrap .lang-switch { margin-left: auto; }
  .mobile-contact-only { display: inline-flex; }
  .header-contact { display: none; }
  .hero { min-height: auto; }
  .hero-grid, .demo-grid, .contact-grid, .about-layout { grid-template-columns: 1fr; }
  .hero-tech-stage { min-height: 520px; }
  .hero-flow-card.a { left: 4%; }
  .ig-phone { justify-self: center; }
  .section-head.row { grid-template-columns: 1fr; }
  .section-head.row .lede { justify-self: start; }
  .industry-grid, .service-grid, .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-three, .launch-strip { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-page main { min-height: auto; }
  .contact-page .site-footer { display: block; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section { padding: 72px 0; }
  .nav-wrap { min-height: 70px; }
  .nav-links { inset: 70px 0 auto 0; }
  .brand { font-size: .98rem; }
  .lang-switch button { min-width: 32px; min-height: 31px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero { padding-top: 42px; }
  .hero-tech-stage { min-height: 390px; }
  .hero-tech-image { width: 124%; transform: translateX(3%); }
  .hero-flow-card { min-width: 128px; padding: 9px 10px; }
  .hero-flow-card.a { left: 0; top: 17%; }
  .hero-flow-card.b { right: 0; top: 10%; }
  .hero-flow-card.c { right: 0; bottom: 10%; }
  .hero-actions .btn { width: 100%; }
  .ig-phone { width: 100%; min-height: 590px; border-radius: 24px; }
  .ig-messages { min-height: 420px; max-height: 420px; }
  .industry-grid, .service-grid, .capability-grid, .steps { grid-template-columns: 1fr; }
  .price-card { min-height: 220px; }
  .workflow-sequence { font-size: .88rem; }
  .contact-screen { padding: 54px 0 78px; }
  .contact-robot { max-height: 430px; }
  .footer-row { align-items: flex-start; flex-direction: column; }
  .floating-ai { right: 8px; bottom: 8px; flex-direction: column-reverse; align-items: center; gap: 0; }
  .floating-robot { width: 56px; height: 72px; }
  .floating-label { margin: 0 0 -4px; padding: 7px 9px; min-height: 32px; font-size: .74rem; }
  .assistant-modal, .industry-drawer { padding: 10px; }
  .assistant-panel { max-height: calc(100vh - 20px); border-radius: 22px; }
  .assistant-panel .ig-messages { min-height: 300px; max-height: calc(100vh - 220px); }
  .industry-panel { border-radius: 22px; padding: 20px; max-height: calc(100vh - 20px); overflow-y: auto; }
}

/* ==================================================
   v7 approved visual refinements
   Existing behavior and integrations intentionally unchanged.
   ================================================== */
:root {
  --bg-top: #2b2d20;
  --bg-mid: #1b2117;
  --bg-low: #0b0d09;
  --panel: rgba(24, 29, 20, 0.88);
  --panel-strong: rgba(14, 17, 12, 0.96);
  --panel-soft: rgba(32, 38, 25, 0.72);
  --header: rgba(14, 17, 12, 0.92);
  --paper: #f0f0df;
  --sand: #d1d2b9;
  --muted: #aeb49a;
  --accent: #b0bb72;
  --accent-2: #789a55;
  --tech: #7da45e;
  --line: rgba(176, 187, 114, 0.18);
  --line-strong: rgba(176, 187, 114, 0.34);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

body {
  background:
    radial-gradient(circle at 72% 6%, rgba(151, 164, 96, .08), transparent 27%),
    linear-gradient(180deg, #2b2d20 0%, #25291c 18%, #202519 40%, #171c13 63%, #11140e 82%, #0b0d09 100%);
  background-attachment: scroll;
}
body::before {
  opacity: 1;
  background:
    radial-gradient(circle at 18% 16%, rgba(176,187,114,.025), transparent 23%),
    radial-gradient(circle at 80% 58%, rgba(125,164,94,.025), transparent 24%);
  mask-image: none;
}
body::after {
  background: url('/assets/images/network-lines.svg') top center / 1600px 1400px repeat-y;
  opacity: .14;
  filter: saturate(.85);
}

.section { padding: 86px 0; }
.section.compact { padding: 58px 0; }

h1 {
  font-size: clamp(3.25rem, 5.2vw, 4.5rem);
  max-width: 11.5ch;
  line-height: 1.01;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.4rem, 3.75vw, 3.25rem);
  line-height: 1.04;
  text-wrap: balance;
}
h3 { font-size: clamp(1.18rem, 1.7vw, 1.55rem); line-height: 1.12; }
.lede { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.62; }
.section-head { max-width: 100%; }
.section-head h2 { max-width: 16ch; }
.page-hero { padding: 72px 0 48px; }
.page-hero h1 { max-width: 15ch; }
html[lang="uk"] .hero h1 { font-size: clamp(3.05rem, 4.7vw, 4.15rem); max-width: 12.8ch; }
html[lang="uk"] .page-hero h1 { font-size: clamp(2.95rem, 4.6vw, 4.05rem); max-width: 17ch; }

.site-header { background: rgba(13, 16, 11, .9); }
.brand { font-size: 1.08rem; }
.header-contact {
  border-radius: 10px;
  background: rgba(176,187,114,.11);
}
.header-contact:hover { background: rgba(176,187,114,.18); }

/* Hero: approved transparent seated robot, embedded directly in the interface. */
.hero { min-height: calc(100vh - 76px); padding: 54px 0 66px; }
.hero-grid { grid-template-columns: 1.02fr .98fr; gap: 38px; }
.hero-copy { gap: 20px; }
.hero-tech-stage { min-height: 570px; overflow: visible; }
.hero-tech-stage::before {
  inset: 12% -4% 5% 0;
  background: radial-gradient(ellipse at 54% 54%, rgba(101,120,71,.16), rgba(13,16,11,.08) 52%, transparent 76%);
  filter: blur(16px);
}
.hero-tech-image {
  width: 120%;
  max-width: 790px;
  transform: translateX(3%);
  -webkit-mask-image: none;
  mask-image: none;
  filter: drop-shadow(0 34px 54px rgba(0,0,0,.34));
}
.hero-ui-fragment {
  position: absolute;
  z-index: 3;
  max-width: 210px;
  min-height: 48px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(176,187,114,.22);
  border-radius: 10px;
  background: rgba(12, 15, 10, .76);
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.hero-ui-fragment small {
  display: block;
  margin-bottom: 2px;
  color: var(--accent);
  font-size: .58rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-ui-fragment strong { display: block; font-size: .78rem; line-height: 1.25; letter-spacing: -.01em; }
.hero-ui-chat { right: -1%; top: 15%; }
.hero-ui-lead { right: 1%; bottom: 14%; }
.hero-ui-notice { left: 0; top: 31%; }
.ui-signal, .ui-status, .ui-node { position: relative; width: 16px; height: 16px; flex: 0 0 16px; }
.ui-signal::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--tech); border-radius: 3px; }
.ui-signal::after { content: ""; position: absolute; width: 4px; height: 4px; right: 0; bottom: 0; background: var(--tech); }
.ui-status { border: 1px solid rgba(176,187,114,.28); border-radius: 50%; }
.ui-status::after { content: ""; position: absolute; width: 6px; height: 6px; inset: 4px; border-radius: 50%; background: var(--tech); }
.ui-node::before, .ui-node::after { content: ""; position: absolute; background: var(--tech); }
.ui-node::before { width: 16px; height: 1px; left: 0; top: 8px; }
.ui-node::after { width: 5px; height: 5px; right: 0; top: 6px; }

/* Circuit-style connectors instead of oversized round arrows. */
.workflow-sequence { gap: 10px; }
.workflow-sequence .arrow {
  position: relative;
  width: 28px;
  height: 12px;
  font-size: 0;
  flex: 0 0 28px;
  border-top: 1px solid rgba(125,164,94,.72);
  border-right: 1px solid rgba(125,164,94,.72);
}
.workflow-sequence .arrow::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 5px;
  height: 5px;
  background: var(--tech);
}
.visual-tabs button { border-radius: 8px; }

/* Seven concise workflow steps. */
.steps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.step {
  min-height: 178px;
  padding: 18px 14px;
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid rgba(176,187,114,.08);
  background: rgba(13, 16, 11, .18);
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .84rem; line-height: 1.5; }

/* Compact Services & Pricing: 3 / 2 / 1 cards. */
.service-groups { gap: 42px; }
.service-group { gap: 16px; }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
details.service-card { min-height: 164px; border-radius: 14px; }
.service-card summary { min-height: 164px; padding: 18px; gap: 12px; }
.service-top { gap: 10px; }
.service-top h3 { font-size: 1.08rem; line-height: 1.16; }
.service-short { font-size: .88rem; line-height: 1.5; }
.service-plus { width: 28px; height: 28px; border-radius: 6px; }
.service-body { padding: 0 18px 18px; gap: 14px; }
.service-info-grid { gap: 9px; margin-top: 15px; }
.service-info { padding: 12px; border-radius: 8px; }
.service-info p { font-size: .86rem; line-height: 1.5; }
.service-actions .btn { border-radius: 8px; }
.launch-mini { border-radius: 14px; background: rgba(22,27,18,.78); }

/* Contact: compact desktop composition with the approved contact robot. */
.contact-page main { min-height: calc(100vh - 76px); }
.contact-screen { padding: 26px 0; }
.contact-grid { grid-template-columns: 1fr .84fr; gap: 30px; max-height: calc(100vh - 108px); }
.contact-copy { gap: 13px; }
.contact-copy h1 { font-size: clamp(2.8rem, 4.4vw, 4rem); max-width: 12ch; }
.contact-copy .lede { max-width: 590px; }
.contact-list { gap: 7px; margin-top: 3px; }
.contact-item { padding: 11px 14px; border-radius: 10px; }
.contact-robot {
  justify-self: center;
  max-height: min(70vh, 600px);
  width: min(100%, 480px);
  object-fit: contain;
  filter: drop-shadow(0 28px 42px rgba(0,0,0,.24));
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 49% 48%, #000 54%, rgba(0,0,0,.98) 68%, rgba(0,0,0,.68) 82%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 80% at 49% 48%, #000 54%, rgba(0,0,0,.98) 68%, rgba(0,0,0,.68) 82%, transparent 100%);
}
.contact-page .floating-ai { bottom: 8px; }

/* Slightly quieter circuit background under dense UI surfaces. */
.ig-phone, .crm-frame, .industry-card, .price-card, .service-card,
.capability-card, .timeline-item, .contact-item, .assistant-panel, .industry-panel {
  box-shadow: 0 18px 48px rgba(0,0,0,.18);
}

@media (max-width: 1100px) {
  .hero-ui-chat { right: 0; top: 13%; }
  .hero-ui-notice { left: -1%; top: 34%; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero { padding-top: 48px; }
  .hero-tech-stage { min-height: 500px; }
  .hero-tech-image { width: min(112%, 760px); transform: none; }
  .hero-ui-chat { right: 6%; top: 12%; }
  .hero-ui-lead { right: 5%; bottom: 13%; }
  .hero-ui-notice { left: 7%; top: 30%; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { max-height: none; }
  .contact-robot {
    max-height: 560px;
    -webkit-mask-image: radial-gradient(ellipse 74% 82% at 49% 48%, #000 54%, rgba(0,0,0,.98) 70%, rgba(0,0,0,.7) 84%, transparent 100%);
    mask-image: radial-gradient(ellipse 74% 82% at 49% 48%, #000 54%, rgba(0,0,0,.98) 70%, rgba(0,0,0,.7) 84%, transparent 100%);
  }
}

@media (max-width: 640px) {
  .section { padding: 66px 0; }
  .section.compact { padding: 50px 0; }
  h1 { font-size: clamp(2.55rem, 12vw, 3.55rem); max-width: 12ch; }
  h2 { font-size: clamp(2.05rem, 9vw, 2.75rem); }
  html[lang="uk"] .hero h1 { font-size: clamp(2.4rem, 10.8vw, 3.25rem); max-width: 13ch; }
  html[lang="uk"] .page-hero h1 { font-size: clamp(2.35rem, 10vw, 3.1rem); max-width: 16ch; }
  .page-hero { padding: 54px 0 36px; }
  .hero { padding: 36px 0 48px; }
  .hero-grid { gap: 20px; }
  .hero-tech-stage { min-height: 340px; margin-top: 6px; }
  .hero-tech-image { width: 118%; max-width: none; transform: translateX(1%); }
  .hero-ui-fragment { max-width: 158px; min-height: 42px; padding: 7px 8px; gap: 7px; }
  .hero-ui-fragment strong { font-size: .69rem; }
  .hero-ui-fragment small { font-size: .51rem; }
  .hero-ui-chat { right: -1%; top: 8%; }
  .hero-ui-lead { right: 0; bottom: 6%; }
  .hero-ui-notice { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { min-height: 0; padding: 16px 14px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card summary { min-height: 0; }
  .contact-screen { padding: 38px 0 72px; }
  .contact-copy h1 { font-size: clamp(2.4rem, 11vw, 3.25rem); }
  .contact-robot { max-height: 420px; width: min(100%, 360px); }
  .workflow-sequence .arrow { width: 20px; flex-basis: 20px; }
}

/* v7 responsive corrections after desktop overrides. */
.contact-page main { min-height: calc(100vh - 77px); }
.contact-robot { -webkit-mask-image: none; mask-image: none; }

@media (max-width: 980px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid { gap: 18px; }
}

@media (max-width: 640px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-tech-stage { width: 100%; }
  .hero-tech-image { width: min(118%, 460px); }
}
@media (max-width: 640px) {
  .hero-tech-image { width: 100%; max-width: 430px; transform: none; }
}
@media (max-width: 980px) {
  .hero-tech-stage { overflow: clip; }
  .hero-tech-stage::before { inset: 12% 0 5% 0; }
  .hero-tech-image { width: 100%; max-width: 720px; transform: none; }
}
@media (max-width: 640px) {
  .hero-tech-image { width: 100%; max-width: 430px; }
}
/* Keep interactive accents muted within the approved khaki / olive palette. */
.btn:hover { background: #bcc784; }

/* ==================================================
   Final scoped corrections: Contact composition + mobile Ask AI safety.
   No component logic or content changes.
   ================================================== */

/* Desktop Contact: approved robot on the left, contact/CTA content on the right.
   The approved asset already points to the right, so it is never mirrored. */
@media (min-width: 981px) {
  .contact-page .contact-grid {
    grid-template-columns: .84fr 1fr;
  }
  .contact-page .contact-robot {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    transform: none;
  }
  .contact-page .contact-copy {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
}

/* Mobile Ask AI: keep a compact fixed control without turning it into footer content.
   Hide it while overlays are open and while a service card is expanded. */
@media (max-width: 640px) {
  .floating-ai,
  .contact-page .floating-ai {
    position: fixed;
    top: auto;
    left: auto;
    right: max(8px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 60;
    width: auto;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .floating-robot {
    display: none;
  }
  .floating-label {
    margin: 0;
    min-height: 34px;
    padding: 7px 10px;
    font-size: .7rem;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
  }
  body.modal-open .floating-ai,
  body:has(.service-card[open]) .floating-ai,
  body:has(#live-demo) .floating-ai,
  .contact-page .floating-ai {
    display: none;
  }
}


/* ==================================================
   Approved scoped update: Hero mini UI + circuit visibility + darker base + UA market prices.
   Functional component logic remains unchanged.
   ================================================== */
:root {
  --circuit: #a8d85f;
  --tech: #a8d85f;
}

/* Slightly darker overall olive/khaki base; no section restructuring. */
body {
  background:
    radial-gradient(circle at 72% 6%, rgba(154,205,85,.055), transparent 27%),
    linear-gradient(180deg, #24271b 0%, #202419 18%, #1b2016 40%, #151a11 63%, #10130d 82%, #0b0d09 100%);
}

/* Existing circuit layer, made more legible while staying behind content. */
body::after {
  opacity: .235;
  filter: saturate(.98) brightness(1.04);
}
.workflow-sequence .arrow {
  border-top-color: rgba(168,216,95,.72);
  border-right-color: rgba(168,216,95,.72);
}
.workflow-sequence .arrow::after,
.hero-capabilities span::before { background: var(--circuit); }

/* Real miniature product UI around the already-approved hero robot. */
.hero-mini-preview {
  position: absolute;
  z-index: 3;
  width: 186px;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(168,216,95,.32);
  border-radius: 11px;
  background: rgba(9,13,8,.90);
  box-shadow: 0 16px 38px rgba(0,0,0,.30), 0 0 0 1px rgba(168,216,95,.035) inset;
  backdrop-filter: blur(10px);
}
.hero-mini-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 22px rgba(168,216,95,.035);
}
.hero-mini-preview > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-mini-crm { right: -2%; bottom: 12%; }
.hero-mini-crm > img { object-position: 50% 16%; transform: scale(1.08); }
.hero-mini-sheet { left: -1%; top: 31%; }
.hero-mini-sheet > img { object-position: 17% 20%; transform: scale(1.13); }
.hero-mini-chat {
  right: -1%;
  top: 13%;
  height: 104px;
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 6px;
}
.hero-mini-chat-head { display:flex; align-items:center; gap:6px; min-width:0; color:#eef0d8; font-size:.57rem; font-weight:800; line-height:1; }
.hero-mini-chat-head img { width:17px; height:17px; border-radius:50%; object-fit:cover; flex:0 0 17px; }
.hero-mini-bubbles { display:grid; gap:4px; }
.hero-mini-msg { width:fit-content; max-width:90%; padding:4px 6px; border-radius:7px; font-size:.52rem; line-height:1.22; }
.hero-mini-msg.customer { justify-self:end; background:rgba(82,97,65,.80); color:#f1f2df; }
.hero-mini-msg.ai { justify-self:start; background:rgba(28,38,24,.96); border:1px solid rgba(168,216,95,.18); color:#dfe4c7; }

@media (max-width:1100px) {
  .hero-mini-chat { right:0; top:12%; }
  .hero-mini-sheet { left:0; top:32%; }
}
@media (max-width:980px) {
  .hero-mini-chat { right:5%; top:11%; }
  .hero-mini-crm { right:5%; bottom:12%; }
  .hero-mini-sheet { left:6%; top:31%; }
}
@media (max-width:640px) {
  .hero-mini-preview { width:142px; height:70px; border-radius:9px; }
  .hero-mini-chat { right:0; top:6%; height:82px; padding:6px; }
  .hero-mini-chat-head { font-size:.48rem; gap:4px; }
  .hero-mini-chat-head img { width:14px; height:14px; flex-basis:14px; }
  .hero-mini-msg { padding:3px 5px; border-radius:6px; font-size:.43rem; }
  .hero-mini-crm { right:0; bottom:5%; }
  .hero-mini-sheet { display:none; }
}

/* Keep Hero mini previews in free space, clear of the approved robot. */
.hero-mini-crm { left: -1%; right: auto; top: 4%; bottom: auto; }
@media (max-width: 1100px) {
  .hero-mini-crm { left: 0; right: auto; top: 4%; bottom: auto; }
}
@media (max-width: 980px) {
  .hero-mini-crm { left: 4%; right: auto; top: 3%; bottom: auto; }
}
@media (max-width: 640px) {
  .hero-mini-preview { width: 112px; height: 50px; }
  .hero-mini-chat { top: 0; right: 0; height: 56px; padding: 5px; }
  .hero-mini-crm { top: 0; left: 0; right: auto; bottom: auto; }
  .hero-mini-chat-head { font-size: .42rem; }
  .hero-mini-chat-head img { width: 12px; height: 12px; flex-basis: 12px; }
  .hero-mini-msg { padding: 2px 4px; font-size: .37rem; }
}


/* ==================================================
   Final master implementation: transparent Hero integration,
   rare circuit icons, service multi-select and Contact handoff.
   ================================================== */

/* Transparent approved Hero asset: preserve the full robot/chair/table, add only grounding. */
.hero-tech-stage::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 7%;
  right: 2%;
  bottom: 6%;
  height: 16%;
  border-top: 1px solid rgba(168,216,95,.22);
  background: radial-gradient(ellipse at center, rgba(0,0,0,.34), transparent 68%);
  transform: perspective(420px) rotateX(70deg);
  transform-origin: center bottom;
  pointer-events: none;
}
.hero-tech-image {
  width: auto;
  max-width: min(125%, 825px);
  max-height: 650px;
  transform: translate(7%, 70px);
  object-fit: contain;
}

/* Two small real product fragments, separate from the approved robot image. */
.hero-product-mini {
  position: absolute;
  z-index: 3;
  width: 176px;
  border: 1px solid rgba(168,216,95,.28);
  border-radius: 10px;
  background: rgba(10,14,9,.82);
  box-shadow: 0 16px 36px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
  color: var(--paper);
}
.hero-product-chat { right: -2%; top: 13%; padding: 9px; }
.hero-product-lead { left: -1%; bottom: 12%; padding: 10px; }
.hero-product-bar { display:flex; align-items:center; gap:6px; margin-bottom:7px; color:var(--sand); font-size:.58rem; }
.hero-product-bar strong { font-size:.62rem; letter-spacing:.01em; }
.hero-product-dot { width:6px; height:6px; border-radius:50%; background:var(--circuit); box-shadow:0 0 0 3px rgba(168,216,95,.08); }
.hero-product-time { margin-left:auto; color:var(--muted); font-size:.5rem; }
.hero-product-message { max-width:88%; margin-top:4px; padding:5px 7px; border-radius:7px; font-size:.52rem; line-height:1.25; }
.hero-product-message.customer { margin-left:auto; background:rgba(77,91,61,.78); }
.hero-product-message.ai { background:rgba(24,34,20,.98); border:1px solid rgba(168,216,95,.14); color:#e7ead7; }
.hero-product-label { color:var(--circuit); font-size:.52rem; text-transform:uppercase; letter-spacing:.11em; font-weight:850; }
.hero-product-name { display:block; margin-top:5px; font-size:.76rem; }
.hero-product-row { display:flex; align-items:center; gap:7px; margin-top:6px; color:var(--muted); font-size:.52rem; }
.hero-product-row span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hero-product-row b { margin-left:auto; padding:3px 5px; border-radius:999px; background:rgba(168,216,95,.12); color:var(--circuit); font-size:.47rem; font-weight:800; }

/* Circuit visibility is stronger, but the SVG remains only lines/nodes/endpoints. */
body::after { opacity: .50; filter: saturate(.9) brightness(.94); }

/* Standalone sparse section icons: never part of the repeating network-lines.svg. */
.has-tech-decor { overflow: clip; }
.has-tech-decor > .container { position: relative; z-index: 1; }
.section-tech-icon {
  position: absolute;
  z-index: 0;
  width: 36px;
  height: 36px;
  color: var(--circuit);
  opacity: .32;
  pointer-events: none;
}
.section-tech-icon svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.2; stroke-linecap:round; stroke-linejoin:round; }
.section-tech-icon svg .solid { fill:currentColor; stroke:none; }
.tech-icon-left { left: max(12px, calc(50% - 650px)); }
.tech-icon-right { right: max(12px, calc(50% - 650px)); }
.tech-icon-top { top: 12%; }
.tech-icon-mid { top: 43%; }
.tech-icon-low { bottom: 14%; }
.section-tech-icon::after {
  content:"";
  position:absolute;
  width:42px;
  height:1px;
  top:50%;
  background:rgba(168,216,95,.34);
}
.tech-icon-left::after { left:100%; }
.tech-icon-right::after { right:100%; }

/* Solutions: one compact, explicit problem → system → result row inside existing content. */
.solution-logic {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}
.solution-logic > div { padding:14px; border:1px solid var(--line); border-radius:10px; background:rgba(15,19,13,.42); display:grid; gap:5px; }
.solution-logic small { color:var(--circuit); font-size:.62rem; font-weight:850; letter-spacing:.1em; text-transform:uppercase; }
.solution-logic strong { font-size:.82rem; line-height:1.35; }
.solution-logic > span { align-self:center; color:var(--circuit); opacity:.7; }

/* Multi-select services. */
[data-service-add].selected { background:rgba(168,216,95,.16); color:var(--paper); border-color:rgba(168,216,95,.48); }
.selected-services-indicator {
  position: fixed;
  z-index: 58;
  left: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(168,216,95,.32);
  border-radius: 12px;
  background: rgba(12,16,10,.94);
  box-shadow: 0 14px 34px rgba(0,0,0,.30);
  backdrop-filter: blur(12px);
}
.selected-services-indicator.visible { display:flex; }
.selected-services-indicator a { min-height:34px; padding:0 9px; display:inline-flex; align-items:center; border-radius:8px; color:var(--paper); font-size:.74rem; font-weight:850; }
.selected-services-indicator button { min-height:34px; padding:0 8px; border:0; border-left:1px solid var(--line); background:transparent; color:var(--muted); font-size:.68rem; cursor:pointer; }
body.modal-open .selected-services-indicator { display:none; }

/* Contact: reuse the existing selected-service slot for the persistent multi-selection. */
.selected-service.visible { display:grid; gap:8px; padding:10px; }
.selected-services-title { font-size:.78rem; color:var(--sand); }
.selected-services-list { display:grid; gap:5px; max-height:150px; overflow-y:auto; padding-right:2px; }
.selected-service-row { display:flex; align-items:center; gap:8px; min-width:0; padding:6px 8px; border:1px solid rgba(168,216,95,.14); border-radius:8px; background:rgba(11,15,10,.34); }
.selected-service-row span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.75rem; color:var(--paper); }
.selected-service-row button { margin-left:auto; border:0; background:transparent; color:var(--muted); cursor:pointer; font-size:.65rem; }
.selected-services-actions { display:flex; flex-wrap:wrap; gap:7px; }
.selected-services-actions .btn { min-height:32px; padding:0 10px; font-size:.68rem; }
.context-chip { max-width: calc(100% - 32px); white-space: normal; line-height:1.35; }

@media (max-width: 980px) {
  .hero-tech-image { max-width:min(100%, 610px); max-height:600px; transform:none; }
  .hero-product-chat { right:4%; top:9%; }
  .hero-product-lead { left:4%; bottom:10%; }
  .solution-logic { grid-template-columns:1fr; }
  .solution-logic > span { display:none; }
  .section-tech-icon { opacity:.24; }
}
@media (max-width: 640px) {
  .hero-tech-stage { min-height:430px; }
  .hero-tech-image { width:auto; max-width:100%; max-height:430px; }
  .hero-tech-stage::after { left:8%; right:8%; bottom:5%; height:13%; }
  .hero-product-mini { width:128px; border-radius:8px; }
  .hero-product-chat { right:0; top:2%; padding:6px; }
  .hero-product-lead { left:0; bottom:3%; padding:7px; }
  .hero-product-bar { margin-bottom:4px; font-size:.45rem; }
  .hero-product-bar strong { font-size:.48rem; }
  .hero-product-dot { width:5px; height:5px; }
  .hero-product-message { padding:3px 4px; font-size:.40rem; }
  .hero-product-label { font-size:.4rem; }
  .hero-product-name { margin-top:3px; font-size:.58rem; }
  .hero-product-row { margin-top:4px; font-size:.4rem; }
  .hero-product-row b { font-size:.36rem; }
  .section-tech-icon { display:none; }
  .selected-services-indicator { left:8px; bottom:max(10px, env(safe-area-inset-bottom)); max-width:calc(100vw - 106px); }
  .selected-services-indicator a { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.66rem; }
  .selected-services-indicator button { font-size:.62rem; }
}

@media (max-width: 640px) {
  body:has(.service-card[open]) .selected-services-indicator { display:none; }
}

/* Legal/compliance additions only — existing site design rules above are unchanged. */
.ai-disclosure {
  padding: 0 14px 12px;
  background: #111a11;
  color: #8f9d7d;
  font-size: .68rem;
  line-height: 1.35;
}
.ai-disclosure a { color: #b9c998; text-decoration: underline; text-underline-offset: 2px; }
.legal-wrap { width: min(920px, calc(100% - 40px)); margin-inline: auto; }
.legal-updated { margin-top: 16px; color: var(--muted); font-size: .88rem; }
.legal-intro {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 24px;
  color: var(--sand);
}
.legal-content { display: grid; gap: 34px; }
.legal-block { display: grid; gap: 12px; }
.legal-block h2 { max-width: none; font-size: clamp(1.55rem, 2.6vw, 2.25rem); }
.legal-block h3 { margin-top: 6px; font-size: 1.05rem; letter-spacing: -.015em; }
.legal-block p, .legal-block li { color: var(--sand); }
.legal-block ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-block a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-callout {
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(20,32,18,.62);
  padding: 16px 18px;
}
@media (max-width: 680px) {
  .legal-intro { padding: 18px; }
  .legal-content { gap: 28px; }
  .ai-disclosure { font-size: .64rem; }
}

/* Accessibility utility: visually hidden, screen-reader available. */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Data dots only; the existing circuit background remains untouched. */
.lf-line-dots {
  position: absolute;
  inset: 0;
  overflow: clip;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
  filter: saturate(.9) brightness(.94);
}
.lf-line-dot-tile { position: absolute; left: 0; width: 100%; height: 1400px; }
.lf-line-dot {
  position: absolute;
  left: calc(50% - 800px);
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 3px 1px currentColor;
  offset-anchor: center;
  offset-rotate: 0deg;
}
@media (max-width: 640px) {
  .lf-line-dot { box-shadow: 0 0 2px 1px currentColor; }
}

/* Scoped service-selection review UI. Existing network lines/dots are unchanged. */
.selected-services-indicator [data-selected-summary-toggle] {
  min-height:34px;
  padding:0 10px;
  border:0;
  border-left:0;
  border-radius:8px;
  background:transparent;
  color:var(--paper);
  font-size:.74rem;
  font-weight:850;
  cursor:pointer;
}
.selected-services-popover {
  position:fixed;
  left:18px;
  bottom:72px;
  z-index:74;
  width:min(360px,calc(100vw - 36px));
  max-height:min(520px,70vh);
  overflow:auto;
  padding:14px;
  border:1px solid var(--line-strong);
  border-radius:14px;
  background:#101910;
  box-shadow:0 24px 70px rgba(0,0,0,.42);
}
.selected-services-popover[hidden] { display:none; }
.selected-review-head { display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.selected-review-head strong { font-size:.9rem; }
.selected-review-head button { margin-left:auto; width:30px; height:30px; border:1px solid var(--line); border-radius:50%; background:transparent; color:var(--muted); cursor:pointer; }
.selected-review-list { display:grid; gap:6px; }
.selected-review-row { display:flex; align-items:center; gap:8px; padding:8px 9px; border:1px solid var(--line); border-radius:8px; background:rgba(11,15,10,.42); }
.selected-review-row span { min-width:0; flex:1; font-size:.78rem; color:var(--paper); }
.selected-review-row button { border:0; background:transparent; color:var(--muted); cursor:pointer; font-size:.68rem; }
.selected-review-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.selected-review-actions .btn { flex:1 1 130px; }
body.modal-open .selected-services-popover { display:none; }
@media (max-width:640px) {
  .selected-services-popover { left:8px; bottom:62px; width:calc(100vw - 16px); }
}

/* Home hero approved robot: bottom-anchor the existing asset without altering it. */
@media (min-width: 981px) {
  .hero-tech-image {
    position: absolute;
    right: clamp(-158px, calc(51px - 12.5vw), -120px);
    bottom: calc(352px - 50vh);
    width: min(145%, 810px);
    max-width: none;
    max-height: none;
    transform: none;
  }
}

/* Home featured pricing: uses the approved Pricing region/selection language without changing the section design. */
#pricing-preview [data-home-featured-pricing] { display:grid; gap:16px; }
#pricing-preview .home-pricing-region { display:flex; align-items:center; justify-content:flex-end; gap:10px; }
#pricing-preview .home-pricing-region > span { color:var(--muted); font-size:.76rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
#pricing-preview .pricing-region-switch { display:flex; flex-wrap:wrap; gap:7px; }
#pricing-preview .pricing-region-switch button { min-height:38px; padding:0 12px; border:1px solid var(--line); border-radius:9px; background:rgba(20,27,17,.68); color:var(--muted); cursor:pointer; font:inherit; font-weight:800; transition:border-color .18s ease, background .18s ease, color .18s ease; }
#pricing-preview .pricing-region-switch button:hover,
#pricing-preview .pricing-region-switch button.active { color:var(--paper); border-color:var(--line-strong); background:rgba(176,187,114,.12); }
#pricing-preview .home-featured-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:2px; }
#pricing-preview .home-featured-more { border:0; padding:4px 0; background:transparent; color:var(--accent); cursor:pointer; font:inherit; font-size:.78rem; font-weight:850; text-align:left; }
#pricing-preview .home-featured-details { display:grid; gap:12px; padding-top:16px; border-top:1px solid var(--line); }
#pricing-preview .home-featured-details[hidden] { display:none; }
#pricing-preview .home-featured-details > div { display:grid; gap:7px; }
#pricing-preview .home-featured-details strong { color:var(--paper); font-size:.78rem; }
#pricing-preview .home-featured-details ul { margin:0; padding-left:18px; color:var(--muted); display:grid; gap:5px; }
#pricing-preview .home-featured-details li,
#pricing-preview .home-featured-details p { margin:0; color:var(--muted); font-size:.83rem; line-height:1.45; }
@media (max-width:640px) {
  #pricing-preview .home-pricing-region { align-items:flex-start; flex-direction:column; }
  #pricing-preview .home-featured-actions { align-items:stretch; flex-direction:column; }
  #pricing-preview .home-featured-actions .btn { width:100%; }
}


/* Home hero final grounding: one calm section-ending line + one moving data dot. */
.hero {
  position: relative;
  --hero-end-inset: max(20px, calc((100% - var(--max)) / 2));
  --hero-ground-bottom: 30px;
}
.hero-tech-stage::after { content: none; }
.hero::after {
  content: "";
  position: absolute;
  left: var(--hero-end-inset);
  right: var(--hero-end-inset);
  bottom: var(--hero-ground-bottom);
  height: 1px;
  background: rgba(168,216,95,.24);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  left: var(--hero-end-inset);
  right: var(--hero-end-inset);
  bottom: calc(var(--hero-ground-bottom) - 2px);
  height: 4px;
  background: radial-gradient(circle at 2px 2px, rgba(168,216,95,.88) 0 1.7px, transparent 1.9px) 0 50% / 4px 4px no-repeat;
  filter: drop-shadow(0 0 3px rgba(168,216,95,.72));
  pointer-events: none;
  animation: none;
}
@keyframes hero-end-dot-travel {
  from { background-position: 0 50%; }
  to { background-position: 100% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; background-position: 50% 50%; }
}
@media (min-width: 981px) {
  .hero { --hero-ground-bottom: 196px; }
  .hero-tech-image { bottom: calc(var(--hero-ground-bottom) + 282px - 50vh); }
}
@media (max-width: 640px) {
  .hero::after { left: 24px; right: 24px; opacity: .8; }
  .hero::before { left: 24px; right: 24px; }
}


/* Contact request form: reuses the approved Contact layout and service-selection state. */
.request-form {
  display:grid;
  gap:14px;
  width:min(100%, 720px);
  padding:18px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(16,25,15,.72);
  box-shadow:0 18px 48px rgba(0,0,0,.16);
}
.request-form-fields { display:grid; gap:14px; }
.request-field-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.request-field, .request-fieldset, .request-consent { display:grid; gap:7px; min-width:0; }
.request-field label, .request-fieldset legend { color:var(--paper); font-size:.78rem; font-weight:800; }
.request-fieldset { margin:0; padding:0; border:0; }
.request-form input[type="text"],
.request-form input[type="email"],
.request-form input[type="tel"],
.request-form textarea {
  width:100%;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:9px;
  background:rgba(10,15,9,.66);
  color:var(--paper);
  font:inherit;
  padding:10px 12px;
  outline:none;
}
.request-form textarea { min-height:116px; resize:vertical; line-height:1.45; }
.request-form input:focus, .request-form textarea:focus { border-color:var(--line-strong); box-shadow:0 0 0 2px rgba(168,216,95,.07); }
.request-form input[aria-invalid="true"], .request-form textarea[aria-invalid="true"] { border-color:rgba(211,126,105,.64); }
.request-contact-options { display:flex; flex-wrap:wrap; gap:7px; }
.request-contact-options label {
  min-height:38px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 11px;
  border:1px solid var(--line);
  border-radius:9px;
  background:rgba(11,16,10,.46);
  color:var(--sand);
  cursor:pointer;
  font-size:.75rem;
  font-weight:750;
}
.request-contact-options label:has(input:checked) { border-color:var(--line-strong); background:rgba(168,216,95,.10); color:var(--paper); }
.request-contact-options input { accent-color:var(--accent); }
.request-dynamic-contact[hidden], .request-success[hidden] { display:none; }
.request-services-block { display:grid; gap:8px; padding-top:2px; }
.request-services-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.request-services-head strong { color:var(--paper); font-size:.78rem; }
.request-services-head a { color:var(--accent); font-size:.72rem; font-weight:800; }
.request-form .request-selected-services {
  width:100%;
  border-radius:10px;
  color:var(--paper);
  background:rgba(10,15,9,.38);
}
.request-no-services { margin:0; color:var(--muted); font-size:.78rem; }
.request-form .selected-services-title { display:none; }
.request-form .selected-services-actions { margin-top:1px; }
.request-consent label { display:flex; align-items:flex-start; gap:9px; color:var(--sand); font-size:.72rem; line-height:1.45; }
.request-consent input { margin-top:3px; accent-color:var(--accent); }
.request-consent a { color:var(--accent); text-decoration:underline; text-underline-offset:2px; }
.request-error { min-height:1em; color:#d7a18f; font-size:.66rem; line-height:1.3; }
.request-submit-row { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.request-submit-status { color:var(--muted); font-size:.72rem; }
.request-success { display:grid; gap:7px; padding:14px; border:1px solid var(--line-strong); border-radius:10px; background:rgba(168,216,95,.08); }
.request-success strong { color:var(--paper); }
.request-success p { margin:0; color:var(--sand); font-size:.82rem; line-height:1.5; }
.request-honeypot { position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; }
.contact-page .contact-grid { max-height:none; }

@media (max-width:640px) {
  .request-form { padding:14px; }
  .request-field-grid { grid-template-columns:1fr; }
  .request-contact-options { display:grid; grid-template-columns:1fr 1fr; }
  .request-contact-options label { width:100%; }
  .request-submit-row .btn { width:100%; }
}


/* Shared quick-request modal: one project form used from Header, Home, Pricing and Contact. */
.request-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(6,12,6,.78);
}
.request-modal.open { display: grid; }
.request-modal-panel {
  width: min(760px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #101910;
  box-shadow: 0 26px 80px rgba(0,0,0,.46);
}
.request-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: #101910;
}
.request-modal-head .eyebrow { margin-bottom: 4px; }
.request-modal-head h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.request-modal-close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
.request-modal .request-form {
  width: 100%;
  padding: 16px 18px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.request-other-contact {
  justify-self: start;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.request-other-contact:hover { color: var(--paper); }
@media (max-width: 640px) {
  .request-modal { padding: 8px; align-items: stretch; }
  .request-modal-panel { max-height: calc(100dvh - 16px); border-radius: 13px; }
  .request-modal-head { padding: 14px 14px 10px; }
  .request-modal .request-form { padding: 12px 14px 16px; }
}
