/* GRANDTEKS TECHNOLOGIES — site styles */

:root {
  --ink: #0b1b2b;
  --ink-2: #43546a;
  --ink-3: #6e7e91;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f3f6f9;
  --cotton: #f8f5ee;
  --navy-900: #04111e;
  --navy-800: #07192b;
  --navy-700: #0c2640;
  --sky: #2eb2eb;
  --sky-300: #7dd3f5;
  --sky-50: #e8f6fc;
  --teal: #0287af;
  --teal-700: #046c8c;
  --amber: #f2a93b;
  --grad: linear-gradient(120deg, #3fc1f2 0%, #1aa3d6 45%, #0285ad 100%);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(7, 25, 43, 0.05), 0 2px 10px rgba(7, 25, 43, 0.04);
  --shadow: 0 14px 34px -14px rgba(7, 25, 43, 0.22), 0 2px 6px rgba(7, 25, 43, 0.05);
  --shadow-lg: 0 34px 70px -24px rgba(3, 12, 22, 0.55);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --header-h: 76px;
  --gutter: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  overflow-wrap: break-word;
}

p {
  margin: 0;
}

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

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.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 {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy-800);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) - 4px);
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Grid children may shrink below their content width (tables scroll instead of stretching the page). */
.hero-grid > *,
.about-grid > *,
.jsm-grid > *,
.gin-block > *,
.contact-grid > *,
.catalog-grid > *,
.dir-grid > * {
  min-width: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.2s, border-color 0.2s, color 0.2s;
}

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

.btn:hover .i {
  transform: translateX(3px);
}

.btn-lg {
  padding: 16px 26px;
  font-size: 16px;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 13.5px;
}

.btn-sm .i {
  width: 16px;
  height: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(2, 135, 175, 0.7);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -12px rgba(2, 135, 175, 0.8);
}

.btn-ghost-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-dark {
  background: var(--navy-800);
  color: #fff;
}

.btn-dark:hover {
  background: var(--navy-700);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--sky);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color 0.3s, box-shadow 0.3s, color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(7, 25, 43, 0.35);
  color: var(--ink);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo-mark {
  width: 44px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
}

.logo-text small {
  margin-top: 4px;
  font-size: 8.6px;
  font-weight: 800;
  letter-spacing: 0.36em;
  opacity: 0.75;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 2px;
}

.main-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  opacity: 0.86;
  transition: background-color 0.2s, opacity 0.2s, color 0.2s;
}

.main-nav a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

.site-header.is-scrolled .main-nav a:hover {
  background: var(--bg-soft);
}

.main-nav a.is-current {
  opacity: 1;
  color: var(--sky-300);
}

.site-header.is-scrolled .main-nav a.is-current {
  color: var(--teal);
}

.nav-mobile-extra {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.lang-switch a {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  opacity: 0.75;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a[aria-current] {
  background: #fff;
  color: var(--navy-800);
  opacity: 1;
}

.site-header.is-scrolled .lang-switch {
  border-color: var(--line);
}

.site-header.is-scrolled .lang-switch a[aria-current] {
  background: var(--navy-800);
  color: #fff;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}

.header-phone .i {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.site-header.is-scrolled .burger {
  background: var(--bg-soft);
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger span:nth-child(1) {
  top: 15px;
}

.burger span:nth-child(2) {
  top: 21px;
}

.burger span:nth-child(3) {
  top: 27px;
}

.nav-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .burger span:nth-child(2) {
  opacity: 0;
}

.nav-open .burger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 150px;
  background: radial-gradient(120% 90% at 85% 10%, #0f3a5e 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.threads {
  position: absolute;
  inset: -10% -5%;
  width: 110%;
  height: 120%;
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(-2%, 0, 0) scaleY(1);
  }
  to {
    transform: translate3d(2%, -2%, 0) scaleY(1.06);
  }
}

.hero .threads {
  -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 62%);
  mask-image: linear-gradient(90deg, transparent 25%, #000 62%);
}

.hero-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 178, 235, 0.35), rgba(46, 178, 235, 0) 65%);
  filter: blur(10px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(125, 211, 245, 0.28);
  border-radius: 999px;
  background: rgba(125, 211, 245, 0.08);
  color: #cdeffd;
  font-size: 13.5px;
  font-weight: 700;
  transition: background-color 0.2s;
}

.hero-badge:hover {
  background: rgba(125, 211, 245, 0.16);
}

.pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
}

.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--sky);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(2);
    opacity: 0;
  }
}

.hero h1 {
  margin: 24px 0 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.95rem, 1.1rem + 2.5vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 .grad-text {
  display: block;
  background: linear-gradient(100deg, #7dd3f5 0%, #3fc1f2 40%, #1aa3d6 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-lead {
  max-width: 560px;
  font-size: 18px;
  color: #b7c9da;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  font-size: 14.5px;
  font-weight: 600;
  color: #cfe0ee;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-checks .i {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(46, 178, 235, 0.2);
  color: var(--sky-300);
  stroke-width: 3;
}

.hero-visual {
  position: relative;
  padding: 40px 30px 40px 20px;
}

.hv-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #eee;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
}

.hv-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
}

.hv-main figcaption,
.hv-ribs figcaption {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(7, 25, 43, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

.hv-ribs {
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  aspect-ratio: 3 / 4;
  border: 6px solid #fff;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
  animation: float 7s ease-in-out infinite;
}

.hv-ribs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hv-ribs figcaption {
  top: auto;
  left: 8px;
  bottom: 8px;
  font-size: 11.5px;
  padding: 5px 9px;
}

.hv-cert {
  position: absolute;
  left: -8px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.3s var(--ease);
  animation: float 8s ease-in-out -2s infinite;
}

.hv-cert:hover {
  transform: rotate(0) scale(1.03);
}

.hv-cert img {
  width: 42px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.hv-cert span {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.hv-cert b {
  font-size: 13.5px;
}

.hv-cert small {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}

.hv-strip {
  position: absolute;
  right: 10px;
  bottom: 0;
  width: 58%;
  padding: 8px 10px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

/* ---------- Stats ---------- */

.stats-wrap {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 30px 8px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.stat {
  padding: 4px 26px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat dd {
  margin: 6px 0 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  line-height: 1.4;
}

/* ---------- Brands marquee ---------- */

.brands-band {
  padding: 56px 0 24px;
}

.brands-title {
  text-align: center;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.marquee {
  display: flex;
  margin-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  flex: none;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: #a2afbd;
  white-space: nowrap;
  transition: color 0.2s;
}

.marquee-track li::after {
  content: '';
  width: 6px;
  height: 6px;
  margin: 0 30px;
  border-radius: 50%;
  background: #cfe9f6;
}

.marquee-track li:hover {
  color: var(--teal);
}

@keyframes marquee {
  to {
    transform: translateX(-100%);
  }
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-head-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 24px 56px;
  max-width: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.eyebrow .i {
  width: 16px;
  height: 16px;
}

.eyebrow-light {
  color: var(--sky-300);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.45rem, 1rem + 1.5vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-lead {
  font-size: 17px;
  color: var(--ink-2);
}

/* ---------- About ---------- */

.about {
  padding-bottom: 72px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-copy h2 {
  margin-bottom: 22px;
}

.about-copy > p {
  color: var(--ink-2);
  font-size: 16.5px;
}

.about-copy > p + p {
  margin-top: 14px;
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
  margin: 34px 0 30px;
}

.values li {
  display: flex;
  gap: 14px;
}

.value-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky-50);
  color: var(--teal);
}

.values h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 4px;
}

.values p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.motto {
  padding-left: 16px;
  border-left: 3px solid var(--sky);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--navy-700);
}

.about-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 200px 170px 170px;
  gap: 14px;
}

.am {
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-soft);
}

.am img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.am:hover img {
  transform: scale(1.05);
}

.am-1 {
  grid-column: 1;
  grid-row: 1 / 3;
}

.am-2 {
  grid-column: 2;
  grid-row: 1;
}

.am-3 {
  grid-column: 2;
  grid-row: 2 / 4;
}

.am-4 {
  grid-column: 1;
  grid-row: 3;
}

.iso-badge {
  position: absolute;
  left: -18px;
  bottom: 196px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: 14px;
  color: var(--navy-700);
}

.iso-badge .i {
  color: var(--teal);
}

/* ---------- Directions ---------- */

.directions {
  padding-top: 24px;
}

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

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

.dir-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.dir-media {
  aspect-ratio: 16 / 10;
  background: #eee;
  overflow: hidden;
}

.dir-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.dir-card:hover .dir-media img {
  transform: scale(1.05);
}

.dir-body {
  position: relative;
  flex: 1;
  padding: 20px 20px 64px;
}

.dir-body h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.dir-body p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.dir-arrow {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--teal);
  transition: background-color 0.25s, color 0.25s;
}

.dir-arrow .i {
  width: 18px;
  height: 18px;
}

.dir-card:hover .dir-arrow {
  background: var(--grad);
  color: #fff;
}

/* ---------- Catalog ---------- */

.catalog {
  background: var(--bg-soft);
}

.catalog-tools {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.search {
  position: relative;
  display: block;
  max-width: 540px;
}

.search .i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
}

.search input {
  width: 100%;
  height: 54px;
  padding: 0 20px 0 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(46, 178, 235, 0.16);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover {
  border-color: var(--sky);
  color: var(--ink);
}

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

.catalog-count {
  font-size: 13.5px;
  color: var(--ink-3);
}

.catalog-count b {
  color: var(--ink);
}

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

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

.cat-card:hover {
  box-shadow: var(--shadow);
}

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

.cat-card:target {
  box-shadow: 0 0 0 3px var(--sky), var(--shadow);
}

.cat-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eee;
  overflow: hidden;
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.cat-card:hover .cat-media img {
  transform: scale(1.04);
}

.cat-num {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(7, 25, 43, 0.86);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.cat-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 22px;
}

.cat-body > * {
  align-self: stretch;
}

.cat-body > .cat-request {
  align-self: flex-start;
}

.cat-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
}

.cat-desc {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.cat-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.cat-brands li {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky-50);
  color: var(--teal-700);
  font-size: 12px;
  font-weight: 700;
}

.cat-details {
  margin-top: auto;
  padding-top: 2px;
  border-top: 1px solid var(--line);
}

.cat-brands {
  margin-bottom: 16px;
}

.cat-more {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  align-self: stretch !important;
}

.cat-card-gin .cat-media img {
  object-fit: contain;
  background: #fff;
  padding: 12px;
}

.cat-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 30px 28px;
  border-radius: 22px;
  background: radial-gradient(110% 90% at 100% 0%, #10365a 0%, var(--navy-800) 55%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.cat-cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.7;
}

.cat-cta-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(125, 211, 245, 0.12);
  color: var(--sky-300);
}

.cat-cta h3 {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
}

.cat-cta p {
  color: #b7c9da;
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: auto;
  padding-bottom: 10px;
}

.cat-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: #dbe7f2;
}

.cat-cta-phone .i {
  width: 18px;
  height: 18px;
  color: var(--sky-300);
}

.cat-cta-phone:hover {
  color: #fff;
}

.cat-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0 6px;
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

.cat-details summary::-webkit-details-marker {
  display: none;
}

.cat-details summary .i {
  width: 18px;
  height: 18px;
  color: var(--ink-3);
  transition: transform 0.3s var(--ease);
}

.cat-details[open] summary .i {
  transform: rotate(180deg);
}

.cat-details-body {
  padding-top: 8px;
}

.models div {
  margin-bottom: 10px;
}

.models dt {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.models dd {
  margin: 2px 0 0;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cat-parts {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.cat-parts b {
  color: var(--ink);
}

.cat-strip {
  margin-top: 12px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.cat-request {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--teal);
  transition: gap 0.2s var(--ease), color 0.2s;
}

.cat-request .i {
  width: 18px;
  height: 18px;
}

.cat-request:hover {
  gap: 12px;
  color: var(--teal-700);
}

.catalog-empty {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 48px 24px;
  border: 1.5px dashed #c8d4df;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  color: var(--ink-2);
}

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

/* ---------- JSM ---------- */

.jsm {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(90% 80% at 10% 0%, #10365a 0%, var(--navy-800) 50%, var(--navy-900) 100%);
  color: #d5e3f0;
}

.jsm-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  transform: scaleX(-1);
}

.jsm-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 72px;
  align-items: center;
}

.jsm h2 {
  color: #fff;
}

.jsm-lead {
  margin-top: 20px;
  font-size: 17px;
  color: #b3c6d8;
}

.jsm-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 30px 0 18px;
}

.jsm-products li {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.25s, border-color 0.25s;
}

.jsm-products li:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(125, 211, 245, 0.3);
}

.jp-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--sky);
}

.jsm-products h3 {
  margin: 6px 0 4px;
  font-size: 16.5px;
  font-weight: 800;
  color: #fff;
}

.jsm-products p {
  font-size: 14px;
  line-height: 1.5;
  color: #a9bccf;
}

.jsm-extra {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: #cfe3f2;
}

.jsm-extra .i {
  color: var(--sky);
  width: 18px;
  height: 18px;
}

.coating {
  margin: 24px 0;
  padding: 18px 22px;
  border: 1px solid rgba(242, 169, 59, 0.35);
  border-radius: 16px;
  background: rgba(242, 169, 59, 0.07);
}

.coating-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f7c77c;
}

.coating-title .i {
  width: 18px;
  height: 18px;
}

.coating dl {
  margin: 0;
}

.coating dl div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
}

.coating dl div + div {
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
}

.coating dt {
  font-size: 14.5px;
  color: #d5e3f0;
}

.coating dd {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
  text-align: right;
}

.tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tag-dn {
  background: var(--grad);
  color: #fff;
}

.tag-ni {
  background: #9fb1c2;
  color: var(--navy-800);
}

.tag + .tag {
  margin-left: -2px;
}

.tag:last-of-type {
  margin-right: 4px;
}

.jsm-note {
  margin-bottom: 26px;
  font-size: 14.5px;
  color: #a9bccf;
}

.jsm-cert {
  text-align: center;
}

.cert-frame {
  position: relative;
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.7);
  transform: rotate(2.5deg);
  cursor: zoom-in;
  transition: transform 0.4s var(--ease);
}

.cert-frame:hover {
  transform: rotate(0) scale(1.02);
}

.cert-frame img {
  width: 100%;
  border-radius: 6px;
}

.cert-zoom {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--shadow);
}

.jsm-cert figcaption {
  max-width: 320px;
  margin: 26px auto 0;
  font-size: 13.5px;
  color: #a9bccf;
}

/* ---------- Ginning ---------- */

.ginning {
  background: var(--cotton);
}

.gin-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 80px;
}

.gin-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
}

.gin-title::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--grad);
  transform: rotate(45deg);
}

.adv-list {
  counter-reset: adv;
}

.adv-list li {
  position: relative;
  padding-left: 42px;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.adv-list li::before {
  counter-increment: adv;
  content: counter(adv);
  position: absolute;
  left: 0;
  top: -1px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid #bfe3f3;
  background: #fff;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--teal);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.pill-label {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pill {
  padding: 6px 13px;
  border: 1px solid #e3ddd0;
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 700;
}

.pill-strong {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.gin-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gin-photos figure {
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.gin-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spec-card {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 24px;
  border: 1px solid #ebe5d8;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.spec-title {
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tab {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.tab:hover {
  border-color: var(--sky);
}

.tab.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  min-width: 440px;
  border-collapse: collapse;
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
}

.spec-table th,
.spec-table td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.spec-table thead th {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom-color: #cfd8e2;
}

.spec-table tbody th {
  font-weight: 800;
}

.spec-table tbody tr:hover {
  background: #f7fafc;
}

.spec-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

.gin-ribs {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
}

.ribs-media {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 14px;
  align-items: center;
}

.ribs-photo {
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ribs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ribs-range {
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #ebe5d8;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.check-list .i {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: var(--sky-50);
  color: var(--teal);
  stroke-width: 3;
}

.custom-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 24px;
  padding: 14px 16px;
  border: 1.5px dashed #d8cfbd;
  border-radius: 14px;
  background: #fff;
  font-size: 14.5px;
  font-weight: 700;
}

.custom-note .i {
  color: var(--teal);
}

.others-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.other {
  border: 1px solid #ebe5d8;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.other-media {
  aspect-ratio: 4 / 3;
  background: #fff;
  overflow: hidden;
}

.other-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-media img[src*='bale-wire'] {
  object-position: 8% 50%;
}

.other figcaption {
  padding: 14px 16px 16px;
  border-top: 1px solid #f1ece2;
}

.other b {
  display: block;
  font-size: 15px;
  line-height: 1.3;
}

.other span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ---------- Process ---------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: none;
}

.steps::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 46px;
  border-top: 2px dashed #cde3ee;
}

.step {
  position: relative;
  padding: 24px;
  border-radius: 20px;
  background: var(--bg-soft);
}

.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  box-shadow: 0 0 0 6px var(--bg-soft);
}

.step h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

.why-title {
  margin: 80px 0 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 23px;
}

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

.why {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.why:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.why-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--navy-800);
  color: var(--sky-300);
}

.why h4 {
  margin: 16px 0 6px;
  font-size: 16.5px;
  font-weight: 800;
}

.why p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* ---------- Contacts ---------- */

.contacts {
  background: var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 24px;
  background: radial-gradient(120% 90% at 100% 0%, #10365a 0%, var(--navy-800) 60%);
  color: #fff;
  overflow: hidden;
}

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-list li:first-child {
  padding-top: 0;
}

.contact-list .i {
  width: 42px;
  height: 42px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(125, 211, 245, 0.1);
  color: var(--sky-300);
}

.cl-label {
  display: block;
  margin-bottom: 3px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8fa6bc;
}

.contact-card a {
  font-weight: 700;
  transition: color 0.2s;
}

.contact-card a:hover {
  color: var(--sky-300);
}

.contact-card address {
  color: #dbe7f2;
  line-height: 1.5;
}

.cl-links {
  display: flex;
  flex-direction: column;
}

.requisites {
  margin-top: 18px;
}

.requisites p {
  font-size: 14px;
  color: #c5d4e2;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.contact-card .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.contact-card .btn-outline:hover {
  border-color: var(--sky-300);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card .btn-outline:hover .i {
  transform: none;
}

.request-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.request-form h3 {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}

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

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.field > span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfd;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e7e91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(46, 178, 235, 0.15);
}

.field.is-invalid input {
  border-color: #e5534b;
}

.form-error {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #c0392b;
}

.form-hint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.map-wrap {
  height: 420px;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #e5eaef;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.network {
  margin-top: 56px;
}

.network h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
}

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

.office {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.office-code {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--navy-700);
}

.office.is-main .office-code {
  background: var(--grad);
  color: #fff;
}

.office b {
  display: block;
  font-size: 15px;
}

.office div > span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  line-height: 1.35;
}

.office div > small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 64px 0 28px;
  background: var(--navy-900);
  color: #a9bccf;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.logo-light {
  color: #fff;
}

.footer-brand p {
  max-width: 360px;
  margin-top: 18px;
  font-size: 14.5px;
}

.footer-nav ul {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contacts a {
  transition: color 0.2s;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: #fff;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contacts a {
  color: #fff;
  font-weight: 700;
}

.footer-contacts address {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 22px;
  font-size: 13px;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.disclaimer {
  max-width: 560px;
  color: #7f93a8;
}

/* ---------- Floating call + lightbox ---------- */

.fab-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(2, 135, 175, 0.8);
}

.fab-call .i {
  width: 24px;
  height: 24px;
}

.lightbox {
  max-width: min(92vw, 820px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(3, 12, 22, 0.82);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lightbox img {
  max-height: 90vh;
  width: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .header-phone span {
    display: none;
  }

  .main-nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero-grid {
    gap: 40px;
  }

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

  .others-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1040px) {
  :root {
    --header-h: 68px;
  }

  .burger {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    margin: 0;
    padding: 24px 24px 40px;
    background: var(--navy-800);
    color: #fff;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-open .site-header {
    background: var(--navy-800);
    color: #fff;
    box-shadow: none;
  }

  .nav-open .site-header .lang-switch {
    border-color: rgba(255, 255, 255, 0.24);
  }

  .nav-open .site-header .lang-switch a[aria-current] {
    background: #fff;
    color: var(--navy-800);
  }

  .nav-open .site-header .burger {
    background: rgba(255, 255, 255, 0.08);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a,
  .site-header.is-scrolled .main-nav a {
    padding: 14px 4px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    opacity: 1;
    color: #fff;
    background: none;
  }

  .main-nav a.is-current {
    color: var(--sky-300);
  }

  .nav-mobile-extra {
    display: grid;
    gap: 14px;
    margin-top: 28px;
  }

  .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    color: #dbe7f2;
  }

  .nav-phone .i {
    color: var(--sky-300);
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-open {
    overflow: hidden;
  }

  .section-head-split,
  .about-grid,
  .jsm-grid,
  .gin-block,
  .gin-ribs,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid,
  .jsm-grid {
    gap: 48px;
  }

  .gin-block {
    gap: 32px;
  }

  .spec-card {
    position: static;
  }

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

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

  .steps::before {
    display: none;
  }

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

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

  .iso-badge {
    left: 12px;
  }

  .jsm-cert {
    order: -1;
  }

  .cert-frame {
    max-width: 300px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-bottom: 130px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-visual {
    max-width: 560px;
    padding: 30px 24px 30px 8px;
  }

  .fab-call {
    display: grid;
  }

  .nav-open .fab-call {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 8px;
  }

  .stat {
    padding: 18px 18px;
  }

  .stat + .stat {
    border-left: 0;
  }

  .stat:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .logo-mark {
    width: 38px;
  }

  .logo-text b {
    font-size: 15px;
  }

  .logo-text small {
    font-size: 7.6px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-phone {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
  }

  .hero-lead {
    font-size: 16.5px;
  }

  .hero-ctas .btn {
    flex: 1 1 100%;
  }

  .hero-checks {
    gap: 10px 16px;
    font-size: 13.5px;
  }

  .hv-strip {
    display: none;
  }

  .hv-cert {
    bottom: 6px;
    left: -4px;
  }

  .hv-ribs {
    width: 32%;
  }

  .stat dd {
    font-size: 13px;
  }

  .marquee-track li {
    font-size: 18px;
  }

  .values,
  .jsm-products,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-media {
    grid-template-rows: 150px 120px 130px;
    gap: 10px;
  }

  .iso-badge {
    bottom: auto;
    top: -18px;
    left: 12px;
  }

  .dir-grid,
  .catalog-grid,
  .steps,
  .why-grid,
  .offices {
    grid-template-columns: 1fr;
  }

  .others-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .coating dl div {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .coating dd {
    text-align: left;
  }

  .spec-card,
  .request-form,
  .contact-card {
    padding: 20px;
  }

  .map-wrap {
    height: 320px;
  }

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

  .why-title {
    margin-top: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .marquee {
    flex-wrap: wrap;
  }

  .marquee-track {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }

  .marquee-track[aria-hidden] {
    display: none;
  }
}
