/* ============================================================
   iXSystems.in — styles
   Palette: logo red + black + warm white.
   Editorial, hairline-driven, no gradients / glass / glow.
   ============================================================ */

:root {
  --red:        #F53B3B;   /* brand red (from logo "ix") */
  --red-dark:   #D92F2F;   /* hover / pressed */
  --red-tint:   #FDECEC;   /* soft red wash */

  --ink:        #131316;   /* near-black ("Systems") */
  --ink-2:      #3B3B42;
  --muted:      #6E6E77;

  --paper:      #FFFFFF;
  --bg:         #FAF9F7;   /* warm off-white */
  --line:       #E5E2DD;   /* warm hairline */
  --line-dark:  #2A2A30;   /* hairline on dark */

  --font-d:     "Archivo", "Arial Black", sans-serif;
  --font-b:     "Inter", system-ui, sans-serif;
  --font-q:     "Source Serif 4", Georgia, serif;

  --wrap:       1160px;
  --radius:     6px;
  --nav-h:      68px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: var(--font-b);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

.container { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

::selection { background: var(--red); color: #fff; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: transparent; pointer-events: none;
}
.scroll-progress span { display: block; height: 100%; width: 0; background: var(--red); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }

/* ---------- Type helpers ---------- */
h1, h2, h3 { font-family: var(--font-d); font-weight: 800; line-height: 1.08; letter-spacing: -0.025em; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); }

.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow--onDark { color: #FF7A6E; }

.ul { position: relative; white-space: nowrap; }
.ul::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em;
  height: .14em; background: var(--red); z-index: -1;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; line-height: 1; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn .ico { width: 17px; height: 17px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--sm { padding: 10px 18px; font-size: .875rem; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar { background: var(--ink); color: #C9C9D1; font-size: .8rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 38px; }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a { color: #fff; font-weight: 500; transition: color .15s ease; }
.topbar__links a:hover { color: var(--red); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.nav.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(19,19,22,.18); }

.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }

/* Wordmark — mirrors the logo: red "ix" + black "Systems" */
.brand { display: inline-flex; align-items: baseline; font-family: var(--font-d); font-weight: 800; letter-spacing: -0.035em; font-size: 1.5rem; line-height: 1; }
.brand__ix  { color: var(--red); }
.brand__sys { color: var(--ink); }
.brand__tld { font-size: .95rem; font-weight: 700; color: var(--muted); letter-spacing: -0.02em; }
.brand--onDark .brand__sys { color: #fff; }
.brand--onDark .brand__tld { color: #8A8A93; }

.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 13px; font-size: .93rem; font-weight: 500; color: var(--ink-2);
  border-radius: var(--radius); transition: color .15s ease, background .15s ease;
}
.nav__links a:hover { color: var(--ink); background: var(--bg); }
.nav__links a.is-active { color: var(--red); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { background: var(--bg); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 80px);
  align-items: center; padding-block: clamp(56px, 8vw, 96px);
}

.hero__title { font-size: clamp(2rem, 5.4vw, 4rem); margin: 20px 0 22px; }

.hero__lede { font-size: 1.13rem; color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__proof { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.hero__proof li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; color: var(--ink-2); }
.hero__proof .ico { width: 15px; height: 15px; color: var(--red); flex-shrink: 0; }

/* Status panel — flat, hairline card */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }

.panel__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--line);
}
.panel__label { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.badge-live { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 600; color: #18794E; }
.badge-live i { width: 7px; height: 7px; border-radius: 50%; background: #1DB954; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.panel__body { padding: 20px; display: grid; gap: 18px; }

.metric__label { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 2px; }
.metric__value { font-family: var(--font-d); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric__value span { font-size: .95rem; font-weight: 600; color: var(--muted); margin-left: 3px; }

.spark { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-top: 12px; }
.spark i { flex: 1; background: var(--red-tint); border-top: 2px solid var(--red); min-height: 8%; }

.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric--sm { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.metric--sm .metric__value { font-size: 1.35rem; }

.feed { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.feed li { display: flex; align-items: center; gap: 12px; }
.feed__ico {
  width: 26px; height: 26px; border-radius: var(--radius); flex-shrink: 0;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}
.feed__ico.ok  { background: var(--red-tint); color: var(--red); }
.feed__ico.run { background: #F2F1EE; color: var(--ink-2); }
.feed b { display: block; font-size: .88rem; font-weight: 600; }
.feed small { color: var(--muted); font-size: .78rem; }

/* ============================================================
   BRAND MARQUEE
   ============================================================ */
.brands { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 34px; }
.brands__label {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: slide 32s linear infinite; }
.marquee__track span {
  font-family: var(--font-d); font-weight: 700; font-size: 1.15rem;
  color: #B4B1AB; letter-spacing: -0.01em; white-space: nowrap;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { background: var(--ink); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 28px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--font-d); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { color: #A5A5AE; font-size: .9rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding-block: clamp(64px, 9vw, 110px); }
.section--alt { background: var(--bg); border-block: 1px solid var(--line); }

.head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.head p { color: var(--ink-2); font-size: 1.05rem; }
.head--left { margin-bottom: 0; }

/* ============================================================
   SERVICES
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }

.card { position: relative; padding: 30px 26px; border-left: 1px solid var(--line); transition: background .15s ease; }
.card:first-child { border-left: 0; }
.card:hover { background: var(--bg); }

.card__n {
  position: absolute; top: 26px; right: 24px;
  font-family: var(--font-d); font-weight: 700; font-size: .85rem; color: #C9C6C0;
}
.card__ico {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 20px;
  background: var(--red-tint); border-radius: var(--radius); color: var(--red);
}
.card__ico svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { font-size: .92rem; color: var(--ink-2); margin-bottom: 18px; }

.ticks { display: grid; gap: 8px; margin-bottom: 22px; }
.ticks li { position: relative; padding-left: 22px; font-size: .88rem; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .48em;
  width: 10px; height: 5px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(-45deg);
}
.ticks li b { color: var(--ink); }

.tag {
  display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}

.feature-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
}
.feature-strip__item {
  display: flex; align-items: center; gap: 16px; padding: 22px 26px;
  border-left: 1px solid var(--line);
}
.feature-strip__item:first-child { border-left: 0; }
.feature-strip__item svg { width: 26px; height: 26px; color: var(--red); flex-shrink: 0; }
.feature-strip__item b { display: block; font-size: .95rem; }
.feature-strip__item span { color: var(--muted); font-size: .84rem; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.tab {
  padding: 12px 18px; font-size: .95rem; font-weight: 600; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .15s ease, border-color .15s ease;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--red); }

.panel-grid { display: none; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.panel-grid.is-active { display: grid; }

.prod {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 22px;
  transition: border-color .15s ease, transform .15s ease;
}
.prod:hover { border-color: var(--ink); transform: translateY(-2px); }

.prod header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.prod__brand { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prod__stock { font-size: .72rem; font-weight: 600; color: #18794E; }
.prod__stock--poa { color: var(--muted); }
.prod h3 { font-size: 1.05rem; margin-bottom: 8px; }
.prod p { font-size: .85rem; color: var(--ink-2); margin-bottom: 20px; flex: 1; }

.prod footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 16px; }
.price b { font-family: var(--font-d); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.price i { display: block; font-style: normal; font-size: .75rem; color: var(--muted); }

/* ============================================================
   CASES
   ============================================================ */
.cases { display: grid; gap: 0; border-top: 1px solid var(--line); }
.case { padding: 40px 0; border-bottom: 1px solid var(--line); }
.case__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.case__n { font-family: var(--font-d); font-weight: 800; font-size: 1rem; color: var(--red); }
.case__sector { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.case h3 { font-size: clamp(1.3rem, 2.6vw, 1.75rem); max-width: 22em; margin-bottom: 26px; }

.case__row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 880px; }
.case__row small {
  display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.case__row div:last-child small { color: var(--red); }
.case__row p { font-size: .95rem; color: var(--ink-2); }

.case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.case__tags li {
  padding: 4px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 100px;
  font-size: .74rem; font-weight: 600; color: var(--ink-2);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 32px 28px;
}
.plan header { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan__who { font-size: .85rem; color: var(--muted); }
.plan__price { margin-top: 16px; }
.plan__price b { font-family: var(--font-d); font-weight: 800; font-size: 2.2rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan__price i { display: block; font-style: normal; font-size: .82rem; color: var(--muted); }
.plan .ticks { flex: 1; margin-bottom: 26px; }

.plan--featured { background: var(--ink); border-color: var(--ink); color: #fff; }
.plan--featured .plan__who,
.plan--featured .plan__price i { color: #A5A5AE; }
.plan--featured .ticks li { color: #D6D6DC; }
.plan--featured .ticks li b { color: #fff; }
.plan--featured .ticks li::before { border-color: var(--red); }
.plan--featured header { border-bottom-color: var(--line-dark); }

.plan__flag {
  position: absolute; top: -12px; left: 28px;
  background: var(--red); color: #fff;
  padding: 4px 12px; border-radius: 100px;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}

/* ============================================================
   ABOUT
   ============================================================ */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.split__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; }
.split__copy > p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 30px; }

.mini-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mini-stats > div { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-stats b { display: block; font-family: var(--font-d); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mini-stats span { color: var(--muted); font-size: .85rem; }

.reasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
.reason { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.reason__ico {
  display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--red);
}
.reason__ico svg { width: 22px; height: 22px; }
.reason h3 { font-size: 1.05rem; margin-bottom: 5px; }
.reason p { font-size: .92rem; color: var(--ink-2); }

/* ============================================================
   CERTS
   ============================================================ */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cert {
  display: flex; align-items: center; gap: 16px; padding: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .15s ease;
}
.cert:hover { border-color: var(--ink); }
.cert__ico {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  background: var(--red-tint); border-radius: var(--radius); color: var(--red);
}
.cert__ico svg { width: 21px; height: 21px; }
.cert b { display: block; font-size: .95rem; }
.cert span { color: var(--muted); font-size: .82rem; }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 30px 26px 0 0; border-top: 3px solid var(--line); position: relative; }
.step::before {
  content: ""; position: absolute; top: -3px; left: 0;
  width: 64px; height: 3px; background: var(--red);
}
.step__n { font-family: var(--font-d); font-weight: 800; font-size: .95rem; color: var(--red); display: block; margin: 22px 0 10px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-2); max-width: 30em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.quote {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; padding: 30px 28px;
}
.stars { display: flex; gap: 3px; color: var(--red); margin-bottom: 18px; }
.stars svg { width: 15px; height: 15px; }

.quote blockquote {
  font-family: var(--font-q); font-style: italic; font-size: 1.06rem; line-height: 1.6;
  color: var(--ink); flex: 1; margin-bottom: 24px;
}
.quote figcaption { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.quote__av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--ink); color: #fff;
  font-family: var(--font-d); font-weight: 700; font-size: .85rem; letter-spacing: .02em;
}
.quote__who b { display: block; font-size: .95rem; }
.quote__who span { color: var(--muted); font-size: .82rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-wrap .head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.faq-wrap .head p { margin-bottom: 26px; }

.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--font-d); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  transition: color .15s ease;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red); }
.qa summary::after {
  content: "+"; font-family: var(--font-b); font-weight: 400; font-size: 1.5rem; color: var(--red);
  flex-shrink: 0; transition: transform .2s ease; line-height: 1;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa__a { padding: 0 40px 24px 0; color: var(--ink-2); font-size: .96rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.section--cta { background: var(--ink); color: #fff; }
.section--cta .split__copy > p { color: #B9B9C1; }

.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.contact-item {
  display: flex; align-items: center; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--line-dark);
  transition: color .15s ease;
}
a.contact-item:hover b { color: var(--red); }
.contact-item__ico {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border: 1px solid var(--line-dark); border-radius: var(--radius); color: var(--red);
}
.contact-item__ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #8A8A93; margin-bottom: 2px; }
.contact-item b { font-size: 1rem; font-weight: 600; transition: color .15s ease; }

.split--contact { grid-template-columns: 1fr 1fr; align-items: start; }

.form-card { background: var(--paper); color: var(--ink); border-radius: 10px; padding: 36px 32px; }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .92rem; margin-bottom: 26px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--paper); font-size: .95rem;
  transition: border-color .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field textarea { resize: vertical; min-height: 96px; }
.field .err { display: none; font-style: normal; font-size: .8rem; color: var(--red); margin-top: 5px; }
.field.is-bad input, .field.is-bad select { border-color: var(--red); }
.field.is-bad .err { display: block; }

.form-note { display: flex; align-items: center; gap: 8px; justify-content: center; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.form-note svg { width: 15px; height: 15px; }

.form-success { text-align: center; padding: 30px 10px; }
.form-success__ico {
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px;
  background: var(--red-tint); border-radius: 50%; color: var(--red);
}
.form-success__ico svg { width: 26px; height: 26px; }
.form-success h4 { font-family: var(--font-d); font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); font-size: .92rem; margin-bottom: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0D0D10; color: #B9B9C1; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  padding-block: 64px 48px;
}
.footer__brand p { font-size: .92rem; max-width: 26em; margin: 18px 0; }
.footer__contact { display: grid; gap: 6px; }
.footer__contact a { color: #fff; font-weight: 500; font-size: .95rem; transition: color .15s ease; }
.footer__contact a:hover { color: var(--red); }

.footer__col h3 {
  font-family: var(--font-b); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: #8A8A93; margin-bottom: 16px;
}
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col a { font-size: .92rem; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px;
  padding-block: 22px; border-top: 1px solid var(--line-dark);
  font-size: .8rem; color: #8A8A93;
}
.footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer__badges span {
  padding: 4px 10px; border: 1px solid var(--line-dark); border-radius: 100px;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #A5A5AE;
}

/* ============================================================
   FABS + TOAST
   ============================================================ */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 20px -6px rgba(19,19,22,.35);
  transition: transform .15s ease, opacity .2s ease, visibility .2s ease;
}
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-2px); }
.fab--wa   { background: #25D366; color: #fff; }
.fab--call { background: var(--ink); color: #fff; bottom: 86px; }
.fab--top  { background: var(--paper); color: var(--ink); border: 1px solid var(--line); opacity: 0; visibility: hidden; }
.fab--top.is-on { opacity: 1; visibility: visible; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); z-index: 300;
  background: var(--ink); color: #fff; padding: 13px 22px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 500;
  opacity: 0; visibility: hidden; transition: all .25s ease;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.toast.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .card:nth-child(-n+2) { border-top: 0; }
  .card:nth-child(odd) { border-left: 0; }
  .panel-grid.is-active { grid-template-columns: 1fr 1fr; }
  .certs { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .2s ease;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; box-shadow: 0 20px 40px -20px rgba(19,19,22,.25); }
  .nav__links a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1rem; }
  .nav__links a:last-child { border-bottom: 0; }
  .burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 520px; }

  .split, .faq-wrap, .split--contact { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; max-width: 460px; }
  .quotes { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid var(--line-dark); padding: 28px 0; }
  .stat:nth-child(2) { border-left: 1px solid var(--line-dark); padding-left: 28px; }
  .stat:nth-child(4) { border-left: 1px solid var(--line-dark); padding-left: 28px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-strip__item { border-left: 0; border-top: 1px solid var(--line); }
  .feature-strip__item:first-child { border-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 84px; }
  .cards { grid-template-columns: 1fr; }
  .card, .card:nth-child(odd) { border-left: 0; border-top: 1px solid var(--line); }
  .card:first-child { border-top: 0; }
  .panel-grid.is-active { grid-template-columns: 1fr; }
  .certs { grid-template-columns: 1fr; }
  .case__row { grid-template-columns: 1fr; gap: 20px; }
  .case__top { flex-direction: column; gap: 6px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .nav__cta { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat:nth-child(2), .stat:nth-child(4) { border-left: 0; border-top: 1px solid var(--line-dark); padding: 24px 0; }
  .stat:first-child { border-top: 0; }
  .mini-stats { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .badge-live i { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
