/* ==========================================================================
   iNOUS Advanced IT Solutions — site stylesheet
   Colors, type and motion follow the brand style sheet exactly.
   ========================================================================== */

:root {
  /* Brand palette (taken from the logo) */
  --charcoal: #231F20;
  --magenta: #EB008B;
  --magenta-dark: #C80076;
  --magenta-deep: #B0006A;
  --magenta-grad: #D4007E;
  --cyan: #009FCA;
  --cyan-dark: #007EA1;
  --cyan-light: #4FC3E4;
  --orange: #F37920;
  --orange-dark: #E06A12;
  --orange-light: #FF8A36;
  --orange-pale: #F9A66B;
  --green: #80B463;
  --green-dark: #5E9146;
  --violet: #BC60A4;
  --violet-grad: #9C3F87;
  --pink-pale: #F9A6D3;

  /* Surfaces */
  --white: #fff;
  --off-white: #F7F7F8;
  --light-grey: #E9EAEC;
  --grey-200: #D9DADD;
  --grey-300: #C5C7CB;
  --grey-500: #8A8C90;
  --muted: #4A4647;
  --muted-2: #6B6D72;
  --dark-2: #3A3536;
  --dark-3: #4A4546;
  --dark-line: #3A3536;
  --dark-muted: #A9ABAF;

  /* Type */
  --font-head: Montserrat, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, Menlo, Consolas, monospace;

  /* Rhythm */
  --gutter: clamp(20px, 3vw, 40px);
  --section-y: clamp(72px, 8vw, 120px);
  --radius: 12px;
  --radius-sm: 8px;
  --header-h: 80px;
  --shadow-menu: 0 30px 60px -30px rgba(35, 31, 32, 0.25);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }

/* A component class must never out-rank the hidden attribute */
[hidden] { display: none !important; }

/* Anchored sections clear the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
img { height: auto; }

a { color: var(--cyan-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--charcoal); }

button, input, select, textarea { font-family: inherit; font-size: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; }
p { margin: 0; }
ul { margin: 0; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--charcoal); color: #fff; padding: 12px 20px;
  border-radius: var(--radius-sm); font-family: var(--font-head);
  font-weight: 600; font-size: 14px; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1080px; }
.section { position: relative; }
.section--white { background: var(--white); }
.section--alt { background: var(--off-white); }
.section--grey { background: var(--light-grey); }
.section--dark { background: var(--charcoal); color: #fff; }
.section__inner { padding-block: var(--section-y); }
.section__inner--tight { padding-block: clamp(64px, 7vw, 96px); }
.stack { display: flex; flex-direction: column; }
.gap-14 { gap: 14px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.gap-28 { gap: 28px; } .gap-40 { gap: 40px; } .gap-44 { gap: 44px; }
.gap-48 { gap: 48px; } .gap-56 { gap: 56px; }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px;
}
.section-head__text { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-head); font-weight: 300; font-size: 13px;
  letter-spacing: 0.2em; line-height: 1.4; color: var(--cyan-dark);
  text-transform: uppercase;
}
.eyebrow--light { color: var(--cyan-light); }
.eyebrow--charcoal { color: var(--charcoal); }
.eyebrow--orange { color: var(--orange-pale); }

.h1 { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.015em; text-wrap: balance; }
.h1--page { font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -0.01em; max-width: 780px; }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.15; text-wrap: balance; }
.h2--sm { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; }
.h2--lg { font-size: clamp(32px, 4vw, 50px); line-height: 1.1; }
.h3 { font-size: 20px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--grey-200); max-width: 640px; text-wrap: pretty; }
.body-text { font-size: 17px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.card-text { font-size: 16px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.mono-note { font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }

/* Visible marker for values still sitting in config as [TBD] */
.tbd {
  font-family: var(--font-mono); font-size: 0.85em;
  background: rgba(235, 0, 139, 0.10); color: var(--magenta-deep);
  padding: 1px 6px; border-radius: 4px; white-space: nowrap;
}
.section--dark .tbd, .contact-card .tbd, .footer .tbd {
  background: rgba(255, 255, 255, 0.12); color: #fff;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 26px; border-radius: var(--radius-sm); border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1;
  text-align: center; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--magenta); color: #fff; }
.btn--primary:hover { background: var(--magenta-dark); color: #fff; }
.btn--outline { padding: 15.5px 24.5px; border: 1.5px solid var(--cyan); background: transparent; color: var(--charcoal); }
.btn--outline:hover { background: var(--cyan); color: #fff; }
.btn--outline-light { padding: 15.5px 24.5px; border: 1.5px solid #fff; background: transparent; color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--charcoal); }
.btn--orange { background: var(--orange); color: var(--charcoal); }
.btn--orange:hover { background: var(--orange-dark); color: var(--charcoal); }
.btn--orange-dark-bg:hover { background: var(--orange-light); color: var(--charcoal); }
.btn--white { padding: 18px 28px; background: #fff; color: var(--charcoal); }
.btn--white:hover { background: var(--off-white); color: var(--charcoal); }
.btn--white .icon-arrow-right { color: var(--magenta); }
.btn--sm { padding: 14px 22px; font-size: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--cyan-dark);
}
.link-arrow:hover { color: var(--charcoal); }
.link-arrow .icon-arrow-right { transition: transform .2s var(--ease); }
.link-arrow:hover .icon-arrow-right { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Circuit motif — 2px line ending in an 8px hollow node
   -------------------------------------------------------------------------- */
.circuit { display: flex; align-items: center; }
.circuit__ring {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--cyan); display: flex; align-items: center; justify-content: center;
}
.circuit__ring i { font-size: 22px; color: var(--cyan); }
.circuit__ring--lg { width: 52px; height: 52px; }
.circuit__ring--lg i { font-size: 24px; }
.circuit__line { width: 28px; height: 1.5px; background: var(--cyan); }
.circuit__line--sm { width: 18px; }
.circuit__line--md { width: 20px; }
.circuit__node { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--cyan); flex: none; }
.circuit__node--lg { width: 10px; height: 10px; border-width: 2px; }
.gradient-rule { height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta)); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-grey);
}
.header__bar {
  max-width: 1280px; margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 38px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative; display: flex; align-items: center; gap: 4px;
  height: var(--header-h); font-family: var(--font-head); font-size: 13px;
  font-weight: 600; letter-spacing: 0.12em; color: var(--charcoal);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--cyan-dark); }
.nav__link i { font-size: 14px; opacity: .6; }
.nav__link[aria-expanded="true"] i { transform: rotate(180deg); }
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 24px; height: 2px;
  background: var(--cyan); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link.is-active::after { transform: scaleX(1); }

.lang {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
}
.lang__sep { color: var(--grey-300); }
.lang__on { color: var(--charcoal); }
.lang__off { color: var(--grey-500); }
a.lang__off:hover { color: var(--charcoal); }

.header__cta {
  font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.1em;
  color: #fff; background: var(--magenta); padding: 13px 22px; border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
}
.header__cta:hover { background: var(--magenta-dark); color: #fff; }

.burger {
  width: 48px; height: 48px; border: 1px solid var(--light-grey); background: #fff;
  border-radius: var(--radius-sm); display: none; align-items: center; justify-content: center;
  cursor: pointer; color: var(--charcoal);
}
.burger i { font-size: 22px; }

/* Mega menus */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--light-grey);
  box-shadow: var(--shadow-menu);
  display: none; animation: mega-in .18s var(--ease);
}
.mega.is-open { display: block; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__inner { max-width: 1280px; margin-inline: auto; padding: 32px 40px 40px; }
.mega__inner--products { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
.mega__grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 16px; }
.mega__item {
  display: flex; gap: 12px; align-items: center; padding: 12px;
  border-radius: var(--radius-sm); color: var(--charcoal); font-size: 15px; font-weight: 500;
  transition: background .18s var(--ease);
}
.mega__item i { font-size: 20px; color: var(--cyan); }
.mega__item:hover, .mega__item.is-active { background: var(--off-white); color: var(--charcoal); }
.mega__more { display: inline-flex; gap: 8px; align-items: center; margin: 20px 0 0 12px; font-size: 14px; font-weight: 600; }
.mega__divider { height: 1px; background: var(--light-grey); margin: 18px 12px; }

.mega-feature {
  display: none; flex-direction: column; justify-content: space-between; gap: 20px;
  background: #EEF6F9; border-radius: var(--radius); padding: 28px;
  border-top: 3px solid var(--cyan); color: var(--charcoal); min-height: 380px;
}
.mega-feature.is-active { display: flex; }
.mega-feature--warm { background: #FDF1E7; border-top-color: var(--orange); }
.mega-feature--violet { background: #F6EEF5; border-top-color: var(--violet); }
.mega-feature__eyebrow {
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--charcoal); display: flex; align-items: center; gap: 8px;
}
.mega-feature__eyebrow span.dot { width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--cyan); }
.mega-feature--warm .mega-feature__eyebrow span.dot { border-color: var(--orange); }
.mega-feature--violet .mega-feature__eyebrow span.dot { border-color: var(--violet); }
.mega-feature__title { font-family: var(--font-head); font-size: 24px; font-weight: 600; line-height: 1.2; }
.mega-feature__line { font-size: 15px; line-height: 1.5; }
.mega-feature__img { width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-sm); background: var(--light-grey) center/cover no-repeat; }
.mega-feature__ph {
  width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-sm); background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.mega-feature__ph > div {
  width: 96px; height: 96px; border-radius: 50%; background: var(--off-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.mega-feature__ph .sq { width: 30px; height: 30px; border-radius: 5px; background: var(--grey-200); }
.mega-feature__cta { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.mega-feature__cta i { color: var(--cyan-dark); }
.mega-feature--warm .mega-feature__cta i { color: var(--orange); }
.mega-feature--violet .mega-feature__cta i { color: var(--violet); }

.mega__services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.svc-card--featured {
  grid-column: span 2; display: flex; align-items: flex-start; gap: 18px; padding: 26px;
  border-radius: var(--radius); background: var(--charcoal); color: #fff;
  transition: background .2s var(--ease);
}
.svc-card--featured:hover { background: #322D2E; color: #fff; }
.svc-card--featured .circuit__ring { border-color: var(--cyan-light); }
.svc-card--featured .circuit__ring i { color: var(--cyan-light); }
.svc-card__meta { display: flex; flex-direction: column; gap: 6px; }
.svc-card__tag { font-family: var(--font-head); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; color: var(--pink-pale); }
.svc-card__name { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.svc-card__line { font-size: 14px; line-height: 1.5; color: var(--grey-200); }
.svc-card--plain {
  display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius);
  background: var(--off-white); color: var(--charcoal); transition: background .2s var(--ease);
}
.svc-card--plain:hover { background: var(--light-grey); color: var(--charcoal); }
.svc-card--plain i { font-size: 24px; color: var(--cyan); }
.svc-card--plain span { font-family: var(--font-head); font-weight: 600; font-size: 15px; }

.mega__sector {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--radius-sm); color: var(--charcoal); font-size: 15px;
  transition: background .18s var(--ease);
}
.mega__sector:hover { background: var(--off-white); color: var(--charcoal); }
.mega__sector .dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cyan); flex: none; }
.mega__sector--featured .dot { border-color: var(--orange); }

/* Mobile drawer */
.drawer {
  position: absolute; left: 0; right: 0; top: 100%;
  height: calc(100dvh - var(--header-h)); overflow: auto;
  background: #fff; border-top: 1px solid var(--light-grey);
  padding: 8px var(--gutter) 40px; display: none;
}
.drawer.is-open { display: block; }
.drawer__link, .drawer__toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 4px; border-bottom: 1px solid var(--light-grey); background: none; border-left: 0;
  border-right: 0; border-top: 0; color: var(--charcoal); font-family: var(--font-head);
  font-weight: 600; font-size: 15px; letter-spacing: 0.1em; cursor: pointer; text-align: left;
}
.drawer__panel { display: none; flex-direction: column; padding: 0 0 12px; }
.drawer__panel.is-open { display: flex; }
.drawer__group { border-bottom: 1px solid var(--light-grey); }
.drawer__group .drawer__toggle { border-bottom: 0; }
.drawer__sub {
  display: flex; align-items: center; gap: 12px; padding: 12px 4px;
  color: var(--charcoal); font-size: 15px; min-height: 44px;
}
.drawer__sub i { font-size: 18px; color: var(--cyan); }
.drawer__lang { display: flex; gap: 8px; padding: 20px 4px; font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; }
.drawer__cta {
  display: flex; justify-content: center; padding: 16px; border-radius: var(--radius-sm);
  background: var(--magenta); color: #fff; font-family: var(--font-head);
  font-weight: 600; letter-spacing: 0.1em; font-size: 14px;
}
.drawer__cta:hover { color: #fff; }

/* Sticky mobile contact bar */
.sticky-cta {
  position: sticky; bottom: 0; z-index: 40; display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--light-grey);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sticky-cta a {
  display: flex; justify-content: center; align-items: center; gap: 8px; height: 52px;
  border-radius: var(--radius-sm); background: var(--magenta); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: 0.1em;
}
.sticky-cta a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; }
.hero__inner {
  max-width: 1280px; margin-inline: auto; padding: clamp(56px, 8vw, 120px) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  align-items: center; gap: 48px;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; position: relative; z-index: 1; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; }
.hero__eyebrow .gradient-rule { width: 48px; }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--grey-200); max-width: 560px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero__visual { position: relative; height: clamp(300px, 34vw, 440px); }
.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* Circuit lines "draw" in once */
.hero__svg [data-draw] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero__svg .node { opacity: 0; }
.hero.is-drawn [data-draw] { animation: draw 1.4s var(--ease) forwards; }
.hero.is-drawn .node { animation: node-in .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes node-in { from { opacity: 0; } to { opacity: 1; } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; }
.page-hero__deco { position: absolute; right: 0; top: 0; height: 100%; width: 38%; opacity: .9; }
.page-hero__inner {
  position: relative; max-width: 1280px; margin-inline: auto;
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  display: flex; flex-direction: column; gap: 18px;
}

/* --------------------------------------------------------------------------
   Trust bar
   -------------------------------------------------------------------------- */
.trust__inner {
  max-width: 1280px; margin-inline: auto; padding: 32px var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px;
}
.trust__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.trust__label { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--muted); }
.logo-slot {
  height: 48px; padding: 0 22px; background: #fff; border-radius: var(--radius-sm);
  display: flex; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted-2);
}
.logo-slot img { max-height: 28px; width: auto; }
.logo-slot--dark { background: none; border: 1px dashed #5A5456; color: var(--dark-muted); height: 36px; padding: 0 18px; font-size: 11px; }
.logo-slot--outline { background: none; border: 1px dashed var(--grey-300); height: 64px; padding: 0 24px; align-self: flex-start; }
.stats { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.stat { display: flex; align-items: baseline; gap: 10px; }
.stat__value { font-family: var(--font-head); font-weight: 600; font-size: 34px; line-height: 1; }
.stat__label { font-size: 14px; line-height: 1.3; color: var(--muted); max-width: 110px; }

/* --------------------------------------------------------------------------
   Core service cards (home)
   -------------------------------------------------------------------------- */
.core-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.core-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(420px, 40vw, 520px); border-radius: var(--radius); overflow: hidden;
  background: var(--charcoal) center/cover no-repeat; color: #fff;
  transition: transform .25s var(--ease);
}
.core-card:hover { transform: translateY(-4px); color: #fff; }
.core-card__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(35,31,32,.15) 0%, rgba(35,31,32,.55) 45%, rgba(35,31,32,.95) 100%);
}
.core-card__body { position: relative; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.core-card__body .circuit__ring { background: rgba(35, 31, 32, .6); }
.core-card__body .circuit__ring i { color: #fff; }
.core-card h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; }
.core-card p { font-size: 16px; line-height: 1.6; color: #fff; max-width: 480px; text-wrap: pretty; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); }
.tag--light { background: #fff; border-color: var(--light-grey); color: var(--charcoal); }

/* --------------------------------------------------------------------------
   Expertise cards
   -------------------------------------------------------------------------- */
.expertise-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.expertise-card {
  display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius);
  background: var(--off-white); border: 1px solid var(--light-grey); color: var(--charcoal);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.section--alt .expertise-card { background: #fff; }
.expertise-card:hover { transform: translateY(-4px); color: var(--charcoal); border-color: var(--grey-300); }
.expertise-card h3 { margin-top: 8px; }
.expertise-card__link {
  margin-top: auto; padding-top: 8px; display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--cyan-dark);
}

/* --------------------------------------------------------------------------
   Why us / process timeline
   -------------------------------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px 0; }
.timeline--process { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.timeline__item { display: flex; flex-direction: column; gap: 16px; padding-right: 28px; }
.timeline__rail { display: flex; align-items: center; }
.timeline__dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cyan); background: var(--off-white); flex: none; }
.section--white .timeline__dot { background: #fff; }
.section--dark .timeline__dot { background: var(--charcoal); width: 16px; height: 16px; }
.timeline__line { flex: 1; height: 2px; }
.timeline__n { font-family: var(--font-head); font-weight: 300; font-size: 40px; line-height: 1; color: var(--charcoal); }
.section--dark .timeline__n { color: #fff; }
.timeline__item h3 { font-size: 18px; line-height: 1.35; text-wrap: balance; }
.timeline__item p { font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.section--dark .timeline__item p { color: var(--grey-200); }
.timeline--process .timeline__item h3 { font-size: 24px; }
.timeline__head { display: flex; align-items: baseline; gap: 14px; }

/* --------------------------------------------------------------------------
   Product category strip & cards
   -------------------------------------------------------------------------- */
.cat-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr);
  gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin;
}
.cat-tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 150px; padding: 20px; border-radius: var(--radius);
  background: var(--off-white); color: var(--charcoal); border-top: 3px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cat-tile:hover { background: var(--light-grey); color: var(--charcoal); border-top-color: var(--cyan); }
.section--alt .cat-tile { background: #fff; }
.section--alt .cat-tile:hover { background: var(--light-grey); }
.cat-tile i { font-size: 26px; color: var(--cyan); }
.cat-tile--warm i { color: var(--orange); }
.cat-tile span { font-family: var(--font-head); font-weight: 600; font-size: 15px; line-height: 1.3; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 276px), 1fr)); gap: 16px; }
.product-cat-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 260px; padding: 28px; border-radius: var(--radius); background: #fff;
  color: var(--charcoal); border-top: 3px solid transparent;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.product-cat-card:hover { transform: translateY(-4px); color: var(--charcoal); border-top-color: var(--cyan); }
.product-cat-card h2 { font-family: var(--font-head); font-weight: 600; font-size: 20px; line-height: 1.3; }
.product-cat-card p { font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.product-cat-card > i { font-size: 20px; color: var(--cyan-dark); }

.iot-hero-card {
  grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between;
  gap: 32px; min-height: 260px; padding: 32px; border-radius: var(--radius);
  background: var(--orange); color: var(--charcoal); position: relative; overflow: hidden;
  transition: transform .2s var(--ease);
}
.iot-hero-card:hover { transform: translateY(-4px); color: var(--charcoal); }
.iot-hero-card__deco { position: absolute; right: -10px; bottom: -18px; width: 260px; opacity: .3; z-index: 0; }
.iot-hero-card__top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.iot-hero-card__top i { font-size: 32px; }
.badge-dark {
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  background: var(--charcoal); color: #fff; padding: 6px 10px; border-radius: 4px;
}
.iot-hero-card__body { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; max-width: 420px; }
.iot-hero-card__title { font-family: var(--font-head); font-weight: 600; font-size: 34px; }
.iot-hero-card__line { font-size: 17px; line-height: 1.5; }

/* Platform cards — our own and our partners' applications */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.platform-card {
  display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--light-grey); color: var(--charcoal);
  border-top: 3px solid var(--cyan);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.section--alt .platform-card { background: #fff; }
.platform-card:hover { transform: translateY(-4px); color: var(--charcoal); box-shadow: 0 16px 30px -22px rgba(35, 31, 32, .45); }
.platform-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform-card__by {
  font-family: var(--font-head); font-size: 10px; font-weight: 600; letter-spacing: .18em;
  color: var(--muted); background: var(--off-white); padding: 5px 9px; border-radius: 4px;
}
.platform-card h3 { font-size: 22px; line-height: 1.25; }
.platform-card__for { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; color: var(--cyan-dark); }
.platform-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.platform-card li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--muted); }
.platform-card li i { color: var(--cyan); font-size: 16px; margin-top: 3px; flex: none; }
.platform-card__link { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--cyan-dark); }

/* Product card (style-sheet spec: grey card, white circle, hover lift + cyan rule) */
.product-card {
  display: flex; flex-direction: column; align-items: center; gap: 20px; height: 100%;
  padding: 36px 24px 28px; background: var(--light-grey); border-radius: var(--radius);
  border-top: 3px solid transparent; color: var(--charcoal); text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.product-card:hover, .product-card.is-hovered {
  background: #F2F3F5; border-top-color: var(--cyan); color: var(--charcoal);
  transform: translateY(-4px); box-shadow: 0 12px 24px -16px rgba(35, 31, 32, .35);
}
.product-card__disc {
  width: 150px; height: 150px; border-radius: 50%; background: #fff; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
}
.product-card__disc img { max-width: 96px; max-height: 96px; }
.product-card__sq { width: 44px; height: 44px; border-radius: 6px; background: var(--grey-200); }
.product-card__name { font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.3; text-wrap: balance; }
.product-card__note { font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.product-card__link {
  margin-top: auto; display: flex; align-items: center; gap: 6px; font-size: 14px;
  font-weight: 600; color: var(--cyan-dark); opacity: 0; transition: opacity .2s var(--ease);
}
.product-card:hover .product-card__link, .product-card:focus-visible .product-card__link { opacity: 1; }
.product-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }

/* Benefit tiles */
.benefit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.benefit {
  display: flex; flex-direction: column; gap: 18px; padding: 28px;
  border-radius: var(--radius); background: var(--off-white);
}
.section--alt .benefit { background: #fff; }
.benefit__name { font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.35; }

/* Sector chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--grey-300); color: var(--charcoal); font-size: 15px; background: #fff;
  transition: border-color .2s var(--ease);
}
.chip:hover { border-color: var(--cyan); color: var(--charcoal); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--cyan); }
.chip i { font-size: 15px; color: var(--cyan-dark); }

/* --------------------------------------------------------------------------
   Sector tiles
   -------------------------------------------------------------------------- */
.sector-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.sector-grid--home { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.sector-tile {
  position: relative; display: block; aspect-ratio: 4/3; border-radius: var(--radius);
  overflow: hidden; color: #fff;
  background: repeating-linear-gradient(135deg, #5A5557 0 12px, #625D5F 12px 24px);
  transition: transform .25s var(--ease);
}
.sector-tile--home { aspect-ratio: 3/2; }
.sector-tile:hover { transform: translateY(-4px); color: #fff; }
.sector-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sector-tile__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,31,32,.05) 30%, rgba(35,31,32,.92) 100%); }
.sector-tile--home .sector-tile__veil { background: linear-gradient(180deg, rgba(35,31,32,0) 35%, rgba(35,31,32,.9) 100%); }
.sector-tile__rule { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
.sector-tile__badge {
  position: absolute; top: 14px; right: 14px; font-family: var(--font-head); font-size: 11px;
  font-weight: 600; letter-spacing: 0.16em; background: var(--orange); color: var(--charcoal);
  padding: 6px 10px; border-radius: 4px;
}
.sector-tile__foot {
  position: absolute; left: 22px; right: 22px; bottom: 20px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.sector-tile--home .sector-tile__foot { left: 24px; right: 24px; bottom: 22px; align-items: center; }
.sector-tile__name { font-family: var(--font-head); font-weight: 600; font-size: 19px; line-height: 1.3; text-wrap: balance; }
.sector-tile--home .sector-tile__name { font-size: 21px; }
.sector-tile__arrow { font-size: 22px; flex: none; opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease); }
.sector-tile:hover .sector-tile__arrow, .sector-tile:focus-visible .sector-tile__arrow { opacity: 1; transform: translate(2px, -2px); }
.sector-tile--home .sector-tile__arrow { opacity: 1; }
.sector-tile__photo-note { position: absolute; top: 16px; left: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--grey-300); }

/* Sector page hero */
.sector-hero { position: relative; overflow: hidden; color: #fff; background: repeating-linear-gradient(135deg, #4A4546 0 14px, #524D4E 14px 28px); }
.sector-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sector-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,31,32,.96) 0%, rgba(35,31,32,.78) 55%, rgba(35,31,32,.35) 100%); }
.sector-hero__inner { position: relative; max-width: 1280px; margin-inline: auto; padding: clamp(72px, 10vw, 144px) var(--gutter); display: flex; flex-direction: column; gap: 20px; }
.sector-hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.05; letter-spacing: -0.01em; max-width: 820px; text-wrap: balance; }
.sector-hero p { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; color: #fff; max-width: 620px; text-wrap: pretty; }
.sector-hero__rule { width: 120px; height: 2px; margin-top: 8px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 300; font-size: 13px; letter-spacing: 0.2em; color: #fff;
}
.back-link:hover { color: #fff; }
.back-link i { transition: transform .2s var(--ease); }
.back-link:hover i { transform: translateX(-3px); }

.challenge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.challenge { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius); background: var(--off-white); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.related-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--light-grey);
  color: var(--charcoal); transition: border-color .2s var(--ease);
}
.related-card:hover { border-color: var(--cyan); color: var(--charcoal); }
.related-card span { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.related-card span i { font-size: 22px; color: var(--cyan); }
.related-card > i { color: var(--cyan-dark); }

/* --------------------------------------------------------------------------
   iotRest / split sections
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(40px, 5vw, 80px); align-items: center;
}
.split--top { align-items: start; }
.media {
  position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden;
  background: var(--light-grey) center/cover no-repeat;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media__veil { position: absolute; inset: 0; background: rgba(35, 31, 32, .12); }
.media__rule { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--orange); }
.media__note {
  position: absolute; left: 16px; bottom: 16px; font-family: var(--font-mono); font-size: 11px;
  color: var(--charcoal); background: rgba(255,255,255,.85); padding: 5px 9px; border-radius: 4px;
}
.media--ph {
  background: repeating-linear-gradient(135deg, #DADBDE 0 12px, #E4E5E8 12px 24px);
  display: flex; align-items: flex-end; padding: 20px;
}

.iot-hero { position: relative; overflow: hidden; background: var(--charcoal); color: #fff; }
.iot-hero__inner {
  max-width: 1280px; margin-inline: auto; padding: clamp(56px, 8vw, 112px) var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: 56px; align-items: center;
}
.iot-hero h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -0.015em; }
.iot-hero p.lead { color: #fff; max-width: 520px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.devices { position: relative; height: clamp(300px, 32vw, 420px); }
.device { position: absolute; background: var(--dark-2); }
.device__screen {
  width: 100%; height: 100%; background: repeating-linear-gradient(135deg, var(--dark-3) 0 10px, #524D4E 10px 20px);
  display: flex; align-items: flex-end;
}
.device__screen span { font-family: var(--font-mono); color: var(--grey-200); }
.device--tablet { left: 0; top: 6%; width: 78%; height: 72%; border-radius: 18px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.device--tablet .device__screen { border-radius: 8px; padding: 14px; }
.device--tablet .device__screen span { font-size: 11px; }
.device--kitchen { right: 0; top: 0; width: 30%; height: 44%; border-radius: 10px; padding: 8px; border-top: 3px solid var(--orange); }
.device--kitchen .device__screen { border-radius: 6px; padding: 8px; }
.device--kitchen .device__screen span { font-size: 10px; }
.device--phone { right: 8%; bottom: 0; width: 20%; height: 58%; border-radius: 20px; padding: 8px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.device--phone .device__screen { border-radius: 14px; padding: 8px; }
.device--phone .device__screen span { font-size: 10px; }

.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.mode-card {
  background: #fff; border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column; gap: 18px; border-top: 3px solid var(--orange);
}
.mode-card h3 { font-size: 24px; }
.mode-card .circuit__ring, .mode-card .circuit__node { border-color: var(--orange); }
.mode-card .circuit__ring i { color: var(--orange); }
.mode-card .circuit__line { background: var(--orange); }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0 32px; }
.feature-list__item {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid var(--light-grey); font-size: 16px; line-height: 1.5;
}
.feature-list__item i { font-size: 22px; color: var(--orange); flex: none; margin-top: 1px; }

.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.addon { background: #fff; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 22px; }
.addon > i { font-size: 26px; color: var(--orange); }
.addon__name { font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.addon__text { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.svc-nav {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--light-grey);
}
.svc-nav__inner { max-width: 1280px; margin-inline: auto; padding: 12px var(--gutter); display: flex; gap: 8px; overflow-x: auto; }
.svc-nav__link {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
  background: #fff; color: var(--charcoal); border: 1px solid var(--light-grey);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.svc-nav__link--core { background: var(--off-white); }
.svc-nav__link:hover { border-color: var(--cyan); color: var(--charcoal); }
.svc-nav__link.is-active { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }
.svc-nav__link i { font-size: 16px; }

.svc-row {
  display: flex; flex-wrap: wrap; background: #fff; border-radius: var(--radius);
  overflow: hidden; border-top: 3px solid var(--cyan);
}
.svc-row--reverse { flex-direction: row-reverse; }
.svc-row__media { flex: 1 1 420px; min-height: 340px; position: relative; background: var(--light-grey) center/cover no-repeat; }
.svc-row__body { flex: 1 1 460px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.svc-row__badge {
  font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--charcoal); background: var(--off-white); padding: 6px 10px; border-radius: 4px;
}
.svc-row__body h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; }
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 24px; border-top: 1px solid var(--light-grey); }
.checklist__item {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--light-grey); font-size: 15px; line-height: 1.45;
}
.checklist__item i { font-size: 18px; flex: none; color: var(--cyan); }
.checklist--single { display: flex; flex-direction: column; }
.checklist--single .checklist__item { align-items: center; gap: 14px; font-size: 16px; }

.alt-row { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: center; }
.alt-row--reverse { flex-direction: row-reverse; }
.alt-row__media { flex: 1 1 420px; }
.alt-row__body { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.alt-row__n { display: flex; align-items: center; gap: 14px; }
.alt-row__n span { font-family: var(--font-head); font-weight: 300; font-size: 14px; letter-spacing: 0.2em; color: var(--cyan-dark); }
.alt-row__n .rule { width: 40px; height: 1.5px; background: var(--cyan); }
.alt-row__body h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(110deg, var(--magenta-grad) 0%, var(--violet-grad) 100%);
  color: #fff; position: relative; overflow: hidden;
}
.cta-band__deco { position: absolute; left: 0; bottom: 0; width: 340px; opacity: .35; }
.cta-band__inner {
  position: relative; max-width: 1280px; margin-inline: auto;
  padding: clamp(64px, 8vw, 112px) var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
}
.cta-band__text { display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.12; text-wrap: balance; }
.cta-band p { font-size: 18px; line-height: 1.6; text-wrap: pretty; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px; align-items: start;
}
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3.4vw, 48px); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  border-radius: var(--radius-sm); border: 1.5px solid var(--grey-300); background: #fff;
  font-size: 16px; color: var(--charcoal); outline: none; font-weight: 400;
  transition: border-color .15s var(--ease);
}
.field input, .field select { height: 52px; padding: 0 16px; }
.field select { padding: 0 14px; }
.field textarea { padding: 14px 16px; line-height: 1.5; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--magenta); }
.field__error { font-weight: 400; font-size: 13px; color: var(--magenta-deep); }
.field__hint { font-weight: 400; font-size: 13px; color: var(--muted); }
.consent {
  display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5;
  color: var(--muted); grid-column: 1 / -1; cursor: pointer; font-weight: 400;
}
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--magenta); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-alert {
  grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius-sm);
  background: rgba(235, 0, 139, .08); border-left: 3px solid var(--magenta);
  font-size: 15px; color: var(--magenta-deep);
}
.form-success { display: flex; flex-direction: column; gap: 18px; padding: 24px 0; }
.form-success__mark {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
}
.form-success__mark i { font-size: 28px; color: var(--green-dark); }
.form-success h2 { font-size: 30px; }

.contact-card {
  background: var(--charcoal); color: #fff; border-radius: var(--radius); padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-card img.logo { height: 34px; align-self: flex-start; }
.contact-card__row { display: flex; gap: 16px; align-items: flex-start; }
.contact-card__row > i { font-size: 20px; color: var(--cyan-light); margin-top: 2px; }
.contact-card__label { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; color: var(--grey-300); }
.contact-card__value { font-size: 16px; }
.contact-card__value a { color: #fff; }
.contact-card__value a:hover { color: var(--cyan-light); }
.map { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: repeating-linear-gradient(135deg, #DADBDE 0 12px, #E4E5E8 12px 24px); display: flex; align-items: center; justify-content: center; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__note { font-family: var(--font-mono); font-size: 12px; color: var(--muted); background: rgba(255,255,255,.75); padding: 6px 10px; border-radius: 4px; }

/* --------------------------------------------------------------------------
   Legal / prose pages
   -------------------------------------------------------------------------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.prose h2 { font-size: 26px; line-height: 1.25; margin-top: 24px; }
.prose h3 { font-size: 19px; margin-top: 8px; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.75; color: var(--muted); }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--light-grey); vertical-align: top; }
.prose th { font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .04em; }
.prose__meta { font-size: 14px; color: var(--muted-2); }
.toc { background: var(--off-white); border-radius: var(--radius); padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.toc a { font-size: 15px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--charcoal); color: #fff; }
.footer__inner { max-width: 1280px; margin-inline: auto; padding: var(--section-y) var(--gutter) 32px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__brand img { height: 40px; width: auto; align-self: flex-start; }
.footer__tagline { font-family: var(--font-head); font-weight: 300; font-size: 14px; letter-spacing: 0.12em; color: var(--grey-200); }
.footer__contact { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--grey-200); line-height: 1.5; }
.footer__contact a { color: var(--grey-200); }
.footer__contact a:hover { color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__title { font-family: var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: 0.2em; color: #fff; margin-bottom: 6px; }
.footer__col a { color: var(--grey-300); font-size: 14px; line-height: 1.4; }
.footer__col a:hover { color: #fff; }
.footer__partners {
  margin-top: 56px; padding: 24px 0; border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line); display: flex; flex-wrap: wrap;
  align-items: center; gap: 16px 28px;
}
.footer__partners span.label { font-size: 13px; color: var(--grey-300); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--dark-line);
  display: flex; align-items: center; justify-content: center; color: var(--grey-300);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.footer__social a:hover { border-color: var(--cyan-light); color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 24px; font-size: 13px; color: var(--dark-muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a, .footer__legal button {
  color: var(--dark-muted); background: none; border: 0; padding: 0; font-size: 13px; cursor: pointer;
}
.footer__legal a:hover, .footer__legal button:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Cookie consent
   -------------------------------------------------------------------------- */
.cc-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  background: #fff; border-radius: var(--radius); border-top: 3px solid var(--cyan);
  box-shadow: 0 30px 60px -20px rgba(35, 31, 32, .45);
  padding: clamp(20px, 3vw, 28px); max-width: 1180px; margin-inline: auto;
  display: none; gap: 24px; align-items: flex-start; justify-content: space-between; flex-wrap: wrap;
  animation: cc-in .3s var(--ease);
}
.cc-banner.is-open { display: flex; }
@keyframes cc-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cc-banner__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.cc-banner__title { font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.cc-banner__body { font-size: 15px; line-height: 1.6; color: var(--muted); }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cc-actions .btn { padding: 14px 22px; font-size: 14px; }
.cc-link { background: none; border: 0; padding: 14px 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--cyan-dark); cursor: pointer; }
.cc-link:hover { color: var(--charcoal); }

.cc-modal {
  position: fixed; inset: 0; z-index: 130; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(35, 31, 32, .55); backdrop-filter: blur(3px);
}
.cc-modal.is-open { display: flex; }
.cc-modal__box {
  background: #fff; border-radius: var(--radius); width: min(620px, 100%);
  max-height: 90dvh; overflow: auto; padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 20px; animation: cc-in .25s var(--ease);
}
.cc-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cc-modal__head h2 { font-size: 24px; }
.cc-close { background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 24px; line-height: 1; padding: 4px; }
.cc-cat {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  border: 1px solid var(--light-grey); border-radius: var(--radius);
}
.cc-cat__body { display: flex; flex-direction: column; gap: 6px; }
.cc-cat__name { font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.cc-cat__desc { font-size: 14px; line-height: 1.55; color: var(--muted); }
.cc-cat__locked { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--green-dark); }
.switch { position: relative; flex: none; width: 48px; height: 28px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch__track {
  position: absolute; inset: 0; background: var(--grey-300); border-radius: 999px;
  transition: background .2s var(--ease); pointer-events: none;
}
.switch__track::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: #fff; transition: transform .2s var(--ease);
}
.switch input:checked + .switch__track { background: var(--cyan); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--cyan); outline-offset: 3px; }
.cc-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* --------------------------------------------------------------------------
   Style guide page
   -------------------------------------------------------------------------- */
.swatch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.swatch { display: flex; flex-direction: column; gap: 10px; }
.swatch__chip { aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--light-grey); }
.swatch__name { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.swatch__hex { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.swatch__use { font-size: 13px; line-height: 1.4; color: var(--muted); }
.type-row {
  display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: 24px;
  align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--light-grey);
}
.type-row__spec { font-family: var(--font-mono); font-size: 12px; color: var(--muted); line-height: 1.5; }
.logo-box { height: 200px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.icon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px; }
.icon-cell { aspect-ratio: 1; border-radius: var(--radius); background: var(--off-white); display: flex; align-items: center; justify-content: center; }
.icon-cell i { font-size: 26px; color: var(--cyan); }
.demo-box { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 32px; border-radius: var(--radius); border: 1px solid var(--light-grey); }
.demo-box--dark { background: var(--charcoal); border-color: var(--charcoal); }

/* --------------------------------------------------------------------------
   Error pages
   -------------------------------------------------------------------------- */
.error-page { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-block: clamp(80px, 12vw, 160px); }
.error-page__code { font-family: var(--font-head); font-weight: 300; font-size: clamp(80px, 14vw, 180px); line-height: 1; color: var(--light-grey); }

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.js .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .mega__inner--products { grid-template-columns: minmax(0, 1fr) 280px; }
}

@media (max-width: 959px) {
  :root { --header-h: 72px; }
  .nav, .mega { display: none !important; }
  .burger { display: flex; }
  .sticky-cta.is-enabled { display: block; }
  .svc-row, .svc-row--reverse, .alt-row, .alt-row--reverse { flex-direction: column; }
  .iot-hero-card { grid-column: span 1; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
  .cta-band__deco { display: none; }
}

@media (max-width: 720px) {
  .products-grid { grid-template-columns: 1fr; }
  .iot-hero-card { grid-column: span 1; }
  .cat-strip { grid-auto-columns: minmax(150px, 60%); }
  .footer__cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .type-row { grid-template-columns: 1fr; gap: 10px; }
  .cc-banner { left: 10px; right: 10px; bottom: 10px; }
  .cc-actions { width: 100%; }
  .cc-actions .btn { flex: 1 1 140px; }
}

@media (max-width: 480px) {
  .devices { height: 280px; }
  .hero__actions .btn, .cta-band .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__svg [data-draw] { stroke-dashoffset: 0; }
  .hero__svg .node { opacity: 1; }
}

@media print {
  .header, .footer, .cc-banner, .cc-modal, .sticky-cta, .cta-band { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { font-size: 12pt; }
}
