/* ==========================================================================
   FST Arabia — design system
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #061428;
  --navy-900: #0b1f3a;
  --navy-800: #102a4c;
  --navy-700: #17385f;
  --blue-700: #0f56a8;
  --blue-600: #1565c0;
  --blue-500: #1e7be0;
  --blue-400: #3aa0ee;
  --blue-100: #dcebfb;
  --blue-50: #eef5fd;
  --accent: #f26b1d;
  --accent-600: #d9580e;

  /* Neutrals */
  --ink: #0e1a2b;
  --body: #46566d;
  --muted: #6b7a90;
  --line: #e2e8f0;
  --line-strong: #cfd8e3;
  --surface: #f5f8fc;
  --white: #fff;

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 58, .06), 0 1px 3px rgba(11, 31, 58, .06);
  --shadow: 0 10px 30px -12px rgba(11, 31, 58, .18), 0 4px 10px -6px rgba(11, 31, 58, .08);
  --shadow-lg: 0 30px 60px -20px rgba(11, 31, 58, .35);

  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

.i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 28px; height: 28px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-sm { padding-block: clamp(56px, 6vw, 80px); }
.bg-surface { background: var(--surface); }
.bg-navy { background: var(--navy-900); color: #c4d1e3; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }

/* ---------- Typographic helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--blue-400); }
.lead { font-size: 1.125rem; line-height: 1.75; color: var(--body); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.075rem; }
.section-head-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section-head-split h2 { margin: 0; }
.section-head-split p { font-size: 1.02rem; }
.section-head-split p:last-child { margin: 0; }
@media (max-width: 860px) { .section-head-split { grid-template-columns: 1fr; } }

.why-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 32px; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.why-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); }
.why-card:nth-child(3n+2)::before { background: linear-gradient(90deg, var(--navy-700), var(--blue-600)); }
.why-card:nth-child(3n)::before { background: linear-gradient(90deg, var(--accent), #f79a4f); }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.why-card .pillar-icon { margin: 0 0 4px; }
.why-card h3 { font-size: 1.12rem; line-height: 1.4; margin: 0; }
.why-card p { margin: 0; font-size: .95rem; line-height: 1.7; }
.why-card .bullets { gap: 8px; font-size: .93rem; color: #33445c; }
.why-card .bullets li::before { margin-top: 7px; width: 7px; height: 7px; }
.why-highlight {
  display: flex; gap: 24px; align-items: center; margin-top: 28px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #c4d1e3;
  border-radius: var(--radius-lg); padding: 32px 36px;
}
.why-highlight .pillar-icon { margin: 0; flex: none; background: var(--accent); color: var(--white); }
.why-highlight h3 { color: var(--white); font-size: 1.15rem; margin: 0 0 6px; }
.why-highlight p { margin: 0 0 12px; }
.why-highlight .link-arrow { color: var(--white); }
.why-card .link-arrow { margin-top: 12px; }
@media (max-width: 640px) { .why-highlight { flex-direction: column; align-items: flex-start; padding: 26px; } .why-card { padding: 28px 24px; } }
.text-white { color: var(--white) !important; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue-600); --fg: var(--white); --bd: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { color: var(--fg); transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(11, 31, 58, .45); }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn-primary:hover { --bg: var(--blue-700); }
.btn-accent { --bg: var(--accent); }
.btn-accent:hover { --bg: var(--accent-600); }
.btn-light { --bg: var(--white); --fg: var(--navy-900); }
.btn-light:hover { --fg: var(--blue-700); }
.btn-ghost { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .45); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .1); --bd: var(--white); }
.btn-outline { --bg: transparent; --fg: var(--blue-600); --bd: var(--blue-600); }
.btn-outline:hover { --bg: var(--blue-600); --fg: var(--white); }
.btn-dark { --bg: var(--navy-900); }
.btn-dark:hover { --bg: var(--navy-700); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--blue-600); }
.link-arrow .i { transition: transform .25s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-950); color: #9fb2cc; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar-contact { display: flex; gap: 28px; flex-wrap: wrap; }
.topbar a { color: #c7d4e6; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--white); }
.topbar .i { color: var(--blue-400); }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { width: 30px; height: 30px; justify-content: center; border-radius: 50%; }
.topbar-social a:hover { background: rgba(255, 255, 255, .08); }
.topbar-social .i { color: inherit; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(11, 31, 58, .35); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand img { height: 50px; width: auto; }
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink);
}
.nav-link:hover, .nav-item.is-active > .nav-link { color: var(--blue-600); }
.nav-item.is-active > .nav-link { background: var(--blue-50); }
.nav-link .i { transition: transform .25s var(--ease); }
.has-sub:hover .nav-link .i, .has-sub.is-open .nav-link .i { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.has-sub:hover .nav-sub, .has-sub.is-open .nav-sub, .has-sub:focus-within .nav-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-sub a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .93rem; }
.nav-sub a:hover { background: var(--blue-50); color: var(--blue-600); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.vision-logo { height: 54px; width: auto; padding-left: 16px; margin-left: 4px; border-left: 1px solid var(--line); }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--white); color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--white);
  padding: 20px 24px 32px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
  animation: slideIn .3s var(--ease);
}
.mobile-nav[hidden] { display: none; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav-head .nav-toggle { display: inline-flex; }
.m-list { border-top: 1px solid var(--line); }
.m-item { border-bottom: 1px solid var(--line); }
.m-item > a, .m-item summary {
  display: flex; justify-content: space-between; align-items: center; padding: 16px 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--ink); cursor: pointer; list-style: none;
}
.m-item summary::-webkit-details-marker { display: none; }
.m-item details[open] summary .i { transform: rotate(180deg); }
.m-item details ul { padding: 0 0 12px 12px; }
.m-item details a { display: block; padding: 8px 4px; color: var(--body); }
.m-item.is-active > a, .m-item.is-active summary { color: var(--blue-600); }
.mobile-nav-contact { display: grid; gap: 12px; margin-top: auto; }
.mobile-nav-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--body); }
body.nav-open { overflow: hidden; }

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #d3deec;
  min-height: min(92vh, 860px);
  display: flex; align-items: center;
  padding: 110px 0 190px;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  background: url("/assets/img/bg/hero-refinery-dusk.webp?v=2") center center / cover no-repeat;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6, 20, 40, .94) 0%, rgba(8, 26, 52, .82) 42%, rgba(11, 31, 58, .35) 100%),
    linear-gradient(0deg, rgba(6, 20, 40, .8) 0%, rgba(6, 20, 40, 0) 40%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--font-head); font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white);
  margin-bottom: 26px;
}
.hero-tag-dot { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.hero-tag-dot .i { width: 14px; height: 14px; color: var(--white); stroke-width: 2.5; }
.hero h1 { color: var(--white); max-width: 14ch; margin-bottom: 24px; }
.hero h1 span { background: linear-gradient(90deg, #6ec1ff, var(--blue-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-text { font-size: 1.1rem; line-height: 1.8; max-width: 620px; color: #c9d6e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-panel {
  background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.hero-panel-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-500); color: var(--white); margin-bottom: 20px; }
.hero-panel h2 { color: var(--white); font-size: 1.35rem; line-height: 1.35; margin-bottom: 22px; }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(58, 160, 238, .2); color: #7cc6ff; margin-top: 1px; }
.check-list .tick .i { width: 13px; height: 13px; stroke-width: 3; }
.hero-panel .check-list li { color: #dce6f3; }

/* Pillars overlapping the hero */
.pillars { position: relative; z-index: 2; margin-top: -120px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.pillar { padding: 38px 34px; position: relative; transition: background .3s var(--ease); }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); transition: width .4s var(--ease); }
.pillar:hover { background: var(--surface); }
.pillar:hover::after { width: 100%; }
.pillar-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 22px; }
.pillar h3 { font-size: 1.1rem; line-height: 1.4; margin-bottom: 10px; }
.pillar p { margin: 0; font-size: .96rem; }

/* Markets */
.markets { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 56px; align-items: center; }
.markets p { font-size: 1.15rem; line-height: 1.7; color: var(--ink); font-weight: 500; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink);
  transition: border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.chip .i { color: var(--blue-500); width: 18px; height: 18px; }
.chip:hover { border-color: var(--blue-400); color: var(--blue-600); transform: translateY(-2px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 14vw, 170px) 0 clamp(70px, 9vw, 110px); color: var(--white); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(6, 20, 40, .94) 0%, rgba(11, 31, 58, .78) 45%, rgba(11, 31, 58, .35) 100%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 1; background: linear-gradient(90deg, var(--blue-600), var(--blue-400) 60%, var(--accent)); }
.page-hero h1 { color: var(--white); margin: 0; max-width: 20ch; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; margin-bottom: 18px; font-weight: 500; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; color: #a9bdd8; }
.breadcrumb li + li::before { content: "/"; color: rgba(255, 255, 255, .35); }
.breadcrumb a { color: #d7e3f3; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb [aria-current] { color: var(--blue-400); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-wide { grid-template-columns: 1.1fr .9fr; }
.media-frame { position: relative; }
.media-frame > img { border-radius: var(--radius-lg); width: 100%; }
.media-frame.shadowed > img { box-shadow: var(--shadow-lg); }
.about-collage {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
}
.about-collage-plant {
  position: absolute; right: 0; top: 0; width: 62%; height: 68%; z-index: 1;
  object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.about-collage-team {
  position: absolute; left: 0; bottom: 0; width: 70%; height: 72%; z-index: 2;
  object-fit: cover; object-position: center top;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.media-badge {
  position: absolute; left: -24px; bottom: 32px; z-index: 5;
  background: var(--navy-900); color: var(--white); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center;
}
.media-badge strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; color: var(--white); }
.media-badge span { font-size: .85rem; color: #b8c7db; line-height: 1.35; }

.quote-lead {
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.45;
  padding-left: 22px; border-left: 4px solid var(--blue-500); margin-bottom: 24px;
}

.highlights { background: var(--navy-900); color: #c4d1e3; }
.highlights h2 { color: var(--white); }
.hl-platforms { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.hl-platforms li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 148px; padding: 18px 12px; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.hl-platforms img { height: 64px; width: auto; max-width: 148px; object-fit: contain; }
.hl-nato-card img { height: 72px; max-width: 88px; background: var(--white); border-radius: 8px; padding: 6px; }
.hl-nato-card span {
  color: var(--white); font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-align: center;
}
.hl-platforms a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 100%; color: #9fb2cc; font-size: .72rem; letter-spacing: .06em; text-decoration: none;
}
.hl-platforms a:hover { color: var(--white); }
.hl-platforms a img { height: 52px; }
@media (max-width: 1200px) { .hl-platforms { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) { .hl-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.about-mv { align-items: stretch; }
.mv-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 36px; box-shadow: var(--shadow-sm);
}
.mv-card h3 { font-size: 1.45rem; margin: 14px 0 16px; }
.mv-card p { margin: 0; font-size: 1.02rem; line-height: 1.75; }
.mv-card.is-dark { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); border-color: transparent; color: #c4d1e3; }
.mv-card.is-dark h3 { color: var(--white); }
.mv-card.is-dark .pillar-icon { background: rgba(255, 255, 255, .1); color: var(--blue-400); }

/* ---------- Stats ---------- */
.stats { background: linear-gradient(120deg, var(--navy-900), var(--navy-800)); position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(58, 160, 238, .22), transparent 70%); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; z-index: 1; }
.stat { padding: 54px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .1); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); color: var(--white); line-height: 1; letter-spacing: -.02em; }
.stat-num em { font-style: normal; color: var(--blue-400); }
.stat-label { margin-top: 12px; color: #a9bbd3; font-size: .95rem; font-weight: 500; letter-spacing: .02em; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-num { position: absolute; left: 20px; top: 20px; width: 44px; height: 44px; border-radius: 12px; background: rgba(11, 31, 58, .82); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; backdrop-filter: blur(6px); }
.service-card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card-body p { flex: 1; }
.service-card h3 { font-size: 1.2rem; }

.feature-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card .pillar-icon { transition: background .3s var(--ease), color .3s var(--ease); }
.feature-card:hover .pillar-icon { background: var(--blue-600); color: var(--white); }
.feature-card h3 { font-size: 1.12rem; line-height: 1.4; margin-top: 0; }
.feature-card p { margin: 0; font-size: .97rem; }
.feature-card.is-dark { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); border-color: transparent; color: #c4d1e3; }
.feature-card.is-dark h3 { color: var(--white); }
.feature-card.is-dark .pillar-icon { background: rgba(255, 255, 255, .1); color: var(--blue-400); }

/* Leading company band */
.leading { position: relative; isolation: isolate; color: #c9d6e8; overflow: hidden; }
.leading::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/img/bg/hero-chemical-plant.webp") center / cover; }
.leading::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 20, 40, .97) 0%, rgba(8, 26, 52, .92) 55%, rgba(11, 31, 58, .75) 100%); }
.leading h2 { color: var(--white); font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.4; font-weight: 700; }
.leading p { color: #bccbe0; }
.leading-title { text-align: center; max-width: 1040px; margin: 0 auto 56px; }
.leading-split { gap: clamp(32px, 4vw, 56px); align-items: stretch; }
.leading-text { display: flex; flex-direction: column; justify-content: center; font-size: 1.06rem; line-height: 1.85; }
.leading-text p:last-child { margin: 0; }
.leading-media { display: flex; flex-direction: column; gap: 20px; }
.supply-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg); padding: 38px; backdrop-filter: blur(10px);
}
.leading .supply-card { padding: 24px 28px; }
.leading .supply-card h3 { font-size: 1.25rem; }
.video-frame { border-radius: var(--radius-lg); overflow: hidden; background: #000; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; }
.supply-card h3 { color: var(--white); font-size: 1.5rem; display: flex; align-items: center; gap: 14px; }
.supply-card h3 .pillar-icon { margin: 0; background: var(--accent); color: var(--white); width: 48px; height: 48px; }
.supply-card p { color: #d0dcec; }
.supply-card p:last-child { margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; }
.step-icon { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-100); color: var(--blue-600); display: grid; place-items: center; position: relative; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.step:hover .step-icon { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }
.step-icon::after { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: -6px; right: -10px; background: var(--accent); color: var(--white); font-family: var(--font-head); font-size: .7rem; font-weight: 700; border-radius: 999px; padding: 3px 7px; }
.step h3 { font-size: 1.05rem; margin: 0; }

/* Partners marquee */
.partners { border-block: 1px solid var(--line); }
.partner-invite { display: grid; grid-template-columns: 1.4fr .8fr; gap: 40px 56px; align-items: center; }
.partner-invite h2 { margin-bottom: 18px; }
.partner-invite p:last-of-type { margin-bottom: 0; }
.partner-invite-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; box-shadow: var(--shadow-sm);
}
.partner-invite-card h3 { margin: 12px 0 10px; }
.partner-invite-card p { margin: 0 0 22px; }
@media (max-width: 860px) { .partner-invite { grid-template-columns: 1fr; } }

.partners-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.client-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.client-tile {
  display: grid; place-items: center; height: 120px; padding: 18px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.client-tile.is-wide { grid-column: span 2; }
.client-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.client-tile img { max-width: 100%; max-height: 78px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 1080px) { .client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px) { .client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .client-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .client-tile { height: 100px; padding: 14px; } }
.partners-head h2 { margin: 0; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }
.logo-tile { flex: none; width: 190px; height: 96px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; padding: 14px 18px; }
.logo-tile img { max-height: 64px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s var(--ease), opacity .3s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; }

/* ---------- Forms ---------- */
.contact-panel { display: grid; grid-template-columns: .9fr 1.1fr; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.contact-panel-info { background: linear-gradient(160deg, var(--navy-900), var(--navy-700)); color: #c4d1e3; padding: clamp(36px, 5vw, 56px); position: relative; overflow: hidden; }
.contact-panel-info::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 50px solid rgba(58, 160, 238, .08); }
.contact-panel-info h2 { color: var(--white); }
.contact-list { display: grid; gap: 20px; margin-top: 32px; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ci { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--blue-400); display: grid; place-items: center; }
.contact-list a { color: var(--white); }
.contact-list a:hover { color: var(--blue-400); }
.contact-list span { line-height: 1.6; }
.contact-panel-form { padding: clamp(36px, 5vw, 56px); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-head); font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #99a6b8; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(30, 123, 224, .12); }
.form-note { font-size: .88rem; margin: 14px 0 0; min-height: 1.4em; }
.form-note.is-success { color: #12805c; }
.form-note.is-error { color: #c0392b; }
.form-dark .field label { color: #d7e2f0; }
.form-dark .field input, .form-dark .field textarea { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--white); }
.form-dark .field input:focus, .form-dark .field textarea:focus { background: rgba(255, 255, 255, .1); border-color: var(--blue-400); }
.form-dark .field input::-webkit-calendar-picker-indicator { filter: invert(1); }

/* Appointment band (services) */
.appointment { position: relative; isolation: isolate; overflow: hidden; }
.appointment::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/img/bg/hero-chemical-plant.webp") center / cover; }
.appointment::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 20, 40, .9), rgba(11, 31, 58, .7)); }
.appointment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.appointment h2 { color: var(--white); font-size: clamp(2rem, 3.6vw, 3rem); }
.appointment-card { background: var(--navy-900); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.appointment-card h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 24px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(100deg, var(--blue-700), var(--blue-500)); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000); }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.cta-band h2 { color: var(--white); margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #93a6c1; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.3fr; gap: 48px; padding-block: 80px 48px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-tagline { display: grid; gap: 4px; color: #b8c7db; margin-bottom: 24px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #d0dcec; transition: background .2s var(--ease), color .2s var(--ease); }
.social a:hover { background: var(--blue-600); color: var(--white); }
.footer-title { color: var(--white); font-size: 1rem; letter-spacing: .02em; margin-bottom: 20px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: #93a6c1; }
.footer-links a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.footer-contact .i { color: var(--blue-400); margin-top: 4px; }
.footer-contact a { color: #c4d1e3; }
.footer-contact a:hover { color: var(--white); }
.badge-link { display: inline-flex; margin-top: 26px; border-radius: 8px; transition: transform .2s var(--ease); }
.badge-link:hover { transform: translateY(-2px); }
.badge-link img { height: 44px; width: auto; border-radius: 8px; }
.badge-ariba { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.badge-ariba img { height: 40px; width: auto; }
.badge-ariba span { color: #7d91ae; font-size: .7rem; letter-spacing: .08em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 20px; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: #93a6c1; }
.footer-legal a:hover { color: var(--white); }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blue-600); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top .i { transform: rotate(-90deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-700); }

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

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-btn {
  width: 58px; height: 58px; border: 0; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(18, 140, 126, .55);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
}
.wa-btn svg { width: 30px; height: 30px; display: block; }
.wa-btn:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 16px 32px -10px rgba(18, 140, 126, .65); }
.wa-btn[aria-expanded="true"] { background: #128c7e; }
.wa-panel {
  width: min(340px, calc(100vw - 36px));
  background: var(--white); border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.wa-panel[hidden] { display: none; }
.wa-panel-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; background: #075e54; color: var(--white);
}
.wa-panel-head strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.wa-panel-head p { margin: 3px 0 0; font-size: .78rem; color: rgba(255, 255, 255, .78); }
.wa-panel-mark {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: #25d366; color: var(--white);
}
.wa-panel-mark svg { width: 20px; height: 20px; }
.wa-close {
  margin-left: auto; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: var(--white);
  display: grid; place-items: center; cursor: pointer;
}
.wa-close:hover { background: rgba(255, 255, 255, .22); }
.wa-panel-body { padding: 16px; background: #ece5dd; }
.wa-bubble {
  background: var(--white); border-radius: 4px 14px 14px 14px;
  padding: 10px 12px; margin: 0 0 12px; font-size: .9rem; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.wa-form { display: grid; gap: 10px; }
.wa-form textarea {
  width: 100%; min-height: 84px; resize: vertical; margin: 0;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px;
  font: inherit; color: var(--ink); background: var(--white);
}
.wa-form textarea:focus { outline: none; border-color: #25d366; box-shadow: 0 0 0 4px rgba(37, 211, 102, .18); }
.wa-send { --bg: #25d366; --bd: #25d366; width: 100%; }
.wa-send:hover { --bg: #1ebe5d; --bd: #1ebe5d; }
body.page-index .to-top { bottom: 94px; }

.featured-link-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 28px; padding: 0; align-items: stretch; }
.featured-link-grid li { display: flex; min-width: 0; }
.featured-link-grid a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 100%; min-height: 76px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-weight: 600; font-size: .9rem; line-height: 1.3; text-decoration: none;
  text-wrap: balance; transition: border-color .2s var(--ease), color .2s var(--ease);
}
.featured-link-grid a:hover { border-color: var(--blue-400); color: var(--blue-600); }
.featured-links-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 12px; }

.action-bar { display: none; }
@media (max-width: 860px) {
  body { padding-bottom: 64px; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1fr 1.15fr; position: fixed; inset: auto 0 0 0; z-index: 60;
    background: var(--navy-950); border-top: 1px solid rgba(255,255,255,.18);
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px;
    color: #d7e2f0; font: 700 .82rem var(--font-head); text-decoration: none;
  }
  .action-bar a + a { border-left: 1px solid rgba(255, 255, 255, .2); }
  .action-bar a.is-primary { background: var(--accent); color: var(--white); border-left-color: rgba(255, 255, 255, .28); }
  .action-bar .i { width: 16px; height: 16px; }
  .to-top { bottom: 76px; }
  .wa-float { bottom: 76px; }
  body.page-index .to-top { bottom: 148px; }
}

/* ---------- About ---------- */
.values { position: relative; isolation: isolate; overflow: hidden; }
.values::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/img/bg/solar.webp") center / cover; filter: blur(2px); transform: scale(1.05); }
.values::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 31, 58, .9), rgba(6, 20, 40, .95)); }
.values .feature-card p { font-size: 1rem; line-height: 1.75; }
.values .feature-card.is-highlight { background: linear-gradient(150deg, var(--blue-600), var(--blue-700)); color: #e2edfb; border-color: transparent; }
.values .feature-card.is-highlight h3 { color: var(--white); }
.values .feature-card.is-highlight .pillar-icon { background: rgba(255, 255, 255, .15); color: var(--white); }

/* ---------- Contact ---------- */
.contact-intro { padding-bottom: 40px; }
.contact-cards { display: grid; grid-template-columns: 1fr minmax(280px, 1fr) 1fr; gap: 28px; align-items: stretch; }
.contact-cards-col { display: grid; gap: 28px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card .pillar-icon { background: var(--accent); color: var(--white); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.info-card p { margin: 0; }
.info-card a { color: var(--body); }
.info-card a:hover { color: var(--blue-600); }
.info-card .wa-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: #128c7e; }
.info-card .wa-link .i { color: #25d366; }
.info-card .wa-link:hover { color: #075e54; }
.info-card.is-dark { background: var(--navy-900); border-color: transparent; color: #c4d1e3; }
.info-card.is-dark h3 { color: var(--white); }
.contact-figure { position: relative; min-height: 100%; }
.contact-figure::before { content: ""; position: absolute; inset: 10px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--blue-100), var(--blue-50)); z-index: -1; }
.contact-figure img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 58%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.contact-map { padding-top: 0; }
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #d5e0ec; }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; }
.map-open {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  background: var(--white); color: var(--navy-800); border-radius: 999px;
  padding: 10px 16px; font-size: .85rem; font-weight: 600; box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.map-open:hover { background: var(--navy-900); color: var(--white); }
.social-follow { text-align: center; }
.social-follow .social { justify-content: center; }
.social-follow .social a { width: 52px; height: 52px; background: var(--blue-50); color: var(--blue-600); }
.social-follow .social a:hover { background: var(--blue-600); color: var(--white); }

/* ---------- Products ---------- */
.product-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card-media.contain img { object-fit: contain; padding: 24px; }
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 18px; flex: 1; justify-content: space-between; border-top: 3px solid transparent; transition: border-color .35s var(--ease); }
.product-card:hover .product-card-body { border-top-color: var(--blue-500); }
.product-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.45; margin: 0; }

/* ---------- Literature ---------- */
.lit-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.lit-toolbar { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 28px; }
.lit-search { position: relative; flex: 1; min-width: 240px; max-width: 460px; }
.lit-search .i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.lit-search input { width: 100%; font: inherit; padding: 14px 18px 14px 48px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); }
.lit-search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(30, 123, 224, .12); }
.lit-count { font-size: .92rem; color: var(--muted); }
.lit-count strong { color: var(--ink); }
.lit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lit-card { display: flex; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.lit-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.lit-card[hidden] { display: none; }
.lit-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.lit-icon .i { width: 20px; height: 20px; }
.lit-card h3 { font-size: .98rem; line-height: 1.4; margin: 0; flex: 1; }
.lit-action { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue-600); }
.lit-action:hover { color: var(--accent); }
.lit-action-muted { color: var(--muted); }
.lit-empty { padding: 40px; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 1.2rem; }
.side-card .form-grid { grid-template-columns: 1fr; gap: 14px; }
.side-card.is-dark { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); border-color: transparent; color: #c4d1e3; text-align: center; }
.side-card.is-dark h3 { color: var(--white); }
.side-card.is-dark .pillar-icon { margin: 0 auto 18px; background: var(--accent); color: var(--white); }
.side-card.is-dark .phone-big { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--white); margin-bottom: 18px; }

/* ---------- Service detail ---------- */
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose h3 { margin-top: 1.4em; }
.prose p { font-size: 1.04rem; }
.nato-callout {
  display: grid; grid-template-columns: 88px 1fr; gap: 22px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 28px; margin: 8px 0 8px;
}
.nato-callout img { width: 88px; height: auto; }
.nato-callout strong { display: block; font-family: var(--font-head); font-size: 1.05rem; margin-bottom: 8px; }
.nato-callout p { margin: 0; }
@media (max-width: 640px) {
  .nato-callout { grid-template-columns: 1fr; justify-items: start; }
}

.list-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.list-card h3 { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; margin-bottom: 18px; }
.list-card h3 .pillar-icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
.bullets { display: grid; gap: 10px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.bullets li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; border-radius: 2px; background: var(--blue-500); transform: rotate(45deg); }
.bullets.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 28px; }
.img-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 260px; display: flex; align-items: flex-end; isolation: isolate; }
.img-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.img-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 20, 40, .9), rgba(6, 20, 40, .1) 70%); }
.img-card:hover img { transform: scale(1.05); }
.img-card h3 { color: var(--white); padding: 28px; margin: 0; font-size: 1.3rem; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.stack { display: grid; gap: 28px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Featured products ---------- */
.fpx-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
.fpx-index {
  position: sticky; top: calc(var(--header-h) + 20px);
  max-height: calc(100vh - var(--header-h) - 40px); display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden;
}
.fpx-index-toggle { display: none; }
.fpx-index-body { display: flex; flex-direction: column; min-height: 0; }
.fpx-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 14px 14px 0; padding: 4px; background: var(--surface); border-radius: 12px; }
.fpx-tabs button { padding: 9px 8px; border: 0; border-radius: 9px; background: none; font: 600 .84rem var(--font-head); color: var(--muted); cursor: pointer; transition: background .2s, color .2s; }
.fpx-tabs button[aria-selected="true"] { background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); }
.fpx-search { position: relative; display: block; margin: 12px 14px; }
.fpx-search .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.fpx-search input { width: 100%; padding: 10px 12px 10px 36px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .88rem; background: var(--white); }
.fpx-search input:focus { outline: 2px solid var(--blue-400); outline-offset: 1px; border-color: transparent; }
.fpx-lists { overflow-y: auto; padding: 0 8px 14px; overscroll-behavior: contain; }
.fpx-group { padding: 10px 6px 4px; }
.fpx-group + .fpx-group { border-top: 1px solid var(--line); }
.fpx-group h3 { margin: 4px 8px 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fpx-group-logo { display: flex; align-items: center; height: 34px; margin: 6px 8px 4px; }
.fpx-group-logo img { max-height: 30px; max-width: 110px; width: auto; }
.fpx-group a { display: flex; flex-direction: column; gap: 1px; padding: 9px 10px; border-radius: 10px; color: var(--ink); font-size: .92rem; font-weight: 500; line-height: 1.35; transition: background .2s; border-left: 3px solid transparent; }
.fpx-group a small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.fpx-group a:hover { background: var(--surface); }
.fpx-group a[aria-current="page"] { background: var(--blue-50); color: var(--blue-600); border-left-color: var(--blue-600); }
.fpx-empty { margin: 12px; font-size: .88rem; color: var(--muted); }

.fpx-main { min-width: 0; transition: opacity .2s; }
.fpx-main.is-loading { opacity: .45; }
.fpx-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.fpx-head { padding: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--white)); }
.fpx-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 4px 0 10px; }
.fpx-tagline { font-family: var(--font-head); font-weight: 600; color: var(--blue-600); font-size: 1.05rem; }
.fpx-head p { max-width: 760px; }
.fpx-section { padding: clamp(24px, 3.5vw, 38px) clamp(24px, 4vw, 44px); }
.fpx-section + .fpx-section { border-top: 1px solid var(--line); }
.fpx-section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; font-size: 1.2rem; }
.fpx-section-title span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-50); color: var(--blue-600); }

.fp-maker { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.fp-maker-logo { display: grid; place-items: center; height: 72px; min-width: 120px; padding: 10px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.fp-maker-logo img { max-height: 52px; max-width: 160px; width: auto; }
.fp-maker div { display: flex; flex-direction: column; line-height: 1.3; }
.fp-maker small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fp-maker strong { font-family: var(--font-head); color: var(--ink); font-size: 1.05rem; }
.fp-maker span { font-size: .9rem; }
.fp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 24px; }

.fpx-details { columns: var(--cols, 3) 240px; column-gap: 18px; }
.fpx-detail { break-inside: avoid; margin-bottom: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fpx-detail.is-wide { column-span: all; }
.fpx-detail h4 { font-size: 1rem; margin: 0 0 14px; }
.fpx-detail p { font-size: .94rem; margin: 0 0 12px; }
.fpx-detail h5 { font-family: var(--font-head); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-600); margin: 16px 0 10px; }
.fpx-detail p + h5, .fpx-detail h4 + h5 { margin-top: 4px; }
.fpx-detail .bullets { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 9px 24px; font-size: .94rem; }
.fpx-detail .bullets strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.fpx-detail .bullets span { font-size: .9rem; }
.fp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.fp-feature { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.fp-feature .pillar-icon { flex: none; margin: 0; width: 44px; height: 44px; }
.fp-feature h4 { font-size: .98rem; margin: 2px 0 4px; }
.fp-feature p { margin: 0; font-size: .9rem; }
.fp-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 260px)); gap: 16px; }
.fp-spec { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #b9c8dd; }
.fp-spec strong { font-family: var(--font-head); font-size: 1.7rem; color: var(--white); line-height: 1.1; }
.fp-spec-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.fp-spec-badge { position: absolute; top: 16px; right: 16px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--white); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.fp-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.fp-logos li { display: grid; place-items: center; height: 72px; min-width: 104px; padding: 12px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.fp-logos img { max-height: 46px; width: auto; }

.fpx-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); grid-auto-flow: dense; align-items: start; gap: 14px; }
.fpx-image { margin: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.fpx-image a { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 10px; cursor: zoom-in; }
.fpx-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.fpx-image a:hover img { transform: scale(1.04); }
.fpx-image figcaption { padding: 10px 14px; border-top: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink); }
.fpx-image.is-wide { grid-column: span 2; }
.fpx-image.is-dark a { background: radial-gradient(circle at 50% 40%, var(--navy-700), var(--navy-900)); }
.fpx-image.is-video video { display: block; width: 100%; aspect-ratio: 3 / 2; background: #000; }
.fpx-lightbox { max-width: min(1100px, 92vw); max-height: 90vh; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.fpx-lightbox::backdrop { background: rgba(6, 20, 40, .82); }
.fpx-lightbox img { display: block; max-width: 100%; max-height: 86vh; margin: auto; object-fit: contain; }
.fpx-lightbox-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(6, 20, 40, .7); color: var(--white); cursor: pointer; }

.fpx-overview .fpx-divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: clamp(24px, 4vw, 44px); }
.fpx-division { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.fpx-division-logo { display: grid; place-items: center; height: 130px; margin-bottom: 8px; border-radius: var(--radius); background: linear-gradient(160deg, #fff, var(--surface)); border: 1px solid var(--line); }
.division-voiga .fpx-division-logo { background: linear-gradient(160deg, #faf6f1, #efe4d6); }
.fpx-division-logo img { max-height: 86px; max-width: 78%; width: auto; }
.fpx-division h3 { margin: 0; font-size: 1.2rem; }
.fpx-division p { margin: 0; font-size: .93rem; }
.division-tagline { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.fpx-division-links { display: grid; gap: 6px; margin-top: 8px; }
.fpx-division-links a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 10px; background: var(--surface); color: var(--ink); font-weight: 600; font-size: .92rem; }
.fpx-division-links a:hover { background: var(--blue-50); color: var(--blue-600); }

@media (max-width: 1080px) {
  .fpx-layout { grid-template-columns: 1fr; gap: 20px; }
  .fpx-index { position: static; max-height: none; }
  .fpx-index-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px 20px; border: 0; background: none; font: 700 .95rem var(--font-head); color: var(--ink); cursor: pointer; }
  .fpx-index-toggle span { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); font-size: .8rem; }
  .js .fpx-index-body { display: none; }
  .js .fpx-index.is-open .fpx-index-body { display: flex; border-top: 1px solid var(--line); }
  .fpx-lists { max-height: 60vh; }
}
@media (max-width: 860px) {
  .fpx-overview .fpx-divisions { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .fpx-images { grid-template-columns: 1fr 1fr; }
  .fpx-image.is-wide { grid-column: 1 / -1; }
  .fp-maker-logo { min-width: 96px; height: 60px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 12px; }
  .header-inner { gap: 20px; }
}
@media (max-width: 1080px) {
  .primary-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .hero-grid, .split, .split-wide, .markets, .appointment-grid, .contact-panel { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 170px; min-height: 0; }
  .hero-panel { max-width: 620px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 40px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lit-layout, .detail-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-figure { display: none; }
  .media-badge { left: 16px; }
  .featured-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pillars-grid, .grid-3 { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .lit-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .partners-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  .container { padding-inline: 18px; }
  .topbar-contact a:first-child { display: none; }
  .brand img { height: 42px; }
  .vision-logo { height: 38px; padding-left: 0; margin-left: 0; border-left: 0; }
  .form-grid, .sidebar, .contact-cards, .bullets.cols-2 { grid-template-columns: 1fr; }
  .grid-4, .steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 36px; }
  .footer-bottom-inner { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stat { padding: 36px 12px; }
  .pillar, .feature-card, .side-card, .list-card, .info-card { padding: 26px; }
  .map-wrap iframe { height: 340px; }
}
