/* =========================================================
   McLantis Printing & Packaging Group — Design System v3.0
   International / Editorial / B2B  |  Swiss-inspired
   ========================================================= */

:root {
  /* Brand palette — muted, corporate, confident */
  --brand:        #0B5FB0;
  --brand-dark:   #08467F;
  --brand-ink:    #071E36;
  --accent:       #E2570F;   /* restrained print-ink orange */
  --accent-dark:  #BF470A;

  /* Neutrals — cool, paper-like */
  --ink:          #0B1220;
  --ink-soft:     #354252;
  --muted:        #5C6B7E;
  --line:         #E7ECF2;
  --line-soft:    #F0F3F8;
  --bg:           #FFFFFF;
  --bg-soft:      #F6F8FB;
  --bg-deep:      #071E36;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(11,18,32,.05), 0 1px 3px rgba(11,18,32,.06);
  --shadow-md: 0 14px 40px rgba(7,30,54,.10);
  --shadow-lg: 0 30px 70px rgba(7,30,54,.18);
  --radius:    14px;
  --radius-sm: 9px;
  --maxw:      1240px;

  --font: "Inter", "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--soft { background: var(--bg-soft); }
.section--deep { background: var(--bg-deep); color: #C7D7EA; }
.section--deep h2, .section--deep h3 { color: #fff; }

/* Eyebrow / kicker */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .76rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.eyebrow--accent { color: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; line-height: 1.7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap; letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); color: inherit; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(11,95,176,.28); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 12px 28px rgba(11,95,176,.34); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(226,87,15,.28); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.38); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color:#fff; }
.btn--outline { background: #fff; color: var(--brand); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); }

/* =========================================================
   Top announcement bar
   ========================================================= */
.topbar {
  background: var(--brand-ink); color: #B9CCE2;
  font-size: .78rem; letter-spacing: .02em;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar__msg { display: inline-flex; align-items: center; gap: 8px; }
.topbar__msg svg { width: 14px; height: 14px; color: var(--accent); }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a { color: #9FB6D2; font-weight: 500; }
.topbar__links a:hover { color: #fff; }

/* =========================================================
   Header / Nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(170%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { height: 40px; width: auto; }
.brand__name { font-weight: 800; color: var(--ink); font-size: 1.02rem; line-height: 1.05; letter-spacing: -.02em; }
.brand__name small { display: block; font-weight: 500; color: var(--muted); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--ink-soft); font-weight: 500; font-size: .92rem; padding: 9px 15px; border-radius: 9px; position: relative;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--brand); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--brand); }
.nav__links a.is-active::after { content:""; position:absolute; left:15px; right:15px; bottom:2px; height:2px; background: var(--accent); border-radius:2px; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

/* Language switcher */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  font-weight: 700; font-size: .78rem; letter-spacing: .03em;
  color: var(--ink-soft);
  transition: border-color .2s, color .2s, box-shadow .2s, background .2s;
}
.lang__btn:hover {
  border-color: var(--brand); color: var(--brand);
  box-shadow: 0 3px 10px rgba(11,95,176,.10);
}
.lang__btn img {
  width: 21px; height: 14px; border-radius: 3px;
  object-fit: cover; flex-shrink: 0;
  border: 1px solid rgba(11,18,32,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  background: #fff; display: block;
}
/* dropdown caret */
.lang__btn::after {
  content: ""; display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .55; margin-left: -2px;
}
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 216px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 50;
}
.lang.is-open .lang__menu { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang__menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 9px;
  color: var(--ink-soft); font-size: .86rem; font-weight: 500;
}
.lang__menu a:hover { background: var(--bg-soft); color: var(--brand); }
.lang__menu a.is-active { background: var(--brand); color: #fff; }
.lang__menu a.is-active:hover { background: var(--brand-dark); color: #fff; }
.lang__menu img { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; border: 1px solid rgba(11,18,32,.08); flex-shrink: 0; background: #fff; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }
.nav__toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2){ opacity: 0; }
.nav__toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; }

/* =========================================================
   Hero — editorial, left-aligned, grid texture
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 88% -12%, rgba(226,87,15,.16), transparent 58%),
    radial-gradient(900px 520px at 2% 112%, rgba(11,95,176,.28), transparent 55%),
    linear-gradient(135deg, #071E36 0%, #0B5FB0 100%);
  color: #fff;
}
.hero::before {
  content:""; 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(circle at 70% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 78%);
  z-index: 1;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center;
  padding: clamp(64px, 9vw, 116px) 0; position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero .lead { color: #D2E0F2; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero__badges span {
  font-size: .78rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px; border-radius: 999px; color: #E9F1FC; display: inline-flex; align-items: center; gap: 7px;
}
.hero__badges svg { width: 14px; height: 14px; color: var(--accent); }
.hero__media { position: relative; }
.hero__card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px; padding: 28px; backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.hero__card h4 { color:#fff; margin-bottom: 6px; font-size: 1.05rem; }
.hero__card p.hint { color:#A9C2DE; font-size:.82rem; margin-bottom:16px; }
.hero__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.hero__card li { display: flex; gap: 11px; align-items: flex-start; color: #E7F0FB; font-size: .92rem; }
.hero__card li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }

/* =========================================================
   Hero full-bleed background image
   ========================================================= */
.hero--bg { min-height: 600px; }
.hero--bg::before { display: none; }
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(7,30,54,.93) 0%, rgba(7,30,54,.74) 44%, rgba(7,30,54,.18) 100%),
    linear-gradient(0deg, rgba(7,30,54,.55) 0%, rgba(7,30,54,0) 42%);
}
.hero--bg .hero__inner {
  display: block; position: relative; z-index: 2;
  max-width: 820px;
  padding: clamp(74px, 10vw, 134px) 0;
}

/* =========================================================
   Section heading — centered + left variants
   ========================================================= */
.head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.head .lead { margin-inline: auto; }
.head--left { max-width: 760px; margin-left: 0; margin-right: 0; text-align: left; }
.head--left .lead { margin-inline: 0; }

/* =========================================================
   Stats band — editorial numerals
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background:#fff; }
.stat { padding: 34px 28px; text-align: left; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__num { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1; }
.stat__label { color: var(--muted); font-size: .88rem; margin-top: 10px; }
.section--deep .stats { border-color: rgba(255,255,255,.14); background: transparent; }
.section--deep .stat { border-right-color: rgba(255,255,255,.14); }
.section--deep .stat__num { color: #fff; }
.section--deep .stat__label { color: #A9C2DE; }

/* =========================================================
   Product grid — crisp editorial cards (hairline, no heavy shadow)
   ========================================================= */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card::before { content:""; position:absolute; left:0; top:0; width:3px; height:0; background: var(--accent); transition: height .25s ease; z-index: 3; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { height: 100%; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag {
  position: absolute; top: 12px; left: 12px; background: rgba(7,30,54,.85); color: #fff;
  font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body h3 { font-size: 1.08rem; }
.card__body p { font-size: .88rem; color: var(--muted); margin: 0; }
.card__more { margin-top: auto; font-weight: 600; font-size: .86rem; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.card__more::after { content: "→"; transition: transform .2s; }
.card:hover .card__more::after { transform: translateX(4px); }

/* category filter pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.pill {
  border: 1px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .86rem; cursor: pointer; transition: .2s;
}
.pill:hover { border-color: var(--brand); color: var(--brand); }
.pill.is-active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* =========================================================
   Feature / Why us — hairline cards + SVG icons
   ========================================================= */
.feature { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature__item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.feature__icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--brand); margin-bottom: 20px; border: 1px solid var(--line);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature__item h3 { font-size: 1.1rem; }
.feature__item p { font-size: .9rem; color: var(--muted); margin: 0; }

/* =========================================================
   About — compact highlight cards (replaces bare checklist)
   ========================================================= */
.hl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.hl {
  display: flex; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; font-size: .9rem; line-height: 1.45;
  box-shadow: 0 1px 2px rgba(7,30,54,.05);
}
.hl__ic { color: var(--accent); flex: none; margin-top: 1px; display: inline-flex; }
.hl__ic svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .hl-grid { grid-template-columns: 1fr; } }

/* =========================================================
   Process / capabilities
   ========================================================= */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end; color: #fff; }
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step::after { content:""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,30,54,.92), rgba(7,30,54,.12)); }
.step__body { position: relative; z-index: 2; padding: 28px; }
.step__num { font-size: .78rem; font-weight: 800; letter-spacing: .14em; color: var(--accent); }
.step h3 { color: #fff; margin: 8px 0 8px; }
.step p { color: #D6E3F3; font-size: .9rem; margin: 0; }

/* =========================================================
   Certifications strip
   ========================================================= */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.cert__ic { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); border: 1px solid var(--line); }
.cert__ic svg { width: 20px; height: 20px; }
.cert__t { font-weight: 700; color: var(--ink); font-size: .92rem; line-height: 1.2; }
.cert__s { font-size: .78rem; color: var(--muted); }

/* =========================================================
   Client wall — monogram grid (no fabricated brands)
   ========================================================= */
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.client {
  height: 92px; display: grid; place-items: center; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; transition: .25s; color: var(--ink);
}
.client:hover { border-color: var(--brand); background: var(--bg-soft); }
.client__m { display: flex; align-items: center; gap: 11px; }
.client__m svg { width: 34px; height: 34px; color: var(--brand); }
.client__m span { font-weight: 800; letter-spacing: .04em; font-size: 1.02rem; color: var(--ink-soft); }
.client__m small { display:block; font-weight: 500; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  border-radius: 22px; padding: clamp(38px, 6vw, 60px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before { content:""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(226,87,15,.22); }
.cta-band::after { content:""; position:absolute; left:-40px; bottom:-80px; width:200px; height:200px; border-radius:50%; background: rgba(255,255,255,.06); }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { color: #D2E0F2; margin: 6px 0 0; }
.cta-band .btn { position: relative; z-index: 2; }

/* =========================================================
   Breadcrumb
   ========================================================= */
.crumb { font-size: .85rem; color: var(--muted); padding: 20px 0 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }

/* =========================================================
   Product detail
   ========================================================= */
.detail { display: grid; grid-template-columns: minmax(300px, 0.92fr) 1.08fr; gap: 52px; align-items: start; }
.detail__aside { position: sticky; top: 96px; align-self: start; }
.detail__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.detail__media img { width: 100%; display: block; }
.detail__cta { margin-top: 18px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.detail__cta-eyebrow { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); font-weight: 700; margin-bottom: 10px; }
.btn--block { display: block; width: 100%; text-align: center; }
.detail__cta-note { font-size: .82rem; color: var(--muted); margin: 10px 0 16px; line-height: 1.5; }
.detail__glance-h { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; font-weight: 700; }
.detail__glance { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.detail__glance li { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.detail__glance li:last-child { border-bottom: 0; padding-bottom: 0; }
[dir="rtl"] .detail__glance li { flex-direction: row-reverse; }
.detail__glance span { color: var(--muted); }
.detail__glance strong { color: var(--ink); font-weight: 600; text-align: right; }
[dir="rtl"] .detail__glance strong { text-align: left; }
.spec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin: 24px 0; }
.spec__item { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; min-width: 0; }
.spec__item span { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; margin-bottom: 6px; }
.spec__item strong { color: var(--ink); font-size: .98rem; font-weight: 600; word-break: break-word; }
.detail h1 { margin-bottom: 6px; }

/* =========================================================
   Forms
   ========================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: .95rem; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,95,176,.14); }
.field--full { grid-column: 1 / -1; }
.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--bg-soft); color: var(--brand); display: grid; place-items: center; font-size: 1.1rem; border: 1px solid var(--line); }
.info-list .ic svg { width: 20px; height: 20px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--bg-deep); color: #B9CCE2; padding: 68px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { color: #B9CCE2; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.footer__brand img { height: 44px; margin-bottom: 16px; }
.footer__brand p { font-size: .9rem; color: #9FB6D2; max-width: 34ch; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #8AA6C6; }
.footer__bottom a { color: #9FB6D2; }
.footer__bottom a:hover { color: #fff; }
.footer__langs { display: inline; }
.footer__langs a { margin: 0 2px; }
.footer__langs a.is-active, .lang__menu a.is-active, .lang-row a.is-active { color: #fff; font-weight: 700; }

/* =========================================================
   RTL (Arabic) adjustments
   ========================================================= */
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .eyebrow { padding-left: 0; padding-right: 14px; }
[dir="rtl"] .eyebrow::before { left: auto; right: 0; }
[dir="rtl"] .hero__cta, [dir="rtl"] .pills, [dir="rtl"] .head, [dir="rtl"] .crumb, [dir="rtl"] .lang-row { text-align: right; }
[dir="rtl"] .nav__links, [dir="rtl"] .footer__grid, [dir="rtl"] .grid,
[dir="rtl"] .features, [dir="rtl"] .clients, [dir="rtl"] .process-steps, [dir="rtl"] .certs { direction: rtl; }
[dir="rtl"] .lang__btn img, [dir="rtl"] .lang img, [dir="rtl"] .lang-row img { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .mobile-nav, [dir="rtl"] .spec, [dir="rtl"] .info-list, [dir="rtl"] .field label { text-align: right; }
[dir="rtl"] .footer__bottom { flex-direction: row-reverse; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .grid--3, .grid--4, .feature, .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .detail, .contact-wrap { grid-template-columns: 1fr; }
  .detail__aside { position: static; top: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .certs, .clients { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .section--deep .stat:nth-child(1), .section--deep .stat:nth-child(2) { border-bottom-color: rgba(255,255,255,.14); }
}
@media (max-width: 1080px) {
  .brand__name small { display: none; }
  .nav { gap: 16px; }
  .nav__links a { padding: 9px 11px; font-size: .88rem; }
  .nav__actions { gap: 10px; }
}
@media (max-width: 760px) {
  .topbar__links { display: none; }
  .nav__links, .nav__actions .btn, .lang { display: none; }
  .nav__toggle { display: block; }
  .mobile-nav {
    display: none; flex-direction: column; gap: 4px; padding: 14px 0 22px;
    border-top: 1px solid var(--line); background: #fff;
  }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 12px 14px; border-radius: 10px; color: var(--ink-soft); font-weight: 600; }
  .mobile-nav a:hover { background: var(--bg-soft); color: var(--brand); }
  .mobile-nav .lang-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 10px 14px; }
  .mobile-nav .lang-row a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .72rem; padding: 8px 4px; border: 1px solid var(--line); border-radius: 10px; }
  .mobile-nav .lang-row img { width: 22px; height: 22px; border-radius: 3px; }
  .grid--3, .grid--4, .feature, .process-steps, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .certs, .clients { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .section--deep .stat { border-bottom-color: rgba(255,255,255,.14); }
}

/* ===========================================================================
   NEWS — listing + detail (weekly news / press releases)
   =========================================================================== */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(7, 30, 54, .10);
  border-color: var(--brand);
}
.news-card__media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.news-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-card__date {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.news-card__body h3 { margin: 0; font-size: 19px; }
.news-card__body p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.55; }
.card__more { margin-top: 6px; color: var(--brand); font-weight: 600; font-size: 14px; }
.news-detail { max-width: 820px; margin: 0 auto; }
.news-detail__hero { width: 100%; border-radius: var(--radius); margin-bottom: 26px; }
.news-detail__body { font-size: 16px; line-height: 1.8; color: var(--ink-soft); }
.news-detail__body p { margin: 0 0 1.1em; }
[dir="rtl"] .news-detail { direction: rtl; }

.points{list-style:none;margin:14px 0 4px;display:grid;gap:9px;padding:0;}
.points li{position:relative;padding-left:24px;line-height:1.55;font-size:.98rem;}
.points li:before{content:"";position:absolute;left:0;top:9px;width:8px;height:8px;border-radius:50%;background:#1f4e9c;}

/* Product-description sub-headings (from legacy **Sub-title** / <h2>) */
.d-sub{font-size:1.04rem;font-weight:700;color:var(--brand-ink);margin:24px 0 8px;line-height:1.35;letter-spacing:.01em;}
.d-sub:first-child{margin-top:6px;}
/* Fact-dense spec table inside product detail */
.detail table.spec-table{width:100%;border-collapse:collapse;margin:8px 0 18px;font-size:.95rem;}
.detail table.spec-table th{text-align:left;background:#eef3fb;color:var(--brand-ink);font-weight:700;padding:9px 12px;width:38%;border:1px solid #d8e1f0;vertical-align:top;}
.detail table.spec-table td{padding:9px 12px;border:1px solid #d8e1f0;color:var(--brand-ink);}
[dir="rtl"] .detail table.spec-table th{text-align:right;}

/* Blog "Sources & Further Reading" callout */
.blog-sources{margin:34px 0 14px;padding:18px 20px;background:#f4f7fb;border-left:4px solid #1f5fbf;border-radius:10px;}
.blog-sources .d-sub{margin:0 0 10px;color:#0f3d7a;}
.blog-sources ul{margin:0;}
.blog-sources a{color:#1f4e9c;font-weight:600;}
[dir="rtl"] .blog-sources{border-left:0;border-right:4px solid #1f5fbf;}

/* Blog post comparison tables (GEO asset — captured as AIO / Featured Snippets) */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:22px 0;}
.blog-table{width:100%;border-collapse:collapse;margin:0;font-size:.94rem;background:#fff;}
.blog-table th,.blog-table td{border:1px solid var(--line);padding:11px 13px;text-align:left;vertical-align:top;line-height:1.5;}
.blog-table thead th{background:#1f4e9c;color:#fff;font-weight:600;}
.blog-table tbody tr:nth-child(even){background:#f6f8fc;}
[dir="rtl"] .blog-table th,[dir="rtl"] .blog-table td{text-align:right;}

/* Numbered spec lists (from legacy '1) ' / '1. ') */
.steps{list-style:decimal outside;margin:14px 0 6px;padding-left:1.4em;}
.steps li{position:static;padding-left:0;line-height:1.6;font-size:.98rem;}
.steps li:before{display:none;}

/* Product description body copy */
.detail__main > p{margin:10px 0;line-height:1.7;color:var(--ink-soft);font-size:1rem;}
.muted{color:#6b7280;font-size:.94rem;margin-top:12px;}

/* FAQ section (GEO asset — gives AI search tools citable Q&A) */
.faq-list{display:grid;gap:14px;margin-top:22px;max-width:880px;}
.faq{border:1px solid var(--line, #e6ebf2);border-radius:14px;padding:16px 20px;background:#fff;}
.faq h3{margin:0 0 6px;font-size:1.05rem;line-height:1.45;}
.faq p{margin:0;color:var(--ink-soft,#475569);line-height:1.65;font-size:.98rem;}
