/* Teselix — Connective intelligence system
   Light, product-led SaaS UI. The connection motif joins real modules, people and work. */
:root {
  --paper: #f7f8fa;
  --paper-soft: #ffffff;
  --paper-deep: #eef1f7;
  --paper-mute: #e4e8f1;
  --ink: #171a27;
  --ink-2: #303548;
  --muted: #687084;
  --terra: #5848e8;
  --terra-deep: #4131c9;
  --ochre: #5fd19a;
  --olive: #3784e8;
  --line: rgba(23, 26, 39, 0.11);
  --line-strong: rgba(23, 26, 39, 0.22);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 28px 70px -40px rgba(29, 35, 70, 0.32);
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --container: 1240px;
  --gutter: clamp(20px, 4.2vw, 56px);
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }
body { background: #fafbfc; color: var(--ink); font-family: var(--font-body); }
body::after { display: none; }
::selection { background: #d9d5ff; color: #171a27; }
:focus-visible { outline-color: var(--terra); }
h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 680; letter-spacing: -0.055em; }
h1 { font-size: clamp(3.05rem, 4.6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(2.4rem, 4.3vw, 4rem); line-height: 1.04; }
h3 { line-height: 1.2; letter-spacing: -0.04em; }
em { color: var(--terra); font-style: normal; font-weight: inherit; }
.container { width: min(var(--container), 100% - 2 * var(--gutter)); }
.skip-link { background: var(--ink); color: white; }

.eyebrow, .section-label { color: #596176; letter-spacing: .12em; font-size: 11px; font-weight: 750; }
.eyebrow { gap: 10px; }
.eyebrow-line { width: 20px; height: 2px; border-radius: 2px; background: var(--terra); }
.section-label::after { background: var(--line); }
.section-label span { font: 700 11px/1 var(--font-body); letter-spacing: .08em; color: var(--terra); }
.section-intro { max-width: 48ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 18px); }
.section--tint .section-intro, .contact .section-intro { color: var(--muted); }

.btn { padding: 15px 23px; border-radius: 9px; font-size: 14px; font-weight: 700; letter-spacing: 0; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 12px 26px -16px rgba(88, 72, 232, .78); }
.btn-primary:hover { background: var(--terra-deep); box-shadow: 0 18px 32px -18px rgba(88, 72, 232, .8); }
.btn-sm { padding: 11px 17px; font-size: 13px; }
.link-arrow { gap: 9px; padding: 5px 0; border-bottom: 1px solid var(--line-strong); color: var(--ink); font-size: 14px; }
.link-arrow:hover { color: var(--terra); border-color: var(--terra); }

.site-header { border-bottom-color: rgba(23, 26, 39, 0.06); }
.site-header.is-scrolled, .site-header.menu-open { background: rgba(250, 251, 252, .9); border-bottom-color: var(--line); }
.brand { gap: 10px; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font: 750 21px/1 var(--font-body); letter-spacing: -.06em; }
.brand-word::after { width: 5px; height: 5px; margin-left: 4px; background: var(--terra); transform: none; border-radius: 50%; vertical-align: 3px; }
.main-nav { gap: clamp(16px, 2vw, 27px); }
.main-nav a { font-size: 13px; font-weight: 650; color: #51596d; }
.main-nav a::after { height: 2px; background: var(--terra); }
.menu-toggle { border-color: var(--line-strong); border-radius: 9px; }
.menu-toggle span { background: var(--ink); }
.mobile-menu { background: #fafbfc; }
.mobile-menu nav a { font-family: var(--font-body); font-weight: 700; border-color: var(--line); }
.mobile-menu nav a span { color: var(--terra); }

/* Hero: show the product itself, not an editorial prop. */
.hero { padding-top: calc(var(--header-h) + clamp(50px, 7vw, 88px)); overflow: hidden; background: #fafbfc; }
.hero::before { content: ""; position: absolute; right: -10%; top: 6%; width: min(67vw, 900px); height: 700px; background: radial-gradient(ellipse at 70% 42%, rgba(108, 116, 255, .11), transparent 60%), radial-gradient(ellipse at 46% 64%, rgba(80, 209, 154, .07), transparent 58%); pointer-events: none; }
.hero-pattern { display: none; }
.hero-grid { position: relative; grid-template-columns: minmax(0, .91fr) minmax(500px, 1.09fr); gap: clamp(44px, 5vw, 82px); align-items: center; padding-bottom: clamp(64px, 8vw, 104px); }
.hero-copy h1 { max-width: 12ch; margin-top: 22px; }
.hero-copy h1 em { position: relative; color: var(--terra); }
.hero-lede { margin-top: 25px; max-width: 53ch; font-size: clamp(16px, 1.35vw, 18px); color: #626b7f; line-height: 1.7; }
.hero-actions { gap: 19px; margin-top: 31px; }
.hero-facts { gap: 10px 20px; margin-top: 35px; padding-top: 18px; border-color: var(--line); font-size: 12px; color: #687084; }
.hero-facts li { gap: 8px; }
.fact-dot { width: 7px; height: 7px; background: var(--ochre); transform: none; border-radius: 50%; box-shadow: 0 0 0 3px rgba(95, 209, 154, .13); }
.hero-visual { position: relative; min-width: 0; }
.hero-visual::before { content: ""; position: absolute; inset: 12% -2% 7% 2%; border: 1px solid rgba(88, 72, 232, .12); border-radius: 50%; transform: rotate(-18deg); }
.ops-window { position: relative; z-index: 1; width: 100%; overflow: hidden; border: 1px solid rgba(30, 37, 62, .13); border-radius: 18px; background: white; box-shadow: 0 35px 90px -50px rgba(35, 39, 84, .52), 0 12px 28px -20px rgba(25, 30, 52, .2); }
.ops-topbar { min-height: 50px; display: flex; align-items: center; gap: 7px; padding: 0 18px; border-bottom: 1px solid #e9ebf1; background: #fff; }
.ops-window-dots { display: flex; gap: 5px; margin-right: 10px; }
.ops-window-dots i { width: 7px; height: 7px; background: #d7dbe5; border-radius: 50%; }
.ops-window-dots i:first-child { background: #f47d77; }
.ops-window-dots i:nth-child(2) { background: #f1c760; }
.ops-window-dots i:nth-child(3) { background: #62c995; }
.ops-top-label { font-size: 10px; font-weight: 700; color: #5d6477; letter-spacing: .02em; }
.ops-live { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 9px; font-weight: 700; color: #28966d; }
.ops-live i { width: 6px; height: 6px; border-radius: 50%; background: #48c993; box-shadow: 0 0 0 3px rgba(72, 201, 147, .14); }
.ops-body { display: grid; grid-template-columns: 128px minmax(0, 1fr); min-height: 355px; }
.ops-sidebar { padding: 18px 10px; border-right: 1px solid #eceef3; background: #fcfcfe; }
.ops-brand { display: flex; align-items: center; gap: 7px; padding: 0 6px 19px; font-size: 10px; font-weight: 800; color: #252a3a; letter-spacing: -.02em; }
.ops-brand-mark { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: white; background: linear-gradient(135deg, #6b5df2, #8b79ff); }
.ops-brand-mark svg { width: 13px; height: 13px; }
.ops-nav { display: grid; gap: 4px; }
.ops-nav span { display: flex; align-items: center; gap: 8px; padding: 8px 7px; border-radius: 6px; color: #777e90; font-size: 9px; font-weight: 600; }
.ops-nav span.active { color: #5144d9; background: #f0efff; }
.ops-nav i { width: 11px; height: 11px; border: 1.4px solid currentColor; border-radius: 3px; opacity: .72; }
.ops-content { padding: 19px clamp(13px, 2vw, 23px) 18px; min-width: 0; background: #fff; }
.ops-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ops-heading h3 { font-size: 16px; font-weight: 750; letter-spacing: -.045em; }
.ops-heading p { margin-top: 4px; color: #858b9a; font-size: 9px; }
.ops-period { padding: 5px 8px; border: 1px solid #e9eaf0; border-radius: 5px; font-size: 8px; font-weight: 650; color: #656c7d; white-space: nowrap; }
.ops-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.ops-stat { padding: 10px 11px; border: 1px solid #eceef3; border-radius: 8px; }
.ops-stat span { display: block; font-size: 8px; color: #82899a; }
.ops-stat strong { display: block; margin-top: 4px; font-size: 15px; font-weight: 750; letter-spacing: -.04em; color: #22283a; }
.ops-stat small { display: block; margin-top: 2px; font-size: 7px; color: #2d9b71; }
.ops-flow { margin-top: 14px; padding: 12px 12px 10px; border: 1px solid #eaebf1; border-radius: 9px; background: linear-gradient(180deg, #fff, #fbfbff); }
.ops-flow-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.ops-flow-head strong { font-size: 9px; font-weight: 750; color: #34394b; }
.ops-flow-head span { font-size: 7px; color: #8a90a1; }
.flow-nodes { display: grid; grid-template-columns: 1fr 24px 1.1fr 24px 1fr; align-items: center; }
.flow-node { min-width: 0; padding: 8px 4px; text-align: center; border: 1px solid #e7e8f2; border-radius: 7px; background: white; }
.flow-node.is-ai { border-color: #d9d4ff; background: linear-gradient(145deg, #f7f6ff, #fff); box-shadow: 0 4px 12px -10px rgba(88, 72, 232, .65); }
.flow-node i { display: grid; place-items: center; width: 18px; height: 18px; margin: 0 auto 4px; border-radius: 5px; color: #5848e8; background: #efedff; font-style: normal; font-size: 8px; font-weight: 800; }
.flow-node strong { display: block; overflow: hidden; font-size: 7px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; color: #3a4052; }
.flow-node span { display: block; margin-top: 2px; font-size: 6px; color: #8c92a1; }
.flow-link { position: relative; height: 1px; background: #c5c9d8; }
.flow-link::after { content: ""; position: absolute; top: -2px; right: 0; border-left: 4px solid #969db1; border-top: 2px solid transparent; border-bottom: 2px solid transparent; }
.ops-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; }
.ops-event { display: flex; align-items: center; gap: 6px; min-width: 0; color: #73798a; font-size: 7px; }
.ops-event i { width: 6px; height: 6px; flex: none; border-radius: 2px; background: #6dc99d; }
.ops-event strong { overflow: hidden; font-weight: 650; color: #52596d; text-overflow: ellipsis; white-space: nowrap; }
.ops-assistant { position: absolute; right: -20px; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 11px 13px; border: 1px solid rgba(88, 72, 232, .16); border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 16px 35px -24px rgba(39, 39, 85, .6); }
.ops-assistant-icon { display: grid; place-items: center; width: 27px; height: 27px; flex: none; border-radius: 8px; color: white; background: linear-gradient(135deg,#6455ec,#a07bff); font-size: 12px; }
.ops-assistant strong { display: block; font-size: 9px; font-weight: 750; color: #303549; }
.ops-assistant span { display: block; margin-top: 2px; color: #81879a; font-size: 8px; }
.ops-count { position: absolute; left: -19px; top: 38px; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(23, 26, 39, .09); border-radius: 8px; background: white; box-shadow: 0 16px 34px -25px rgba(35, 40, 72, .48); color: #42495d; font-size: 9px; font-weight: 700; }
.ops-count i { display: flex; }
.ops-count i b { display: block; width: 7px; height: 7px; margin-left: -2px; border: 1.5px solid #fff; border-radius: 50%; background: #6958ef; }
.ops-count i b:nth-child(2) { background: #60cda2; }
.ops-count i b:nth-child(3) { background: #6fa7f2; }

.marquee { border-color: var(--line); background: rgba(255,255,255,.66); }
.marquee-group { gap: 32px; padding-block: 16px; }
.marquee-group span { color: #4e5568; font-size: 11px; letter-spacing: .11em; }
.marquee-group .sep { display: inline-block; width: 6px; height: 6px; color: transparent; border: 1.5px solid #7769ed; border-radius: 50%; }
.section { padding-block: clamp(76px, 9vw, 128px); }
.section-head { gap: 21px; margin-bottom: clamp(38px, 5vw, 62px); }
.section-head-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 76px); }

.suite { background: #f4f6fa; }
.suite .section-head h2 { max-width: 13ch; }
.suite-grid { gap: 15px; }
.product-card, .product-card:nth-child(n) { grid-column: span 4; padding: 24px; min-height: 292px; border: 1px solid #e5e8ef; border-radius: 14px; background: #fff; box-shadow: 0 4px 12px -10px rgba(25, 31, 53, .12); }
.product-card:hover { transform: translateY(-3px); border-color: rgba(88,72,232,.33); box-shadow: 0 20px 36px -28px rgba(47,44,107,.26); }
.product-card::after { top: auto; right: 19px; bottom: 20px; width: 28px; height: 28px; border-color: #e3e1ff; border-radius: 50%; transform: none; }
.product-card:hover::after { border-color: #c8c3ff; transform: none; }
.product-top { gap: 10px; margin-bottom: 24px; }
.product-index { font: 700 10px/1 var(--font-body); color: var(--terra); letter-spacing: .06em; }
.product-tag { color: #7a8193; font-size: 9px; letter-spacing: .11em; }
.product-icon { width: 37px; height: 37px; border-radius: 10px; border: 0; background: #f0efff; color: var(--terra); }
.product-icon .icon { width: 19px; height: 19px; }
.product-card:hover .product-icon { background: var(--terra); color: #fff; }
.product-card h3 { margin-bottom: 8px; font-size: 22px; }
.product-card > p { max-width: 43ch; color: #697185; font-size: 13px; line-height: 1.65; }
.product-list { gap: 7px; padding-top: 20px; }
.product-list li { gap: 8px; color: #545d72; font-size: 11.5px; }
.product-list li::before { width: 5px; height: 5px; border-radius: 50%; background: #65c89a; transform: none; }

.section--tint { background: #f0f1fb; color: var(--ink); }
.section--tint::before, .method::before, .contact::before { display: none; }
.ai-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(42px, 6vw, 86px); }
.ai-canvas { position: relative; min-height: 365px; display: grid; align-content: center; gap: 15px; padding: 25px; overflow: hidden; border: 1px solid rgba(68, 65, 127, .12); border-radius: 17px; background: linear-gradient(138deg,#181b2d,#252842 58%,#30305a); box-shadow: 0 30px 64px -42px rgba(32, 31, 67, .68); color: white; }
.ai-canvas::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),linear-gradient(90deg,rgba(255,255,255,.1) 1px, transparent 1px); background-size: 31px 31px; mask-image: linear-gradient(100deg, transparent, #000 65%); pointer-events: none; }
.ai-canvas-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ai-canvas-brand { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 750; }
.ai-canvas-brand i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(190,185,255,.34); border-radius: 8px; color: #c3bdff; background: rgba(116,100,255,.2); font-style: normal; }
.ai-canvas-status { font-size: 8px; color: #aeb3c8; }
.ai-prompt { position: relative; padding: 13px 15px; border: 1px solid rgba(206,207,246,.15); border-radius: 10px; background: rgba(255,255,255,.06); color: #e4e6f1; font-size: 10px; line-height: 1.55; }
.ai-prompt span { display: block; margin-bottom: 5px; color: #a9a2ff; font-size: 8px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ai-pipeline { position: relative; display: grid; grid-template-columns: 1fr 22px 1fr 22px 1fr; align-items: center; }
.ai-node { min-width: 0; padding: 11px 7px; border: 1px solid rgba(204,205,240,.16); border-radius: 9px; background: rgba(255,255,255,.06); text-align: center; }
.ai-node:nth-of-type(2) { border-color: rgba(154,143,255,.5); background: rgba(110,95,242,.17); }
.ai-node strong { display: block; font-size: 8px; font-weight: 700; }
.ai-node span { display: block; margin-top: 4px; color: #adb2c8; font-size: 7px; }
.ai-pipeline .flow-link { background: rgba(202,205,232,.52); }
.ai-result { position: relative; display: flex; align-items: flex-start; gap: 9px; padding: 11px 12px; border: 1px solid rgba(119,207,167,.2); border-radius: 9px; background: rgba(88,185,137,.08); }
.ai-result i { display: grid; place-items: center; width: 17px; height: 17px; flex: none; border-radius: 50%; color: #a4e5c5; background: rgba(72,190,132,.17); font-style: normal; font-size: 9px; }
.ai-result p { color: #c9d7d4; font-size: 8px; line-height: 1.45; }
.ai-result strong { color: #fff; }
.ai-figure figcaption { position: relative; z-index: 1; margin: 13px 0 0; gap: 0; color: #646a81; font-size: 11px; }
.ai-figure figcaption::before { display: none; }
.ai-list { position: relative; }
.ai-item { grid-template-columns: 36px minmax(0,1fr); gap: 12px; padding: 18px 0; border-color: rgba(31,34,61,.12); }
.ai-item:last-child { border-bottom: 1px solid rgba(31,34,61,.12); }
.ai-num { padding-top: 2px; font: 700 10px/1.4 var(--font-body); color: var(--terra); }
.ai-item h3 { margin-bottom: 5px; font-size: 17px; }
.ai-item p { color: #687084; font-size: 12.5px; line-height: 1.6; }
.ai-process { gap: 16px; margin-top: 44px; padding: 17px 0; border-color: rgba(31,34,61,.14); }
.process-label { color: #696e81; font-size: 9px; letter-spacing: .13em; }
.process-steps { gap: 8px 19px; }
.process-steps li { gap: 8px; color: #363b50; font: 650 12px/1.4 var(--font-body); }
.process-steps li::before { color: #8c91a2; font-size: 8px; }
.process-steps li:not(:last-child)::after { margin-left: 9px; color: #7162ec; font-size: 12px; }

.commercial-grid { gap: clamp(48px, 7vw, 96px); }
.commercial-copy h2, .international-copy h2, .method .section-head h2 { margin-top: 22px; }
.commercial-copy .section-intro, .international-copy .section-intro { margin-top: 17px; }
.feature-list { margin-top: 27px; }
.feature-list li { grid-template-columns: 14px minmax(0,1fr); gap: 12px; padding: 14px 0; border-color: var(--line); }
.tile-dot { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #5bd09b; transform: none; }
.feature-list strong { font-size: 13px; }
.feature-list p { color: #697185; font-size: 12px; }
.crm-mock { padding: 22px; border-color: #e4e7ef; border-radius: 15px; background: #fff; box-shadow: 0 24px 60px -42px rgba(36,41,74,.42); }
.crm-mock::before { inset: 10px -10px -10px 10px; border-color: rgba(88,72,232,.16); border-radius: 15px; }
.crm-top { padding-bottom: 13px; border-color: var(--line); font: 750 14px/1.3 var(--font-body); }
.crm-chip { border-color: #e7e8f0; border-radius: 5px; color: #6a7184; font-size: 8px; }
.crm-board { gap: 9px; margin-top: 14px; }
.crm-col-title { color: #737b8c; font-size: 8px; letter-spacing: .08em; }
.crm-col-title span { border-radius: 5px; background: #f0f1f6; color: #686f81; }
.crm-card { padding: 10px; border-color: #eaecf2; border-radius: 8px; background: #fcfcfe; }
.crm-card:hover { background: #f7f7ff; }
.crm-card strong { color: #303649; font-size: 10px; }
.crm-card span { color: #868d9d; font-size: 8px; }
.crm-bar { background: #eceef5; }
.crm-bar i { background: #6759ed; }
.crm-card:nth-child(2n) .crm-bar i { background: #57bd8c; }
.crm-foot { border-color: var(--line); color: #767d90; font-size: 9px; }
.crm-avatar { width: 21px; height: 21px; border-color: white; background: #7d70ed; }
.crm-avatar:nth-child(2) { background: #56c694; }
.crm-avatar:nth-child(3) { background: #82a8ed; }

.international-grid { gap: clamp(48px, 7vw, 100px); }
.international-figure { align-self: center; }
.expansion-visual { position: relative; min-height: 350px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e5e8f1; border-radius: 17px; background: radial-gradient(circle at 51% 48%, rgba(106,93,242,.1), transparent 44%), linear-gradient(145deg,#fff,#f3f5fa); }
.expansion-visual::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(81,91,130,.09); border-radius: 50%; }
.expansion-visual::after { content: ""; position: absolute; width: 74%; height: 1px; background: linear-gradient(90deg,transparent,#9087f2,transparent); transform: rotate(-21deg); }
.expansion-orbit { position: absolute; width: 66%; aspect-ratio: 1; border: 1px dashed rgba(95,96,150,.2); border-radius: 50%; transform: rotate(-20deg) scaleY(.6); }
.expansion-card { position: absolute; z-index: 2; display: grid; gap: 3px; min-width: 132px; padding: 14px 15px; border: 1px solid #e5e7ef; border-radius: 11px; background: rgba(255,255,255,.96); box-shadow: 0 16px 36px -27px rgba(33,39,71,.42); }
.expansion-card strong { color: #30364b; font-size: 11px; }
.expansion-card span { color: #7e8697; font-size: 8px; }
.expansion-card i { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 5px; border-radius: 7px; color: #5447df; background: #f0efff; font-size: 9px; font-style: normal; font-weight: 800; }
.expansion-card--china { left: 7%; top: 17%; }
.expansion-card--core { left: 50%; top: 50%; transform: translate(-50%,-50%); border-color: #d6d2ff; box-shadow: 0 18px 38px -23px rgba(88,72,232,.36); }
.expansion-card--eu { right: 7%; bottom: 15%; }
.expansion-path { position: absolute; z-index: 1; left: 27%; top: 43%; width: 45%; height: 16%; border-top: 1.5px dashed #8479ef; border-radius: 50%; transform: rotate(-14deg); }
.expansion-path::after { content: ""; position: absolute; right: -1px; top: -5px; border-left: 6px solid #8479ef; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.international-figure figcaption { display: none; }
.steps { margin-top: 26px; border-color: var(--line); }
.steps li { grid-template-columns: 36px minmax(0,1fr); gap: 11px; padding: 14px 0; border-color: var(--line); }
.step-num { padding-top: 3px; font: 700 10px/1.4 var(--font-body); color: var(--terra); }
.steps h3 { margin-bottom: 4px; font-size: 14px; }
.steps p { color: #6c7487; font-size: 12px; }
.language-note { margin-top: 19px; padding: 8px 12px; border-color: var(--line); border-radius: 7px; background: #fff; color: #5b6478; font-size: 11px; }
.language-note .icon { color: var(--terra); }

.method { background: #f2f4f8; }
.method-grid { gap: 20px; }
.method-grid li { padding-top: 18px; border-color: rgba(35,42,65,.2); }
.method-num { font: 700 10px/1.4 var(--font-body); color: var(--terra); }
.method-grid h3 { margin: 12px 0 6px; font-size: 18px; }
.method-grid p { max-width: 31ch; color: #697185; font-size: 12px; }
.values { gap: 8px; margin-top: 36px; }
.values li { padding: 8px 13px; border-color: rgba(35,42,65,.16); border-radius: 7px; background: rgba(255,255,255,.55); color: #565e72; font-size: 9px; letter-spacing: .09em; }

.contact { background: #fafbfc; }
.contact-grid { align-items: center; gap: clamp(48px, 7vw, 96px); }
.contact-copy h2 { margin-top: 22px; max-width: 12ch; }
.contact-copy > p { margin-top: 18px; color: #697185; font-size: 15px; }
.contact-direct { gap: 7px; margin-top: 32px; padding-top: 20px; border-color: var(--line); }
.contact-direct span { color: #7b8293; font-size: 9px; letter-spacing: .12em; }
.contact-direct a { font: 700 clamp(23px, 2.5vw, 30px)/1.25 var(--font-body); letter-spacing: -.04em; }
.contact-direct a:hover { color: var(--terra); }
.contact-langs { color: #7d8495; font-size: 11px; }
.contact-card { padding: clamp(24px, 3.5vw, 40px); border-color: #e6e8ef; border-radius: 15px; background: white; box-shadow: 0 24px 60px -44px rgba(29,35,68,.35); }
.form-title { font: 750 clamp(20px,2.2vw,25px)/1.25 var(--font-body); letter-spacing: -.045em; }
.field label { color: #687084; font-size: 9px; letter-spacing: .1em; }
.field label .req { color: var(--terra); }
.field input, .field select, .field textarea { border-color: #dfe2ea; border-radius: 7px; background: #fcfcfe; color: #2d3346; font-size: 14px; }
.field input, .field select { padding: 11px 12px; }
.field input::placeholder, .field textarea::placeholder { color: #a0a5b2; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #8c80f4; box-shadow: 0 0 0 3px rgba(108,95,239,.1); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #c53f59; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235848e8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.field textarea { border: 1px solid #dfe2ea; padding: 12px; min-height: 112px; }
.field--check input { accent-color: var(--terra); }
.field--check label { color: #70778a; font-size: 11px; }
.field--check label a, .form-success p a { color: var(--terra); }
.form-note { color: #81889a; font-size: 11px; }
.form-status { color: #9e2740; font-size: 12px; }
.success-mark { background: #5bbd8d; color: white; }
.form-success p { color: #697185; }

.site-footer { background: #f0f2f6; color: #41485d; }
.footer-band { display: none; }
.footer-grid { padding-block: clamp(45px, 6vw, 70px); }
.brand--footer .brand-word { font-size: 23px; }
.footer-brand p { color: #70778a; font-size: 12px; }
.footer-brand > a { border-color: var(--line-strong); color: var(--ink); }
.footer-col h4 { color: #777f91; font-size: 9px; letter-spacing: .13em; }
.footer-col ul { gap: 9px; }
.footer-col a { color: #586075; font-size: 12px; }
.footer-col a:hover { color: var(--terra); }
.footer-bottom { border-color: var(--line); color: #7a8293; font-size: 10px; }
.footer-domain { color: #4c5368; font: 700 12px/1 var(--font-body); }

/* Shared brand palette for legal and utility pages. */
.legal-page, .error-page { background: #fafbfc; }
.legal-header, .legal-meta, .legal-footer { border-color: var(--line); }
.back-link { color: #697185; }
.back-link:hover, .legal-shell a { color: var(--terra); }
.legal-shell ul li::before { background: var(--terra); transform: none; border-radius: 50%; }
.legal-note { border-color: var(--line); border-radius: 9px; background: #f3f5f9; }
.error-code { color: var(--terra); font: 700 10px/1.4 var(--font-body); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0,.88fr) minmax(430px,1.12fr); gap: 38px; }
  .ops-count { left: -12px; }
  .ops-assistant { right: -12px; }
  .product-card, .product-card:nth-child(n) { padding: 21px; }
}
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .main-nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn { display: none; }
  .hero-grid, .ai-grid, .commercial-grid, .international-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-visual { width: min(100%, 640px); margin-inline: auto; }
  .ops-body { min-height: 340px; }
  .section-head-row { grid-template-columns: 1fr; gap: 17px; }
  .product-card, .product-card:nth-child(n) { grid-column: span 6; }
  .ai-grid { gap: 34px; }
  .ai-canvas { min-height: 330px; }
  .crm-mock { max-width: 650px; }
  .international-grid { gap: 40px; }
  .international-figure { max-width: 640px; }
  .contact-grid { gap: 35px; }
  .contact-copy h2 { max-width: 15ch; }
}
@media (max-width: 720px) {
  .hero { padding-top: calc(var(--header-h) + 38px); }
  .hero-grid { gap: 36px; padding-bottom: 46px; }
  .hero-copy h1 { font-size: clamp(2.9rem, 10vw, 4.2rem); }
  .hero-copy h1 em { white-space: normal; }
  .hero-facts { display: grid; gap: 11px; margin-top: 26px; }
  .ops-body { grid-template-columns: 92px minmax(0,1fr); min-height: 302px; }
  .ops-sidebar { padding: 13px 7px; }
  .ops-brand { gap: 5px; padding: 0 3px 14px; font-size: 8px; }
  .ops-brand-mark { width: 17px; height: 17px; }
  .ops-nav span { gap: 5px; padding: 7px 4px; font-size: 7px; }
  .ops-nav i { width: 9px; height: 9px; }
  .ops-content { padding: 15px 10px 13px; }
  .ops-stats { gap: 5px; }
  .ops-stat { padding: 8px 6px; }
  .ops-stat span { font-size: 6px; }
  .ops-stat strong { font-size: 11px; }
  .ops-stat small { font-size: 6px; }
  .ops-flow { padding: 9px 7px 8px; }
  .ops-flow-head strong { font-size: 8px; }
  .flow-nodes { grid-template-columns: 1fr 12px 1.1fr 12px 1fr; }
  .flow-node { padding: 6px 2px; }
  .flow-node strong { font-size: 6px; }
  .flow-node span { font-size: 5px; }
  .ops-feed { gap: 5px; grid-template-columns: 1fr; }
  .ops-event { font-size: 6px; }
  .ops-assistant { right: -5px; bottom: 13px; padding: 8px 9px; }
  .ops-assistant-icon { width: 23px; height: 23px; }
  .ops-assistant strong { font-size: 8px; }
  .ops-assistant span { font-size: 7px; }
  .ops-count { left: -5px; top: 24px; padding: 7px 9px; font-size: 8px; }
  .marquee-group { gap: 24px; }
  .product-card, .product-card:nth-child(n) { grid-column: span 12; min-height: 0; padding: 22px; }
  .product-top { margin-bottom: 20px; }
  .ai-canvas { min-height: 320px; padding: 18px 14px; }
  .ai-pipeline { grid-template-columns: 1fr 14px 1fr 14px 1fr; }
  .ai-node { padding: 9px 4px; }
  .ai-node strong { font-size: 7px; }
  .ai-node span { font-size: 6px; }
  .ai-process { align-items: flex-start; flex-direction: column; }
  .process-steps { gap: 8px 12px; }
  .process-steps li { font-size: 10px; }
  .crm-board { grid-template-columns: 1fr 1fr; }
  .crm-col:last-child { display: none; }
  .crm-mock { padding: 17px 13px; }
  .expansion-visual { min-height: 310px; }
  .expansion-card { min-width: 110px; padding: 11px; }
  .expansion-card--china { left: 4%; top: 14%; }
  .expansion-card--eu { right: 4%; bottom: 12%; }
  .method-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1/-1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-card { padding: 24px 19px; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .ops-period { display: none; }
  .crm-board { grid-template-columns: 1fr; }
  .crm-col:nth-child(2) { display: none; }
  .method-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .expansion-visual { min-height: 280px; }
  .expansion-card { min-width: 100px; }
}

/* Multilingual navigation */
.language-switcher { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid rgba(23,26,39,.08); border-radius: 8px; background: rgba(239,241,247,.8); white-space: nowrap; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; min-width: 31px; padding: 6px 7px; border-radius: 5px; color: #697185; font: 750 9px/1 var(--font-body); letter-spacing: .04em; transition: color .2s ease, background .2s ease; }
.language-switcher a:hover { color: var(--terra); }
.language-switcher a[aria-current="page"] { color: #4e42d5; background: #fff; box-shadow: 0 1px 4px rgba(22,26,48,.1); }
.language-switcher--mobile { display: none; align-self: flex-start; }
.language-switcher--legal { margin-left: auto; margin-right: auto; }

.trust-strip { position: relative; padding-block: 34px; border-block: 1px solid rgba(23,26,39,.08); background: #fff; }
.trust-inner { display: flex; align-items: center; gap: clamp(30px,5vw,70px); }
.trust-copy { flex: 0 0 255px; }
.trust-copy > span { color: #827aab; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.trust-copy h2 { margin-top: 6px; font-size: 17px; line-height: 1.25; letter-spacing: -.04em; }
.trust-copy p { margin-top: 5px; color: #898fa0; font-size: 9px; line-height: 1.45; }
.trust-logos { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: clamp(12px,2vw,28px); }
.trust-logo { display: flex; align-items: center; gap: 7px; color: #71798e; opacity: .76; white-space: nowrap; }
.trust-logo svg { width: 25px; height: 25px; flex: none; }
.trust-logo span { font-size: 9px; font-weight: 800; letter-spacing: .07em; }
@media (max-width: 980px) {
  .language-switcher--header { display: none; }
  .language-switcher--mobile { display: flex; }
  .language-switcher--mobile a { min-width: 39px; padding: 10px 12px; font-size: 11px; }
  .language-switcher--legal { margin: 0; }
  .trust-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .trust-copy { flex-basis: auto; }
  .trust-logos { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 18px 28px; }
}
@media (max-width: 720px) {
  .trust-logos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px 12px; }
  .trust-logo { gap: 6px; }
  .trust-logo svg { width: 21px; height: 21px; }
  .trust-logo span { font-size: 8px; }
}

/* Logos reales de clientes: monocromo, color al pasar */
.trust-logos { justify-content: flex-start; gap: clamp(22px,3.4vw,48px); }
.trust-logo--img { text-decoration: none; opacity: .62; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.trust-logo--img:hover { opacity: 1; filter: none; }
.trust-logo--img img { height: 26px; width: auto; display: block; }
@media (max-width: 560px) { .trust-logo--img img { height: 21px; } }
.trust-logo--img span { font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #1d1d1f; }

/* Nosotros */
.about { background: #fff; }
.about-quote { margin: 0 0 18px; padding: 22px 26px; border-left: 3px solid var(--terra, #5848e8); background: #f6f5ff; border-radius: 0 14px 14px 0; }
.about-quote p { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; letter-spacing: -.01em; color: #1f2330; font-weight: 600; }
.about-exp { max-width: 70ch; margin: 0 0 34px; color: #697185; font-size: 14px; line-height: 1.6; }
.about-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* Caso */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-card { position: relative; padding: 26px 24px 24px; border: 1px solid rgba(35,42,65,.1); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(40,44,80,.05); }
.case-card--resultado { border-color: rgba(88,72,232,.35); box-shadow: 0 14px 34px rgba(88,72,232,.12); }
.case-step { font: 700 11px/1 var(--font-body); letter-spacing: .08em; color: var(--terra, #5848e8); }
.case-card h3 { margin: 12px 0 14px; font-size: 19px; letter-spacing: -.02em; }
.case-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.case-card li { position: relative; padding-left: 18px; color: #565e72; font-size: 13px; line-height: 1.5; }
.case-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #5fd19a; }
.case-card--antes li::before { background: #c9ccd6; }
.case-note { margin: 22px 0 0; color: #8a91a3; font-size: 11.5px; }
.footer-tags { margin-top: 6px !important; font-size: 11px !important; opacity: .7; letter-spacing: .02em; }
@media (max-width: 980px) { .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .case-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .about-grid { grid-template-columns: 1fr; } }

/* FAQ (SEO) */
.faq-list{max-width:880px;border-top:1px solid var(--line)}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 0}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary h3{margin:0;font-size:clamp(1.02rem,1.6vw,1.18rem);font-weight:600;color:var(--ink);line-height:1.35}
.faq-item summary::after{content:"+";flex:none;font-size:1.5rem;line-height:1;color:var(--terra);transition:transform .25s var(--ease-out,ease)}
.faq-item[open] summary::after{transform:rotate(45deg)}
.faq-item p{margin:0 0 22px;max-width:760px;color:var(--muted);line-height:1.65}

/* 7 módulos: LinkHub (el que une todo) a todo el ancho */
.product-card.product-card--hub, .product-card.product-card--hub:nth-child(n) { grid-column: span 12; min-height: 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
.product-card--hub .product-top { grid-column: 1 / -1; }
.product-card--hub h3, .product-card--hub p, .product-card--hub .product-list { margin-top: 0; }
@media (max-width: 980px) { .product-card.product-card--hub, .product-card.product-card--hub:nth-child(n) { display: block; } }

/* ServiceLoop: función estrella (libro de mantenimiento electrónico) */
.product-card--star { border-color: rgba(88,72,232,.38); box-shadow: 0 18px 34px -26px rgba(47,44,107,.32); }
.product-star { display: inline-block; width: fit-content; justify-self: start; align-self: start; margin: -6px 0 10px; padding: 4px 10px; border-radius: 999px; background: #efeeff; color: #4b3fd6; font: 700 11px/1.2 var(--font-body); letter-spacing: .02em; }
.product-card--star .product-list li strong { color: var(--ink); }

/* Páginas interiores (landing dividida en páginas) */
.page-hero { padding: calc(var(--header-h, 72px) + 56px) 0 40px; background: linear-gradient(180deg, #f4f3ff 0%, rgba(250,251,252,0) 100%); }
.page-hero h1 { max-width: 22ch; margin: 18px 0 0; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); }
.page-lede { margin-top: 20px; max-width: 62ch; font-size: clamp(16px, 1.35vw, 18px); color: #626b7f; line-height: 1.7; }
.page-hero-actions { margin-top: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13px; color: #8a91a3; }
.breadcrumb a { color: #596176; text-decoration: none; }
.breadcrumb a:hover { color: var(--terra); }
.product-more { display: inline-block; margin-top: 14px; font-weight: 650; font-size: 14px; color: var(--terra); text-decoration: none; }
.product-more:hover { text-decoration: underline; }
.about-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cta-band { padding: 24px 0 96px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; border-radius: 18px; background: #191f35; color: #fff; }
.cta-band-inner h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); color: #fff; }
.cta-band-inner p { margin: 8px 0 0; color: #c9cde0; max-width: 56ch; }
.cta-band-inner .btn { flex: none; }
.main-nav a[aria-current="page"] { color: var(--terra); }
@media (max-width: 980px) { .about-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cta-band-inner { flex-direction: column; align-items: flex-start; padding: 28px 24px; } .page-hero { padding-top: calc(var(--header-h, 64px) + 32px); } }
@media (max-width: 560px) { .about-grid--3 { grid-template-columns: 1fr; } }

.trust-strip[hidden] { display: none !important; }

/* Chino: los ideogramas ocupan más que el latín → titulares ~30 % más pequeños y sin tracking negativo */
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4, :lang(zh) .display { letter-spacing: 0; font-weight: 700; }
:lang(zh) h1 { font-size: clamp(2.1rem, 3.3vw, 3.2rem); line-height: 1.2; }
:lang(zh) h2 { font-size: clamp(1.7rem, 2.9vw, 2.7rem); line-height: 1.22; }
:lang(zh) .page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; }
:lang(zh) .cta-band-inner h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
:lang(zh) .about-quote p { font-size: clamp(16px, 1.4vw, 19px); letter-spacing: 0; }
@media (max-width: 760px) {
  :lang(zh) .hero-copy h1 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
  :lang(zh) h2 { font-size: clamp(1.5rem, 6.5vw, 2.1rem); }
}
/* 12ch en chino deja un solo carácter colgando («接。»): ancho libre, cada frase en su línea */
:lang(zh) .hero-copy h1, :lang(zh) .page-hero h1 { max-width: none; }
:lang(zh) h1, :lang(zh) h2 { text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
