/* =====================================================================
   Arvensis Solusi Indonesia
   Design System  ·  Deep Navy + Mint  ·  Light Theme
   ===================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand */
  --navy: #0c3357;
  --navy-700: #134372;
  --navy-600: #1e649f;
  --mint: #36a9e1;
  --mint-600: #1e8fc9;
  --mint-glow: rgba(54, 169, 225, 0.18);

  /* Neutrals */
  --white: #ffffff;
  --cloud: #f4f7fb;
  --cloud-200: #e8eef6;
  --line: #e2e8f1;
  --text: #0c3357;
  --text-soft: #4d6076;
  --text-faint: #8499ad;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(12, 51, 87, 0.06);
  --shadow-md: 0 10px 30px -12px rgba(12, 51, 87, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(12, 51, 87, 0.28);
  --shadow-mint: 0 18px 40px -16px rgba(30, 143, 201, 0.45);

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-pill: 999px;

  --grad-hero: radial-gradient(
      1200px 600px at 85% -10%,
      rgba(54, 169, 225, 0.16),
      transparent 60%
    ),
    linear-gradient(160deg, #0c3357 0%, #134372 55%, #1e649f 100%);
  --grad-mint: linear-gradient(135deg, var(--mint) 0%, var(--mint-600) 100%);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1240px;
  --nav-h: 76px;

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Inter", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* Global: justify all body paragraphs */
p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Exceptions: keep center/left where layout demands it */
.cta-banner p,
.hero__lead,
.xhero__meta-coord,
.xhero__meta-tag,
.xhero__stat .lab,
.bento__cell--dark .bento__cap,
.trust__item,
.footer__about,
.footer__col a,
.footer__contact li,
.breadcrumb,
.nav__mega-product,
.form-note,
.form-success p,
.p-card__body p,
.pd-hero__tagline,
.proj__list li,
.section-head--center p {
  text-align: left;
  hyphens: none;
}

.section-head--center p {
  text-align: center;
}

/* ---------- 3. Layout Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section--tight {
  padding-block: clamp(48px, 6vw, 80px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint-600);
}

.eyebrow::before {
  content: "[";
  font-size: 1.1em;
  opacity: 0.7;
}

.eyebrow::after {
  content: "]";
  font-size: 1.1em;
  opacity: 0.7;
}

.section-head {
  max-width: 660px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  margin-block: 14px 16px;
}

.section-sub {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ---------- 4. Buttons ---------- */
.btn {
  --bg: var(--navy);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--mint {
  --bg: var(--mint);
  --fg: var(--navy);
}

.btn--mint:hover {
  box-shadow: var(--shadow-mint);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--navy);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  --fg: #fff;
}

.btn--light {
  --bg: rgba(255, 255, 255, 0.1);
  --fg: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn--light:hover {
  --bg: #fff;
  --fg: var(--navy);
}

.btn--block {
  width: 100%;
}

/* ---------- 5. Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color 0.4s var(--ease);
}

.brand__logo {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.4s var(--ease);
}

.nav.scrolled .brand__logo,
.nav--solid .brand__logo {
  filter: none;
}

.footer .brand__logo {
  filter: brightness(0) invert(1);
}

.nav.scrolled .brand,
.nav--solid .brand {
  color: var(--navy);
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--grad-mint);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-mint);
  flex-shrink: 0;
}

.brand__mark svg {
  width: 22px;
  height: 22px;
  color: var(--navy);
}

.brand__name span {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  margin-top: 2px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-pill);
  transition: color 0.3s var(--ease);
}

.nav.scrolled .nav__link,
.nav--solid .nav__link {
  color: var(--text-soft);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--grad-mint);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--mint);
}

.nav.scrolled .nav__link:hover,
.nav.scrolled .nav__link.active,
.nav--solid .nav__link:hover,
.nav--solid .nav__link.active {
  color: var(--navy);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: 12px;
  padding: 11px 22px;
}

/* ----- Mega dropdown (Products) ----- */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__item--dropdown > .nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav__dd-caret {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.nav__item--dropdown:hover .nav__dd-caret {
  transform: rotate(180deg);
}

.nav__mega {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  width: 600px;
  max-width: calc(100vw - 48px);
  max-height: min(560px, calc(100vh - var(--nav-h) - 24px));
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease),
    visibility 0.32s var(--ease);
  z-index: 120;
}

/* invisible bridge so hover survives the gap below the link */
.nav__mega::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav__item--dropdown:hover .nav__mega,
.nav__item--dropdown:focus-within .nav__mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__mega-cats {
  background: var(--cloud);
  border-right: 1px solid var(--line);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  max-height: min(560px, calc(100vh - var(--nav-h) - 24px));
  overflow-y: auto;
}

.nav__mega-cat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 11px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-soft);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav__mega-cat .ic {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--mint-600);
  flex-shrink: 0;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.nav__mega-cat .ic svg {
  width: 19px;
  height: 19px;
}

.nav__mega-cat .label {
  flex: 1;
  line-height: 1.25;
}

.nav__mega-cat .chev {
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav__mega-cat:hover,
.nav__mega-cat.active {
  background: var(--navy);
  color: #fff;
}

.nav__mega-cat:hover .ic,
.nav__mega-cat.active .ic {
  background: var(--grad-mint);
  color: var(--navy);
  border-color: transparent;
}

.nav__mega-cat:hover .chev,
.nav__mega-cat.active .chev {
  opacity: 1;
  transform: none;
}

.nav__mega-panel {
  position: relative;
  padding: 14px;
  min-height: 0;
  max-height: min(560px, calc(100vh - var(--nav-h) - 24px));
  overflow-y: auto;
}

/* slim scrollbar for the mega menu panels */
.nav__mega-panel::-webkit-scrollbar,
.nav__mega-cats::-webkit-scrollbar {
  width: 8px;
}

.nav__mega-panel::-webkit-scrollbar-thumb,
.nav__mega-cats::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 8px;
}

.nav__mega-panel::-webkit-scrollbar-thumb:hover,
.nav__mega-cats::-webkit-scrollbar-thumb:hover {
  background: var(--text-faint);
}

.nav__mega-products {
  display: none;
  flex-direction: column;
  gap: 2px;
}

.nav__mega-products.active {
  display: flex;
  animation: fadeUp 0.4s var(--ease) both;
}

.nav__mega-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    padding-left 0.25s var(--ease);
}

.nav__mega-product svg {
  width: 15px;
  height: 15px;
  color: var(--mint-600);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  flex-shrink: 0;
}

.nav__mega-product:hover {
  background: var(--cloud);
  color: var(--navy);
}

.nav__mega-product:hover svg {
  opacity: 1;
  transform: none;
}

.nav__mega-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--grad-hero);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  transition: transform 0.3s var(--ease);
}

.nav__mega-all svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.nav__mega-all:hover {
  transform: translateY(-2px);
}

.nav__mega-all:hover svg {
  transform: translateX(4px);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease),
    background 0.4s var(--ease);
}

.nav.scrolled .nav__toggle span,
.nav--solid .nav__toggle span {
  background: var(--navy);
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding-top: calc(var(--nav-h) + clamp(60px, 10vw, 120px));
  padding-bottom: clamp(80px, 12vw, 160px);
  overflow: hidden;
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  pointer-events: none;
}

.hero__blob--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(54, 169, 225, 0.5), transparent 70%);
  top: -120px;
  right: -80px;
  animation: float 14s ease-in-out infinite;
}

.hero__blob--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(30, 100, 159, 0.7), transparent 70%);
  bottom: -120px;
  left: -60px;
  animation: float 18s ease-in-out infinite reverse;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 var(--mint);
  animation: pulse 2.4s infinite;
}

.hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  letter-spacing: -0.03em;
  margin-block: 22px 20px;
}

.hero h1 .accent {
  position: relative;
  color: var(--mint);
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.09em;
  background: var(--mint);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline 0.9s var(--ease) 0.9s forwards;
}

@keyframes underline {
  to {
    transform: scaleX(1);
  }
}

.hero__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
}

.hero__stat .num .plus {
  color: var(--mint);
}

.hero__stat .label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Hero visual card */
.hero__visual {
  position: relative;
}

.hero__card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.hero__card h3 {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.hero__card p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.hero__list {
  display: grid;
  gap: 12px;
}

.hero__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease);
}

.hero__list li:hover {
  transform: translateX(6px);
  background: rgba(54, 169, 225, 0.12);
}

.hero__list .ic {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--grad-mint);
  color: var(--navy);
  flex-shrink: 0;
}

.hero__list .ic svg {
  width: 20px;
  height: 20px;
}

.hero__float-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  color: var(--navy);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.hero__float-badge .ic {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(54, 169, 225, 0.18);
  color: var(--mint-600);
  display: grid;
  place-items: center;
}

.hero__float-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
}

.hero__float-badge span {
  font-size: 0.76rem;
  color: var(--text-soft);
}

/* ---------- 7. Marquee / trust strip ---------- */
.trust {
  background: var(--navy);
  border-block: 1px solid var(--navy-700);
  padding-block: 0;
  overflow: hidden;
}

.trust__inner {
  display: flex;
  align-items: stretch;
}

.trust__label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint);
  font-weight: 500;
  padding: 20px 28px 20px 0;
  white-space: nowrap;
  flex-shrink: 0;
  border-right: 1px solid var(--navy-700);
}

.trust__label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 var(--mint);
  animation: pulse 2.4s infinite;
}

.trust__marquee {
  position: relative;
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.trust__track {
  display: flex;
  align-items: center;
  gap: 14px 40px;
  white-space: nowrap;
  padding-left: 40px;
  animation: marquee 28s linear infinite;
}

.trust:hover .trust__track {
  animation-play-state: paused;
}

.trust__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.trust__item svg {
  width: 16px;
  height: 16px;
  color: var(--mint);
}

.trust__item::after {
  content: "/";
  margin-left: 40px;
  color: rgba(255, 255, 255, 0.22);
}

/* ---------- 8. About preview (split) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual__frame {
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  aspect-ratio: 4 / 3.4;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual__frame .hero__grid-bg {
  mask-image: radial-gradient(80% 80% at 50% 50%, #000, transparent);
}

/* photo filling the frame */
.about-visual__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease);
}

.about-visual:hover .about-visual__img {
  transform: scale(1.06);
}

/* subtle navy tint so the floating tags + grid stay legible */
.about-visual__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(12, 51, 87, 0.25),
    rgba(12, 51, 87, 0.05) 50%,
    rgba(12, 51, 87, 0.35)
  );
  pointer-events: none;
}

.about-visual__pulse {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.about-visual__pulse svg {
  width: 70%;
  color: rgba(54, 169, 225, 0.85);
}

.about-visual__tag {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
}

.about-visual__tag--1 {
  top: 24px;
  left: -18px;
  animation: float 7s ease-in-out infinite;
}

.about-visual__tag--2 {
  bottom: 24px;
  right: -18px;
  animation: float 9s ease-in-out infinite reverse;
}

.about-visual__tag .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--navy);
}

.about-visual__tag .num .plus {
  color: var(--mint-600);
}

.about-visual__tag .label {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.feature-list {
  display: grid;
  gap: 18px;
  margin-block: 28px 32px;
}

.feature-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-list .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cloud);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--mint-600);
  flex-shrink: 0;
}

.feature-list .ic svg {
  width: 22px;
  height: 22px;
}

.feature-list h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.feature-list p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ---------- 9. Solutions grid ---------- */
.solutions {
  background: var(--cloud);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  counter-reset: card;
}

.s-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  counter-increment: card;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

/* index number tag, top-right */
.s-card > .s-card__ic ~ * {
  position: relative;
  z-index: 1;
}

.s-card::before {
  content: "0" counter(card);
  position: absolute;
  top: 20px;
  right: 22px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  transition: color 0.45s var(--ease);
}

.s-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.s-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  background: radial-gradient(
      300px circle at var(--mx) var(--my),
      rgba(54, 169, 225, 0.08),
      transparent 60%
    ),
    #fff;
}

.s-card:hover::before {
  color: var(--mint-600);
}

.s-card:hover::after {
  transform: scaleX(1);
}

/* keep content above decorative layers */
.s-card > * {
  position: relative;
  z-index: 1;
}

/* pointer-tracked spotlight (set via JS: --mx / --my) */
.s-card,
.v-card,
.p-card {
  --mx: 50%;
  --my: 50%;
}

.s-card__ic {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--cloud);
  border: 1px solid var(--line);
  color: var(--mint-600);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: transform 0.45s var(--ease), background 0.45s var(--ease),
    color 0.45s var(--ease), border-color 0.45s var(--ease);
}

.s-card:hover .s-card__ic {
  background: var(--navy);
  color: var(--mint);
  border-color: transparent;
  transform: translateY(-2px);
}

.s-card__ic svg {
  width: 28px;
  height: 28px;
}

.s-card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.s-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.s-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.s-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.s-card:hover .s-card__link {
  color: var(--mint-600);
}

.s-card:hover .s-card__link svg {
  transform: translateX(5px);
}

/* ---------- 10. CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  max-width: 640px;
  margin-inline: auto;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 16px auto 30px;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 88px));
  padding-bottom: clamp(48px, 7vw, 88px);
  overflow: hidden;
}

.page-hero__inner {
  position: relative;
  max-width: 720px;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  margin-block: 16px 14px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
  color: var(--mint);
}

.breadcrumb svg {
  width: 14px;
  height: 14px;
}

/* ---------- 12. Vision & Mission ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.vm-card {
  position: relative;
  padding: 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vm-card--navy {
  background: var(--grad-hero);
  color: #fff;
  border-color: transparent;
}

.vm-card__ic {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: var(--cloud);
  color: var(--mint-600);
}

.vm-card--navy .vm-card__ic {
  background: rgba(255, 255, 255, 0.1);
  color: var(--mint);
}

.vm-card__ic svg {
  width: 28px;
  height: 28px;
}

.vm-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.vm-card--navy h3 {
  color: #fff;
}

.vm-card p {
  color: var(--text-soft);
}

.vm-card--navy p {
  color: rgba(255, 255, 255, 0.78);
}

.vm-card ul {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

.vm-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-soft);
}

.vm-card li svg {
  width: 20px;
  height: 20px;
  color: var(--mint-600);
  flex-shrink: 0;
  margin-top: 3px;
}

/* values */
.values {
  background: var(--cloud);
}

.v-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.v-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.v-card__ic {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: var(--grad-mint);
  color: var(--navy);
  display: grid;
  place-items: center;
}

.v-card__ic svg {
  width: 32px;
  height: 32px;
}

.v-card h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}

.v-card p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* ---------- 13. Product Catalog ---------- */
.catalog {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.filters h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.filters h3 svg {
  width: 19px;
  height: 19px;
  color: var(--mint-600);
}

.search-box {
  position: relative;
  margin-bottom: 26px;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--cloud);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.search-box input:focus {
  outline: none;
  border-color: var(--mint);
  background: #fff;
  box-shadow: 0 0 0 4px var(--mint-glow);
}

.filter-group__title {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 12px;
}

.filter-list {
  display: grid;
  gap: 6px;
}

.filter-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  text-align: left;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.filter-chip .count {
  font-size: 0.78rem;
  color: var(--text-faint);
  background: var(--cloud);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.filter-chip:hover {
  background: var(--cloud);
  color: var(--navy);
}

.filter-chip.active {
  background: var(--navy);
  color: #fff;
}

.filter-chip.active .count {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* toolbar */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.catalog-count {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.catalog-count strong {
  color: var(--navy);
}

.filters-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
}

.filters-toggle svg {
  width: 17px;
  height: 17px;
}

/* product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.p-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.p-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.p-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--grad-hero);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.p-card__media .hero__grid-bg {
  background-size: 30px 30px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

.p-card__media .glyph {
  width: 64px;
  height: 64px;
  color: var(--mint);
  position: relative;
  z-index: 1;
  transition: transform 0.5s var(--ease);
}

.p-card:hover .p-card__media .glyph {
  transform: scale(1.12) rotate(-4deg);
}

.p-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  backdrop-filter: blur(4px);
}

.p-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.p-card__body h3 {
  font-size: 1.08rem;
  margin-bottom: 9px;
  transition: color 0.3s var(--ease);
}

.p-card:hover .p-card__body h3 {
  color: var(--mint-600);
}

.p-card__body p {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 18px;
  flex: 1;
}

.p-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.p-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}

.p-card:hover .p-card__link svg {
  transform: translateX(5px);
}

/* empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-lg);
  background: var(--cloud);
}

.empty-state__ic {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-faint);
}

.empty-state__ic svg {
  width: 38px;
  height: 38px;
}

.empty-state h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--text-soft);
  margin-bottom: 22px;
}

/* pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination button {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.pagination button svg {
  width: 18px;
  height: 18px;
}

.pagination button:hover:not(:disabled) {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}

.pagination button.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ---------- 14. Product Detail ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.detail__media {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  aspect-ratio: 1 / 1;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.detail__media .glyph {
  width: 120px;
  height: 120px;
  color: var(--mint);
  position: relative;
  z-index: 1;
}

.detail__cat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(54, 169, 225, 0.14);
  color: var(--mint-600);
  margin-bottom: 18px;
}

.detail__cat svg {
  width: 15px;
  height: 15px;
}

.detail h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 18px;
}

.detail__desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.detail__specs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.detail__specs h4 {
  background: var(--cloud);
  padding: 15px 20px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}

.detail__specs ul {
  display: grid;
}

.detail__specs li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.detail__specs li:last-child {
  border-bottom: 0;
}

.detail__specs li svg {
  width: 18px;
  height: 18px;
  color: var(--mint-600);
  flex-shrink: 0;
}

.detail__cta {
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.detail__cta h3 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.detail__cta p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 22px;
}

.detail__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}

.detail-back svg {
  width: 17px;
  height: 17px;
}

.detail-back:hover {
  color: var(--navy);
  gap: 12px;
}

/* related */
.related {
  background: var(--cloud);
}

/* ---------- 15. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.ci-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.ci-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ci-card__ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--navy);
  color: var(--mint);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.ci-card__ic svg {
  width: 22px;
  height: 22px;
}

.ci-card h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.ci-card p,
.ci-card a {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.ci-card a:hover {
  color: var(--mint-600);
}

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  margin-bottom: 8px;
}

.field label .req {
  color: #e5484d;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cloud);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--mint);
  background: #fff;
  box-shadow: 0 0 0 4px var(--mint-glow);
}

.field input.invalid,
.field textarea.invalid,
.field select.invalid {
  border-color: #e5484d;
  background: #fef2f2;
}

.field .error-msg {
  display: none;
  color: #e5484d;
  font-size: 0.8rem;
  margin-top: 6px;
}

.field .error-msg.show {
  display: block;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-faint);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 20px;
}

.form-success.show {
  display: block;
  animation: fadeUp 0.6s var(--ease) both;
}

.form-success__ic {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(54, 169, 225, 0.16);
  color: var(--mint-600);
  display: grid;
  place-items: center;
  animation: pop 0.5s var(--ease) both;
}

.form-success__ic svg {
  width: 38px;
  height: 38px;
}

.form-success h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-soft);
}

.map-wrap {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

/* ---------- 16. Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding-top: clamp(56px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}

.footer__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent);
  pointer-events: none;
}

.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer .brand {
  color: #fff;
  margin-bottom: 18px;
}

.footer__about {
  font-size: 0.94rem;
  max-width: 320px;
  margin-bottom: 22px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
}

.footer__social a:hover {
  background: var(--grad-mint);
  color: var(--navy);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer__col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer__col ul {
  display: grid;
  gap: 11px;
}

.footer__col a {
  font-size: 0.93rem;
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}

.footer__col a:hover {
  color: var(--mint);
  padding-left: 5px;
}

.footer__contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.93rem;
  margin-bottom: 13px;
}

.footer__contact svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.86rem;
}

.footer__bottom a:hover {
  color: var(--mint);
}

/* ---------- 17. Animations ---------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(54, 169, 225, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(54, 169, 225, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(54, 169, 225, 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}
.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}
.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

/* Hero entrance */
.hero [data-animate] {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.9s var(--ease) forwards;
}
.hero [data-animate="1"] {
  animation-delay: 0.1s;
}
.hero [data-animate="2"] {
  animation-delay: 0.24s;
}
.hero [data-animate="3"] {
  animation-delay: 0.38s;
}
.hero [data-animate="4"] {
  animation-delay: 0.52s;
}
.hero [data-animate="5"] {
  animation-delay: 0.66s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .hero [data-animate] {
    opacity: 1;
    transform: none;
  }
  .trust__track {
    animation: none;
    transform: none;
  }
  .xhero__bg {
    animation: none;
    transform: scale(1.05);
  }
}

/* ---------- 18. Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 480px;
  }
  .catalog {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
  }
  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 860px) {
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 20px 24px 28px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 0.45s var(--ease);
    z-index: 90;
  }
  .nav__menu.open {
    transform: translateY(0);
  }
  .nav__link {
    color: var(--text-soft);
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }
  .nav__link::after {
    display: none;
  }
  .nav__link:hover,
  .nav__link.active {
    background: var(--cloud);
    color: var(--navy);
  }
  .nav__cta {
    margin-left: 0;
    margin-top: 8px;
  }

  /* Mega menu -> accordion on mobile */
  .nav__item {
    display: block;
  }
  .nav__item--dropdown > .nav__link {
    justify-content: space-between;
    width: 100%;
  }
  .nav__mega {
    position: static;
    width: 100%;
    max-width: none;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav__item--dropdown.open .nav__mega {
    max-height: 1600px;
  }
  .nav__item--dropdown.open .nav__dd-caret {
    transform: rotate(180deg);
  }
  .nav__mega::before {
    display: none;
  }
  .nav__mega-cats {
    background: transparent;
    border-right: 0;
    padding: 4px 0;
  }
  .nav__mega-cat {
    border-radius: var(--radius-sm);
  }
  .nav__mega-cat .chev {
    display: none;
  }
  /* show all product lists at once on mobile (accordion already gates it) */
  .nav__mega-panel {
    padding: 4px 0 0;
  }
  /* show every category's products stacked when accordion is open */
  .nav__mega-products,
  .nav__mega-products.active {
    display: flex;
    padding-left: 12px;
    margin: 2px 0 10px;
    border-left: 2px solid var(--line);
    animation: none;
  }
  .nav__mega-product svg {
    opacity: 1;
    transform: none;
  }

  .nav__toggle {
    display: flex;
  }
  .split,
  .vm-grid,
  .detail,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-visual {
    order: -1;
  }
  .detail__media {
    position: static;
    aspect-ratio: 16 / 11;
  }
  .filters-toggle {
    display: inline-flex;
  }
  .filters {
    display: none;
  }
  .filters.open {
    display: block;
  }
}

@media (max-width: 540px) {
  .container {
    padding-inline: 18px;
  }
  .trust__label {
    display: none;
  }
  .hero__stats {
    gap: 22px;
  }
  .hero__stat .num {
    font-size: 1.6rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
  }
  .hero__float-badge {
    left: 0;
  }
  .trust__inner {
    justify-content: center;
    text-align: center;
  }
}


/* =====================================================================
   19. Editorial homepage (xhero / statement / worklist / bento)
   ===================================================================== */

/* ---------- Editorial hero ---------- */
.xhero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 90px));
  padding-bottom: clamp(28px, 4vw, 48px);
  min-height: clamp(620px, 88vh, 920px);
  display: flex;
  align-items: center;
}

/* full-bleed photographic background */
.xhero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  animation: heroZoom 22s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 0;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.18) translate(-1.5%, -1%);
  }
}

/* navy gradient overlay keeps text readable + on-brand */
.xhero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      180deg,
      rgba(12, 51, 87, 0.55) 0%,
      rgba(12, 51, 87, 0.72) 55%,
      rgba(12, 51, 87, 0.92) 100%
    ),
    linear-gradient(
      100deg,
      rgba(12, 51, 87, 0.88) 0%,
      rgba(12, 51, 87, 0.45) 55%,
      rgba(19, 67, 114, 0.25) 100%
    ),
    radial-gradient(
      1200px 600px at 85% -10%,
      rgba(54, 169, 225, 0.22),
      transparent 60%
    );
}

.xhero .hero__grid-bg,
.xhero .hero__blob {
  z-index: 2;
}

.xhero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.xhero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: clamp(24px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.xhero__meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
}

.xhero__meta-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2.4s infinite;
}

.xhero__meta-coord {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.5);
}

.xhero__title {
  font-family: var(--font-display);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(1.9rem, 5.5vw, 4.2rem);
  margin-block: clamp(28px, 5vw, 60px) 0;
  text-align: center;
}

.xhero__title .line {
  display: block;
  overflow: hidden;
}

.xhero__title .accent {
  position: relative;
  color: var(--mint);
  font-style: italic;
  font-weight: 400;
}

.xhero__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(24px, 5vw, 60px);
  margin-top: clamp(32px, 5vw, 56px);
}

.xhero__lead {
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 520px;
  justify-self: start;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.xhero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.xhero__rule {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.xhero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.xhero__stat .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  color: #fff;
  letter-spacing: -0.02em;
}

.xhero__stat .lab {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

.xhero__scroll {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.xhero__scroll svg {
  width: 16px;
  height: 16px;
  animation: bob 1.8s ease-in-out infinite;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ---------- Statement block ---------- */
.statement__inner {
  max-width: 980px;
}

.statement__lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-block: 24px 30px;
}

@media (max-width: 768px) {
    .statement__lead {
        font-size: 18px;
        line-height: 1.5;
        letter-spacing: -0.01em;
    }
}


.statement__lead em {
  font-style: italic;
  color: var(--mint-600);
}

.link-underline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  padding-bottom: 3px;
}

.link-underline svg {
  width: 17px;
  height: 17px;
  transition: transform 0.35s var(--ease);
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.4s var(--ease);
}

.link-underline:hover::after {
  transform-origin: left;
  transform: scaleX(0);
}

.link-underline:hover svg {
  transform: translateX(5px);
}

/* ---------- Interactive solutions list ---------- */
.worklist-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 8px;
}

.worklist-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.worklist {
  position: relative;
  border-top: 1px solid var(--line);
}

.worklist__preview {
  display: none;
}

.wrow {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 3vw, 34px) 8px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
  transition: padding-left 0.4s var(--ease), color 0.4s var(--ease);
}

.wrow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

.wrow:hover {
  padding-left: 24px;
}

.wrow:hover::before {
  transform: scaleY(1);
}

.wrow__idx {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-faint);
  transition: color 0.4s var(--ease);
}

.wrow__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.9rem);
  letter-spacing: -0.02em;
  color: var(--navy);
  transition: color 0.4s var(--ease);
}

.wrow__go {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--navy);
  justify-self: end;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease), transform 0.4s var(--ease);
}

.wrow__go svg {
  width: 18px;
  height: 18px;
}

.wrow:hover .wrow__idx {
  color: var(--mint);
}

.wrow:hover .wrow__name {
  color: #fff;
}

.wrow:hover .wrow__go {
  background: var(--mint);
  border-color: transparent;
  color: var(--navy);
  transform: rotate(-45deg);
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bento__cell {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.bento__cell:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.bento__cell--feature {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.bento__cell--feature h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-top: 14px;
}

.bento__cell--feature p {
  color: var(--text-soft);
  margin-bottom: 8px;
}

.bento__cell--dark {
  grid-column: span 2;
  background: var(--grad-hero);
  border-color: transparent;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.bento__cell--dark .bento__big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

.bento__cell--dark .bento__cap {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
}

.bento__cell--wide {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.bento__ic {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--cloud);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--mint-600);
  flex-shrink: 0;
  margin-bottom: 18px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.bento__cell--wide .bento__ic {
  margin-bottom: 0;
}

.bento__ic svg {
  width: 26px;
  height: 26px;
}

.bento__cell:hover .bento__ic {
  background: var(--navy);
  color: var(--mint);
  border-color: transparent;
}

.bento__cell h4 {
  font-size: 1.1rem;
  margin-bottom: 7px;
}

.bento__cell p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* ---------- Editorial responsive ---------- */
@media (max-width: 860px) {
  .xhero__foot {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .xhero__rule {
    flex-wrap: wrap;
    gap: 22px 32px;
  }
  .xhero__scroll {
    display: none;
  }
  .wrow {
    grid-template-columns: 44px 1fr 40px;
    gap: 14px;
  }
  .wrow__desc {
    display: none;
  }
  .worklist__preview {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento__cell--feature,
  .bento__cell--wide {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 540px) {
  .wrow {
    grid-template-columns: 36px 1fr 36px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .bento__cell--feature,
  .bento__cell--wide {
    grid-column: span 1;
  }
  .bento__cell--wide {
    flex-direction: column;
  }
}


/* =====================================================================
   20. Distribution · Projects · Partners
   ===================================================================== */

/* ---------- Distribution ---------- */
.dist-sec {
  background: var(--cloud);
}

.dist {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.dist__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-block: 14px 16px;
}

.dist__intro p {
  color: var(--text-soft);
  margin-bottom: 24px;
  max-width: 460px;
}

.dist__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.dist__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--navy);
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    padding-left 0.35s var(--ease);
}

.dist__list li:hover {
  background: var(--navy);
  color: #fff;
  padding-left: 28px;
}

.dist__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.dist__list li:hover .dist__dot {
  transform: scale(1.5);
}

/* ---------- Projects ---------- */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.proj {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.proj::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad-mint);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease);
}

.proj:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.proj:hover::before {
  transform: scaleY(1);
}

.proj__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.proj__year {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--mint-600);
}

.proj__tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--cloud);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.proj h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  margin-bottom: 18px;
  line-height: 1.25;
}

.proj__list {
  display: grid;
  gap: 11px;
}

.proj__list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.proj__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 2px solid var(--mint);
  border-right: 0;
  border-bottom: 0;
  transform: rotate(45deg);
}

/* Simplified project card (no list) */
.proj--simple {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.proj__logo-wrap {
  width: 100%;
  height: 130px;          /* fixed height, logo scales inside */
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;     /* internal breathing room */
  overflow: visible;      /* never clip */
  box-sizing: border-box;
}

.proj__logo-wrap img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  /* normalise visual weight: circular logos shouldn't dominate,
     banner logos shouldn't feel tiny */
  max-height: 80px;
  mix-blend-mode: multiply;
}

.proj__logo-placeholder {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-faint);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- Partners ---------- */
.partners-sec {
  background: #fff;
}

.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* Default partner (text+icon style, kept for fallback) */
.partner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--navy);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.partner:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.partner__ic {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cloud);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--mint-600);
  flex-shrink: 0;
  transition: background 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.partner:hover .partner__ic {
  background: var(--navy);
  color: var(--mint);
  border-color: transparent;
}

.partner__ic svg {
  width: 22px;
  height: 22px;
}

/* ---------- Responsive: dist/projects/partners ---------- */
@media (max-width: 860px) {
  .dist,
  .projects {
    grid-template-columns: 1fr;
  }
  .partners {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .dist__list {
    grid-template-columns: 1fr;
  }
  .partners {
    grid-template-columns: 1fr;
  }
}


/* =====================================================================
   21. Product Detail — Mindray-inspired layout
   ===================================================================== */

/* Benefit-driven hero */
.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}

.pd-hero__info h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-block: 14px 14px;
}

.pd-hero__tagline {
  color: var(--text-soft);
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 480px;
}

.pd-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd-hero__media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  background: var(--grad-hero);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* When the media box holds a gallery, let it size to the gallery
   (viewport + thumbnails) instead of a fixed clipped ratio. */
.pd-hero__media--gallery,
.pd-hero__media:has(.pd-gallery) {
  aspect-ratio: auto;
  background: transparent;
  border-radius: 0;
  display: block;
  overflow: visible;
  box-shadow: none;
}

.pd-hero__media .glyph {
  width: 120px;
  height: 120px;
  color: var(--mint);
  position: relative;
  z-index: 1;
  transition: transform 0.6s var(--ease);
}

.pd-hero__media:hover .glyph {
  transform: scale(1.08) rotate(-4deg);
}

/* Section heads inside detail */
.pd-section {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.pd-section__head {
  margin-bottom: 28px;
}

.pd-section__head h2,
.pd-overview h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-top: 10px;
}

/* Grouped specification tables */
.spec-group + .spec-group {
  border-top: 1px solid var(--line);
}

.spec-group h5 {
  margin: 0;
  padding: 18px 20px 14px;
  background: var(--cloud);
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--line);
}

.spec-table {
  display: grid;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr);
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-label,
.spec-value {
  padding: 14px 20px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.spec-label {
  color: var(--navy);
  font-weight: 600;
  background: rgba(244, 247, 251, 0.55);
}

.spec-value {
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .spec-row {
    grid-template-columns: 1fr;
  }

  .spec-label,
  .spec-value {
    padding: 11px 16px;
  }

  .spec-label {
    padding-bottom: 4px;
  }

  .spec-value {
    padding-top: 4px;
  }
}

/* Overview block (full width) */
.pd-overview > p {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 820px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.pd-section .detail__specs {
  margin-bottom: 0;
}

@media (max-width: 920px) {
  .pd-hero {
    grid-template-columns: 1fr;
  }
  .pd-hero__media {
    order: -1;
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 540px) {
}


/* =====================================================================
   22. Product photos (optional p.image) — fills media boxes
   ===================================================================== */
.p-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 14px;
  background: #ffffff;
  transition: transform 0.6s var(--ease);
}

.p-card__media .p-photo {
  z-index: 0;
}

.p-card:hover .p-photo {
  transform: scale(1.06);
}

.pd-hero__media .p-photo {
  z-index: 1;
  padding: 28px;
  background: radial-gradient(120% 120% at 50% 20%, #ffffff, #eef3f9);
}

.pd-hero__media:hover .p-photo {
  transform: scale(1.04);
}


/* =====================================================================
   23. Product image gallery / slider (detail hero)
   ===================================================================== */
.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
  width: 100%;
}

.pd-gallery__viewport {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: radial-gradient(120% 120% at 50% 20%, #ffffff, #eef3f9);
  cursor: grab;
}

.pd-gallery__viewport:active {
  cursor: grabbing;
}

.pd-gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s var(--ease);
}

.pd-gallery__slide {
  flex: 0 0 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.pd-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 80px;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* arrows */
.pd-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease);
  z-index: 2;
}

.pd-gallery__nav svg {
  width: 20px;
  height: 20px;
}

.pd-gallery__nav:hover {
  background: var(--navy);
  color: #fff;
}

.pd-gallery__nav--prev {
  left: 14px;
}

.pd-gallery__nav--next {
  right: 14px;
}

.pd-gallery__nav--prev:hover {
  transform: translateY(-50%) translateX(-2px);
}

.pd-gallery__nav--next:hover {
  transform: translateY(-50%) translateX(2px);
}

/* dots */
.pd-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 2px;
}

.pd-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(12, 51, 87, 0.22);
  cursor: pointer;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}

.pd-gallery__dot.active {
  background: var(--mint-600);
  width: 22px;
  border-radius: 5px;
}

/* thumbnails */
.pd-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pd-gallery__thumb {
  width: 52px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  flex: 0 0 auto;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.pd-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.pd-gallery__thumb:hover {
  transform: translateY(-2px);
  border-color: var(--mint-600);
}

.pd-gallery__thumb.active {
  border-color: var(--mint-600);
  box-shadow: 0 0 0 2px var(--mint-glow);
}

/* =====================================================================
   24. Our Customer — Stripe/Notion-style floating logo wall
   ===================================================================== */
.customer-sec {
  background: #fff;
  position: relative;
  padding-block: clamp(80px, 10vw, 140px);
  overflow: hidden;
}

/* very subtle texture */
.customer-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 40%, rgba(54,169,225,0.04) 0%, transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(12,51,87,0.03) 0%, transparent 55%);
  pointer-events: none;
}

/* heading block */
.customer-sec .section-head {
  position: relative;
  margin-bottom: clamp(52px, 7vw, 80px);
}

.customer-sec .section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.customer-sec .section-sub {
  max-width: 480px;
  margin-inline: auto;
  color: var(--text-faint);
  font-size: 1rem;
}

.customer-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-faint);
}

.customer-count-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2.4s infinite;
}

/* ---- Logo grid: no cards, logos float ---- */
.customer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0;
  row-gap: 0;
}

/* Each logo slot */
.customer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vw, 24px) clamp(10px, 1.5vw, 20px);
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ---- The image itself ---- */
.customer-logo img {
  display: block;
  width: 100%;
  max-width: 96px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: none;
}

.customer-logo:hover img {
  filter: none;
  transform: none;
}

/* Placeholder text fallback */
.customer-logo span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: #c8d4e0;
  text-align: center;
  line-height: 1.4;
  max-width: 80px;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
  .customer-grid {
    grid-template-columns: repeat(7, 1fr);
  }
  .customer-logo:nth-child(8n) {
    border-right: 1px solid #f0f3f7;
  }
  .customer-logo:nth-child(7n) {
    border-right: none;
  }
}

@media (max-width: 960px) {
  .customer-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .customer-logo:nth-child(7n) {
    border-right: 1px solid #f0f3f7;
  }
  .customer-logo:nth-child(6n) {
    border-right: none;
  }
}

@media (max-width: 700px) {
  .customer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .customer-logo:nth-child(6n) {
    border-right: 1px solid #f0f3f7;
  }
  .customer-logo:nth-child(4n) {
    border-right: none;
  }
  .customer-logo img {
    max-width: 72px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .customer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .customer-logo:nth-child(4n) {
    border-right: 1px solid #f0f3f7;
  }
  .customer-logo:nth-child(3n) {
    border-right: none;
  }
}

/* Partnership logo grid */
.partners--logo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.partner--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2vw, 24px) clamp(10px, 1.5vw, 20px);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  min-height: 90px;
}

.partner--logo:nth-child(4n) {
  border-right: none;
}

.partner--logo:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

.partner--logo img {
  display: block;
  width: 100%;
  max-width: 110px;
  height: 60px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: none;
}

.partner--logo:hover img {
  filter: none;
  transform: none;
}

@media (max-width: 640px) {
  .partners--logo {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner--logo:nth-child(4n) {
    border-right: 1px solid #f0f3f7;
  }
  .partner--logo:nth-child(2n) {
    border-right: none;
  }
}

/* =====================================================================
   25. Certification cards — ISO 13485:2016 & CDAKB trust badges
   ===================================================================== */

/* Wrapper: spans 2 grid columns, stacks 2 cards vertically */
.bento__cert-stack {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento__cert-stack .bento__cell--cert {
  flex: 1;
}

.bento__cell--cert {
  background: var(--grad-hero);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* left accent bar — mint on dark bg */
.bento__cell--cert::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--grad-mint);
  border-radius: 3px 0 0 3px;
}

/* grid overlay for depth */
.bento__cell--cert::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.bento__cell--cert:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento__cert-logo {
  display: none;
}

/* cert card: horizontal layout */
.bento__cell--cert {
  flex-direction: row;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden; /* clean card, no overflow */
}

.bento__cert-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.bento__cert-preview-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
  white-space: nowrap;
}

.bento__cert-preview-btn svg {
  width: 14px;
  height: 14px;
}

.bento__cert-preview-btn:hover {
  background: rgba(255,255,255,0.24);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-1px);
}

/* =====================================================================
   Certificate Modal — click to view full certificate
   ===================================================================== */
.cert-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.cert-modal.open {
  opacity: 1;
  visibility: visible;
}

.cert-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 52, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}

.cert-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 40px 100px rgba(8,28,52,0.5),
    0 8px 24px rgba(8,28,52,0.2);
  max-width: min(560px, 100%);
  max-height: 90vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.4s var(--ease);
}

.cert-modal.open .cert-modal__box {
  transform: scale(1) translateY(0);
}

/* header bar */
.cert-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f3f7;
  flex-shrink: 0;
  background: #fff;
}

.cert-modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.cert-modal__toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cert-modal__btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.cert-modal__btn svg {
  width: 16px;
  height: 16px;
}

.cert-modal__btn:hover {
  background: var(--cloud);
  border-color: var(--navy);
}

.cert-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease),
    border-color 0.25s var(--ease);
}

.cert-modal__close svg {
  width: 16px;
  height: 16px;
}

.cert-modal__close:hover {
  background: var(--cloud);
  border-color: var(--navy);
  transform: rotate(90deg);
}

/* scrollable image area */
.cert-modal__img-wrap {
  overflow: auto;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  background: #f8fafd;
  cursor: zoom-in;
}

.cert-modal__img-wrap.zoomed {
  cursor: zoom-out;
  align-items: flex-start;
  justify-content: flex-start;
}

#certModalImg {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(8,28,52,0.12);
  transition: transform 0.4s var(--ease);
  transform-origin: top left;
  user-select: none;
}

.cert-modal__img-wrap.zoomed #certModalImg {
  max-width: none;
  transform: scale(1.9);
}

/* swap SVG fill/stroke colors on dark bg */
.bento__cell--cert .bento__cert-logo svg rect:first-child {
  fill: rgba(255,255,255,0.1);
}
.bento__cell--cert .bento__cert-logo svg rect:last-child {
  stroke: rgba(255,255,255,0.35);
}
.bento__cell--cert .bento__cert-logo svg path {
  stroke: var(--mint);
}

.bento__cert-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
  z-index: 1;
}

.bento__cert-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.bento__cert-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  text-align: left;
}

.bento__cert-mark {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--mint);
  background: rgba(54,169,225,0.15);
  border: 1px solid rgba(54,169,225,0.4);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* Responsive: stack collapses to full-width on narrow screens */
@media (max-width: 860px) {
  .bento__cert-stack {
    grid-column: span 2;
    grid-row: auto;
  }
}

@media (max-width: 540px) {
  .bento__cert-stack {
    grid-column: span 1;
  }
  .bento__cell--cert {
    flex-wrap: wrap;
  }
}


/* =====================================================================
   PRODUCT HIERARCHY — Primary Product Line > Sub-category
   ===================================================================== */
.filter-chip--primary {
  font-weight: 700;
}
.filter-sublist {
  margin: -4px 0 10px 12px;
  padding-left: 10px;
  border-left: 2px solid var(--line);
  display: grid;
  gap: 3px;
}
.filter-chip--sub {
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 9px 10px;
  font-size: .84rem;
  text-align: left;
}
.filter-chip--sub .count {
  opacity: .7;
}
.filter-chip--sub.active {
  background: var(--mint);
  color: var(--navy);
}
.catalog-heading {
  display: block;
  font-family: var(--font-display, "Plus Jakarta Sans", sans-serif);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 3px;
}
.p-card__parent {
  display: block;
  margin-bottom: 7px;
  font-size: .7rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .58;
}
.nav__mega-products--hierarchy {
  padding: 18px 20px;
}
.nav__mega-parent-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
  line-height: 1.45;
  color: var(--ink);
}
.nav__mega-parent-link svg,
.nav__mega-subcat svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
}
.nav__mega-subcats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.nav__mega-subcat {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: background .2s ease, transform .2s ease;
}
.nav__mega-subcat:hover {
  background: var(--surface, #f5f7f8);
  transform: translateX(2px);
}
.nav__mega-subcat small {
  font-size: .68rem;
  opacity: .55;
}
@media (max-width: 860px) {
  .nav__mega-subcats {
    grid-template-columns: 1fr;
  }
  .nav__mega-products--hierarchy {
    padding: 6px 0 10px 12px;
  }
}


/* =====================================================================
   ARTICLES & NEWS
   ===================================================================== */

.articles-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(70px, 9vw, 120px));
  padding-bottom: clamp(70px, 10vw, 120px);
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
}

.articles-hero__inner {
  position: relative;
  z-index: 1;
}

.articles-hero__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.articles-hero .eyebrow {
  color: var(--mint);
}

.articles-hero__coord {
  font-family: var(--font-body);
  font-size: .72rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.55);
}

.articles-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 500;
  max-width: 820px;
  margin-bottom: 22px;
}

.articles-hero h1 .accent {
  color: var(--mint);
}

.articles-hero p {
  max-width: 680px;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
  text-align: left;
  hyphens: none;
}

.articles-section {
  padding-bottom: clamp(60px, 8vw, 100px);
}

.articles-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.article-filter {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-soft);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: .76rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
    border-color .3s var(--ease), transform .3s var(--ease);
}

.article-filter:hover,
.article-filter.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

.article-featured-wrap {
  margin-bottom: clamp(70px, 9vw, 110px);
}

.article-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  min-height: 470px;
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-featured__media {
  position: relative;
  min-height: 360px;
  background: var(--cloud-200);
  overflow: hidden;
}

.article-featured__media img,
.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.article-featured:hover .article-featured__media img,
.article-card:hover .article-card__media img {
  transform: scale(1.035);
}

.article-featured__media-label {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 12px;
  background: rgba(12,51,87,.88);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-featured__media.is-empty,
.article-card__media.is-empty {
  background:
    radial-gradient(circle at 70% 25%, rgba(54,169,225,.22), transparent 35%),
    var(--grad-hero);
}

.article-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px);
}

.article-featured__body h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  margin: 16px 0;
}

.article-featured__body p {
  color: var(--text-soft);
  text-align: left;
  hyphens: none;
  margin-bottom: 26px;
}

.article-featured__body .link-underline {
  width: fit-content;
}

.article-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-family: var(--font-body);
  font-size: .69rem;
  letter-spacing: .05em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.article-card__meta span:first-child {
  color: var(--mint-600);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
    border-color .4s var(--ease);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--cloud-200);
}

.article-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cloud);
  overflow: hidden;
}

.article-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.article-card__body h3 {
  font-size: 1.25rem;
  margin: 13px 0 10px;
}

.article-card__body p {
  color: var(--text-soft);
  font-size: .92rem;
  text-align: left;
  hyphens: none;
  margin-bottom: 20px;
}

.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  width: fit-content;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .03em;
}

.article-card__link svg,
.article-detail .link-underline svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--ease);
}

.article-card__link:hover svg,
.article-detail .link-underline:hover svg {
  transform: translateX(4px);
}

.article-empty {
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.article-empty[hidden] {
  display: none;
}

.article-empty h3 {
  margin: 14px 0 8px;
}

.article-empty p {
  color: var(--text-soft);
  text-align: center;
  hyphens: none;
}

.articles-list-head {
  max-width: 720px;
}

.article-detail-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(55px, 7vw, 90px));
  padding-bottom: clamp(55px, 7vw, 90px);
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
}

.article-detail__breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
  color: var(--text-faint);
  font-family: var(--font-body);
  font-size: .74rem;
}

.article-detail__breadcrumb a:hover {
  color: var(--navy);
}

.article-detail__meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: var(--text-faint);
  font-family: var(--font-body);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.article-detail-hero h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  margin-bottom: 20px;
}

.article-detail__lead {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.08rem;
  text-align: left;
  hyphens: none;
}

.article-detail-section {
  padding-top: clamp(55px, 8vw, 100px);
}

.article-detail {
  max-width: 920px;
  margin-inline: auto;
}

.article-detail__cover {
  aspect-ratio: 16 / 8.5;
  margin-bottom: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cloud);
}

.article-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-detail__content {
  max-width: 760px;
  margin-inline: auto;
}

.article-detail__byline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  color: var(--text-faint);
  font-family: var(--font-body);
  font-size: .74rem;
}

.article-detail__content p {
  color: var(--text-soft);
  margin-bottom: 22px;
  line-height: 1.85;
}

.article-detail__back {
  padding-top: 28px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.article-not-found {
  padding-top: calc(var(--nav-h) + 100px);
  min-height: 70vh;
}

.article-not-found h1 {
  margin: 16px 0;
}

.article-not-found p {
  color: var(--text-soft);
  margin-bottom: 26px;
  text-align: left;
  hyphens: none;
}

@media (max-width: 900px) {
  .article-featured {
    grid-template-columns: 1fr;
  }

  .article-featured__media {
    min-height: 320px;
  }

  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .articles-hero__meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .articles-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .articles-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .articles-filter::-webkit-scrollbar {
    display: none;
  }

  .article-filter {
    flex-shrink: 0;
  }

  .article-featured__body {
    padding: 28px 22px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-card__body {
    padding: 22px;
  }

  .article-detail__breadcrumb {
    flex-wrap: wrap;
  }

  .article-detail__byline {
    flex-direction: column;
    gap: 8px;
  }
}
