/* =============================================================
   GILDA — modernised site
   Single shared stylesheet for all pages.

   Contents
   1.  Design tokens
   2.  Reset & base
   3.  Layout helpers (container, section, grid)
   4.  Typography helpers
   5.  Buttons
   6.  Site header / navigation
   7.  Hero
   8.  Stats strip
   9.  Mesh pattern thumbnails
   10. Product cards / grids
   11. Feature grid ("Why Gilda")
   12. Applications
   13. CTA band
   14. Page header (inner pages)
   15. About page
   16. Product detail
   17. Catalog tables
   18. Gallery + lightbox
   19. Contact
   20. Site footer
   21. Scroll-reveal & utilities
   22. Responsive
   23. Reduced motion / print
   ============================================================= */

/* ---------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------- */
:root {
  /* Brand palette (as specified) */
  --charcoal: #1E293B;   /* primary dark neutral — text & structure   */
  --white: #F8FAFC;       /* backgrounds & negative space              */
  --blue: #0284C7;        /* brand & interactive                       */
  --orange: #F97316;      /* CTA accent + key metrics (used sparingly) */

  /* Derived neutrals (slate ramp, harmonises with #1E293B / #F8FAFC) */
  --ink-900: #0F172A;
  --ink-800: #1E293B;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748B;
  --ink-400: #94A3B8;
  --ink-300: #CBD5E1;
  --ink-200: #E2E8F0;
  --ink-100: #F1F5F9;
  --ink-50:  #F8FAFC;
  --pure-white: #FFFFFF;

  /* Derived brand shades */
  --blue-050: #E0F2FE;
  --blue-100: #BAE6FD;
  --blue-600: #0284C7;
  --blue-700: #0369A1;
  --blue-800: #075985;
  --orange-050: #FFF1E6;
  --orange-500: #F97316;
  --orange-600: #EA580C;

  /* Typography */
  --font-body: "Inter", "Noto Sans Georgian", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Space Grotesk", "Noto Sans Georgian", "Inter", system-ui, sans-serif;

  --text-xs:  0.78rem;
  --text-sm:  0.875rem;
  --text-base: 1rem;
  --text-md:  clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  --text-lg:  clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --text-xl:  clamp(1.6rem, 1.35rem + 1.2vw, 2.3rem);
  --text-2xl: clamp(2rem, 1.55rem + 2.1vw, 3.1rem);
  --text-3xl: clamp(2.2rem, 1.7rem + 2.6vw, 3.7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --container: 1200px;
  --container-narrow: 860px;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.1);
  --shadow: 0 4px 6px rgba(15, 23, 42, 0.05), 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.12), 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-blue: 0 10px 26px rgba(2, 132, 199, 0.35);
  --shadow-orange: 0 10px 26px rgba(234, 88, 12, 0.35);

  --ring: 0 0 0 3px var(--blue-100), 0 0 0 5px var(--blue-700);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 76px;
}

/* ---------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--charcoal);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Georgian text needs a touch more line-height and no negative tracking */
:lang(ka) h1,
:lang(ka) h2,
:lang(ka) h3,
:lang(ka) h4 { letter-spacing: 0; line-height: 1.2; }

p { text-wrap: pretty; }

a { color: var(--blue-700); text-decoration-color: color-mix(in srgb, var(--blue-700) 40%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }

img, svg, video { display: block; max-width: 100%; height: auto; }

ul, ol { list-style: none; padding: 0; }

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--radius-sm);
}

::selection { background: var(--blue); color: #fff; }

.skip-link {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%, -120%);
  z-index: 300;
  padding: 0.6rem 1.1rem;
  background: var(--charcoal);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); color: #fff; }

/* ---------------------------------------------------------------
   3. Layout helpers
   --------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.section--dark {
  background: var(--charcoal);
  color: var(--ink-300);
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--muted { background: var(--ink-100); }

.section__head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem);
}
.section__head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------
   4. Typography helpers
   --------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: var(--space-4);
}
.section--dark .eyebrow { color: var(--blue-100); }
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.h1 { font-size: var(--text-2xl); }
.h2 { font-size: var(--text-xl); }
.lead {
  font-size: var(--text-md);
  color: var(--ink-600);
  line-height: 1.6;
}
.section--dark .lead { color: var(--ink-300); }

.text-accent { color: var(--orange-600); }
.text-blue { color: var(--blue-700); }
.muted { color: var(--ink-500); }

/* ---------------------------------------------------------------
   5. Buttons
   --------------------------------------------------------------- */
.btn {
  --_bg: var(--blue);
  --_fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.9rem 1.6rem;
  min-height: 48px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  background: var(--_bg);
  color: var(--_fg);
  border: 2px solid transparent;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { --_bg: var(--blue); box-shadow: var(--shadow-blue); }
.btn--primary:hover { --_bg: var(--blue-700); }

/* Orange — the single highest-emphasis CTA + nothing else */
.btn--accent { --_bg: var(--orange-600); box-shadow: var(--shadow-orange); }
.btn--accent:hover { --_bg: #C2410C; }

.btn--ghost {
  --_bg: transparent;
  --_fg: var(--charcoal);
  border-color: var(--ink-300);
}
.btn--ghost:hover { --_fg: var(--blue-700); border-color: var(--blue); background: var(--blue-050); }

.btn--on-dark {
  --_bg: transparent;
  --_fg: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--on-dark:hover { --_bg: rgba(255, 255, 255, 0.1); border-color: #fff; }

.btn--sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.9rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-family: var(--font-head);
  text-decoration: none;
  color: var(--blue-700);
}
.link-arrow svg { width: 1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------
   6. Site header / navigation
   --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* Blur lives on a pseudo-element so the header itself does NOT become a
   containing block for the position:fixed mobile nav drawer. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--charcoal) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s var(--ease);
}
.site-header.is-scrolled::before { background: var(--charcoal); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.brand__mark { width: 30px; height: 30px; }
.brand:hover { color: #fff; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.site-nav__list > li { position: relative; }
.site-nav__list a {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--ink-300);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}
.site-nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.site-nav__list a[aria-current="page"] { color: #fff; }
.site-nav__list a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 4px;
}

/* Products submenu */
.has-submenu > a { padding-right: 1.9rem; }
.submenu-toggle {
  position: absolute;
  top: 50%;
  right: 0.35rem;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  color: var(--ink-300);
}
.submenu-toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: var(--pure-white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.submenu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.has-submenu:hover .submenu-toggle::before,
.submenu.is-open + .submenu-toggle::before { transform: translateY(1px) rotate(-135deg); }
.submenu a {
  color: var(--ink-700);
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
}
.submenu a:hover { color: var(--blue-700); background: var(--blue-050); }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch button {
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-400);
  transition: color 0.15s, background 0.15s;
}
.lang-switch button.is-active { color: #fff; background: var(--blue); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------------------------------------------------------------
   7. Hero
   --------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(3.25rem, 2rem + 8vw, 6.5rem);
}
.hero__bg,
.hero__canvas,
.hero__mesh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }

.hero__bg {
  background:
    radial-gradient(55% 55% at 12% 18%, rgba(2, 132, 199, 0.42), transparent 60%),
    radial-gradient(50% 50% at 88% 12%, rgba(249, 115, 22, 0.16), transparent 55%),
    radial-gradient(65% 65% at 78% 88%, rgba(2, 132, 199, 0.32), transparent 62%),
    linear-gradient(135deg, var(--ink-900), var(--charcoal) 45%, #1b2c48);
  background-size: 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: heroDrift 20s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { background-position: 0% 0%, 100% 0%, 100% 100%, 0 0; }
  to   { background-position: 100% 100%, 0% 60%, 0% 20%, 0 0; }
}
.hero__mesh {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 100%);
}

.hero__inner { max-width: 48rem; }
.hero__title {
  font-size: var(--text-3xl);
  color: #fff;
  font-weight: 700;
  margin-block: var(--space-3) var(--space-4);
}
.hero__title .accent { color: var(--blue-100); }
.hero__tagline {
  font-size: var(--text-md);
  color: var(--ink-300);
  max-width: 40ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------------------------------------------------------------
   8. Stats strip
   --------------------------------------------------------------- */
.stats {
  background: var(--ink-900);
  color: #fff;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(1.75rem, 1rem + 3vw, 2.75rem) var(--space-4);
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  color: var(--orange); /* key metrics — orange on dark = strong contrast */
  line-height: 1;
}
.stat__label {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: var(--ink-400);
}

/* ---------------------------------------------------------------
   9. Mesh pattern thumbnails
   --------------------------------------------------------------- */
.mesh {
  --mesh-line: rgba(30, 41, 59, 0.22);
  --mesh-dot: rgba(30, 41, 59, 0.4);
  position: relative;
  background-color: var(--ink-100);
  background-repeat: repeat;
  overflow: hidden;
}
.mesh::after { /* subtle brand wash + light sweep */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), transparent 55%);
}

/* Drop a real photo in: put <img> (or <picture>) as the FIRST child of any
   .mesh box (.product-card__media, .product-detail__visual, .gallery-item,
   .split__media). It covers the placeholder pattern automatically.
   Also hide the dashed "ფოტო / photo" badge once a real image is present. */
.mesh > img,
.mesh > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.mesh > picture > img { width: 100%; height: 100%; object-fit: cover; }
.mesh:has(> img) .photo-slot,
.mesh:has(> picture) .photo-slot { display: none; }
.mesh:has(> img)::after,
.mesh:has(> picture)::after { display: none; }
.mesh--on-dark {
  --mesh-line: rgba(255, 255, 255, 0.16);
  --mesh-dot: rgba(255, 255, 255, 0.35);
  background-color: var(--ink-900);
}

.mesh--square {
  background-image:
    linear-gradient(var(--mesh-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--mesh-line) 1px, transparent 1px);
  background-size: 24px 24px;
}
.mesh--welded {
  background-image:
    radial-gradient(circle, var(--mesh-dot) 2px, transparent 2.6px),
    linear-gradient(var(--mesh-line) 1.6px, transparent 1.6px),
    linear-gradient(90deg, var(--mesh-line) 1.6px, transparent 1.6px);
  background-size: 30px 30px, 30px 30px, 30px 30px;
}
.mesh--panel {
  background-image:
    linear-gradient(var(--mesh-line) 1.4px, transparent 1.4px),
    linear-gradient(90deg, var(--mesh-line) 1.4px, transparent 1.4px);
  background-size: 34px 20px;
}
.mesh--crimped {
  background-image:
    repeating-linear-gradient(45deg, var(--mesh-line) 0 1.5px, transparent 1.5px 15px),
    repeating-linear-gradient(-45deg, var(--mesh-line) 0 1.5px, transparent 1.5px 15px);
}
.mesh--hex {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='48' viewBox='0 0 42 48'%3E%3Cpath fill='none' stroke='%231E293B' stroke-opacity='0.24' stroke-width='1.4' d='M21 0l18 10.4v20.8L21 41.6 3 31.2V10.4zM21 41.6V48M3 31.2L-3 34.6M39 31.2l6 3.4'/%3E%3C/svg%3E");
  background-size: 42px 48px;
}
.mesh--barbed {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='34' viewBox='0 0 64 34'%3E%3Cg fill='none' stroke='%231E293B' stroke-opacity='0.26' stroke-width='1.5'%3E%3Cpath d='M0 17h64'/%3E%3Cpath d='M28 9l8 16M36 9l-8 16'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 64px 34px;
  background-repeat: repeat;
}
.mesh--gabion {
  background-color: #e7e2d8;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='48' viewBox='0 0 42 48'%3E%3Cpath fill='none' stroke='%231E293B' stroke-opacity='0.32' stroke-width='1.4' d='M21 0l18 10.4v20.8L21 41.6 3 31.2V10.4z'/%3E%3C/svg%3E"),
    radial-gradient(circle at 20% 30%, #b9b2a4 8px, transparent 9px),
    radial-gradient(circle at 62% 55%, #c8c2b4 11px, transparent 12px),
    radial-gradient(circle at 85% 22%, #aaa596 7px, transparent 8px),
    radial-gradient(circle at 40% 80%, #b3ad9e 10px, transparent 11px);
  background-size: 42px 48px, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}
.mesh--pvc::after {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.28), rgba(2, 132, 199, 0.05) 60%);
}
/* decorative artificial-grass fence — vertical green "blades" */
.mesh--grass {
  background-color: #b7d98f;
  background-image:
    repeating-linear-gradient(91deg, rgba(38, 82, 20, 0.55) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(88deg, rgba(74, 124, 42, 0.5) 0 1.5px, transparent 1.5px 9px),
    repeating-linear-gradient(90deg, rgba(120, 168, 74, 0.35) 0 1px, transparent 1px 4px),
    linear-gradient(180deg, #cfe8a6, #97c163);
  background-size: auto, auto, auto, 100% 100%;
}
.mesh--grass::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(30, 66, 14, 0.28));
}

/* ---------------------------------------------------------------
   10. Product cards / grids
   --------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-5);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--pure-white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
  color: inherit;
}
.product-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
}
.product-card__tag {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 1;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--pure-white);
  color: var(--ink-600);
  box-shadow: var(--shadow-sm);
}
.product-card__tag--new { background: var(--orange); color: #fff; }
.product-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}
.product-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
}
.product-card__desc {
  font-size: var(--text-sm);
  color: var(--ink-500);
  flex: 1;
}
.product-card__more {
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-700);
}
.product-card:hover .product-card__more svg { transform: translateX(4px); }
.product-card__more svg { width: 1em; transition: transform 0.2s var(--ease); }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.filter-bar button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink-200);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-600);
  transition: all 0.15s var(--ease);
}
.filter-bar button:hover { border-color: var(--blue); color: var(--blue-700); }
.filter-bar button.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }

.product-card.is-hidden { display: none; }

/* ---------------------------------------------------------------
   11. Feature grid ("Why Gilda")
   --------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
}
.feature {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--pure-white);
  border: 1px solid var(--ink-200);
}
.section--dark .feature {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}
.feature__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue-050);
  color: var(--blue-700);
  margin-bottom: var(--space-4);
}
.section--dark .feature__icon { background: rgba(2, 132, 199, 0.16); color: var(--blue-100); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: var(--space-2); }
.feature p { font-size: var(--text-sm); color: var(--ink-500); }
.section--dark .feature p { color: var(--ink-400); }

/* ---------------------------------------------------------------
   12. Applications
   --------------------------------------------------------------- */
.app-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--ink-200);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.app-list li {
  background: var(--pure-white);
  padding: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--charcoal);
  transition: background 0.15s var(--ease);
}
.app-list li:hover { background: var(--blue-050); }
.app-list svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }

/* ---------------------------------------------------------------
   13. CTA band
   --------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 1.5rem + 5vw, 4.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: var(--text-xl); }
.cta-band p { color: var(--blue-050); max-width: 48ch; margin-inline: auto; margin-top: var(--space-3); }
.cta-band .btn { margin-top: var(--space-6); }

/* ---------------------------------------------------------------
   14. Page header (inner pages)
   --------------------------------------------------------------- */
.page-header {
  background: var(--charcoal);
  color: #fff;
  padding-block: clamp(3rem, 2rem + 5vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 100% at 100% 0%, rgba(2, 132, 199, 0.28), transparent 60%),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: auto, 44px 44px;
}
.page-header > * { position: relative; }
.page-header h1 { color: #fff; font-size: var(--text-2xl); }
.page-header p { color: var(--ink-300); max-width: 55ch; margin-top: var(--space-3); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--ink-400);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: var(--ink-300); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li { display: flex; gap: 0.5rem; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--ink-600); }

/* ---------------------------------------------------------------
   15. About page
   --------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: var(--space-4); }
.prose h2 { margin-top: var(--space-7); font-size: var(--text-lg); }
.prose h3 { margin-top: var(--space-5); font-size: 1.15rem; }
.prose p { color: var(--ink-600); }
.prose strong { color: var(--charcoal); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.split__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
}
.split__media--photo { aspect-ratio: 96 / 50; }
.mesh > img.company-photo { object-fit: contain; background: #fff; }

.timeline { display: grid; gap: var(--space-5); }
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--ink-200);
}
.timeline li:last-child { border-bottom: none; }
.timeline__year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--orange-600);
  font-size: 1.1rem;
}
.timeline h3 { font-size: 1.05rem; margin-bottom: var(--space-1); }
.timeline p { font-size: var(--text-sm); color: var(--ink-500); }

.value-card {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--pure-white);
  border: 1px solid var(--ink-200);
  border-top: 3px solid var(--blue);
}
.value-card h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.value-card p { font-size: var(--text-sm); color: var(--ink-500); }

/* ---------------------------------------------------------------
   16. Product detail
   --------------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.product-detail__visual {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.product-detail h1 { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.product-detail__intro { font-size: var(--text-md); color: var(--ink-600); white-space: pre-line; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
}
.spec-table caption {
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-3);
  font-size: 1rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--ink-200);
}
.spec-table th {
  color: var(--ink-500);
  font-weight: 500;
  width: 42%;
}
.spec-table td { color: var(--charcoal); font-weight: 500; }
.spec-table tr:hover td,
.spec-table tr:hover th { background: var(--ink-100); }

.chip-list { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
.chip {
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--ink-600);
}

.notice {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--orange-050);
  border: 1px solid color-mix(in srgb, var(--orange) 35%, white);
  font-size: var(--text-sm);
  color: var(--ink-700);
}
.notice svg { width: 20px; height: 20px; color: var(--orange-600); flex-shrink: 0; }

/* ---------------------------------------------------------------
   17. Catalog tables
   --------------------------------------------------------------- */
.catalog-download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: #fff;
}
.catalog-download svg { width: 40px; height: 40px; color: var(--blue-100); }
.catalog-download__text { flex: 1; min-width: 200px; }
.catalog-download h3 { color: #fff; font-size: 1.1rem; }
.catalog-download p { color: var(--ink-400); font-size: var(--text-sm); }

.catalog-block { margin-top: var(--space-7); }
.catalog-block > h2 {
  font-size: var(--text-lg);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--blue);
  margin-bottom: var(--space-4);
}
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.catalog-table thead th {
  background: var(--ink-100);
  text-align: left;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-head);
  color: var(--charcoal);
  border-bottom: 2px solid var(--ink-200);
}
.catalog-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--ink-200);
  color: var(--ink-600);
}
.catalog-table tbody tr:nth-child(even) td { background: var(--ink-50); }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------------------------------------------------------------
   18a. Product-detail media gallery (.mgal)
   --------------------------------------------------------------- */
.mgal { display: block; }
.mgal__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
  overflow: hidden;
  background: var(--ink-100);
}
.mgal__stage img,
.mgal__stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.mgal__stage img { object-fit: cover; cursor: zoom-in; }
.mgal__stage video { object-fit: contain; background: var(--ink-900); }
.mgal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  z-index: 2;
  transition: background 0.15s var(--ease);
}
.mgal__arrow:hover { background: rgba(15, 23, 42, 0.8); }
.mgal__arrow svg { width: 20px; height: 20px; }
.mgal__arrow--prev { left: var(--space-3); }
.mgal__arrow--next { right: var(--space-3); }

.mgal__thumbs {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.mgal__thumb {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  background: var(--ink-200) center / cover no-repeat;
  opacity: 0.6;
  position: relative;
  transition: opacity 0.15s var(--ease), border-color 0.15s var(--ease);
}
.mgal__thumb:hover { opacity: 1; }
.mgal__thumb.is-active { opacity: 1; border-color: var(--blue); }
.mgal__playbadge,
.gallery-item__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(15, 23, 42, 0.6);
  border-radius: var(--radius-pill);
  pointer-events: none;
}
.gallery-item__play { width: 44px; height: 44px; }
.gallery-item__play svg,
.mgal__playbadge svg { width: 55%; height: 55%; }

/* fallback (no photos) keeps the old pattern box */
.product-detail__visual.mesh {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  border: 1px solid var(--ink-200);
}
.product-detail__visual.mesh .photo-slot {
  position: absolute;
  inset: auto var(--space-4) var(--space-4) auto;
}

/* ---------------------------------------------------------------
   18b. Gallery grid + lightbox
   --------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-4);
}
.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--ink-200);
  cursor: pointer;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--space-5) var(--space-3) var(--space-3);
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.85));
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 500;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(9, 14, 26, 0.94);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox[hidden] { display: none; }
.lightbox__frame {
  position: relative;
  max-width: min(94vw, 1100px);
  max-height: 86vh;
  display: flex;
}
.lightbox__media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__media img,
.lightbox__media video {
  max-width: min(94vw, 1100px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.lightbox__caption {
  position: absolute;
  left: 0; right: 0; bottom: -2.25rem;
  text-align: center;
  color: var(--ink-300);
  font-size: var(--text-sm);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  color: #fff;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.15s var(--ease);
}
.lightbox__close svg,
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: -3.5rem; right: -0.5rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: -3.75rem; }
.lightbox__nav--next { right: -3.75rem; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.26); }
.lightbox__nav[hidden] { display: none; }

@media (max-width: 640px) {
  .lightbox__close { top: -3rem; right: 0; }
  .lightbox__nav--prev { left: 0.25rem; }
  .lightbox__nav--next { right: 0.25rem; }
  .lightbox__nav { background: rgba(15, 23, 42, 0.6); }
}

/* ---------------------------------------------------------------
   19. Contact
   --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}
.contact-cards { display: grid; gap: var(--space-4); }
.contact-card {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: var(--pure-white);
  border: 1px solid var(--ink-200);
}
.contact-card h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  margin-bottom: var(--space-3);
}
.contact-card__row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-2) 0;
}
.contact-card__row svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.contact-card__co { display: block; font-weight: 600; color: var(--charcoal); }
.contact-card__row a { color: var(--charcoal); text-decoration: none; font-weight: 500; }
.contact-card__row a:hover { color: var(--blue-700); }
.people { display: grid; gap: var(--space-1); }
.person {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--ink-200);
}
.person:last-child { border-bottom: none; }
.person__name { font-weight: 500; color: var(--charcoal); }
.person__role { font-size: var(--text-xs); color: var(--ink-500); display: block; }
.person a { text-decoration: none; color: var(--blue-700); font-weight: 500; white-space: nowrap; }

.form-card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--pure-white);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow);
}
.field { margin-bottom: var(--space-4); }
.field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: var(--space-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--ink-300);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-050);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

.wa-send { display: grid; gap: var(--space-2); }
.wa-send .btn { width: 100%; }

.form-status {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  background: var(--blue-050);
  color: var(--blue-800);
}
.form-status[hidden] { display: none; }

/* "call us for a faster answer" callout under the contact form */
.call-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius);
  background: rgba(249, 115, 22, 0.07);
  border: 1px solid rgba(249, 115, 22, 0.28);
}
.call-note > span svg { width: 22px; height: 22px; color: var(--orange-600); flex-shrink: 0; margin-top: 2px; }
.call-note__text strong {
  display: block;
  color: var(--charcoal);
  font-size: var(--text-sm);
  margin-bottom: 0.3rem;
}
.call-note__text p {
  font-size: var(--text-sm);
  color: var(--ink-600);
  margin: 0;
}
.call-note__nums {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-2);
}
.call-note__nums a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--orange-600);
  text-decoration: none;
  white-space: nowrap;
}
.call-note__nums a:hover { text-decoration: underline; }

.map-embeds {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
.map-embed {
  margin: 0;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pure-white);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}
.map-embed figcaption {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--ink-200);
  font-size: var(--text-sm);
}
.map-embed figcaption svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.map-embed figcaption a { font-weight: 600; color: var(--blue-700); text-decoration: none; }
.map-embed figcaption a:hover { color: var(--blue); }
@media (max-width: 860px) {
  .map-embeds { grid-template-columns: 1fr; }
  .map-embed iframe { height: 240px; }
}

/* ---------------------------------------------------------------
   20. Site footer
   --------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-400);
  padding-top: var(--space-8);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}
.site-footer .brand { margin-bottom: var(--space-4); }
.site-footer__brand p { font-size: var(--text-sm); max-width: 32ch; }
.site-footer__col h3 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}
.site-footer__col ul { display: grid; gap: var(--space-2); }
.site-footer__col a {
  color: var(--ink-400);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color 0.15s var(--ease);
}
.site-footer__col a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: var(--text-sm); display: grid; gap: var(--space-2); }
.site-footer address a { color: var(--ink-300); text-decoration: none; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: var(--text-xs);
  color: var(--ink-500);
}

/* ---------------------------------------------------------------
   21. Scroll-reveal & utilities
   --------------------------------------------------------------- */
/* Reveal only when JS is running — otherwise content is always visible */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal][data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal][data-reveal-delay="3"] { transition-delay: 0.24s; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.photo-slot {
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  border: 1px dashed rgba(255, 255, 255, 0.4);
}
.stack > * + * { margin-top: var(--space-4); }
.center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }

/* ---------------------------------------------------------------
   22. Responsive
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail__visual { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(88vw, 340px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-4);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-nav__list a { padding: 0.85rem 0.5rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .site-nav__list a[aria-current="page"]::after { display: none; }
  .site-nav__list a[aria-current="page"] { color: var(--orange); }

  .has-submenu > a { padding-right: 2.5rem; }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    display: none;
    padding: 0;
  }
  .submenu.is-open { display: block; }
  .submenu a { color: var(--ink-300); padding-left: 1.2rem; }
  .submenu-toggle { color: #fff; width: 2.5rem; height: 2.9rem; top: 1.45rem; }

  .lang-switch { margin-top: var(--space-4); align-self: flex-start; }

  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .field-row { grid-template-columns: 1fr; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 64px 1fr; }
  .lightbox__nav--prev { left: 0.25rem; }
  .lightbox__nav--next { right: 0.25rem; }
  .lightbox__close { top: -3rem; }
}

@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }
  .site-footer__bottom { flex-direction: column; }
}

/* ---------------------------------------------------------------
   23. Reduced motion / print
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  .site-header, .site-footer, .hero__canvas, .cta-band, .nav-toggle, .lightbox,
  .catalog-download, .notice, .skip-link, .lang-switch { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding-block: 1rem; }
  .page-header { padding-block: 0 0.5rem; }
  a { color: #000; text-decoration: none; }
  .catalog-block { break-inside: avoid; page-break-inside: avoid; margin-bottom: 1.25rem; }
  .catalog-table { font-size: 11px; width: 100%; }
  .catalog-table th, .catalog-table td { border: 1px solid #999; padding: 3px 6px; }
  .table-scroll { overflow: visible !important; }
  h1 { font-size: 20px; }
  .catalog-block h2 { font-size: 14px; margin-top: 0.75rem; }
}
