:root {
  --navy: #12184a;
  --navy-2: #1d267d;
  --ink: #161b33;
  --muted: #5c6580;
  --line: #d8dee8;
  --paper: #f3f6fb;
  --white: #ffffff;
  --cyan: #1aa6d8;
  --cyan-2: #33b5e5;
  --red: #c4122f;
  --gold: #c9a227;
  --steel: #2e6da4;
  --steel-dark: #234f79;
  --shadow: 0 18px 50px rgba(18, 24, 74, 0.12);
  --radius: 18px;
  --header-h: 84px;
  --max: 1180px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--red);
  color: #fff;
  padding: 8px 14px;
  z-index: 1000;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 5vw, 4.4rem); }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 650; }

.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 24, 74, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-home .site-header {
  position: fixed;
  width: 100%;
  background: transparent;
  border-bottom-color: transparent;
}
.page-home .site-header.is-scrolled {
  background: rgba(18, 24, 74, 0.96);
  border-bottom-color: rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.logo img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  color: #e8eef8;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
}
.nav a:hover,
.nav a.active { color: #fff; background: rgba(255,255,255,0.08); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.2s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-navy { background: var(--navy-2); color: #fff; }
.btn-navy:hover { background: var(--navy); }
.btn-outline {
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
}
.btn-outline:hover { border-color: var(--navy); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--navy);
  padding: 28px;
  z-index: 40;
}
.mobile-nav.open { display: flex; flex-direction: column; gap: 10px; }
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end start;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,14,40,0.82) 0%, rgba(10,14,40,0.55) 48%, rgba(10,14,40,0.25) 100%),
    linear-gradient(180deg, rgba(18,24,74,0.35) 0%, rgba(18,24,74,0.15) 40%, rgba(10,14,40,0.72) 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 88px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
.hero-copy .kicker { color: #9ee7ff; }
.hero h1 { max-width: 14ch; }
.hero h1 em {
  font-style: italic;
  color: #bfefff;
}
.hero p {
  max-width: 46ch;
  color: #d7e0f0;
  font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}
.hero-meta div { min-width: 0; }
.hero-meta strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.6vw, 1.7rem);
  font-weight: 600;
  white-space: nowrap;
}
.hero-meta span { color: #b7c3d8; font-size: 0.85rem; }

.page-banner {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  padding: 70px 0 56px;
}
.page-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,24,74,0.88), rgba(18,24,74,0.45));
}
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner p { color: #d5deee; max-width: 58ch; }

/* Sections */
section { padding: 88px 0; }
.section-head { margin-bottom: 42px; }
.section-head h2 { margin: 10px 0 14px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
}
.about-badge {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--red);
  color: #fff;
  padding: 18px 20px;
  border-radius: 16px;
  max-width: 220px;
  box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-size: 1.4rem; }

.iso-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}
.iso-row img { width: 58px; height: 58px; object-fit: contain; }
.iso-row small { color: var(--muted); display: block; }

.scope {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.scope article {
  background: var(--paper);
  padding: 18px 18px 16px;
  border-radius: 16px;
}
.scope h3 { margin-bottom: 6px; }
.scope p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.capabilities { background: var(--navy); color: #fff; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cap-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 22px;
  min-height: 180px;
}
.cap-card .num {
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
.cap-card h3 { margin: 12px 0 8px; color: #fff; }
.cap-card p { margin: 0; color: #c5cee0; font-size: 0.92rem; }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e6ebf1;
  box-shadow: 0 10px 26px -12px rgba(18, 24, 74, 0.2), 0 2px 8px rgba(18, 24, 74, 0.06);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 48px -16px rgba(18, 24, 74, 0.28), 0 8px 18px rgba(18, 24, 74, 0.1);
}

.product-card .card-media {
  height: 320px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: #fff;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.product-card .card-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card .card-media::after {
  content: "\1F50D";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 24, 74, 0.82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  z-index: 2;
}
.product-card .card-media:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Default caption: plain text below the photo, underline accent (used by
   the plain / blob / split styles). The wave style overrides this. */
.product-card figcaption {
  flex: 1;
  margin: 0;
  padding: 4px 24px 24px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 92px;
}
.product-card figcaption strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.28;
  color: var(--navy);
}
.product-card figcaption span {
  display: block;
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
}
.product-card figcaption::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--cyan);
  margin-top: 12px;
}

/* ---- Style: blob (soft circular backdrop) — cylindrical / tube items ---- */
.product-card.card-style-blob .card-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 290px;
  height: 290px;
  right: -60px;
  top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 166, 216, 0.22) 0%, rgba(26, 166, 216, 0) 70%);
}

/* ---- Style: split (diagonal tint + teardrop) — standalone appliances/vessels ---- */
.product-card.card-style-split .card-media {
  background: linear-gradient(135deg, #ffffff 58%, rgba(26, 166, 216, 0.14) 58%);
}
.product-card.card-style-split .card-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: 130px;
  height: 160px;
  right: 6px;
  top: 12px;
  background: rgba(51, 181, 229, 0.16);
  border-radius: 50% 50% 50% 4%;
  transform: rotate(-38deg);
}

/* ---- Style: plain — clean technical shot, no decoration ---- */
.product-card.card-style-plain .card-media { background: #fff; }

/* ---- Style: wave — bold colour band overlaid on the photo, for systems/assemblies ---- */
.product-card.card-style-wave .card-media {
  padding-bottom: 58px;
}
.product-card.card-style-wave figcaption {
  position: relative;
  z-index: 2;
  margin-top: -58px;
  padding: 28px 22px 18px;
  min-height: 116px;
  background: linear-gradient(158deg, var(--navy-2), var(--navy));
  clip-path: polygon(0 16px, 15% 5px, 35% 18px, 55% 2px, 75% 13px, 100% 4px, 100% 100%, 0 100%);
  color: #fff;
  cursor: zoom-in;
}
.product-card.card-style-wave figcaption strong { color: #fff; }
.product-card.card-style-wave figcaption span { color: rgba(255,255,255,0.82); }
.product-card.card-style-wave figcaption::after { background: #9ee7ff; }
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.filter-search {
  position: relative;
  flex: 1 1 260px;
}
.filter-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--muted);
  pointer-events: none;
}
.filter-search input {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 18px 12px 44px;
  font: inherit;
  color: var(--ink);
}
.filter-search input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(26, 166, 216, 0.15);
}
.filter-search input::-webkit-search-cancel-button { cursor: pointer; }
.filter-select {
  position: relative;
  flex: 0 0 auto;
}
.filter-select::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}
.filter-select select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 12px 40px 12px 20px;
  font: inherit;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  min-width: 220px;
}
.filter-select select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(26, 166, 216, 0.15);
}
.filter-select select:hover {
  border-color: var(--navy);
}
@media (max-width: 640px) {
  .filter-bar { flex-direction: column; }
  .filter-select select { width: 100%; }
}
.product-card.is-hidden { display: none; }

.why { background: var(--paper); }
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.why-visual img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
}
.why-list {
  display: grid;
  gap: 16px;
}
.why-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
}
.icon-dot {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e8f7fd;
  color: var(--navy-2);
  font-weight: 800;
}
.why-item p { margin: 6px 0 0; color: var(--muted); font-size: 0.92rem; }

.partners {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.partner-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.partner-row span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.brand-carousel {
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  background: #fff;
}
.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brand-scroll 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 34px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.2s ease;
}
.marquee-track img:hover {
  filter: grayscale(0) opacity(1);
}
@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media (max-width: 640px) {
  .marquee-track img { height: 26px; }
  .marquee-track { gap: 40px; }
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(18,24,74,0.88), rgba(196,18,47,0.72)),
    url("../images/hero-engineers.jpg") center/cover;
  color: #fff;
  padding: 80px 0;
}
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: #e6edf8; max-width: 50ch; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy-2);
  color: #fff;
}
.stat {
  padding: 32px 18px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
}
.stat span { color: #c9d4ea; font-size: 0.88rem; }

.cert-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(18,24,74,0.06);
  cursor: zoom-in;
}
.cert-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background: #fafbfd;
  padding: 10px;
}
.cert-card::after {
  content: "\1F50D";
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(18, 24, 74, 0.82);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.cert-card:hover::after {
  opacity: 1;
  transform: translateY(0);
}
.cert-card div { padding: 14px 16px 18px; }
.cert-card h3 { font-size: 1rem; }
.cert-card p { margin: 6px 0 0; color: var(--muted); font-size: 0.88rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
}
.contact-card {
  background: var(--paper);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 14px;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card a { color: var(--navy-2); font-weight: 600; }
.contact-card p { margin: 0; color: var(--muted); }

form {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { font-size: 0.82rem; font-weight: 600; color: var(--muted); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  background: #fff;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid #bfe8f6;
  border-color: var(--cyan);
}
.form-note { color: var(--muted); font-size: 0.85rem; margin: 0; }
.form-success {
  display: none;
  background: #e8f8ef;
  color: #146c3b;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.form-success.show { display: block; }

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  height: 340px;
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.site-footer {
  background: #0c1133;
  color: #d5dced;
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
.site-footer .logo img { height: 46px; margin-bottom: 14px; }
.site-footer p { color: #aeb7cb; }
.site-footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: #8f99b3;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.quote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  line-height: 1.25;
  color: var(--navy);
}

@media (max-width: 980px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .menu-toggle { display: block; }
  .about-grid, .why-grid, .contact-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .scope, .cap-grid, .cert-grid, .stats { grid-template-columns: 1fr 1fr; }
  .about-badge { left: 12px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: calc(100% - 28px); }
  section { padding: 64px 0; }
  .scope, .cap-grid, .cert-grid, .stats { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 56px; }
  .logo img { height: 42px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta strong { white-space: normal; }
}

/* Product photo lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(8, 11, 28, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-inner {
  position: relative;
  max-width: min(880px, 92vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.lightbox-caption { color: #fff; text-align: center; }
.lightbox-caption strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
}
.lightbox-caption span {
  display: block;
  margin-top: 4px;
  color: #c7d0e6;
  font-size: 0.9rem;
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--navy);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.lightbox-close:hover { background: var(--red); color: #fff; }
body.lightbox-open { overflow: hidden; }

@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox-close { top: 16px; right: 16px; }
}

@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
}

@media (max-width: 760px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .product-card .card-media { height: 260px; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}
