/* ILS — Inter Logistic Services · v3 */

:root {
  --paper: #FFFFFF;
  --paper-2: #F3F4F1;
  --paper-3: #E3E5E0;
  --grid-line: #E4E7E2;
  --ink: #1B1F23;
  --ink-2: #3C434A;
  --muted: #5A6168;
  --line: #DCDFDA;
  --line-2: #C9CDC7;
  --accent: #1A9A22;
  --accent-text: #157F1C;
  --lime: #7CC42B;
  --night: #121518;
  --night-2: #1C2126;
  --night-3: #242A30;
  --night-line: #2E353B;
  --night-line-2: #3A424A;
  --on-night: #F2F3EF;
  --on-night-2: #B9C0C4;
  --on-night-3: #8A9399;
  --cta: #157F1C;
  --footer: #15191D;
  --chip-on-bg: #1C2126;
  --chip-on-fg: #FFFFFF;
  --shadow: 0 20px 60px rgba(28, 33, 38, .08);
  --pad-x: clamp(20px, 4vw, 56px);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #121518;
  --paper-2: #181C20;
  --paper-3: #1D2226;
  --grid-line: #1F2428;
  --ink: #F2F3EF;
  --ink-2: #D5DADD;
  --muted: #A9B1B6;
  --line: #2E353B;
  --line-2: #3A424A;
  --accent: #7CC42B;
  --accent-text: #8FD13F;
  --night: #0D1012;
  --night-2: #1A1F24;
  --night-3: #232A30;
  --night-line: #2E353B;
  --cta: #146E1A;
  --footer: #0B0D0F;
  --chip-on-bg: #7CC42B;
  --chip-on-fg: #121518;
  --shadow: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
input, textarea, button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

.wrap { max-width: 1400px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.wrap-n { max-width: 1280px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: #121518; padding: 10px 16px; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* Type */
.display { font-weight: 500; font-stretch: 90%; letter-spacing: -.035em; line-height: .95; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.label { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.label-dot { display: inline-flex; align-items: center; gap: 10px; }
.label-dot::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.h1 { font-size: clamp(48px, 6.4vw, 96px); }
.h2 { font-size: clamp(40px, 5vw, 80px); }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 720px; }
.hl { color: var(--accent); }
.chev { font-family: "IBM Plex Mono", monospace; font-weight: 600; letter-spacing: -3px; color: var(--accent); }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; text-decoration: none; }
.pill-lime { background: var(--lime); color: #121518; }
.pill-lime:hover { background: #F2F3EF; color: #121518; }
.pill-green { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .pill-green { color: #121518; }
.pill-green:hover { background: var(--accent-text); color: #fff; }
.pill-outline { border-color: currentColor; color: var(--ink); }
.pill-outline:hover { background: var(--ink); color: var(--paper); }
.pill-ink { background: var(--ink); color: var(--paper); }
.pill-ink:hover { background: var(--accent); color: #fff; }
.pill-white { background: #fff; color: #1B1F23; }
.pill-white:hover { background: #1C2126; color: #fff; }
.pill-sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.text-link { font-weight: 600; font-size: 16px; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 95%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.wordmark { font-weight: 600; font-size: 25px; letter-spacing: -.02em; line-height: 1; }
.brand .logo-dark { display: none; }
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark { display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.nav a { padding: 10px 14px; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.tools { display: flex; align-items: center; gap: 10px; }
.seg { display: inline-flex; font-family: "IBM Plex Mono", monospace; font-size: 12px; font-weight: 600; border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--muted); min-width: 40px; min-height: 36px; padding: 0 8px; cursor: pointer; font: inherit; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.icon-btn { width: 40px; height: 38px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 0; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-sun { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
:root[data-theme="dark"] .icon-moon { display: none; }

/* Overlay header (home hero) */
.hdr--over { position: relative; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.hdr--over .hdr-in { padding-top: 24px; padding-bottom: 24px; }
.hdr--over .brand { color: var(--on-night); }
.hdr--over .brand img { height: 32px; }
.hdr--over .brand .logo-light { display: none; }
.hdr--over .brand .logo-dark { display: block; }
.hdr--over .nav a { color: var(--on-night); }
.hdr--over .nav a:hover { color: var(--lime); }
.hdr--over .seg { border-color: var(--night-line-2); }
.hdr--over .seg button { color: var(--on-night-3); }
.hdr--over .seg button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }
.hdr--over .icon-btn { border-color: var(--night-line-2); color: var(--on-night); }

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--night); color: var(--on-night); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #1A1E22 0 14px, #1E2327 14px 28px); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,21,24,.55) 0%, rgba(18,21,24,.2) 40%, rgba(18,21,24,.92) 100%); }
.hero > * { position: relative; z-index: 1; }
.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 56px; padding-top: 64px; padding-bottom: 48px; }
.hero-kicker { font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.hero h1 { font-size: clamp(52px, 8vw, 136px); max-width: 1200px; margin-top: 28px; color: var(--on-night); }
.hero h1 .hl { color: var(--lime); }
.rail-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--night-line); padding-top: 20px; }
.rail-head .label { color: var(--on-night-2); }
.rail-btns { display: flex; gap: 8px; }
.circle-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--night-line-2); background: transparent; color: var(--on-night); font-size: 18px; cursor: pointer; }
.circle-btn:hover { border-color: var(--lime); color: var(--lime); }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 16px 0 4px; }
.rail::-webkit-scrollbar { display: none; }
.pain-card { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 22px; background: rgba(242,243,239,.06); border: 1px solid var(--night-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--on-night); transition: background-color .2s, border-color .2s; }
.pain-card:hover { background: rgba(124,196,43,.12); border-color: var(--lime); color: var(--on-night); }
.pain-card .tag { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.pain-card .t { font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
.pain-card .fix { font-size: 14px; color: var(--on-night-2); }

/* Home: sections */
.sec { padding-top: clamp(80px, 10vw, 160px); padding-bottom: clamp(80px, 10vw, 160px); }
.sec-paper { background: #F2F3EF; color: #121518; }
.sec-stone { background: var(--paper-3); color: var(--ink); }
:root[data-theme="dark"] .sec-paper { background: var(--paper-2); color: var(--ink); }
.sec-night { background: var(--night); color: var(--on-night); }

.manifesto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.manifesto .body { grid-column: span 3; min-width: min(100%, 640px); display: flex; flex-direction: column; gap: 40px; }
.manifesto .big { font-size: clamp(28px, 3.4vw, 54px); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; }
.manifesto .big .g { color: #8A9399; }
.manifesto .big .hl { color: #1A9A22; }
:root[data-theme="dark"] .manifesto .big .hl { color: var(--lime); }
.manifesto .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 32px; font-size: 17px; line-height: 1.6; color: #3C434A; }
:root[data-theme="dark"] .manifesto .cols { color: var(--ink-2); }
.manifesto .pill-outline { color: inherit; align-self: flex-start; }
.sec-paper .label { color: #5A6168; }
:root[data-theme="dark"] .sec-paper .label { color: var(--muted); }
@media (max-width: 960px) { .manifesto .body { grid-column: auto; } }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.sec-night .text-link { color: var(--lime); }

/* Accordion */
.acc { border-top: 1px solid var(--night-line); }
.acc-end { border-top: 1px solid var(--night-line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: clamp(24px, 3vw, 40px) 0; color: var(--on-night); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--lime); }
.acc .n { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--lime); align-self: start; padding-top: 12px; }
.acc .t { font-size: clamp(34px, 5vw, 80px); }
.acc .plus { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--night-line-2); display: grid; place-items: center; font-size: 24px; font-weight: 300; transition: transform .3s; }
.acc[open] .plus { transform: rotate(45deg); }
.acc-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; padding: 0 0 48px 88px; }
.acc-body .lead-t { font-size: 24px; line-height: 1.35; letter-spacing: -.01em; color: var(--on-night); }
.acc-body .who { font-size: 15px; color: var(--on-night-2); }
.acc-body .who strong { color: var(--on-night); font-weight: 600; }
.acc-left { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.acc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; align-self: start; }
.acc-list li { padding: 14px 0; border-bottom: 1px solid var(--night-line); font-size: 16px; color: #D5DADD; display: flex; gap: 12px; }
.acc-list li::before { content: "›"; color: var(--lime); }

/* Figures */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.fig { padding: 32px 32px 0 0; border-top: 1px solid currentColor; display: flex; flex-direction: column; gap: 16px; }
.fig .num { font-weight: 500; font-stretch: 85%; font-size: clamp(96px, 12vw, 200px); line-height: .85; letter-spacing: -.05em; }
.fig .num .hl { color: #1A9A22; }
:root[data-theme="dark"] .fig .num .hl { color: var(--lime); }
.fig .txt { font-size: 20px; line-height: 1.3; max-width: 280px; }

/* Steps (home) */
.steps-h { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.steps-h li { display: flex; flex-direction: column; gap: 14px; padding: 24px 24px 24px 0; border-top: 2px solid var(--ink); }
.steps-h li:first-child { border-top-color: var(--accent); }
.steps-h .k { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; color: var(--muted); }
.steps-h h3 { font-size: 28px; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.steps-h p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.split-end { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; align-items: end; }
.split-end .lead { justify-self: end; max-width: 480px; color: var(--ink-2); }

/* Home footer / contact */
.foot-home { background: var(--night); color: var(--on-night); }
.foot-home-in { padding-top: clamp(80px, 10vw, 160px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 80px; }
.contact-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; }
.contact-split h2 { font-size: clamp(64px, 9vw, 152px); line-height: .9; letter-spacing: -.045em; color: var(--on-night); }
.contact-split h2 .dot { color: var(--lime); }
.contact-split p { font-size: 20px; line-height: 1.5; color: var(--on-night-2); max-width: 440px; margin-top: 24px; }
.form-line { display: flex; flex-direction: column; gap: 8px; align-self: end; }
.form-line .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; }
.form-line input, .form-line textarea { background: transparent; border: 0; border-bottom: 1px solid var(--night-line-2); color: var(--on-night); font-size: 18px; padding: 18px 0; outline: none; width: 100%; border-radius: 0; }
.form-line textarea { resize: vertical; }
.form-line input::placeholder, .form-line textarea::placeholder { color: var(--on-night-3); }
.form-line input:focus, .form-line textarea:focus { border-bottom-color: var(--lime); }
.form-line .pill { margin-top: 24px; align-self: flex-start; border: 0; }
.form-ok { display: none; flex-direction: column; gap: 12px; border-top: 1px solid var(--lime); padding-top: 24px; align-self: end; }
.form-ok .t { font-size: 32px; font-weight: 500; letter-spacing: -.02em; }
.form-ok .d { font-size: 17px; color: var(--on-night-2); }
.is-sent .form-line, .is-sent .form-card { display: none; }
.is-sent .form-ok { display: flex; }
.form-err { display: none; color: #F0B46E; font-size: 15px; }
.has-error .form-err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; padding-top: 40px; border-top: 1px solid var(--night-line); font-size: 15px; line-height: 1.7; color: var(--on-night-2); }
.foot-cols img { height: 56px; width: auto; max-width: 100%; justify-self: start; align-self: flex-start; object-fit: contain; }
.foot-cols .col { display: flex; flex-direction: column; }
.foot-cols .col .label { font-size: 11px; color: #6E7880; margin-bottom: 8px; }
.foot-cols a { color: var(--on-night); }
.foot-cols a:hover { color: var(--lime); }
.foot-cols strong { color: var(--on-night); font-weight: 600; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #6E7880; }
.foot-base .chev { color: var(--lime); }

/* ---------- Inner pages ---------- */
.grid-bg { background-color: var(--paper-2); background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 48px 48px; border-bottom: 1px solid var(--line); }
.grid-bg-night { background-color: #1C2126; color: #fff; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; }
:root[data-theme="dark"] .grid-bg-night { background-color: var(--night-2); }
.page-head { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 24px; }
.crumb { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.crumb b { color: var(--accent-text); font-weight: 500; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.chip-link { display: flex; gap: 10px; align-items: center; background: var(--paper); border: 1px solid var(--line); padding: 10px 14px; color: var(--ink); font-weight: 600; font-size: 15px; }
.chip-link:hover { border-color: var(--accent); color: var(--ink); }
.chip-link .mono { color: var(--accent); font-size: 13px; }

.block { border-bottom: 1px solid var(--line); }
.block-in { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 48px; }
.block-side { display: flex; flex-direction: column; gap: 20px; align-self: start; position: sticky; top: 110px; }
.block-side .big-n { font-weight: 500; font-stretch: 85%; letter-spacing: -.05em; font-size: 96px; line-height: .8; color: var(--accent); }
.block-side h2 { font-size: clamp(36px, 3.8vw, 52px); }
.block-side p { font-size: 18px; line-height: 1.5; color: var(--muted); }
.block-side .pill { align-self: flex-start; }
.leader-row { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.3; }
.leader-row .ini { width: 40px; height: 40px; background: #1C2126; color: var(--lime); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; }
.leader-row .k { color: var(--muted); }
.block-main { display: flex; flex-direction: column; gap: 20px; }

.cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cells.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cell { background: var(--paper); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.cells.wide .cell { padding: 28px; gap: 12px; }
.cell .k { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--accent); }
.cell h3 { font-size: 17px; font-weight: 700; line-height: 1.25; }
.cells.wide .cell h3 { font-size: 24px; font-weight: 600; letter-spacing: -.015em; line-height: 1.15; }
.cell p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.cells.wide .cell p { font-size: 16px; }

.dark-box { background: #1C2126; color: #fff; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
:root[data-theme="dark"] .dark-box { background: var(--night-3); }
.dark-box .label { color: var(--lime); }
.sq-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 10px 24px; }
.sq-list li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.sq-list li::before { content: ""; width: 8px; height: 8px; background: var(--lime); flex: none; margin-top: 6px; }

.sec-n { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.stack { display: flex; flex-direction: column; gap: 48px; }
.stack-sm { display: flex; flex-direction: column; gap: 20px; }
.bg-2 { background: var(--paper-2); }

.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.pkg { background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.pkg .label { color: var(--accent); }
.pkg h3 { font-size: 34px; }
.pkg p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.pkg ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pkg li { display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.pkg li::before { content: "+"; font-family: "IBM Plex Mono", monospace; color: var(--accent); flex: none; }
.pkg .foot-note { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.pkg-dark { background: #1C2126; color: #fff; border-color: #343B42; }
.pkg-dark .label, .pkg-dark li::before { color: var(--lime); }
.pkg-dark p, .pkg-dark .foot-note { color: #C3CACF; }
.pkg-dark ul, .pkg-dark .foot-note { border-color: #343B42; }
:root[data-theme="dark"] .pkg-dark { background: var(--night-3); }

/* Service detail */
.tabs { border-bottom: 1px solid var(--line); background: var(--paper); }
.tabs-in { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.tabs .back { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 16px 16px 16px 0; margin-right: 8px; border-right: 1px solid var(--line); }
.tabs .tab { padding: 16px 14px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; display: flex; gap: 8px; }
.tabs .tab .mono { color: var(--accent); }
.tabs .tab[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.svc-hero { background: #1C2126; color: #fff; }
:root[data-theme="dark"] .svc-hero { background: var(--night-2); }
.svc-hero-in { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: stretch; }
.svc-hero .copy { display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.svc-hero .kicker { font-family: "IBM Plex Mono", monospace; font-size: 13px; letter-spacing: .1em; color: var(--lime); }
.svc-hero h1 { font-size: clamp(48px, 6vw, 88px); color: #fff; }
.svc-hero p { font-size: 20px; line-height: 1.5; color: #C3CACF; max-width: 540px; }
.leader-box { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid #343B42; background: #242A30; max-width: 540px; font-size: 15px; line-height: 1.4; color: #C3CACF; }
.leader-box .ini { width: 48px; height: 48px; flex: none; background: #1A9A22; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.leader-box strong { color: #fff; }
.svc-visual { min-height: 340px; background: repeating-linear-gradient(135deg, #242A30 0 10px, #2A3137 10px 20px); border: 1px solid #343B42; display: flex; align-items: flex-end; justify-content: flex-end; padding: 24px; overflow: hidden; }
.svc-visual span { font-weight: 500; font-stretch: 85%; letter-spacing: -.05em; font-size: clamp(140px, 18vw, 260px); line-height: .75; color: var(--lime); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.quotes blockquote { margin: 0; background: var(--paper); border: 1px solid var(--line); padding: 24px; font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; display: flex; gap: 12px; }
.quotes blockquote .q { color: var(--accent); }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.duo .dark-box { padding: 32px; gap: 18px; }
.duo h2 { font-size: 36px; }
.line-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.line-list li { display: flex; gap: 12px; font-size: 16px; line-height: 1.4; padding: 12px 0; border-top: 1px solid #343B42; }
.line-list li::before { content: ""; width: 8px; height: 8px; background: var(--lime); flex: none; margin-top: 7px; }
.gain-box { background: var(--paper-2); border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.gain-box .line-list li { border-top-color: var(--line); }
.gain-box .line-list li::before { content: "›››"; width: auto; height: auto; background: none; margin: 0; font-family: "IBM Plex Mono", monospace; font-weight: 600; letter-spacing: -3px; color: var(--accent); }
.next-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--ink); }
.next-row:hover { color: var(--accent-text); }
.next-row .t { font-weight: 500; font-stretch: 90%; letter-spacing: -.03em; font-size: clamp(26px, 3vw, 38px); line-height: 1; }
.next-row .arr { font-size: 32px; }

/* Method page */
.big-steps { list-style: none; margin: 0; padding: 0; }
.big-steps li { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px 48px; padding: 36px 0; border-top: 1px solid var(--line); }
.big-steps .hd { display: flex; gap: 20px; align-items: flex-start; }
.big-steps .n { font-weight: 500; font-stretch: 85%; letter-spacing: -.05em; font-size: 88px; line-height: .8; color: var(--ink); }
.big-steps li:first-child .n { color: var(--accent); }
.big-steps h2 { font-size: 40px; margin-top: 8px; }
.big-steps p { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 680px; }
.pay-band { background: #1C2126; color: #fff; }
:root[data-theme="dark"] .pay-band { background: var(--night-2); }
.pay-band-in { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: center; }
.pay-band h2 { font-size: clamp(44px, 5.4vw, 76px); color: #fff; }
.pay-band h2 .hl { color: var(--lime); }
.pay-band p { font-size: 18px; line-height: 1.6; color: #C3CACF; }

/* Team page */
.team-head h1 { color: #fff; }
.team-head h1 .hl, .team-head h1 .g { color: var(--lime); }
.team-head .lead { color: #C3CACF; }
.team-head .crumb { color: #AEB6BC; }
.team-head .crumb b { color: var(--lime); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid #343B42; margin-top: 32px; }
.stat-row > div { padding: 28px 24px 40px 0; display: flex; flex-direction: column; gap: 8px; }
.stat-row > div + div { border-left: 1px solid #343B42; padding-left: 24px; }
.stat-row .num { font-weight: 500; font-stretch: 85%; letter-spacing: -.04em; font-size: 72px; line-height: .9; color: var(--lime); }
.stat-row .txt { font-size: 15px; color: #C3CACF; }
@media (max-width: 720px) { .stat-row > div + div { border-left: 0; padding-left: 0; border-top: 1px solid #343B42; } }
.person { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 36px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.person:last-child { border-bottom: 0; }
.mono-badge { width: 96px; height: 96px; background: #1A9A22; display: flex; align-items: center; justify-content: center; }
.mono-badge span { font-weight: 600; font-stretch: 85%; letter-spacing: -.02em; font-size: 44px; line-height: 1; color: #fff; }
@media (max-width: 640px) {
  .person { grid-template-columns: 1fr; gap: 18px; padding: 36px 0; }
  .mono-badge { width: 64px; height: 64px; }
  .mono-badge span { font-size: 30px; }
}
.person-body { display: flex; flex-direction: column; gap: 18px; }
.person-body .role { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.person-body h2 { font-size: clamp(44px, 5vw, 68px); }
.leads-link { align-self: flex-start; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; }
.leads-link:hover { border-color: var(--accent); color: var(--accent-text); }
.leads-link .k { color: var(--muted); }
.leads-link .mono { font-family: "IBM Plex Mono", monospace; color: var(--accent-text); }
.person-body p { font-size: 17px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.caps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.caps li { font-size: 14px; padding: 7px 11px; background: var(--paper-2); border: 1px solid var(--line); }

/* Contact page */
.contact-page { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.contact-page h1 { font-size: clamp(56px, 7vw, 104px); }
.contact-page .left { display: flex; flex-direction: column; gap: 24px; }
.info-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); margin-top: 12px; }
.info-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.info-rows .label { letter-spacing: .08em; }
.info-rows strong { font-weight: 600; text-align: right; }
.form-card { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 20px; }
.form-card .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-card label.f { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.form-card input[type="text"], .form-card input[type="email"], .form-card input[type="tel"], .form-card textarea { padding: 14px; border: 1px solid var(--line-2); font-size: 16px; background: var(--paper); color: var(--ink); outline: none; border-radius: 0; }
.form-card textarea { resize: vertical; }
.form-card input:focus, .form-card textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,154,34,.15); }
.topic-group { border: 0; margin: 0; padding: 0; }
.topic-group legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.topics { display: flex; gap: 8px; flex-wrap: wrap; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: inline-block; cursor: pointer; font-size: 14px; font-weight: 600; padding: 10px 14px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); }
.topic input:checked + span { background: var(--chip-on-bg); color: var(--chip-on-fg); border-color: var(--chip-on-bg); }
.topic input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.submit-wide { cursor: pointer; border: 0; background: var(--accent); color: #fff; padding: 18px 24px; font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
:root[data-theme="dark"] .submit-wide { color: #121518; }
.submit-wide:hover { background: var(--accent-text); }
.submit-wide .chev { color: inherit; letter-spacing: -2px; }
.contact-page .form-ok { border: 1px solid var(--line); background: var(--paper); padding: 48px 40px; min-height: 420px; justify-content: center; gap: 16px; }
.contact-page .form-ok .check { width: 48px; height: 48px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.contact-page .form-ok .t { font-size: 44px; line-height: 1; }
.contact-page .form-ok .d { color: var(--muted); }
.contact-page .form-err { color: #B4532A; }
:root[data-theme="dark"] .contact-page .form-err { color: #F0B46E; }

/* CTA band + inner footer */
.cta-band { background: var(--cta); color: #fff; }
.cta-band-in { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(44px, 5.6vw, 80px); color: #fff; }
.cta-band p { font-size: 19px; line-height: 1.5; color: #fff; margin-top: 16px; max-width: 760px; }
.cta-band .pill-white { padding: 18px 28px; font-size: 17px; }
.cta-band .pill-white .chev { color: #1A9A22; letter-spacing: -2px; }
.foot { background: var(--footer); color: #AEB6BC; }
.foot-in { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.foot .foot-cols { border-top: 0; padding-top: 0; }
.foot .brandcol { display: flex; flex-direction: column; gap: 16px; }
.foot .tagline { font-size: 14px; line-height: 1.5; }
.foot .foot-base { padding-top: 24px; border-top: 1px solid #2A3137; font-family: "IBM Plex Mono", monospace; font-size: 12px; }

@media (max-width: 720px) {
  .acc summary { grid-template-columns: 40px 1fr auto; }
  .acc .plus { width: 44px; height: 44px; }
  .acc-body { padding-left: 0; }
  .hdr-in { gap: 10px 16px; }
  .tools .pill { display: none; }
  .nav { order: 3; width: 100%; }
  .nav a { padding: 8px 10px; }
  .block-side { position: static; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
.sec-paper h2 .g { color: #8A9399; }

/* ---------- Ajustes móviles (revisión nov 2026) ---------- */
/* El hero-body tenía margin:auto dentro de un flex en columna y tomaba el ancho del carrusel. */
.hero-body { width: 100%; min-width: 0; }
.hero-body > * { min-width: 0; }
.hero h1 { overflow-wrap: break-word; }
@media (pointer: coarse), (max-width: 720px) {
  .seg button { min-width: 44px; min-height: 44px; }
  .icon-btn { width: 44px; height: 44px; }
  .foot-cols .col a { padding: 9px 0; line-height: 1.4; }
  .text-link { padding: 10px 0; }
}
@media (max-width: 720px) {
  /* Pestañas de servicios: una sola fila deslizable en vez de 4 renglones */
  .tabs-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-right: 0; }
  .tabs-in::-webkit-scrollbar { display: none; }
  .tabs .tab, .tabs .back { flex: 0 0 auto; white-space: nowrap; }
  /* Recuadro decorativo con el número: en celular solo ocupa espacio */
  .svc-visual { display: none; }
  .svc-hero-in { gap: 0; }
}

/* Marca Schulder en el pie */
.foot-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--on-night); align-self: flex-start; justify-self: start; }
.foot-cols .foot-brand img { height: 40px; width: auto; }
.foot-brand .wordmark { font-size: 32px; }
@media (max-width: 400px) {
  .brand { gap: 8px; }
  .brand img, .hdr--over .brand img { height: 24px; }
  .brand .wordmark { font-size: 21px; }
  .tools { gap: 8px; }
  .nav { gap: 2px 0; }
  .nav a { padding: 8px 8px; font-size: 14px; }
}

/* Sección Schulder Software (inicio) */
.soft-sec .label { color: var(--lime); }
.soft-sec h2 .hl { color: var(--lime); }
.soft-sec .split-end .lead { color: var(--on-night-2); }
.soft-cells { background: var(--night-line); border-color: var(--night-line); }
.soft-cells .cell { background: var(--night-2); }
.soft-cells .cell h3 { color: var(--on-night); }
.soft-cells .cell p { color: var(--on-night-2); }
.soft-cells .cell .k { color: var(--lime); }
.nav .nav-ext { white-space: nowrap; }
@media (max-width: 720px) {
  /* 5 links en el menú: una sola fila deslizable en celular */
  .nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; white-space: nowrap; }
}
.cells.soft-cells { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cells.soft-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cells.soft-cells { grid-template-columns: 1fr; } }
