/* Allied Technical Solutions - alliedsolutions.tech (2026-10-26). Theme: orange F58220 + charcoal 29313A. */
:root {
  --orange: #F58220;
  --orange-600: #DC6C12;
  --orange-50: #FFF6EE;
  --orange-100: #FFE7D3;
  --ink: #29313A;
  --ink-900: #1D232A;
  --ink-700: #3A434D;
  --muted: #5F6A75;
  --grey: #8B8F94;
  --line: #E1E5E9;
  --soft: #F6F7F9;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(29, 35, 42, .06), 0 2px 8px rgba(29, 35, 42, .05);
  --shadow: 0 10px 30px rgba(29, 35, 42, .10);
  --shadow-lg: 0 24px 60px rgba(29, 35, 42, .18);
  --container: 1200px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink-900); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid rgba(245, 130, 32, .55); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(245, 130, 32, .28); }
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { background: var(--orange-50); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { display: block; height: 52px; width: auto; }
.brand-name { font-size: 16px; font-weight: 700; color: #F07820; letter-spacing: -0.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-700); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-600); background: var(--orange-50); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 8px; }
.nav-toggle .icon { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 0; background:
  radial-gradient(900px 500px at 85% -10%, var(--orange-100), transparent 60%),
  radial-gradient(700px 400px at -10% 110%, #F1F3F6, transparent 60%), #fff; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(41, 49, 58, .08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.6), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 800; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-700);
}
.badge .icon { width: 18px; height: 18px; color: var(--orange); }

.hero-visual { position: relative; height: 560px; }
.hv-art { position: absolute; inset: 0 0 40px 60px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.hv-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hv-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(245,130,32,0) 40%, rgba(220,108,18,.35)); }
.hv-device {
  position: absolute; left: 0; bottom: 0; width: 240px; aspect-ratio: 5 / 8; margin: 0;
  border-radius: 22px; overflow: hidden; background: #F3F3F4; box-shadow: var(--shadow-lg); border: 6px solid #fff;
}
.hv-device img { width: 100%; height: 100%; object-fit: cover; }
.hv-chip {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow); font-size: 13px; color: var(--muted); min-width: 220px;
}
.hv-chip b { display: block; color: var(--ink-900); font-size: 14px; }
.hv-chip .chip-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); }
.hv-chip .chip-ic.ok { background: #E8F6EE; color: #1F8A4C; }
.chip-1 { right: -8px; top: 56px; }
.chip-2 { right: 40px; top: 230px; }
.chip-3 { right: 0; bottom: 70px; }

.stats { position: relative; margin-top: 56px; border-top: 1px solid var(--line); background: rgba(255,255,255,.75); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 26px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-900); line-height: 1.1; }
.stat strong span { color: var(--orange); }
.stat small { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Logo marquee */
.trusted { padding: 40px 0 44px; border-bottom: 1px solid var(--line); background: #fff; }
.trusted p { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 60s linear infinite; align-items: center; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.marquee img:hover { filter: none; opacity: 1; }
.marquee .on-dark { background: var(--ink); padding: 8px 12px; border-radius: 8px; height: 40px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 104px 0; }
.section.alt { background: var(--soft); }
.section.dark { background: var(--ink-900); color: #C9CFD6; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 16px; }
.section-head p { font-size: 18px; color: var(--muted); }
.section.dark .section-head p { color: #AEB6BF; }

.title { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 18px; }
.title-lead { color: var(--muted); font-size: 18px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); width: 100%; height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.about-card {
  position: absolute; right: -24px; bottom: 32px; background: var(--orange); color: #fff; border-radius: 18px; padding: 22px 26px; box-shadow: var(--shadow-lg);
}
.about-card strong { display: block; font-size: 40px; font-weight: 800; line-height: 1; }
.about-card span { font-size: 14px; opacity: .9; }
.about-text h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 14px 0 18px; }
.about-text p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.mv div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.mv h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 8px; }
.mv p { font-size: 15px; margin: 0; color: var(--ink-700); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 72px; }
.value { padding: 26px; border-radius: var(--radius); background: var(--soft); }
.value .icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 14px; }
.value h3 { font-size: 18px; margin-bottom: 6px; }
.value p { font-size: 15px; color: var(--muted); }

.trust { margin-top: 24px; }
.cert-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cert { padding: 28px; border-radius: var(--radius); background: var(--ink-900); color: #C9CFD6; position: relative; overflow: hidden; }
.cert::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(245,130,32,.45), transparent 70%); }
.cert small { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--orange); }
.cert h3 { color: #fff; font-size: 26px; margin: 6px 0 8px; }
.cert p { font-size: 14px; }

/* Products */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-700); padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.tab span { color: var(--grey); font-weight: 500; margin-left: 4px; }
.tab:hover { border-color: var(--ink-700); }
.tab[aria-selected="true"] { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.tab[aria-selected="true"] span { color: #AEB6BF; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.product[hidden] { display: none; }
.p-dl {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--orange); color: var(--orange-600);
  font-size: 14px; font-weight: 600; transition: background .2s, color .2s, border-color .2s;
}
.p-dl .icon { width: 16px; height: 16px; }
.p-dl:hover { background: var(--orange); color: #fff; }
.p-dl-soft { border-color: var(--line); color: var(--ink-700); }
.p-dl-soft:hover { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.swipe-hint { display: none; font-size: 13px; color: var(--grey); margin: -16px 0 12px; }
.p-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.p-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); }
.p-icon .icon { width: 26px; height: 26px; }
.p-cat { font-size: 12px; font-weight: 600; color: var(--grey); }
.product h3 { font-size: 20px; margin-bottom: 4px; }
.product .p-sub { font-size: 13px; font-weight: 600; color: var(--orange-600); margin-bottom: 10px; }
.product > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.product ul { margin-top: auto; display: grid; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--line); }
.product li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-700); }
.product li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-top: 8px; }

/* Platform diagram */
.platform { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; align-items: stretch; }
.lane { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.lane h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #8F99A3; margin-bottom: 4px; }
.node { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: #E6E9ED; font-size: 15px; font-weight: 500; position: relative; }
.node .icon { color: var(--orange); width: 22px; height: 22px; }
.lane.left .node::after, .lane.right .node::before { content: ""; position: absolute; top: 50%; width: 40px; height: 2px; background: linear-gradient(90deg, rgba(245,130,32,.0), rgba(245,130,32,.8)); }
.lane.left .node::after { right: -41px; }
.lane.right .node::before { left: -41px; transform: scaleX(-1); }
.core {
  margin: 0 40px; border-radius: 24px; padding: 28px; position: relative;
  background: linear-gradient(160deg, #F58220, #DC6C12); color: #fff; box-shadow: 0 30px 80px rgba(245,130,32,.25);
  display: flex; flex-direction: column; justify-content: center;
}
.core small { font-size: 12px; letter-spacing: .14em; font-weight: 700; opacity: .85; }
.core h3 { color: #fff; font-size: 26px; margin: 6px 0 6px; }
.core p { color: rgba(255,255,255,.9); font-size: 14px; margin-bottom: 18px; }
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.modules span { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); border-radius: 10px; padding: 10px 6px; text-align: center; font-size: 13px; font-weight: 700; }
.backoffice { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.backoffice div { padding: 16px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.18); font-size: 14px; color: #C9CFD6; }
.backoffice b { display: block; color: #fff; font-size: 15px; margin-bottom: 2px; }
.platform-facts { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-facts div { border-top: 2px solid var(--orange); padding-top: 16px; }
.platform-facts b { display: block; color: #fff; font-size: 17px; margin-bottom: 6px; }
.platform-facts span { font-size: 14px; color: #AEB6BF; }

/* Devices */
.devices { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.device-hero { position: relative; margin: 0 auto; width: 100%; max-width: 380px; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(180deg, #FAFAFA, #D2D3D5); box-shadow: var(--shadow); }
.device-hero img { width: 100%; height: auto; }
.device-hero figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; }
.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.device { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.device h3 { font-size: 18px; }
.device .d-type { font-size: 13px; color: var(--orange-600); font-weight: 600; margin: 2px 0 10px; }
.device dl { margin: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.device dt { display: none; }
.device dd { margin: 0; }
.device-points { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 18px; }
.device-points li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-700); }
.device-points .icon { width: 20px; height: 20px; color: var(--orange); }
.newland-note { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 16px 18px; border-radius: var(--radius); background: var(--soft); font-size: 14px; color: var(--muted); }
.newland-note .icon { color: var(--orange); }
.newland-note a { color: var(--orange-600); font-weight: 600; margin-left: auto; white-space: nowrap; }

/* Solutions */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution { display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.solution .p-dl { margin-top: auto; }
.solution p { margin-bottom: 20px; }
.solution .p-dl .icon { display: inline; width: 16px; height: 16px; margin: 0; color: inherit; }
.solution .icon { display: block; width: 34px; height: 34px; color: var(--orange); margin-bottom: 18px; }
.solution small { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--grey); text-transform: uppercase; }
.solution h3 { font-size: 20px; margin: 4px 0 8px; }
.solution p { font-size: 15px; color: var(--muted); }
.solution::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 120px; height: 120px; border-radius: 50%; background: var(--orange-50); z-index: 0; transition: transform .3s; }
.solution:hover::after { transform: scale(1.5); }
.solution > * { position: relative; z-index: 1; }

/* Clients */
.footprint { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; margin-bottom: 32px; }
.country {
  border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 14px 10px; text-align: center; cursor: pointer; transition: all .2s; color: var(--ink);
}
.country b { display: block; font-size: 26px; font-weight: 800; line-height: 1.1; color: var(--ink-900); }
.country span { font-size: 13px; color: var(--muted); }
.country:hover { border-color: var(--orange); }
.country[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); }
.country[aria-pressed="true"] b, .country[aria-pressed="true"] span { color: #fff; }
.client-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.client-toolbar h3 { font-size: 20px; }
.client-toolbar button { background: none; border: 0; color: var(--orange-600); font-weight: 600; cursor: pointer; padding: 6px 0; }
.client-group + .client-group { margin-top: 40px; }
.client-group h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); margin-bottom: 14px; }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.client { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.client:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.client[hidden] { display: none; }
.client-logo { height: 96px; display: grid; place-items: center; padding: 14px 18px; }
.client-logo img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
.client-logo.dark { background: var(--ink); }
.client-logo.mono b { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--orange-50); color: var(--orange-600); font-size: 18px; font-weight: 800; letter-spacing: .02em; }
.client-info { padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.client-name { display: block; font-size: 14px; font-weight: 600; color: var(--ink-900); line-height: 1.3; }
.client-meta { display: block; font-size: 12px; color: var(--grey); margin-top: 2px; }
.empty-note { display: none; color: var(--muted); font-size: 14px; }

/* Partners */
.partner-feature { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.partner-feature .pf-media { background: #fff; display: grid; place-items: center; padding: 24px; border-right: 1px solid var(--line); }
.partner-feature .pf-body { padding: 40px; }
.pf-body small { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--orange-600); text-transform: uppercase; }
.pf-body h3 { font-size: 28px; margin: 6px 0 12px; }
.pf-body p { color: var(--muted); }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.pf-stats b { display: block; font-size: 22px; font-weight: 800; color: var(--ink-900); }
.pf-stats span { font-size: 12px; color: var(--muted); }
.partner-mini { display: flex; align-items: center; gap: 28px; margin-top: 20px; padding: 24px 32px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.pm-logo { flex-shrink: 0; width: 200px; display: grid; place-items: center; padding-right: 28px; border-right: 1px solid var(--line); }
.pm-logo img { max-height: 64px; width: auto; }
.partner-mini small { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--orange-600); text-transform: uppercase; }
.partner-mini h3 { font-size: 22px; margin: 4px 0 6px; }
.partner-mini p { color: var(--muted); font-size: 15px; }
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pm-chips span { padding: 5px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-700); }
.integrations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.integration { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.integration .icon { color: var(--orange); width: 26px; height: 26px; margin-bottom: 12px; }
.integration b { display: block; font-size: 16px; margin-bottom: 4px; }
.integration span { font-size: 14px; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.services-media img { border-radius: var(--radius-lg); width: 100%; height: 460px; object-fit: cover; box-shadow: var(--shadow); }
.service { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.service:first-of-type { padding-top: 0; }
.service .s-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--ink-900); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.service h3 { font-size: 19px; margin-bottom: 6px; }
.service p { font-size: 15px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 64px; counter-reset: step; }
.step { position: relative; padding: 0 16px 0 0; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--orange); color: var(--orange-600); font-weight: 800; font-size: 14px; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--orange-100) 0 8px, transparent 8px 14px); }
.step:last-child::after { display: none; }
.step b { display: block; margin: 14px 0 4px; font-size: 16px; }
.step span { font-size: 14px; color: var(--muted); }

/* CTA band */
.section.cta-section { padding-top: 0; }
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 56px; background: linear-gradient(120deg, var(--ink-900), #333D48); color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: url("../img/partners-band.jpg") center/cover; opacity: .12; mix-blend-mode: luminosity; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { color: #C9CFD6; margin-top: 10px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-list { display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.contact-item .icon { color: var(--orange); margin-top: 2px; }
.contact-item b { display: block; font-size: 14px; color: var(--grey); font-weight: 600; }
.contact-item span, .contact-item a { font-size: 16px; color: var(--ink-900); font-weight: 500; }
.contact-item a:hover { color: var(--orange-600); }
.hubs { display: flex; gap: 10px; margin-top: 18px; }
.hubs span { padding: 8px 14px; border-radius: 999px; background: var(--ink-900); color: #fff; font-size: 13px; font-weight: 600; }
.form { padding: 36px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form h3 { font-size: 22px; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-700); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { margin-top: 18px; }
.form small { display: block; margin-top: 10px; color: var(--grey); font-size: 12px; }

/* Footer */
.site-footer { background: var(--ink-900); color: #AEB6BF; padding: 72px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .f-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.site-footer .f-logo img { display: block; width: 150px; height: auto; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--orange); }
.f-badges { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.f-badges span { border: 1px solid rgba(255,255,255,.18); padding: 6px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: 13px; color: #8F99A3; }

/* Responsive */
/* Responsive rules are screen-only: Chrome checks print media queries against the default paper width, so print keeps the desktop layout */
/* Small desktops: the logo name and the full menu share the header row */
@media screen and (max-width: 1280px) {
  .nav-links a { padding: 8px 9px; }
  .brand-name { font-size: 15px; }
}
@media screen and (max-width: 1100px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px; font-size: 16px; }
  .product-grid, .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid { grid-template-columns: repeat(4, 1fr); }
  .footprint { grid-template-columns: repeat(5, 1fr); }
  .integrations { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 960px) {
  .section { padding: 80px 0; }
  .hero-grid, .about-grid, .services, .contact, .devices, .partner-feature, .cta-band, .trust { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; max-width: 560px; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+3) { border-top: 0; }
  .about-card { right: 16px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .platform { grid-template-columns: 1fr; gap: 24px; }
  .core { margin: 0; }
  .lane.left .node::after, .lane.right .node::before { display: none; }
  .backoffice, .platform-facts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0; }
  .step::before { grid-row: span 2; }
  .step b { margin: 0; align-self: end; }
  .step::after { top: 44px; left: 21px; right: auto; width: 2px; height: calc(100% - 24px); background: repeating-linear-gradient(180deg, var(--orange-100) 0 8px, transparent 8px 14px); }
  .partner-feature .pf-media { border-right: 0; border-bottom: 1px solid var(--line); }
  .cta-band .actions { justify-content: flex-start; }
}
@media screen and (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 64px 0; }
  .brand img { height: 44px; }  .brand-name { font-size: 14px; }
  .hero { padding-top: 36px; }
  .hero .lead { font-size: 17px; }
  .hero-visual { height: 420px; }
  .hv-art { inset: 0 0 30px 40px; }
  .hv-device { width: 170px; }
  .hv-chip { min-width: 0; padding: 10px 12px 10px 10px; }
  .hv-chip .chip-ic { width: 34px; height: 34px; }
  .chip-1 { right: 8px; top: 20px; }
  .chip-2 { display: none; }
  .chip-3 { right: 8px; bottom: 50px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat, .stat:first-child { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(4) { padding-left: 16px; }
  .stat:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .stat strong { font-size: 28px; }
  .about-media img, .services-media img { height: 300px; }
  .about-card { right: 12px; bottom: 12px; padding: 14px 18px; }
  .about-card strong { font-size: 30px; }
  .mv, .values, .cert-row { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .product, .solution { padding: 22px; }
  /* Products become a swipeable row on phones */
  .product-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding: 0 var(--gutter);
  }
  .product-grid::-webkit-scrollbar { display: none; }
  .product { scroll-snap-align: start; }
  .product:hover { transform: none; }
  .swipe-hint { display: block; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .tab { flex-shrink: 0; }
  .modules { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .modules span { font-size: 12px; padding: 9px 2px; }
  .backoffice, .platform-facts { grid-template-columns: 1fr; }
  .device-grid { grid-template-columns: repeat(2, 1fr); }
  .device-points { grid-template-columns: 1fr; }
  .footprint { grid-template-columns: repeat(3, 1fr); }
  .client-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo { height: 84px; padding: 12px; }
  .client-logo img { max-height: 48px; }
  .partner-feature .pf-body { padding: 24px; }
  .pf-stats { grid-template-columns: repeat(2, 1fr); }
  .partner-mini { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; }
  .pm-logo { width: auto; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .integrations { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; border-radius: 20px; }
  .form { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
/* Print and PDF export: desktop layout on A4-proportioned pages, colours kept, cards not split */
@media print {
  @page { size: 1440px 2036px; margin: 0; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header { position: static; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
  .nav-toggle, .skip, .screen-only { display: none !important; }
  .marquee-track { animation: none; }
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .product { padding: 24px; }
  .product, .client, .solution, .device, .value, .cert, .integration, .service, .step, .contact-item,
  .form, .partner-feature, .partner-mini, .cta-band, .mv > div, .lane, .core, .backoffice, .platform-facts,
  .about-media, .services-media, .device-hero, .stats, .footprint, .site-footer { break-inside: avoid; }
  .section-head, .client-group h4, .client-toolbar { break-after: avoid; }
  /* Sections that fit on one page move whole to the next page instead of leaving their heading behind */
  #platform > .container, #devices > .container, #solutions > .container, #clients > .container,
  #partners > .container, #services > .container, #contact > .container { break-inside: avoid; }
  .product:hover, .client:hover, .solution:hover::after { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  * { transition: none !important; }
}
