/* AVA Medical — стилі лендингу
   Палітра взята з логотипа (#0a496a) та упаковки (#cce9fc). Шрифт — Inter, як на упаковці. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0a496a;
  --navy-700: #083c58;
  --navy-800: #073247;
  --ink: #0b2f44;
  --text: #34495a;
  --muted: #5f7382;
  --sky: #cce9fc;
  --sky-50: #f3f9fe;
  --sky-100: #e4f2fd;
  --bg-soft: #f5f8fa;
  --line: #e1e9ef;
  --line-strong: #c9d7e2;
  --ok: #1a9a64;
  --danger: #b42318;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 80px;
  --shadow-sm: 0 1px 2px rgba(10, 73, 106, .06), 0 2px 8px -2px rgba(10, 73, 106, .06);
  --shadow: 0 18px 40px -18px rgba(10, 73, 106, .28);
}

/* ---------- База ---------- */

*, *::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);
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
p { margin: 0 0 1rem; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.375rem, 1rem + 3.5vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.032em;
}
h2 {
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.026em;
}
h3 { font-size: 1.125rem; line-height: 1.3; letter-spacing: -0.012em; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute !important;
  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: 16px; top: -120px;
  z-index: 100;
  padding: .75rem 1rem;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  flex: none;
}

/* ---------- Кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: 52px;
  padding: 0 1.375rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-lg { height: 62px; padding: 0 1.75rem; font-size: 1.0625rem; }
.btn-sm { height: 46px; padding: 0 1.125rem; border-radius: 10px; font-size: .9375rem; }
.btn-block { width: 100%; }

.count-badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: .5rem;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
}

/* ---------- Шапка ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: var(--header-h);
}

.brand { flex: none; display: block; }
.brand img { width: auto; height: 48px; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-list a {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.nav-list a:hover { color: var(--navy); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 1.25rem; flex: none; }
.header-phone {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

/* ---------- Перший екран ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(10, 73, 106, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 73, 106, .055) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at 72% 45%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 70% at 72% 45%, #000 10%, transparent 75%);
}

@media (min-width: 1024px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--header-h));
    padding-block: clamp(2rem, 4vh, 4rem);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-copy h1 { margin-bottom: 1.25rem; }
.hero-copy .lead {
  max-width: 34em;
  margin-bottom: 2.25rem;
  color: var(--text);
  font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}
.hero-points li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-points .icon {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--navy);
  stroke-width: 2.75;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}
.hv-panel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(120% 95% at 28% 18%, #fff 0%, var(--sky-50) 48%, var(--sky-100) 100%);
}
.hv-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 73, 106, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 73, 106, .07) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
}
.hv-panel::after {
  content: "";
  position: absolute;
  width: 74%;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 73, 106, .12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .55) 62%, rgba(255, 255, 255, 0) 100%);
}
.hv-photo {
  position: relative;
  z-index: 1;
  width: 46%;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(10, 73, 106, .16));
}

.hv-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-size: .9375rem;
}
.hv-text { display: flex; flex-direction: column; line-height: 1.3; }
.hv-text b { color: var(--ink); font-weight: 600; }
.hv-text small { color: var(--muted); font-size: .875rem; }

.hv-stock { top: 8%; left: -5%; }
.hv-size { top: 47%; right: -4%; padding: .625rem .875rem .625rem .625rem; }
.hv-terms { bottom: 6%; left: 3%; }

.status-dot {
  position: relative;
  width: 10px;
  height: 10px;
  margin-left: .25rem;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--ok);
  opacity: 0;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(.5); opacity: .55; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Бейдж розміру — як на упаковці рукавичок */
.size-badge {
  display: grid;
  justify-items: center;
  width: 72px;
  padding: 9px 7px 8px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  line-height: 1;
  flex: none;
}
.sb-letter { font-size: 30px; font-weight: 700; letter-spacing: -.02em; transition: opacity .25s; }
.sb-word { margin-top: 4px; font-size: 10.5px; opacity: .9; white-space: nowrap; transition: opacity .25s; }
.sb-count {
  width: 100%;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, .35);
  font-size: 10.5px;
  text-align: center;
}
.size-badge.is-swapping .sb-letter,
.size-badge.is-swapping .sb-word { opacity: 0; }

.hv-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sky-100);
  color: var(--navy);
  flex: none;
}
.hv-icon .icon { width: 22px; height: 22px; }

/* ---------- Переваги ---------- */

.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.fact {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1.75rem 1.5rem;
  border-left: 1px solid var(--line);
}
.fact:first-child { padding-left: 0; border-left: 0; }
.fact:last-child { padding-right: 0; }
.fact-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.fact-icon .icon { width: 22px; height: 22px; stroke-width: 1.6; }
.fact-text { display: flex; flex-direction: column; gap: .125rem; }
.fact-text b { color: var(--ink); font-size: .9375rem; font-weight: 600; }
.fact-text span { color: var(--muted); font-size: .875rem; line-height: 1.45; }

/* ---------- Секції ---------- */

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 860px; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
.section-head h2 { margin-bottom: .875rem; }
.section-head p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); }
.section-text { max-width: 34em; margin: .875rem 0 2rem; color: var(--muted); font-size: 1.0625rem; }

/* ---------- Каталог ---------- */

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}
.cat-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }

.cat-media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
/* Фото товарів на білому тлі — вписуємо цілком, без обрізання */
.cat-media img {
  position: absolute;
  inset: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: contain;
}

.cat-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem 1.5rem 1.25rem; }
.cat-index {
  margin: 0 0 .5rem;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
}
.cat-body h3 { margin-bottom: .25rem; font-size: 1.375rem; }
.cat-desc { margin: 0 0 1.125rem; color: var(--muted); font-size: .9375rem; }

.item-list { margin: 0 0 1rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 56px;
  padding: .625rem 0;
  border-bottom: 1px solid var(--line);
}
.item-text { display: flex; flex-direction: column; min-width: 0; }
.item-name { color: var(--ink); font-size: .9375rem; font-weight: 500; line-height: 1.35; }
.item-spec { margin-top: .125rem; color: var(--muted); font-size: .8125rem; line-height: 1.4; }

.item-add {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  height: 34px;
  padding: 0 .75rem 0 .625rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  flex: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.item-add .icon { width: 16px; height: 16px; stroke-width: 2.25; }
.item-add:hover { border-color: var(--navy); background: var(--sky-50); }
.item-add[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }

.cat-request {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: .5rem;
  margin-top: auto;
  padding: .5rem 0;
  border: 0;
  background: none;
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
}
.cat-request .icon { width: 18px; height: 18px; transition: transform .2s; }
.cat-request:hover .icon { transform: translateX(3px); }

.nowrap { white-space: nowrap; }

/* Блок розмірів у картці рукавичок — у стилі бейджів з упаковки */
.spec-box {
  margin: .25rem 0 1.25rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sky-50);
}
.spec-title {
  margin: 0 0 .75rem;
  color: var(--navy);
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.size-row { display: flex; gap: .375rem; margin: 0 0 .875rem; padding: 0; list-style: none; }
.size-row li {
  display: grid;
  flex: 1;
  place-items: center;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-size: .9375rem;
  font-weight: 700;
}
.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: .8125rem;
}
.spec-tags li { display: inline-flex; align-items: center; gap: .375rem; }
.spec-tags .icon { width: 16px; height: 16px; color: var(--navy); stroke-width: 2.5; }

.catalog-note { margin: 2rem 0 0; color: var(--muted); font-size: .9375rem; text-align: center; }

/* Кожна група — великий ряд: панель із фото й текст, сторони чергуються */
.cat-rows { display: grid; gap: clamp(3.5rem, 8vw, 7rem); }
.cat-row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.cat-row:nth-child(even) .cat-row-media { order: 2; }
.cat-row-media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(120% 95% at 28% 18%, #fff 0%, var(--sky-50) 48%, var(--sky-100) 100%);
}
.cat-row-media::after {
  content: "";
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(10, 73, 106, .12);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .55) 62%, rgba(255, 255, 255, 0) 100%);
}
/* Фото вписуємо в панель за відступами: завжди цілком і по центру */
.cat-row-media img {
  position: absolute;
  inset: 10% 13%;
  z-index: 1;
  width: 74%;
  height: 80%;
  object-fit: contain;
  transition: transform .6s ease;
}
/* Білий студійний фон фото зливається з панеллю */
.cat-row-media img.is-photo { mix-blend-mode: multiply; }
.cat-row-media img.is-cutout { filter: drop-shadow(0 18px 22px rgba(10, 73, 106, .16)); }
.cat-row:hover .cat-row-media img { transform: scale(1.03); }

.cat-row-body { max-width: 32rem; }
.cat-row .cat-index { margin-bottom: 1rem; font-size: .875rem; }
.cat-row h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.026em;
}
.cat-row .cat-desc {
  margin: 0 0 1.75rem;
  font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem);
  line-height: 1.5;
}
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--navy);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
}
.cat-link .icon { width: 20px; height: 20px; transition: transform .2s; }
.cat-link:hover .icon { transform: translateX(4px); }

/* ---------- Великий блок контактів ---------- */

.contact-band { padding: 0 0 clamp(5rem, 10vw, 8.5rem); }
.contact-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  padding: clamp(1.5rem, 6vw, 5rem);
  border-radius: 28px;
  background: var(--navy);
  color: rgba(255, 255, 255, .82);
}
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 80% at 85% 20%, #000 10%, transparent 75%);
}
.contact-card .eyebrow { color: var(--sky); }
.contact-card h2 { margin-bottom: .875rem; color: #fff; }
.contact-copy p:not(.eyebrow) { margin: 0; color: rgba(255, 255, 255, .82); font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); }
.contact-main { display: grid; justify-items: start; gap: 1rem; }
.contact-phone {
  color: #fff;
  font-size: clamp(1.75rem, .6rem + 5.6vw, 5.5rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.contact-phone:hover { color: var(--sky); }
.contact-mail {
  color: var(--sky);
  font-size: clamp(1.125rem, .95rem + 1vw, 1.75rem);
  font-weight: 500;
  text-decoration: none;
}
.contact-mail:hover { text-decoration: underline; }
.contact-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.contact-messengers .msg-btn { height: 52px; padding: 0 1.25rem 0 1rem; border-color: transparent; font-size: 1rem; }
.contact-messengers .msg-btn:hover { border-color: transparent; background: var(--sky); }
.contact-address { display: inline-flex; align-items: center; gap: .5rem; margin: 0; color: rgba(255, 255, 255, .75); font-size: 1rem; }
.contact-address .icon { color: var(--sky); }
.contact-card :focus-visible { outline-color: #fff; }

/* ---------- Клієнти ---------- */

.clients-grid,
.delivery-grid {
  display: grid;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.clients-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.delivery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

.client-card,
.delivery-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}
.delivery-card { padding: 1.5rem; }
.client-card h3,
.delivery-card h3 { margin-bottom: .5rem; }
.delivery-card h3 { font-size: 1.0625rem; }
.client-card p,
.delivery-card p { margin: 0; color: var(--muted); font-size: .9375rem; }

.client-icon,
.delivery-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 14px;
  background: var(--sky-100);
  color: var(--navy);
}
.client-icon .icon,
.delivery-icon .icon { width: 24px; height: 24px; }

/* ---------- Умови ---------- */

.terms-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.terms-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.terms-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid var(--line-strong);
}
.terms-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  flex: none;
}
.terms-icon .icon { width: 20px; height: 20px; stroke-width: 1.6; }
.terms-text b {
  display: block;
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.terms-text span { color: var(--text); font-size: .9375rem; }

.steps-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--sky-50);
}
.steps-card h3 { margin-bottom: 1.5rem; font-size: 1.25rem; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; display: flex; gap: 1rem; padding-bottom: 1.5rem; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 4px;
  width: 1px;
  background: var(--line-strong);
}
.steps li:last-child::before { display: none; }
.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .04em;
  flex: none;
}
.step-text b { display: block; margin: .5rem 0 .125rem; color: var(--ink); font-weight: 600; }
.step-text span { color: var(--muted); font-size: .9375rem; }

/* ---------- Питання ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-aside a { font-weight: 600; text-decoration: none; }
.faq-aside a:hover { text-decoration: underline; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { width: 22px; height: 22px; color: var(--navy); transition: transform .25s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--navy); }
.faq-item p { max-width: 40em; margin: -.25rem 0 1.375rem; color: var(--text); }

/* ---------- Запит на КП ---------- */

.section-request { background: var(--sky-50); border-top: 1px solid var(--line); }
.request-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.request-info .section-text { margin-bottom: 1.5rem; }

.response-note {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 2.5rem;
  padding: .5rem .875rem .5rem .625rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 500;
}
.response-note .icon { width: 20px; height: 20px; color: var(--navy); }

.contacts-title {
  margin-bottom: 1rem;
  color: var(--navy);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.contact-list { display: grid; gap: 1rem; margin: 0 0 1.75rem; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: .875rem; }
.contact-list .icon {
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
}
.contact-list span { display: flex; flex-direction: column; color: var(--ink); font-weight: 500; line-height: 1.4; }
.contact-list small { color: var(--muted); font-size: .8125rem; font-weight: 400; }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--navy); text-decoration: underline; }

.messengers-label { margin: 0 0 .625rem; color: var(--muted); font-size: .8125rem; }
.messengers { display: flex; flex-wrap: wrap; gap: .5rem; }
.msg-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 42px;
  padding: 0 1rem 0 .75rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.msg-btn .icon { width: 20px; height: 20px; color: var(--navy); }
.msg-btn:hover { border-color: var(--navy); color: var(--navy); }

/* Форма */
.form-card {
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 56px -32px rgba(10, 73, 106, .3);
}
.form-row.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.field { min-width: 0; margin: 0 0 1.125rem; }
fieldset.field { padding: 0; border: 0; }

.field label,
.field legend,
.field-label {
  display: block;
  margin: 0 0 .5rem;
  padding: 0;
  color: var(--ink);
  font-size: .875rem;
  font-weight: 600;
}
.req { color: var(--navy); }
.opt { margin-left: .25rem; color: var(--muted); font-size: .8125rem; font-weight: 400; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 .875rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 112px; padding: .75rem .875rem; line-height: 1.5; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8b9ba7; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(10, 73, 106, .12); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.field-error { margin: .375rem 0 0; color: var(--danger); font-size: .8125rem; }
.field-hint { margin: .5rem 0 0; color: var(--muted); font-size: .8125rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 .875rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }

.selected-items { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.selected-items li {
  display: inline-flex;
  align-items: center;
  gap: .125rem;
  min-height: 34px;
  padding: 0 .25rem 0 .75rem;
  border-radius: 999px;
  background: var(--sky-100);
  color: var(--ink);
  font-size: .8125rem;
  font-weight: 500;
}
.selected-items button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
}
.selected-items button:hover { background: rgba(10, 73, 106, .1); }
.selected-items .icon { width: 14px; height: 14px; stroke-width: 2.25; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent-field { margin-bottom: 1.5rem; }
.field .consent {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin: 0;
  color: var(--text);
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.5;
  cursor: pointer;
}
.consent input { position: absolute; top: 0; left: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.consent-box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: #fff;
  flex: none;
  transition: background-color .15s, border-color .15s;
}
.consent-box .icon { width: 14px; height: 14px; color: #fff; stroke-width: 3; opacity: 0; }
.consent input:checked + .consent-box { border-color: var(--navy); background: var(--navy); }
.consent input:checked + .consent-box .icon { opacity: 1; }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--navy); outline-offset: 2px; }
.consent input[aria-invalid="true"] + .consent-box { border-color: var(--danger); }

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.is-loading { pointer-events: none; opacity: .85; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-alert {
  margin: 1rem 0 0;
  padding: .875rem 1rem;
  border-radius: 12px;
  background: #fdf0ef;
  color: #8f1d14;
  font-size: .9375rem;
}
.form-alert a { color: inherit; font-weight: 600; }

.form-success { padding: 2.5rem 1rem; text-align: center; }
.form-success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--navy);
}
.success-icon .icon { width: 30px; height: 30px; stroke-width: 2.25; }
.form-success h3 { margin-bottom: .75rem; font-size: 1.5rem; }
.form-success p { max-width: 30em; margin: 0 auto 1.5rem; color: var(--muted); }
.form-success a { font-weight: 600; }

/* ---------- Підвал ---------- */

.site-footer { background: var(--navy-800); color: rgba(255, 255, 255, .75); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 2rem;
  padding-top: 4rem;
  padding-bottom: 3rem;
}
.footer-brand img { width: auto; height: 44px; margin-bottom: 1.25rem; }
.footer-brand p { max-width: 26em; margin: 0; font-size: .9375rem; }
.footer-title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.footer-col ul { display: grid; gap: .625rem; margin: 0; padding: 0; list-style: none; font-size: .9375rem; }
.footer-col a,
.footer-bottom a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer-col a:hover,
.footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
  font-size: .875rem;
}
.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  height: 1px;
  background: rgba(255, 255, 255, .14);
}
.simple-footer .footer-bottom::before { display: none; }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .6); }
.site-footer :focus-visible { outline-color: #fff; }

/* ---------- Мобільна панель і сповіщення ---------- */

.mobile-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: none;
  gap: .5rem;
  padding: .625rem var(--gutter) calc(.625rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform .25s ease;
}
.mobile-bar.is-visible { transform: none; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 60;
  max-width: calc(100% - 32px);
  padding: .75rem 1.125rem;
  border-radius: 12px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: #fff;
  font-size: .875rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Поява при прокрутці ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
  .header-phone { display: none; }
  .nav-list { gap: 1.5rem; }
}

@media (max-width: 1023px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: .5rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 24px 40px -24px rgba(10, 73, 106, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a {
    display: block;
    padding: .875rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 1.0625rem;
  }
  .nav-extra { display: grid; gap: 1rem; padding-top: 1.25rem; }
  .nav-phone {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
  }
  .nav-phone .icon { color: var(--navy); }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 480px; }

  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 1.5rem 1.25rem; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .fact:nth-child(even) { padding-right: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .catalog-grid { grid-template-columns: minmax(0, 1fr); max-width: 680px; margin-inline: auto; }
  .cat-row { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; max-width: 680px; margin-inline: auto; }
  .cat-row:nth-child(even) .cat-row-media { order: 0; }
  .cat-row-media { aspect-ratio: 5 / 4; }
  .delivery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .clients-grid { grid-template-columns: minmax(0, 1fr); }
  .terms-grid,
  .faq-wrap,
  .request-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap .section-head { position: static; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .brand img { height: 36px; }
  .header-cta { display: none; }
  .mobile-bar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .toast { bottom: 88px; }
  .footer-bottom { padding-bottom: calc(2rem + 72px); }
}

@media (max-width: 560px) {
  .eyebrow { letter-spacing: .16em; }
  .hero .eyebrow { font-size: .6875rem; letter-spacing: .12em; }
  .hero .eyebrow::before { display: none; }
  .hero-cta .btn { width: 100%; white-space: normal; }
  .hero-points { gap: .625rem 1.25rem; }
  .hv-panel { aspect-ratio: 1 / .92; }
  .hv-stock { top: 5%; left: 4%; }
  .hv-size { top: auto; right: 4%; bottom: 5%; }
  .hv-terms { display: none; }
  .hv-card { padding: .5rem .75rem; font-size: .8125rem; }
  .hv-text small { font-size: .75rem; }
  .hv-photo { width: 40%; }

  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .fact,
  .fact:nth-child(odd),
  .fact:nth-child(even) { padding: 1.125rem 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }

  .cat-body { padding: 1.25rem 1.25rem 1rem; }
  .cat-row-media { border-radius: 20px; }
  .contact-card { border-radius: 20px; }
  .contact-bottom { display: grid; justify-content: stretch; }
  .contact-messengers .msg-btn { flex: 1; justify-content: center; padding: 0 .75rem; }

  .delivery-grid { grid-template-columns: minmax(0, 1fr); }
  .form-row.two { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .item-add-label { display: none; }
  .item-add { width: 36px; height: 36px; padding: 0; justify-content: center; }
}

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

/* ---------- Додаткові сторінки: політика, 404, подяка ---------- */

.simple-header .header-inner { justify-content: space-between; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--text);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.back-link:hover { color: var(--navy); }
.back-link .icon { width: 18px; height: 18px; transform: rotate(180deg); }

.simple-page { padding-block: clamp(3rem, 7vw, 5.5rem); }
.simple-page.centered {
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h) - 90px);
  text-align: center;
}
.simple-page.centered p { max-width: 32em; margin-inline: auto; color: var(--muted); font-size: 1.0625rem; }
.simple-page.centered .btn { margin-top: 1rem; }
.big-code { margin-bottom: .5rem; color: var(--navy); font-size: .875rem; font-weight: 600; letter-spacing: .22em; }

.legal { max-width: 760px; }
.legal h1 { margin-bottom: .75rem; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.legal .updated { margin-bottom: 2.5rem; color: var(--muted); }
.legal h2 { margin: 2.25rem 0 .75rem; font-size: 1.25rem; letter-spacing: -.01em; }
.legal p,
.legal li { color: var(--text); }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .375rem; }

.simple-footer .footer-bottom { border-top: 0; padding-top: 1.75rem; padding-bottom: 1.75rem; }
