/* ==========================================================================
   Global Chemicals Armenia — site styles
   ========================================================================== */

:root {
  --navy: #07257f;
  --navy-700: #0a2f9c;
  --navy-900: #04164f;
  --aqua: #19b4ea;
  --aqua-600: #0a73a8;   /* text/links on white — 5:1 contrast */
  --aqua-btn: #0877b0;   /* button fill under white text — 4.8:1 */
  --aqua-50: #e6f6fd;
  --ice: #f3f7fc;
  --ice-2: #eaf0f8;
  --line: #e1e8f2;
  --ink: #0b1533;
  --muted: #5a6684;
  --white: #fff;
  --ok: #19a974;
  --danger: #d6455d;

  /* sector accents (inherited from the original site's colour coding) */
  --c-kitchen: #1565c0;
  --c-laundry: #4caf50;
  --c-housekeeping: #3f8fd2;
  --c-floor: #e07a2e;
  --c-hygiene: #8e4cc9;
  --c-pool: #13b5d6;

  --font: 'Manrope', 'Noto Sans Armenian', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(11, 21, 51, .06), 0 2px 8px rgba(11, 21, 51, .04);
  --shadow-md: 0 10px 30px -12px rgba(7, 37, 127, .22);
  --shadow-lg: 0 30px 60px -20px rgba(4, 22, 79, .35);
  --container: 1440px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); scrollbar-gutter: stable; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
:lang(hy) h1, :lang(hy) h2, :lang(hy) h3 { letter-spacing: -.005em; line-height: 1.18; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--aqua); color: #fff; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--ice { background: var(--ice); }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--aqua-600);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.h-display { font-size: clamp(1.8rem, 4.4vw, 4rem); }
:lang(hy) .h-display { font-size: clamp(1.7rem, 3.6vw, 3.3rem); }
.h-1 { font-size: clamp(1.75rem, 4.4vw, 3.4rem); }
.h-2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
.h-3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
em { font-style: normal; }
.h-display em, .h-1 em, .h-2 em { color: var(--aqua); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { max-width: 680px; }
.section-head .h-2 { margin: 10px 0 12px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--aqua { --bg: var(--aqua-btn); --fg: #fff; }
.btn--aqua:hover { --bg: #06639a; }
.btn--white { --bg: #fff; --fg: var(--navy); }
.btn--ghost { --bg: transparent; --fg: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); box-shadow: none; }
.btn--ghost-light { --bg: rgba(255,255,255,.08); --fg: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { --bg: rgba(255,255,255,.16); box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.icon { width: 22px; height: 22px; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(4,22,79,.4); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { width: 52px; height: 52px; flex: none; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 4px 12px -6px rgba(7,37,127,.35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-size: 16px; font-weight: 800; letter-spacing: .02em; color: var(--navy); text-transform: uppercase; }
.brand-text span { font-size: 11px; font-weight: 600; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: var(--ice); }
.main-nav a[aria-current="page"] { color: var(--navy); background: var(--aqua-50); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ice); }
.lang-switch button {
  min-width: 40px; height: 32px; padding: 0 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em;
  transition: background-color .2s, color .2s;
}
.lang-switch button:hover { color: var(--navy); }
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ice); align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* mobile menu */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 150;
  background: var(--navy-900); color: #fff;
  display: flex; flex-direction: column;
  padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease), visibility 0s; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; height: calc(var(--header-h) - 16px); }
.mobile-menu__top .brand-text b { color: #fff; }
.mobile-menu__top .brand-text span { color: rgba(255,255,255,.6); }
.mobile-menu__top .brand-logo { box-shadow: none; }
.mobile-menu__close { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.mobile-menu__close svg { width: 22px; height: 22px; }
.mobile-menu nav { margin-top: 24px; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; font-size: 26px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-menu nav a svg { width: 22px; height: 22px; opacity: .5; }
.mobile-menu nav a[aria-current="page"] { color: var(--aqua); }
.mobile-menu__bottom { margin-top: auto; padding-top: 28px; display: grid; gap: 16px; }
.mobile-menu .lang-switch { background: rgba(255,255,255,.1); justify-self: start; }
.mobile-menu .lang-switch button { color: rgba(255,255,255,.7); }
.mobile-menu .lang-switch button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.mobile-menu__contacts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: rgba(255,255,255,.75); }
body.menu-open { overflow: hidden; }

@media (max-width: 1260px) { /* the full Armenian header needs ~1240px */
  .header-inner { gap: 16px; }
  .main-nav a { padding: 10px 8px; font-size: 14px; }
  .header-actions .btn-shop span { display: none; }
  .header-actions .btn-shop { width: 44px; padding: 0; }
}
@media (max-width: 1023px) { /* burger below this: the nav no longer fits beside the logo */
  .main-nav, .header-actions .btn-shop, .header-actions .lang-switch { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
}

/* ---------- hero (home) ---------- */
.hero { padding: 16px 0 0; }
.hero > .container, .header-inner.container { max-width: 1720px; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  background: radial-gradient(120% 120% at 100% 0%, #0d3bc0 0%, var(--navy) 45%, var(--navy-900) 100%);
  color: #fff;
  padding: clamp(36px, 6vw, 80px) clamp(22px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px;
  min-height: min(680px, calc(100vh - var(--header-h) - 40px));
}
.hero-panel::before { /* soft light */
  content: ''; position: absolute; z-index: -1; width: 640px; height: 640px; right: -160px; top: -220px;
  background: radial-gradient(closest-side, rgba(25,180,234,.45), transparent); filter: blur(10px);
}
.hero-arcs { position: absolute; z-index: -1; right: -6%; bottom: -30%; width: 70%; opacity: .09; color: #fff; pointer-events: none; }
.hero-copy { min-width: 0; }
.hero-copy .pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); font-size: 14px; font-weight: 600;
}
.hero-copy .pill i { width: 26px; height: 26px; border-radius: 50%; background: var(--aqua); display: grid; place-items: center; }
.hero-copy .pill i svg { width: 15px; height: 15px; }
.hero-copy h1 { margin: 22px 0 18px; }
.hero-copy .lead { color: rgba(255,255,255,.78); }
.hero-copy .btn-row { margin-top: 32px; }

.hero-visual { position: relative; align-self: stretch; min-height: 460px; }
.hero-card {
  position: absolute; background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; overflow: hidden;
  animation: float 7s ease-in-out infinite;
}
.hero-card img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 74%; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-card--a { width: 34%; aspect-ratio: 1; left: 0; top: 8%; transform: rotate(-6deg); animation-delay: -1s; z-index: 1; }
.hero-card--c { width: 32%; aspect-ratio: 1; left: 9%; bottom: 4%; transform: rotate(4deg); animation-delay: -4s; z-index: 1; }
.hero-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--navy);
  font-weight: 700; font-size: 14px; box-shadow: var(--shadow-md);
}
.hero-chip i { width: 10px; height: 10px; border-radius: 50%; }
.hero-chip--1 { left: 30%; bottom: 8%; }
.hero-chip--2 { right: 3%; bottom: 16%; }
.hero-chip--3 { right: 4%; top: 12%; }
.bubble { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(25,180,234,.35) 60%, rgba(25,180,234,.1)); pointer-events: none; animation: float 9s ease-in-out infinite; }
@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@media (max-width: 900px) {
  .hero-panel { grid-template-columns: 1fr; min-height: 0; gap: 12px; }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: 1.15; max-width: 460px; width: 100%; margin: 8px auto 0; }
  .hero-chip { font-size: 12px; padding: 8px 12px; }
}
@supports not (aspect-ratio: 1) { /* iOS < 15: keep the hero visual from collapsing */
  @media (max-width: 900px) { .hero-visual::before { content: ''; display: block; padding-top: 87%; } }
}
@media (max-width: 480px) {
  .hero-copy .btn-row .btn { flex: 1 1 100%; }
  .btn { white-space: normal; text-align: center; }
  .hero-copy .pill { font-size: 13px; }
  .hero-panel { border-radius: 26px; }
  .hero-chip--2 { bottom: 30%; } /* keep it clear of chip 1 on narrow phones */
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.stat { background: var(--ice); border-radius: var(--r-md); padding: 22px 24px; }
.stat b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 15px; font-weight: 500; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat { padding: 18px; } }

/* ---------- sectors ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sector-card {
  --c: var(--navy);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  min-height: 230px;
}
.sector-card::after {
  content: ''; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: var(--c); opacity: .07; transition: transform .5s var(--ease), opacity .3s;
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.sector-card:hover::after { transform: scale(1.6); opacity: .12; }
.sector-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: var(--c); }
.sector-icon svg { width: 28px; height: 28px; }
.sector-card p { color: var(--muted); }
.sector-card .link-arrow { margin-top: auto; color: var(--c); }
.sector-card[data-sector="kitchen"] { --c: var(--c-kitchen); }
.sector-card[data-sector="laundry"] { --c: var(--c-laundry); }
.sector-card[data-sector="housekeeping"] { --c: var(--c-housekeeping); }
.sector-card[data-sector="floor"] { --c: var(--c-floor); }
.sector-card[data-sector="hygiene"] { --c: var(--c-hygiene); }
.sector-card[data-sector="pool"] { --c: var(--c-pool); }
@media (max-width: 960px) { .sector-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sector-grid { grid-template-columns: 1fr; } .sector-card { min-height: 0; padding: 22px; } }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
  text-align: left; width: 100%;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-card__media {
  position: relative; aspect-ratio: 1; background: #fff; display: grid; place-items: center; overflow: hidden;
  border-bottom: 1px solid var(--ice-2);
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .4s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__noimg { color: var(--muted); font-size: 13px; }
.product-card__brand {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--aqua-50); color: var(--navy);
}
.product-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; flex: 1; }
.product-card__type { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.35; }
.product-card__name {
  font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.7em;
}
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.price { font-weight: 800; font-size: 17px; color: var(--navy); white-space: nowrap; }
.price small { font-weight: 700; font-size: .8em; }
.product-card__open { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; border-radius: inherit; }
.product-card__open:focus-visible { outline-offset: -3px; }
.product-card .btn { position: relative; z-index: 2; }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card__body { padding: 12px; }
  .product-card__name { font-size: 14px; }
  .product-card__brand { left: 8px; top: 8px; font-size: 10px; padding: 3px 8px; }
  .price { font-size: 15px; }
  .product-card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .product-card__foot .btn { width: 100%; }
}

/* featured carousel */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, calc((100% - 48px) / 4)); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 4px 4px 20px; margin: -4px -4px 0; scroll-padding: 0 4px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  display: grid; place-items: center; color: var(--navy); transition: border-color .2s, background-color .2s, opacity .2s;
}
.icon-btn:hover { border-color: var(--navy); }
.icon-btn:disabled { opacity: .35; cursor: default; border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
@media (max-width: 960px) { .carousel-track { grid-auto-columns: minmax(220px, 42%); } }
@media (max-width: 560px) { .carousel-track { grid-auto-columns: 68%; } }

/* ---------- why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item { padding: 28px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.why-item .why-icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua-50); color: var(--navy); margin-bottom: 18px; }
.why-item .why-icon svg { width: 24px; height: 24px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why-item { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; padding: 20px; } .why-item .why-icon { grid-row: span 2; margin: 0; } }

/* ---------- brands marquee ---------- */
.brands { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: clamp(36px, 6vw, 80px); padding-right: clamp(36px, 6vw, 80px); }
.wordmark { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; color: #7d89a8; letter-spacing: -.01em; white-space: nowrap; transition: color .2s; }
.wordmark:hover { color: var(--navy); }
.wordmark--caps { text-transform: uppercase; letter-spacing: .06em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA band ---------- */
.band {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px);
  background: linear-gradient(120deg, var(--aqua) 0%, #0d6fd6 55%, var(--navy) 100%); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 28px 48px;
}
.band::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -180px; background: rgba(255,255,255,.12); }
.band .eyebrow { color: #fff; opacity: .85; }
.band h2 { margin: 10px 0 12px; }
.band p { color: rgba(255,255,255,.85); max-width: 58ch; }
.band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } .band .btn-row { justify-content: flex-start; } }
@media (max-width: 480px) { .band .btn-row .btn { flex: 1 1 100%; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 4vw, 48px); position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; z-index: -1; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(60% 80% at 100% 0%, var(--aqua-50) 0%, transparent 70%), radial-gradient(40% 60% at 0% 100%, #eef2ff 0%, transparent 70%);
}
.page-hero h1 { margin: 14px 0 16px; max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }

/* ---------- catalog ---------- */
.catalog-tools {
  position: sticky; top: var(--header-h); z-index: 20;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.catalog-tools__row { display: flex; gap: 12px; align-items: center; }
.search {
  position: relative; flex: 1 1 320px; min-width: 0;
}
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 50px; padding: 0 44px 0 48px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 16px; outline: none;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.search input:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(25,180,234,.15); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.search__clear:hover { background: var(--ice); }
.search__clear svg { position: static; transform: none; width: 18px; height: 18px; }

.select-wrap { position: relative; flex: none; }
.select-wrap select {
  height: 50px; padding: 0 42px 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; outline: none; max-width: 230px;
  -webkit-appearance: none; -moz-appearance: none; appearance: none; text-overflow: ellipsis;
}
.select-wrap select:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(25,180,234,.15); }
.select-wrap select.is-active { border-color: var(--navy); color: var(--navy); background: var(--aqua-50); }
.select-wrap::after {
  content: ''; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.filters-toggle { display: none; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0 2px; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .count { font-size: 12px; font-weight: 700; opacity: .6; }

.catalog-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; margin: 28px 0 18px; }
.catalog-meta .results { font-weight: 700; }
.catalog-meta .note { font-size: 13px; color: var(--muted); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-x { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 8px 0 12px; border-radius: 999px; background: var(--aqua-50); color: var(--navy); font-size: 13px; font-weight: 700; }
.tag-x svg { width: 16px; height: 16px; }

.empty { text-align: center; padding: 64px 16px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); }
.empty h2 { font-size: 1.4rem; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 20px; }
.more-wrap { display: flex; justify-content: center; margin-top: 32px; }

.b2b-box {
  margin-top: 56px; display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--ice);
}
.b2b-box h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-bottom: 6px; }
.b2b-box p { color: var(--muted); }
@media (max-width: 760px) { .b2b-box { grid-template-columns: 1fr; } }

@media (max-width: 960px) { /* below this the three selects leave the search box no room */
  .catalog-tools { position: static; padding-top: 4px; }
  .catalog-tools__row { flex-wrap: wrap; }
  .search { flex-basis: 100%; }
  .catalog-tools__row .select-wrap { flex: 1 1 calc(33.33% - 8px); min-width: 0; }
  .catalog-tools__row .select-wrap select { width: 100%; max-width: none; height: 44px; font-size: 14px; padding: 0 30px 0 14px; }
  .select-wrap::after { right: 14px; }
  .search input { height: 46px; }
}
@media (max-width: 420px) {
  .catalog-tools__row .select-wrap { flex: 1 1 calc(50% - 6px); }
  .catalog-tools__row .select-wrap--sort { flex-basis: 100%; }
}

/* ---------- modal ---------- */
.modal {
  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 180; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.modal__backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(4,22,79,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; width: 100%; max-width: 920px; max-height: calc(100vh - 48px);
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr;
  transform: translateY(16px) scale(.98); transition: transform .3s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__media { background: #fff; display: grid; place-items: center; padding: 32px; border-right: 1px solid var(--ice-2); }
.modal__media img { width: 100%; max-height: 520px; object-fit: contain; }
.modal__body { padding: 36px 32px 28px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.modal__body h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); padding-right: 40px; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--ice); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.badge--brand { background: var(--aqua-50); color: var(--navy); text-transform: uppercase; letter-spacing: .06em; }
.modal__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.modal__price .price { font-size: 28px; }
.modal__price small { color: var(--muted); font-size: 13px; }
.modal__desc h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.modal__desc p { color: var(--ink); font-size: 15px; white-space: pre-line; }
.modal__desc .note { color: var(--muted); font-size: 14px; }
.modal__actions { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.modal__close {
  position: absolute; right: 14px; top: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ice); display: grid; place-items: center; color: var(--navy);
}
.modal__close:hover { background: var(--ice-2); }
.modal__close svg { width: 20px; height: 20px; }
body.modal-open { overflow: hidden; }
@media (max-width: 760px) {
  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog {
    grid-template-columns: 1fr; max-height: 92vh; max-height: 92dvh; border-radius: 26px 26px 0 0;
    overflow-y: auto; transform: translateY(40px);
  }
  .modal__media { border-right: 0; border-bottom: 1px solid var(--ice-2); padding: 24px 24px 12px; }
  .modal__media img { max-height: 34vh; }
  .modal__body { overflow: visible; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); }
}

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split p + p { margin-top: 16px; }
.split .h-2 { margin: 10px 0 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.mosaic { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.mosaic > div img { width: 100%; height: 100%; object-fit: contain; padding: 12%; }
.mosaic > div:nth-child(2) { transform: translateY(24px); }
.mosaic > div:nth-child(5) { transform: translateY(24px); }
.mosaic .mosaic-stat { background: var(--navy); color: #fff; border: 0; text-align: center; padding: 12px; }
.mosaic .mosaic-stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.mosaic .mosaic-stat span { font-size: 13px; opacity: .8; }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.value .num { font-size: 13px; font-weight: 800; color: var(--aqua-600); letter-spacing: .08em; }
.value h3 { margin: 12px 0 8px; }
.value p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

.serve-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.serve-list li { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-weight: 600; }
.serve-list li svg { width: 22px; height: 22px; color: var(--aqua-600); flex: none; }
@media (max-width: 960px) { .serve-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .serve-list { grid-template-columns: 1fr; } }

.training {
  border-radius: var(--r-xl); background: var(--navy); color: #fff; padding: clamp(32px, 5vw, 64px);
  display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; position: relative; overflow: hidden;
}
.training .big-icon { width: 96px; height: 96px; border-radius: 28px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.training .big-icon svg { width: 48px; height: 48px; color: var(--aqua); }
.training h2 { margin-bottom: 10px; }
.training p { color: rgba(255,255,255,.8); max-width: 70ch; }
@media (max-width: 640px) { .training { grid-template-columns: 1fr; } }

/* ---------- locations ---------- */
.locations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.location { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.location .kind { display: inline-flex; align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--aqua-50); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.location h3 { font-size: 1.15rem; }
.location .link-arrow { margin-top: auto; font-size: 15px; }
@media (max-width: 860px) { .locations { grid-template-columns: 1fr; } }

/* ---------- partners ---------- */
.partner-hero-card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--navy); color: #fff;
}
.partner-hero-card__logo { display: grid; place-items: center; padding: 48px; background: radial-gradient(circle at 30% 30%, #0d3bc0, var(--navy-900)); }
.partner-hero-card__logo .wordmark-big { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; }
.partner-hero-card__logo .wordmark-big small { display: block; font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-top: 8px; text-align: center; }
.partner-hero-card__body { padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.partner-hero-card__body p { color: rgba(255,255,255,.82); }
.partner-hero-card .tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--aqua-btn); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 860px) { .partner-hero-card { grid-template-columns: 1fr; } .partner-hero-card__logo { padding: 36px; } }

.lines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.line-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.line-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.line-card .wordmark { color: var(--navy); font-size: 24px; }
.line-card p { color: var(--muted); font-size: 15px; flex: 1; }
.line-card .link-arrow { font-size: 14px; }
@media (max-width: 960px) { .lines-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .lines-grid { grid-template-columns: 1fr; } }

.ermop-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 36px; align-items: center;
  padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--ice);
}
.ermop-card__logo { width: clamp(150px, 18vw, 220px); height: auto; }
.ermop-card p { color: var(--muted); max-width: 52ch; }
@media (max-width: 760px) { .ermop-card { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.contact-card .ci { width: 48px; height: 48px; border-radius: 14px; background: var(--aqua-50); color: var(--navy); display: grid; place-items: center; flex: none; }
.contact-card .ci svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.contact-card a, .contact-card .val { display: block; font-size: 18px; font-weight: 700; color: var(--ink); word-break: break-word; }
.contact-card a:hover { color: var(--aqua-600); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.social {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--ice); font-weight: 700; font-size: 14px; color: var(--navy); transition: background-color .2s;
}
.contact-card .social { font-size: 14px; display: inline-flex; }
.social:hover { background: var(--aqua-50); }
.social svg { width: 18px; height: 18px; }

.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--r-xl); background: var(--ice); }
.form-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aqua); box-shadow: 0 0 0 4px rgba(25,180,234,.15); }
.field .select-wrap select { width: 100%; max-width: none; border-radius: 14px; font-weight: 500; font-size: 16px; }
.field .is-invalid { border-color: var(--danger); }
.form-hint { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-msg { margin-top: 12px; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.form-msg--err { background: #fde8ec; color: #a3263c; }
.form-msg--ok { background: #e3f7ee; color: #116b49; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.map-wrap { margin-top: 24px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--ice); aspect-ratio: 21 / 8; min-height: 300px; max-width: 100%; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-wrap { aspect-ratio: 4 / 3; } }

/* ---------- brand logos (partners) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.logo-card {
  display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.logo-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.logo-card__img { height: 88px; display: flex; align-items: center; justify-content: center; border-radius: var(--r-md); background: var(--ice); padding: 16px 20px; }
.logo-card__img img { max-height: 56px; width: auto; max-width: 100%; object-fit: contain; }
.logo-card__desc { color: var(--muted); font-size: 15px; }
.logo-word { font-weight: 800; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.logo-word--diversey { font-size: 34px; color: #005eb8; font-style: italic; }
.logo-word--zoma { font-size: 34px; color: #d6246e; letter-spacing: .08em; }
@media (max-width: 960px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .logo-grid { grid-template-columns: 1fr; } }

/* ---------- where to buy ---------- */
.retail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.retail-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.retail-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.retail-card__logo { height: 56px; min-width: 56px; display: flex; align-items: center; }
.retail-card__logo img { max-height: 56px; max-width: 130px; width: auto; height: auto; }
.retail-card .muted { font-size: 14.5px; }
.retail-card__list { display: grid; gap: 2px; margin-top: 4px; }
.retail-card__list a { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: 14.5px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--ice-2); }
.retail-card__list a:hover { color: var(--aqua-600); }
.retail-card__list svg { width: 16px; height: 16px; margin-top: 3px; color: var(--aqua-600); flex: none; }
.retail-card .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 1080px) { .retail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .retail-grid { grid-template-columns: 1fr; } }

/* ---------- instagram reels ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.media-card {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--r-md); overflow: hidden;
  background: var(--navy-900); color: #fff; text-align: left; isolation: isolate;
}
@supports not (aspect-ratio: 1) { .media-card { height: 0; padding-top: 177.7%; } }
.media-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); z-index: -1; }
.media-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(transparent, rgba(4,22,79,.85)); z-index: -1; }
.media-card:hover img { transform: scale(1.05); }
.media-card__play {
  position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease);
}
.media-card:hover .media-card__play { transform: scale(1.1); }
.media-card__play svg { width: 22px; height: 22px; margin-left: 3px; }
.media-card__cap { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: 14px; font-weight: 700; line-height: 1.3; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 560px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .media-card__cap { font-size: 12.5px; left: 10px; right: 10px; bottom: 10px; } }

.modal--video .modal__dialog {
  max-width: 440px; grid-template-columns: 1fr; display: flex; flex-direction: column; align-items: stretch; gap: 10px;
  padding: 56px 12px 12px; height: min(820px, calc(100vh - 48px));
}
.video-frame { flex: 1; min-height: 0; border-radius: var(--r-md); overflow: hidden; background: var(--ice); }
.video-frame { background: #000; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.video-open { align-self: center; }
@media (max-width: 760px) {
  .modal--video .modal__dialog { height: 92vh; height: 92dvh; max-width: none; overflow: hidden; padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* ---------- logos strip (home) ---------- */
.marquee .logo-img { height: 40px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.marquee a:hover .logo-img { filter: none; opacity: 1; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 64px 0 28px; margin-top: clamp(56px, 8vw, 104px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .brand-logo { width: 64px; height: 64px; box-shadow: none; }
.site-footer .brand-text b { color: #fff; }
.site-footer .brand-text span { color: rgba(255,255,255,.55); }
.footer-about { margin-top: 18px; font-size: 15px; max-width: 38ch; }
.site-footer h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; font-weight: 700; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background-color .2s; }
.footer-socials a:hover { background: var(--aqua); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-top: 48px; } }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding: clamp(64px, 12vw, 140px) 0; }
.notfound .code { font-size: clamp(5rem, 18vw, 10rem); font-weight: 800; line-height: 1; color: var(--navy); letter-spacing: -.04em; }
.notfound .code span { color: var(--aqua); }
.notfound h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 16px 0 10px; }
.notfound p { color: var(--muted); margin-bottom: 28px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee ul[aria-hidden] { display: none; }
}

@media print {
  .site-header, .site-footer, .catalog-tools, .band, .mobile-menu { display: none !important; }
}

/* home: reels in one row */
@media (min-width: 900px) { .media-grid--row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- before / after ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ba-card { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 10px 10px 16px; border: 1px solid var(--line); }
.ba-card__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba-card__imgs > div { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--ice); }
.ba-card__imgs img { width: 100%; height: 100%; object-fit: cover; }
.ba-tag { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(11,21,51,.75); color: #fff; font-size: 12px; font-weight: 700; }
.ba-tag--after { background: var(--aqua-btn); }
.ba-card figcaption { margin-top: 12px; padding: 0 6px; font-weight: 700; }
@supports not (aspect-ratio: 1) { .ba-card__imgs > div { height: 0; padding-top: 125%; } .ba-card__imgs img { position: absolute; top: 0; left: 0; } }
@media (max-width: 900px) { .ba-grid { grid-template-columns: 1fr; max-width: 520px; } }

/* ---------- ermop split ---------- */
.ermop-split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--ice); }
.ermop-split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ermop-split__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ermop-split__photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-md); }
.ermop-split__photos img:last-child { transform: translateY(24px); }
@media (max-width: 860px) { .ermop-split { grid-template-columns: 1fr; } .ermop-split__photos img:last-child { transform: none; } }

/* about mosaic: real photos fill their tile */
.mosaic > div.photo img { object-fit: cover; padding: 0; }
