/* ==========================================================
   ZheerTech ICT Solutions — main stylesheet
   ========================================================== */

:root {
  --red: #c1272d;
  --red-bright: #e3242b;
  --red-dark: #9d1c21;
  --black: #0b0b0d;
  --ink: #141418;
  --ink-2: #1c1c22;
  --text: #1a1a1f;
  --muted: #5d5f6b;
  --muted-light: #a3a5b1;
  --line: #e7e7ec;
  --bg: #ffffff;
  --bg-alt: #f6f6f8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(11, 11, 13, .18);
  --shadow-lg: 0 30px 60px -20px rgba(11, 11, 13, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.text-red { color: var(--red-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn--lg { padding: .95rem 1.75rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(193, 39, 45, .7); }
.btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(227, 36, 43, .8); }
.btn--primary svg { transition: transform .25s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--black); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow--light { color: #fff; opacity: .85; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 4px rgba(227,36,43,.2); }

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, height .3s;
}
/* blur lives on a pseudo-element so the fixed mobile drawer isn't trapped inside the header box */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.header.scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,.35); border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.header__logo img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; gap: .35rem; }
.nav__link {
  position: relative; display: block;
  padding: .5rem .85rem;
  font-weight: 500; font-size: .95rem; color: var(--muted);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem;
  height: 2px; border-radius: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.active { color: var(--black); }
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

.burger {
  display: none; position: relative; z-index: 120;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  border-radius: 10px;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--black);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 10%, rgba(193,39,45,.22), transparent 60%),
              radial-gradient(800px 500px at 0% 100%, rgba(193,39,45,.12), transparent 60%),
              var(--black);
  color: #fff;
  padding: calc(var(--header-h) + 80px) 0 100px;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.04; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}
.hero__text { font-size: 1.12rem; color: var(--muted-light); max-width: 540px; margin-bottom: 2.2rem; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.2rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.1); }
.hero__stats strong { display: block; font-size: 2rem; font-weight: 700; line-height: 1.1; }
.hero__stats span { font-size: .85rem; color: var(--muted-light); }

/* Animated network */
.hero__visual { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.network { width: 100%; height: auto; }
.network .ring { fill: none; stroke: rgba(255,255,255,.12); stroke-dasharray: 4 8; transform-origin: 240px 240px; animation: spin 40s linear infinite; }
.network .ring--2 { stroke: rgba(227,36,43,.35); animation-duration: 25s; animation-direction: reverse; }
.network .links line { stroke: rgba(255,255,255,.18); stroke-width: 1.2; }
.network .nodes circle { fill: var(--ink-2); stroke: rgba(255,255,255,.55); stroke-width: 2; }
.network .pulses circle { fill: var(--red-bright); filter: drop-shadow(0 0 6px var(--red-bright)); }
.network .core { fill: var(--red); stroke: rgba(255,255,255,.9); stroke-width: 3; animation: corePulse 2.6s ease-in-out infinite; transform-origin: 240px 240px; }
.network .core__label { fill: #fff; font-family: var(--font); font-weight: 800; font-size: 28px; letter-spacing: .02em; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes corePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: .75rem;
  padding: .8rem 1rem; border-radius: 14px;
  background: rgba(20,20,24,.75); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .9rem; font-weight: 600; }
.float-card small { font-size: .75rem; color: var(--muted-light); }
.float-card--a { top: 8%; left: -6%; }
.float-card--b { bottom: 6%; right: -4%; animation-delay: -3s; }
.float-card__icon {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: rgba(227,36,43,.18); color: var(--red-bright);
}
.float-card__icon--ok { background: rgba(46,204,113,.15); color: #2ecc71; }
.float-card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ==========================================================
   TECH STRIP
   ========================================================== */
.strip { background: var(--ink); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; padding: 1.3rem 0; }
.strip__track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 35s linear infinite; }
.strip__track span { color: rgba(255,255,255,.45); font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; white-space: nowrap; }
.strip:hover .strip__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 1.75rem)); } }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--black); color: #fff; }
.section__head { max-width: 680px; margin-bottom: 3.5rem; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.section__lead { color: var(--muted); font-size: 1.08rem; font-weight: 400; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.4rem;
  display: grid; place-items: center;
  background: var(--black); color: #fff;
  transition: background .3s, transform .35s var(--ease);
}
.card:hover .card__icon { background: var(--red); transform: rotate(-6deg) scale(1.05); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 1.2rem; }
.card ul { display: grid; gap: .45rem; padding-top: 1.1rem; border-top: 1px dashed var(--line); }
.card li { position: relative; padding-left: 1.4rem; font-size: .92rem; font-weight: 500; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--red); transform: rotate(45deg);
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4.5rem; align-items: center; }
.about__visual { position: relative; }
.about__panel { background: var(--black); color: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.about__panel-head { display: flex; align-items: center; gap: .45rem; padding: 1rem 1.3rem; background: var(--ink-2); border-bottom: 1px solid rgba(255,255,255,.06); }
.about__panel-head span { width: 11px; height: 11px; border-radius: 50%; background: #3a3a44; }
.about__panel-head span:first-child { background: var(--red-bright); }
.about__panel-head small { margin-left: auto; color: var(--muted-light); font-size: .78rem; font-family: ui-monospace, Consolas, monospace; }
.about__panel-body { padding: 2rem 1.6rem 2.4rem; display: grid; gap: 1.5rem; }
.meter { display: grid; grid-template-columns: 100px 1fr 44px; align-items: center; gap: 1rem; font-size: .9rem; }
.meter label { color: var(--muted-light); }
.meter b { text-align: right; font-weight: 600; }
.meter__bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--red-dark), var(--red-bright)); transition: width 1.6s var(--ease) .3s; }
.about__visual.visible .meter__bar i { width: var(--w); }
.meter__bar .w-92 { --w: 92%; }
.meter__bar .w-96 { --w: 96%; }
.meter__bar .w-98 { --w: 98%; }
.meter__bar .w-99 { --w: 99%; }
.about__badge {
  position: absolute; right: -24px; bottom: -32px;
  display: flex; align-items: center; gap: .8rem;
  background: var(--red); color: #fff; padding: 1.1rem 1.4rem; border-radius: 16px;
  box-shadow: 0 20px 40px -16px rgba(193,39,45,.8);
}
.about__badge strong { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.about__badge span { font-size: .85rem; line-height: 1.25; opacity: .95; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; margin-top: 2.2rem; }
.feature { display: flex; gap: 1rem; }
.feature__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(193,39,45,.1); color: var(--red);
}
.feature__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h4 { font-size: 1.02rem; font-weight: 600; margin-bottom: .2rem; }
.feature p { font-size: .92rem; color: var(--muted); }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step {
  position: relative; padding: 2rem 1.6rem;
  border-radius: var(--radius); background: var(--ink); border: 1px solid rgba(255,255,255,.07);
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.step:hover { border-color: rgba(227,36,43,.55); transform: translateY(-6px); background: var(--ink-2); }
.step__num {
  display: inline-block; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 1.2rem;
  background: linear-gradient(180deg, var(--red-bright), rgba(227,36,43,.25));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--muted-light); font-size: .95rem; }

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.industry {
  display: flex; align-items: center; gap: .9rem;
  padding: 1.2rem 1.3rem; border-radius: 14px;
  border: 1px solid var(--line); background: #fff;
  font-weight: 500;
  transition: border-color .25s, box-shadow .3s, transform .3s var(--ease);
}
.industry svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.industry:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(120deg, var(--red-dark), var(--red) 50%, var(--red-bright));
  color: #fff; padding: 64px 0; position: relative; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px; mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -.01em; margin-bottom: .3rem; }
.cta p { opacity: .9; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: start; }
.contact__list { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; background: var(--black); color: #fff;
}
.contact__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.contact__list a, .contact__list span { font-weight: 600; }
.contact__list a:hover { color: var(--red); }

.form {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 2.2rem; box-shadow: var(--shadow);
  display: grid; gap: 1.1rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(193,39,45,.12);
}
.field.invalid input, .field.invalid textarea { border-color: var(--red-bright); background: #fff5f5; }
.form__status { font-size: .92rem; font-weight: 500; min-height: 1.2em; text-align: center; }
.form__status.ok { color: #1e8e4e; }
.form__status.err { color: var(--red); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--muted-light); padding: 80px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer__logo { height: 36px; width: auto; margin-bottom: 1.2rem; filter: brightness(0) invert(1); }
.footer__brand p { max-width: 320px; font-size: .95rem; }
.footer h5 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1.1rem; }
.footer ul { display: grid; gap: .6rem; }
.footer ul a { font-size: .95rem; transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.6rem; padding-bottom: 1.6rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem;
}
.to-top {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; transition: transform .25s var(--ease), background .25s;
}
.to-top:hover { background: var(--red-bright); transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .about { gap: 3.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.5rem;
    padding: calc(var(--header-h) + 1.5rem) 1.6rem 2rem;
    background: #fff; box-shadow: -20px 0 50px -20px rgba(0,0,0,.35);
    transform: translateX(100%); transition: transform .4s var(--ease);
    visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: .2rem; }
  .nav__link { padding: .9rem .4rem; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__link.active { color: var(--red); }
  .nav__cta { width: 100%; }
  body.menu-open { overflow: hidden; }
  body.menu-open::after {
    content: ""; position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.45);
  }

  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 80px; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 420px; }
  .about, .contact { grid-template-columns: 1fr; }
  .about__visual { max-width: 520px; margin-bottom: 1.5rem; }
  .about__badge { right: 12px; }
  .section { padding: 84px 0; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .header__logo img { height: 26px; }
  .hide-sm { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hero__stats strong { font-size: 1.5rem; }
  .hero__stats span { font-size: .78rem; line-height: 1.3; display: block; }
  .float-card { padding: .6rem .8rem; }
  .float-card--a { left: 0; top: 2%; }
  .float-card--b { right: 0; bottom: 0; }
  .services, .steps, .features, .form__row { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .industry { flex-direction: column; text-align: center; padding: 1.1rem .6rem; font-size: .9rem; }
  .card { padding: 1.6rem; }
  .form { padding: 1.5rem; }
  .meter { grid-template-columns: 80px 1fr 40px; gap: .7rem; font-size: .85rem; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: row; }
}

/* ==========================================================
   MULTI-PAGE COMPONENTS
   ========================================================== */
.ico { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--dark { background: var(--black); color: #fff; margin-top: 2rem; }
.btn--dark:hover { background: var(--red); transform: translateY(-2px); }
.btn--outline { border-color: var(--line); color: var(--black); background: #fff; }
.btn--outline:hover { border-color: var(--black); transform: translateY(-2px); }

.section__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section__head--split > div { max-width: 620px; }
.section__head--split .section__lead { max-width: 460px; }
.section__title--sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.section--center { text-align: center; padding-top: calc(var(--header-h) + 90px); }
.narrow { max-width: 640px; }
.actions-center { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* whole card clickable via its heading link */
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card:focus-within, .project:focus-within, .post-card:focus-within { outline: 3px solid var(--red-bright); outline-offset: 3px; }
.card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.3rem; font-weight: 600; font-size: .92rem; color: var(--red); }
.card__more .ico { transition: transform .25s var(--ease); }
.card:hover .card__more .ico, .project:hover .card__more .ico, .post-card:hover .card__more .ico { transform: translateX(4px); }
.card__icon--red { background: var(--red); }

.tag { display: inline-block; padding: .25rem .7rem; border-radius: 99px; font-size: .75rem; font-weight: 600; background: rgba(193,39,45,.1); color: var(--red); }
.tag--light { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.meta { color: var(--muted); font-size: .85rem; font-weight: 500; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(900px 400px at 90% 0%, rgba(193,39,45,.28), transparent 60%), var(--black);
  padding: calc(var(--header-h) + 70px) 0 80px;
}
.page-hero__inner { position: relative; max-width: 860px; }
.page-hero__title { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.page-hero__lead { color: var(--muted-light); font-size: 1.12rem; font-weight: 300; max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--muted-light); margin-bottom: 1.6rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Projects ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.project {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project__cover {
  position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 28px 28px,
    radial-gradient(circle at 70% 30%, rgba(227,36,43,.55), transparent 60%),
    var(--black);
}
.project__cover .ico { width: 64px; height: 64px; stroke-width: 1.4; transition: transform .5s var(--ease); }
.project:hover .project__cover .ico { transform: scale(1.12) rotate(-4deg); }
.project__cover .tag { position: absolute; left: 1rem; top: 1rem; }
.project__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.project__body h3 { font-size: 1.2rem; font-weight: 600; margin: .35rem 0 .5rem; }
.project__body p { color: var(--muted); font-size: .95rem; flex: 1; }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.filter { padding: .55rem 1.2rem; border-radius: 99px; border: 1.5px solid var(--line); font-weight: 500; font-size: .92rem; transition: all .2s; }
.filter:hover { border-color: var(--black); }
.filter.active { background: var(--black); border-color: var(--black); color: #fff; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.post-card h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; margin-bottom: .6rem; }
.post-card p { color: var(--muted); font-size: .95rem; flex: 1; }

.search { display: flex; align-items: center; gap: .6rem; max-width: 560px; margin-bottom: 2.5rem; padding: .4rem .4rem .4rem 1.1rem; border: 1.5px solid var(--line); border-radius: 99px; background: #fff; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(193,39,45,.12); }
.search .ico { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: .5rem 0; }
.results-note { margin: -1.5rem 0 2rem; color: var(--muted); }
.results-note a { color: var(--red); font-weight: 600; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 600; }
.pagination a.active, .pagination a:hover { background: var(--black); border-color: var(--black); color: #fff; }

/* ---------- Detail pages (service / project / post) ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; }
.detail__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.5rem; }
.detail__subhead { font-size: 1.5rem; font-weight: 600; margin: 2.5rem 0 1.2rem; }
.lede { font-size: 1.25rem; font-weight: 400; line-height: 1.55; color: var(--text); margin-bottom: 1.6rem; padding-left: 1.2rem; border-left: 3px solid var(--red); }
.prose p { font-size: 1.07rem; line-height: 1.8; color: #3a3b44; margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.45rem; font-weight: 600; margin: 2.2rem 0 .8rem; letter-spacing: -.01em; }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.checklist li { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--bg-alt); font-weight: 500; }
.checklist .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; }

.side-card { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.side-card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.side-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 1rem; }
.side-card h4:not(:first-child) { margin-top: 1.6rem; }
.side-card p { color: var(--muted); margin-bottom: 1.4rem; font-size: .95rem; }
.side-card--dark { background: var(--black); border-color: var(--black); color: #fff; }
.side-card--dark p { color: var(--muted-light); }
.side-card--dark .card__icon { margin-bottom: 1.2rem; }
.side-card__phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; font-weight: 600; color: #fff; }
.side-list { display: grid; gap: .25rem; }
.side-list a { display: flex; align-items: center; gap: .75rem; padding: .65rem .7rem; border-radius: 10px; font-weight: 500; font-size: .95rem; transition: background .2s, color .2s; }
.side-list a .ico { color: var(--red); width: 20px; height: 20px; }
.side-list a:hover { background: var(--bg-alt); color: var(--red); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.2rem; font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { font-weight: 600; }
.recent { display: grid; gap: 1rem; }
.recent a { display: block; }
.recent strong { display: block; font-weight: 600; line-height: 1.35; transition: color .2s; }
.recent small { color: var(--muted); }
.recent a:hover strong { color: var(--red); }

/* ---------- About page ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mvv__item { padding: 2.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.mvv__item .feature__icon { margin-bottom: 1.3rem; }
.mvv__item h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.mvv__item p { color: var(--muted); }
.features--4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
.features--4 .feature { flex-direction: column; }
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stats-band strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: #fff; line-height: 1.1; }
.stats-band span { color: var(--muted-light); }

/* ---------- Contact / forms ---------- */
.alert { padding: .9rem 1.1rem; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.alert--err { background: #fff1f1; color: var(--red-dark); border: 1px solid #f6caca; }
.alert--ok { background: #effaf3; color: #1e6b3f; border: 1px solid #c5ead3; }
.field__error { color: var(--red); font-size: .85rem; font-weight: 500; }
.big-icon { width: 84px; height: 84px; margin: 0 auto 1.6rem; border-radius: 50%; display: grid; place-items: center; }
.big-icon--ok { background: #e8f7ee; color: #1e8e4e; }
.big-icon .ico { width: 40px; height: 40px; stroke-width: 2.5; }
.error-code { font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--red); margin-bottom: .5rem; }

.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.social a { display: inline-block; padding: .45rem .9rem; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; font-size: .85rem; transition: all .2s; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__contact li { font-size: .95rem; }

@media (max-width: 1080px) {
  .projects, .posts { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: minmax(0, 1fr) 300px; gap: 2.5rem; }
  .features--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .detail { grid-template-columns: 1fr; }
  .detail__aside { position: static; }
  .mvv { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 60px; }
}
@media (max-width: 640px) {
  .projects, .posts, .checklist, .features--4 { grid-template-columns: 1fr; }
  .section__head--split { align-items: flex-start; }
  .search { border-radius: 14px; }
  .search .btn { padding: .6rem 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .network .pulses { display: none; }
}

/* ---------- Coming soon page ---------- */
.soon { padding: 64px 0; text-align: center; }
.soon__inner { position: relative; display: flex; flex-direction: column; align-items: center; max-width: 760px; }
.soon__logo { height: 54px; width: auto; margin-bottom: 2.6rem; filter: brightness(0) invert(1); }
.soon__title { margin-top: 1rem; }
.soon__text { color: var(--muted-light); font-size: 1.12rem; line-height: 1.7; max-width: 560px; margin-bottom: .8rem; }
.soon__contact { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.6rem; }
.soon__btn-ghost { border: 1.5px solid rgba(255,255,255,.28); color: #fff; background: transparent; }
.soon__btn-ghost:hover { border-color: #fff; transform: translateY(-2px); }
.soon__foot { margin-top: 3rem; color: var(--muted-light); font-size: .88rem; }
