/*
Theme Name: Zenith Core
Theme URI: https://zcinnov.ma/
Author: Zenith Core Innovations
Author URI: https://zcinnov.ma/
Description: Thème corporate sur mesure pour Zenith Core Innovations.
Version: 1.4.5
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.1
Text Domain: zenith-core
*/

:root {
  --ink: #080b12;
  --ink-soft: #101621;
  --panel: #151c29;
  --line: rgba(255, 255, 255, 0.12);
  --silver: #d9e0ea;
  --muted: #9ba7b8;
  --white: #f8fafc;
  --blue: #2f6bff;
  --blue-light: #70a0ff;
  --cyan: #66e2ff;
  --page: #f3f5f8;
  --page-ink: #111827;
  --page-muted: #5d6777;
  --shadow: 0 24px 70px rgba(8, 11, 18, 0.14);
  --radius: 28px;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--page-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 11, 18, .88);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(18px);
}
body:not(.home) .site-header { background: rgba(8, 11, 18, .96); }
.nav-shell {
  width: var(--wrap);
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  letter-spacing: -.02em;
}
.brand img { width: 220px; height: 56px; padding: 7px 12px; object-fit: contain; border-radius: 12px; background: #fff; }
.brand-name { display: none; line-height: 1.02; }
.brand-name strong { font-size: 15px; letter-spacing: .14em; }
.brand-name span { margin-top: 5px; color: #aeb8c8; font-size: 9px; letter-spacing: .34em; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a {
  color: #c7ced9;
  font-size: 14px;
  font-weight: 650;
  transition: color .2s ease;
}
.primary-nav a:hover, .primary-nav a:focus-visible { color: white; }
.primary-nav .nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: white;
}
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.07);
  color: white;
}
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: .25s ease; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 35%, rgba(47,107,255,.22), transparent 30%),
    radial-gradient(circle at 12% 12%, rgba(102,226,255,.09), transparent 24%),
    var(--ink);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
}
.hero-shell {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  min-height: 760px;
  margin: 0 auto;
  padding: 150px 0 92px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(48px, 6.3vw, 84px);
  line-height: .98;
  letter-spacing: -.057em;
  font-weight: 760;
}
.hero h1 span {
  color: transparent;
  background: linear-gradient(108deg, #fff 0%, #9ebcff 55%, #66e2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.hero-copy {
  max-width: 640px;
  margin: 28px 0 0;
  color: #b6c0cf;
  font-size: clamp(18px, 2vw, 21px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 760;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 16px 36px rgba(47,107,255,.28); }
.button-primary:hover { box-shadow: 0 20px 42px rgba(47,107,255,.38); }
.button-ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: white; }
.button-ghost:hover { background: rgba(255,255,255,.11); }
.button svg { width: 17px; height: 17px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 46px; color: #8e9bac; font-size: 13px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.core-visual { position: relative; width: min(480px, 100%); aspect-ratio: 1; }
.core-orbit, .core-orbit::before, .core-orbit::after { position: absolute; border-radius: 50%; }
.core-orbit {
  inset: 10%;
  border: 1px solid rgba(161,186,255,.30);
  animation: orbit 22s linear infinite;
}
.core-orbit::before { content: ""; inset: 12%; border: 1px dashed rgba(255,255,255,.20); animation: orbit 18s linear infinite reverse; }
.core-orbit::after { content: ""; inset: 28%; border: 1px solid rgba(102,226,255,.26); }
.core-disc {
  position: absolute;
  inset: 24%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255,255,255,.16), transparent 28%), linear-gradient(145deg, #1c2637, #0b1019);
  box-shadow: inset 0 0 50px rgba(47,107,255,.14), 0 0 80px rgba(47,107,255,.20);
}
.core-disc::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  opacity: .52;
  background-image:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,.17) 48%, rgba(255,255,255,.17) 52%, transparent 53%),
    linear-gradient(transparent 47%, rgba(255,255,255,.17) 48%, rgba(255,255,255,.17) 52%, transparent 53%);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle, black 25%, transparent 73%);
}
.core-letter { position: relative; color: white; font-size: 116px; font-weight: 850; line-height: 1; letter-spacing: -.12em; transform: skewX(-8deg); text-shadow: 0 0 34px rgba(112,160,255,.45); }
.node { position: absolute; width: 11px; height: 11px; border: 2px solid rgba(255,255,255,.7); border-radius: 50%; background: var(--blue); box-shadow: 0 0 18px var(--blue); }
.node::after { content: ""; position: absolute; inset: -9px; border: 1px solid rgba(112,160,255,.24); border-radius: 50%; }
.node-a { top: 9%; left: 47%; }
.node-b { right: 10%; top: 42%; }
.node-c { bottom: 14%; left: 24%; }
.visual-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(14,20,31,.72);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  color: #d9e1ed;
  font-size: 12px;
  font-weight: 700;
}
.visual-card i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.visual-card-a { left: 0; top: 27%; }
.visual-card-b { right: 0; bottom: 22%; }
@keyframes orbit { to { transform: rotate(360deg); } }

.capabilities { background: var(--ink); color: #8f9bae; }
.capabilities-inner { width: var(--wrap); margin: 0 auto; padding: 25px 0 27px; display: flex; align-items: center; justify-content: space-between; gap: 18px; overflow: hidden; }
.capabilities span { white-space: nowrap; font-size: 12px; font-weight: 760; letter-spacing: .11em; text-transform: uppercase; }
.capabilities b { color: rgba(255,255,255,.18); font-size: 9px; }

.section { padding: 118px 0; }
.section-shell { width: var(--wrap); margin: 0 auto; }
.section-heading { display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: end; margin-bottom: 58px; }
.section-heading .eyebrow { margin-bottom: 0; color: var(--blue); align-self: start; }
.section-heading h2 { max-width: 800px; margin: 0; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.045em; }
.section-heading p { max-width: 680px; margin: 22px 0 0; color: var(--page-muted); font-size: 18px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  position: relative;
  min-height: 340px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #e1e5eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 rgba(8,11,18,0);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-7px); border-color: #cbd5e1; box-shadow: var(--shadow); }
.service-card::after { content: ""; position: absolute; width: 170px; height: 170px; right: -80px; bottom: -100px; border-radius: 50%; background: rgba(47,107,255,.08); transition: transform .35s ease; }
.service-card:hover::after { transform: scale(1.35); }
.service-number { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .16em; }
.service-icon { width: 48px; height: 48px; margin: 42px 0 28px; padding: 12px; border-radius: 15px; background: #edf2ff; color: var(--blue); }
.service-card h3 { margin: 0 0 12px; font-size: 23px; line-height: 1.16; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--page-muted); font-size: 15px; }

.dark-section { position: relative; overflow: hidden; background: var(--ink-soft); color: var(--white); }
.dark-section::before { content: ""; position: absolute; width: 560px; height: 560px; right: -260px; top: -220px; border-radius: 50%; border: 1px solid rgba(112,160,255,.14); box-shadow: 0 0 90px rgba(47,107,255,.08); }
.about-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 84px; align-items: center; }
.about-panel { position: relative; min-height: 560px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: var(--radius); background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); }
.about-panel::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.22) 1px, transparent 1.5px); background-size: 26px 26px; mask-image: linear-gradient(145deg, black, transparent 70%); opacity: .45; }
.about-monogram { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(180px, 25vw, 310px); font-weight: 900; letter-spacing: -.16em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16); transform: translateX(-5%); }
.about-card { position: absolute; left: 30px; right: 30px; bottom: 30px; padding: 24px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(8,11,18,.78); backdrop-filter: blur(18px); }
.about-card strong { display: block; margin-bottom: 8px; font-size: 21px; letter-spacing: -.02em; }
.about-card p { margin: 0; color: #aab5c5; }
.about-copy h2 { margin: 0 0 26px; font-size: clamp(39px, 5vw, 62px); line-height: 1.03; letter-spacing: -.048em; }
.about-copy > p { margin: 0; color: #aeb8c7; font-size: 18px; }
.principles { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.11); }
.principle { display: grid; grid-template-columns: 42px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.principle span { color: var(--blue-light); font-size: 12px; font-weight: 800; }
.principle strong { display: block; margin-bottom: 4px; }
.principle p { margin: 0; color: #8f9bad; font-size: 14px; }

.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card { min-height: 380px; padding: 32px; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; box-shadow: 0 14px 42px rgba(15,23,42,.07); }
.solution-visual { height: 136px; margin-bottom: 34px; position: relative; overflow: hidden; border-radius: 20px; background: #0f1622; }
.solution-visual::before, .solution-visual::after { content: ""; position: absolute; }
.solution-visual.one::before { inset: 23px; border: 1px solid rgba(112,160,255,.5); border-radius: 12px; box-shadow: 22px 16px 0 -1px rgba(47,107,255,.28); }
.solution-visual.one::after { left: 44px; right: 60px; top: 48px; height: 5px; border-radius: 6px; background: var(--blue); box-shadow: 0 20px 0 rgba(255,255,255,.25), 0 40px 0 rgba(255,255,255,.12); }
.solution-visual.two::before { width: 78px; height: 78px; left: 50%; top: 50%; border: 1px dashed rgba(255,255,255,.36); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 0 20px rgba(47,107,255,.12), 0 0 0 40px rgba(47,107,255,.05); }
.solution-visual.two::after { width: 14px; height: 14px; left: calc(50% - 7px); top: calc(50% - 7px); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px var(--cyan); }
.solution-visual.three::before { left: 28px; right: 28px; bottom: 28px; height: 70px; background: linear-gradient(135deg, transparent 0 14%, var(--blue) 15% 17%, transparent 18% 33%, var(--cyan) 34% 36%, transparent 37% 55%, #fff 56% 58%, transparent 59%); opacity: .9; }
.solution-visual.three::after { left: 30px; right: 30px; bottom: 28px; height: 1px; background: rgba(255,255,255,.22); box-shadow: 0 -24px rgba(255,255,255,.10), 0 -48px rgba(255,255,255,.10), 0 -72px rgba(255,255,255,.10); }
.solution-card h3 { margin: auto 0 12px; font-size: 26px; line-height: 1.15; letter-spacing: -.03em; }
.solution-card p { margin: 0; color: var(--page-muted); }

.process-section { background: #e9edf3; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cbd2dc; }
.process-step { position: relative; padding: 28px 28px 0 0; }
.process-step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 7px #d9e3ff; }
.process-step span { color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .14em; }
.process-step h3 { margin: 22px 0 9px; font-size: 22px; letter-spacing: -.02em; }
.process-step p { margin: 0; color: var(--page-muted); font-size: 14px; }

.contact-section { background: var(--ink); color: white; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 76px; align-items: start; }
.contact-copy h2 { margin: 0 0 24px; font-size: clamp(42px, 5.5vw, 70px); line-height: 1; letter-spacing: -.052em; }
.contact-copy > p { max-width: 520px; margin: 0 0 38px; color: #aeb8c7; font-size: 18px; }
.contact-detail { display: grid; grid-template-columns: 34px 1fr; gap: 15px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.11); }
.contact-detail:last-child { border-bottom: 1px solid rgba(255,255,255,.11); }
.contact-detail svg { width: 20px; height: 20px; margin-top: 3px; color: var(--blue-light); }
.contact-detail small { display: block; color: #7f8b9e; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.contact-detail a, .contact-detail address { display: block; margin-top: 4px; color: #e6eaf0; font-style: normal; }
.contact-card { padding: 34px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.055); box-shadow: 0 26px 80px rgba(0,0,0,.25); }
.form-status { margin: 0 0 22px; padding: 14px 16px; border-radius: 12px; font-size: 14px; }
.form-status.success { background: rgba(48,190,122,.14); color: #93efbe; border: 1px solid rgba(48,190,122,.26); }
.form-status.error { background: rgba(239,68,68,.12); color: #ffb0b0; border: 1px solid rgba(239,68,68,.25); }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 8px; color: #c7d0de; font-size: 13px; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  background: rgba(5,8,14,.52);
  color: white;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input { height: 52px; padding: 0 15px; }
.field textarea { min-height: 148px; resize: vertical; padding: 13px 15px; }
.field input:focus, .field textarea:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(47,107,255,.16); }
.field input::placeholder, .field textarea::placeholder { color: #647084; }
.form-honeypot { position: absolute; left: -9999px; }
.contact-form .button { justify-self: start; }
.consent-field { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: #aeb8c7; font-size: 12px; line-height: 1.55; }
.consent-field input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); }
.consent-field a { color: var(--blue-light); text-decoration: underline; text-underline-offset: 2px; }
.trust-section { padding: 94px 0; background: #edf3fb; }
.trust-heading { display: grid; grid-template-columns: .55fr 1fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.trust-heading h2 { max-width: 800px; margin: 0; color: var(--page-ink); font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.trust-card { min-height: 190px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid #d9e2ef; border-radius: 20px; background: white; box-shadow: 0 14px 38px rgba(15,23,42,.055); }
.trust-card strong { color: var(--page-ink); font-size: 18px; }
.trust-card span { margin-top: 11px; color: var(--page-muted); font-size: 14px; line-height: 1.6; }
.form-note { margin: -3px 0 0; color: #778398; font-size: 12px; }

.site-footer { background: #05070c; color: #8f9bad; }
.footer-shell { width: var(--wrap); margin: 0 auto; padding: 38px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-shell .brand { transform: scale(.9); transform-origin: left center; }
.footer-meta { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.footer-meta a:hover { color: white; }

.content-page { min-height: 70vh; padding: 150px 0 100px; }
.content-shell { width: min(840px, calc(100% - 40px)); margin: 0 auto; }
.content-shell h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1; letter-spacing: -.05em; }
.content-shell a { color: var(--blue); text-decoration: underline; }
.post-card { margin: 28px 0; padding: 28px; border-radius: 20px; background: white; box-shadow: 0 12px 34px rgba(15,23,42,.07); }
.post-card h2 { margin-top: 0; }

.catalog-hero {
  min-height: 590px;
  padding: 165px 0 92px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(47,107,255,.30), transparent 30%),
    linear-gradient(135deg, rgba(102,226,255,.06), transparent 34%),
    var(--ink);
  color: var(--white);
}
.catalog-shell { width: var(--wrap); margin: 0 auto; }
.catalog-hero h1 { max-width: 900px; margin: 0; font-size: clamp(54px, 8vw, 96px); line-height: .95; letter-spacing: -.06em; }
.catalog-hero h1 span { color: var(--blue-light); }
.catalog-hero > .catalog-shell > p:not(.eyebrow) { max-width: 700px; margin: 28px 0 0; color: #aeb8c7; font-size: 19px; }
.catalog-stats { margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 24px 44px; border-top: 1px solid rgba(255,255,255,.13); color: #8995a7; font-size: 13px; }
.catalog-stats strong { margin-right: 5px; color: white; }
.catalog-section { padding: 104px 0 118px; }
.catalog-intro { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: end; }
.catalog-intro .eyebrow { margin-bottom: 15px; color: var(--blue); }
.catalog-intro h2 { margin: 0; font-size: clamp(42px, 6vw, 70px); line-height: 1; letter-spacing: -.05em; }
.catalog-intro > p { margin: 0; color: var(--page-muted); font-size: 16px; }
.catalog-toolbar { margin-top: 52px; padding: 14px; display: grid; grid-template-columns: 1fr 290px; gap: 12px; border: 1px solid #dfe4eb; border-radius: 20px; background: white; box-shadow: 0 14px 40px rgba(15,23,42,.06); }
.catalog-toolbar label { position: relative; }
.catalog-toolbar input, .catalog-toolbar select { width: 100%; height: 54px; border: 1px solid #dfe4eb; border-radius: 13px; background: #f8fafc; color: var(--page-ink); outline: none; }
.catalog-toolbar input { padding: 0 18px 0 48px; }
.catalog-toolbar select { padding: 0 40px 0 16px; }
.catalog-toolbar input:focus, .catalog-toolbar select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47,107,255,.12); }
.catalog-search svg { position: absolute; z-index: 1; left: 17px; top: 17px; width: 20px; fill: none; stroke: #6b7280; stroke-width: 1.8; }
.catalog-results-bar { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.catalog-results-bar p { margin: 0; color: var(--page-muted); font-size: 14px; }
.catalog-reset { padding: 7px 0; border: 0; background: transparent; color: var(--blue); font-size: 13px; font-weight: 750; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.catalog-product { min-height: 500px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid #e1e6ed; border-radius: 23px; background: white; box-shadow: 0 10px 32px rgba(15,23,42,.055); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.catalog-product:hover { transform: translateY(-5px); border-color: #cbd5e1; box-shadow: 0 22px 55px rgba(15,23,42,.11); }
.catalog-product__accent { height: 8px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.catalog-product__media { position: relative; height: 190px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; border-bottom: 1px solid #edf0f4; background: linear-gradient(145deg, #f8fafc, #eef3f9); }
.catalog-product__media img { position: relative; z-index: 1; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.catalog-product__media__placeholder { color: #c4d1e4; font-size: 56px; font-weight: 900; letter-spacing: -.08em; }
.catalog-product__media.has-image .catalog-product__media__placeholder { display: none; }
.catalog-product__body { flex: 1; padding: 25px; display: flex; flex-direction: column; }
.catalog-product__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.catalog-product__category { max-width: 65%; overflow: hidden; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.catalog-product__stock { color: #8993a2; font-size: 11px; font-weight: 700; }
.catalog-product__stock::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #94a3b8; }
.catalog-product__stock.is-available { color: #177849; }
.catalog-product__stock.is-available::before { background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.catalog-product h3 { margin: 24px 0 13px; font-size: 21px; line-height: 1.18; letter-spacing: -.025em; }
.catalog-product__summary { margin: 0; display: -webkit-box; overflow: hidden; color: var(--page-muted); font-size: 14px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.catalog-product__footer { margin-top: auto; padding-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-top: 1px solid #edf0f4; }
.catalog-product__prices { display: grid; }
.catalog-product__prices del { color: #929aa8; font-size: 11px; }
.catalog-product__prices strong { font-size: 17px; letter-spacing: -.02em; }
.catalog-product__details { padding: 8px 0; border: 0; background: transparent; color: var(--blue); font-size: 12px; font-weight: 800; white-space: nowrap; }
.catalog-product__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.catalog-product__quote { padding: 9px 13px; border: 0; border-radius: 999px; background: var(--blue); color: white; font-size: 11px; font-weight: 800; white-space: nowrap; }
.catalog-product__quote:hover { background: #174fd6; }
.catalog-pagination { margin-top: 42px; display: flex; align-items: center; justify-content: center; gap: 22px; }
.catalog-pagination button { min-width: 112px; height: 44px; border: 1px solid #d8dee8; border-radius: 999px; background: white; color: var(--page-ink); font-size: 13px; font-weight: 750; }
.catalog-pagination button:disabled { opacity: .4; cursor: default; }
.catalog-pagination span { color: var(--page-muted); font-size: 13px; }
.catalog-empty { padding: 70px 24px; border: 1px dashed #cbd5e1; border-radius: 22px; text-align: center; }
.catalog-empty h3 { margin: 0 0 7px; }
.catalog-empty p { margin: 0; color: var(--page-muted); }
.catalog-cta { padding: 92px 0; background: var(--ink-soft); color: white; }
.catalog-cta__inner { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: center; }
.catalog-cta h2 { max-width: 800px; margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -.045em; }
.catalog-cta .button { white-space: nowrap; }
.product-dialog { width: min(720px, calc(100% - 28px)); max-height: calc(100vh - 40px); padding: 38px; border: 1px solid #dfe4eb; border-radius: 26px; background: white; color: var(--page-ink); box-shadow: 0 36px 100px rgba(4,8,15,.35); }
.product-dialog::backdrop { background: rgba(4,8,15,.72); backdrop-filter: blur(8px); }
.product-dialog__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 1px solid #e1e6ed; border-radius: 50%; background: #f8fafc; color: #334155; font-size: 24px; line-height: 1; }
.product-dialog__media { height: 250px; margin: -10px 0 28px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; border-radius: 18px; background: linear-gradient(145deg, #f8fafc, #eef3f9); }
.product-dialog__media img { position: relative; z-index: 1; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-dialog__media__placeholder { color: #c4d1e4; font-size: 72px; font-weight: 900; letter-spacing: -.08em; }
.product-dialog__media.has-image .product-dialog__media__placeholder { display: none; }
.product-dialog__category { margin: 0 46px 14px 0; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.product-dialog h2 { margin: 0 45px 16px 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
.product-dialog__summary { color: var(--page-muted); }
.product-dialog__details { margin: 24px 0; padding: 22px; border-radius: 16px; background: #f3f6fa; }
.product-dialog__details:empty { display: none; }
.product-dialog__details ul { margin: 0; padding-left: 20px; }
.product-dialog__details li + li { margin-top: 8px; }
.product-dialog__footer { padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid #e6eaf0; }
.product-dialog__footer strong { font-size: 24px; }
.catalog-status { margin: -52px 0 42px; }
.quote-cart-toggle { position: fixed; z-index: 1100; right: 24px; bottom: 24px; min-height: 54px; padding: 8px 10px 8px 20px; display: flex; align-items: center; gap: 14px; border: 0; border-radius: 999px; background: var(--blue); color: white; box-shadow: 0 18px 50px rgba(18,71,201,.35); font-size: 13px; font-weight: 800; }
.quote-cart-toggle[hidden] { display: none; }
.quote-cart-toggle strong { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--blue); }
.quote-cart-toggle.is-pulsing { animation: quote-pulse .45s ease; }
@keyframes quote-pulse { 50% { transform: scale(1.06); } }
.quote-cart { width: min(820px, calc(100% - 28px)); max-height: calc(100vh - 32px); padding: 34px; border: 1px solid #dfe4eb; border-radius: 26px; color: var(--page-ink); box-shadow: 0 36px 100px rgba(4,8,15,.38); }
.quote-cart::backdrop { background: rgba(4,8,15,.74); backdrop-filter: blur(8px); }
.quote-cart__close { position: absolute; top: 17px; right: 17px; width: 40px; height: 40px; border: 1px solid #e1e6ed; border-radius: 50%; background: #f8fafc; font-size: 24px; }
.quote-cart__heading { padding-right: 50px; }
.quote-cart__heading h2 { margin: 8px 0 9px; font-size: clamp(32px, 5vw, 48px); line-height: 1; letter-spacing: -.045em; }
.quote-cart__heading > p:last-child { margin: 0; color: var(--page-muted); }
.quote-cart__items { margin: 28px 0; display: grid; gap: 10px; }
.quote-cart__empty { padding: 24px; border: 1px dashed #cbd5e1; border-radius: 14px; color: var(--page-muted); text-align: center; }
.quote-item { padding: 14px 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; border: 1px solid #e3e8ef; border-radius: 14px; background: #f8fafc; }
.quote-item__info { display: grid; gap: 4px; }
.quote-item__info strong { font-size: 14px; line-height: 1.35; }
.quote-item__info span { color: var(--page-muted); font-size: 11px; }
.quote-item__quantity { display: grid; gap: 4px; color: var(--page-muted); font-size: 10px; text-transform: uppercase; }
.quote-item__quantity input { width: 70px; height: 38px; padding: 0 8px; border: 1px solid #d7dee8; border-radius: 9px; }
.quote-item__remove { border: 0; background: transparent; color: #b42318; font-size: 11px; font-weight: 750; }
.quote-form { padding-top: 26px; display: grid; gap: 16px; border-top: 1px solid #e5e9ef; }
.quote-form .field input, .quote-form .field textarea { background: #f8fafc; color: var(--page-ink); border-color: #d9e0e9; }
.quote-form .field label { color: var(--page-ink); }
.quote-form textarea { min-height: 100px; }
.quote-form .consent-field { color: var(--page-muted); }
.quote-form .consent-field a { color: var(--blue); }
.quote-form .form-note { color: var(--page-muted); }

.legal-hero { padding: 170px 0 82px; background: var(--ink); color: white; }
.legal-shell { width: min(100% - 40px, 900px); margin: 0 auto; }
.legal-hero h1 { max-width: 820px; margin: 12px 0 20px; font-size: clamp(48px, 8vw, 82px); line-height: .98; letter-spacing: -.055em; }
.legal-hero > .legal-shell > p:last-child { max-width: 680px; color: #aeb8c7; font-size: 17px; }
.legal-content { padding: 86px 0 110px; background: #f7f9fc; }
.legal-prose { padding: 54px; border: 1px solid #e1e6ed; border-radius: 24px; background: white; box-shadow: 0 18px 55px rgba(15,23,42,.06); }
.legal-prose h2 { margin: 38px 0 12px; color: var(--page-ink); font-size: 24px; letter-spacing: -.025em; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p { color: var(--page-muted); line-height: 1.75; }
.legal-prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-updated { margin-top: 48px; padding-top: 22px; border-top: 1px solid #e7ebf0; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed;
    inset: 82px 20px auto;
    padding: 22px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background: rgba(8,11,18,.98);
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 8px; }
  .primary-nav .nav-cta { margin-top: 10px; text-align: center; }
  .hero-shell { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-visual { min-height: 430px; }
  .core-visual { width: min(430px, 100%); }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .trust-heading { grid-template-columns: 1fr; gap: 18px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services-grid, .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-intro { grid-template-columns: 1fr; gap: 22px; }
  .catalog-cta__inner { grid-template-columns: 1fr; gap: 34px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-panel { min-height: 460px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .capabilities-inner span:nth-of-type(even), .capabilities-inner b:nth-of-type(even) { display: none; }
}

@media (max-width: 640px) {
  :root { --wrap: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 74px; }
  .brand img { width: 162px; height: 46px; padding: 6px 9px; border-radius: 10px; }
  .brand-name strong { font-size: 13px; }
  .brand-name span { font-size: 8px; }
  .primary-nav { inset: 74px 14px auto; }
  .hero, .hero-shell { min-height: 700px; }
  .hero-shell { padding: 124px 0 64px; gap: 36px; }
  .hero h1 { font-size: clamp(43px, 14vw, 62px); }
  .hero-copy { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-meta { margin-top: 32px; flex-direction: column; gap: 10px; }
  .hero-visual { min-height: 330px; }
  .core-visual { width: 340px; max-width: 100%; }
  .core-letter { font-size: 82px; }
  .visual-card { font-size: 10px; padding: 10px 12px; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .about-copy h2 { font-size: 39px; }
  .services-grid, .solutions-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 310px; }
  .about-grid { gap: 48px; }
  .about-panel { min-height: 390px; }
  .about-card { left: 18px; right: 18px; bottom: 18px; }
  .process-grid { gap: 36px; }
  .contact-grid { gap: 48px; }
  .contact-card { padding: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form .button { width: 100%; }
  .footer-shell, .footer-meta { align-items: flex-start; flex-direction: column; }
  .catalog-hero { min-height: 560px; padding: 135px 0 70px; }
  .catalog-hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .catalog-section { padding: 78px 0 88px; }
  .catalog-toolbar { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-product { min-height: 310px; }
  .catalog-pagination { gap: 12px; }
  .catalog-pagination button { min-width: 92px; }
  .product-dialog { padding: 28px 22px 22px; }
  .product-dialog__footer { align-items: stretch; flex-direction: column; }
  .trust-grid { grid-template-columns: 1fr; }
  .quote-cart-toggle { right: 14px; bottom: 14px; }
  .quote-cart { padding: 30px 18px 22px; }
  .quote-item { grid-template-columns: 1fr auto; }
  .legal-hero { padding: 135px 0 64px; }
  .legal-hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .legal-prose { padding: 30px 22px; }
}

@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; transform: none; }
}
