/* ============================================
   КОТОВСК ФАРМ — Premium B2B Landing
   Modern UI with dark/light themes
   ============================================ */

/* ---- 1. Theme Variables ---- */
:root,
[data-theme="light"] {
  --color-primary: #2E6F4E;
  --color-primary-dark: #1F5038;
  --color-primary-light: #E8F5EE;
  --color-primary-rgb: 46, 111, 78;
  --color-accent: #C9823E;
  --color-accent-hover: #B5722F;
  --color-accent-light: #FDF4EB;
  --color-accent-rgb: 201, 130, 62;
  --color-text: #1A1F2E;
  --color-text-muted: #5F6980;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F6F8;
  --color-surface: #FFFFFF;
  --color-border: #E2E6ED;
  --color-glass: rgba(255, 255, 255, 0.65);
  --color-glass-border: rgba(255, 255, 255, 0.4);
  --color-footer-bg: #0F1A14;
  --color-footer-text: #B8CBBD;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 20px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 30px rgba(46, 111, 78, 0.15);
  --header-bg: rgba(255, 255, 255, 0.8);
  --invert: 0;
}

[data-theme="dark"] {
  --color-primary: #3D9168;
  --color-primary-dark: #2E6F4E;
  --color-primary-light: #1A2F22;
  --color-primary-rgb: 61, 145, 104;
  --color-accent: #D4924A;
  --color-accent-hover: #E0A35C;
  --color-accent-light: #2A2118;
  --color-accent-rgb: 212, 146, 74;
  --color-text: #E2EDE6;
  --color-text-muted: #8BA396;
  --color-bg: #0B1410;
  --color-bg-alt: #101C16;
  --color-surface: #152019;
  --color-border: #1E3228;
  --color-glass: rgba(15, 25, 18, 0.7);
  --color-glass-border: rgba(61, 145, 104, 0.15);
  --color-footer-bg: #070E0A;
  --color-footer-text: #6B8B76;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.4);
  --shadow-card: 0 2px 20px rgba(0,0,0,0.2);
  --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 30px rgba(61, 145, 104, 0.2);
  --header-bg: rgba(11, 20, 16, 0.85);
  --invert: 1;
}

/* ---- Design tokens ---- */
:root {
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
  --section-py: clamp(64px, 8vw, 100px);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.3s;
  --duration-slow: 0.6s;
}

/* ---- 2. Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  transition: background var(--duration-slow) var(--ease), color var(--duration-slow) var(--ease);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--duration) var(--ease); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font: inherit; border: none; outline: none; }

/* ---- 3. Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 10000;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ---- 4. Layout ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
  background: var(--color-bg);
  transition: background var(--duration-slow) var(--ease);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section--primary {
  background: var(--color-primary-dark);
}

/* ============================================
   FORM SECTION — taste-skill redesign
   Split-screen (50/50): video + glass form
   ============================================ */
.form-section {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 120px) 0;
  background:
    radial-gradient(1200px 600px at 12% 0%, rgba(96, 176, 133, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 100%, rgba(46, 111, 78, 0.35), transparent 55%),
    linear-gradient(160deg, #0f2a1e 0%, #0a1d14 100%);
}

.form-section__ornament {
  position: absolute;
  inset: -10% -5% auto auto;
  width: 560px;
  height: 560px;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.05), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

.form-section__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: stretch;
}

/* --- Left: media column --- */
.form-section__media {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.form-media__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 40px 60px -30px rgba(0, 0, 0, 0.6);
  background: #0a1611;
  isolation: isolate;
}

.form-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.form-media__video.is-active { opacity: 1; }

.form-media__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,22,17,0) 55%, rgba(10,22,17,0.88) 100%),
    linear-gradient(70deg, rgba(10,22,17,0.25) 0%, rgba(10,22,17,0) 60%);
  pointer-events: none;
}

.form-media__caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  color: #fff;
  z-index: 2;
}

.form-media__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 6px 10px 6px 8px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  margin-bottom: 12px;
}
.form-media__kicker::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60b085;
  box-shadow: 0 0 0 0 rgba(96,176,133,0.55);
  animation: pulse-dot 2.4s ease-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(96,176,133,0.55); }
  50% { box-shadow: 0 0 0 10px rgba(96,176,133,0); }
}

.form-media__title {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}

/* --- Chips under video --- */
.form-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.form-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  letter-spacing: -0.005em;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0;
  transform: translateY(12px);
  animation: chip-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(0.4s + var(--i, 0) * 110ms);
}

.form-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent, #E08538);
}

@keyframes chip-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Right: form body --- */
.form-section__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-section__kicker {
  display: inline-block;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
}

.form-section__title {
  text-align: left !important;
  font-size: clamp(2rem, 3.4vw, 2.75rem) !important;
  margin-bottom: 10px !important;
}
.form-section__title::after { display: none !important; }

.form-section__sub {
  text-align: left !important;
  max-width: 480px;
  margin: 0 0 28px !important;
}

/* Glass form card */
.form--glass {
  max-width: none !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 60px -30px rgba(0, 0, 0, 0.5);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 32px);
  backdrop-filter: blur(14px);
}

.form--glass .form__input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.form--glass .form__input:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.06), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Mobile stack */
@media (max-width: 900px) {
  .form-section__layout { grid-template-columns: 1fr; }
  .form-media__frame { aspect-ratio: 16 / 11; border-radius: 22px; }
  .form-section__title { text-align: center !important; }
  .form-section__sub { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .form-section__kicker { display: block; text-align: center; }
  .form-chips { justify-content: center; }
}

@media (max-width: 575px) {
  .form-media__caption { left: 16px; right: 16px; bottom: 16px; }
  .form-media__title { font-size: 1rem; }
  .form--glass { padding: 18px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .form-chip, .form-media__kicker::before { animation: none; opacity: 1; transform: none; box-shadow: none; }
  .form-media__video { transition: none; }
}

.section__header {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 12px;
  transition: color var(--duration-slow) var(--ease);
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 3px;
  margin: 16px auto 0;
}

.section__title--white { color: #fff; }
.section__title--white::after { background: rgba(255,255,255,0.3); }

.section__subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
  transition: color var(--duration-slow) var(--ease);
}

.section__subtitle--white { color: rgba(255,255,255,0.75); }

/* Grid */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

/* ---- 5. Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Ripple effect container */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-anim 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent), #D4924A);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(var(--color-accent-rgb), 0.3);
}

.btn--accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--color-accent-rgb), 0.4);
  filter: brightness(1.08);
}

.btn--accent:active { transform: translateY(0) scale(0.97); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--color-primary-rgb), 0.3);
}

.btn--white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn--white:hover {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--sm { padding: 8px 20px; font-size: 0.875rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---- 6. Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration) var(--ease);
}

.header--scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: filter var(--duration) var(--ease);
}

[data-theme="dark"] .header__logo img {
  filter: brightness(1.4) saturate(0.85);
}

.header__menu { display: flex; gap: 32px; }

.header__link {
  font-weight: 500;
  font-size: 0.925rem;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  transition: color var(--duration) var(--ease);
}

.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  transition: width var(--duration) var(--ease);
}

.header__link:hover::after,
.header__link.active::after { width: 100%; }
.header__link:hover { color: var(--color-primary); }

.header__actions { display: flex; align-items: center; gap: 12px; }

.header__phone-btn svg { flex-shrink: 0; }

/* Theme toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.theme-toggle:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  transform: rotate(30deg);
}

.theme-toggle svg { width: 20px; height: 20px; color: var(--color-text); transition: color var(--duration) var(--ease); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.header__burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- 7. Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b1410 url('../media/hero-bg.jpg') center/cover no-repeat;
  will-change: transform;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__video.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 16, 0.35) 0%, rgba(8, 12, 16, 0.55) 70%, rgba(8, 12, 16, 0.75) 100%),
    linear-gradient(90deg, rgba(8, 12, 16, 0.55) 0%, rgba(8, 12, 16, 0.15) 55%, rgba(8, 12, 16, 0) 100%);
}

/* Floating particles */
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% { transform: translateY(100vh) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) translateX(50px); opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  width: 100%;
}

.hero__content { max-width: 700px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero__title-accent {
  background: linear-gradient(135deg, #4ADE80, var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.hero__buttons { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero__stat { display: flex; flex-direction: column; }

.hero__stat-value,
.hero__stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* ---- 8. Glass Cards ---- */
.glass-card {
  background: var(--color-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.glass-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.3);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  transform: translateY(-4px);
}

/* ---- 9. Supply Cards ---- */
.supply-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all var(--duration) var(--ease);
}

.supply-card:hover {
  border-color: rgba(var(--color-primary-rgb), 0.3);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
  transform: translateY(-4px);
}

.supply-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: 14px;
  margin-bottom: 20px;
  transition: all var(--duration) var(--ease);
}

.supply-card:hover .supply-card__icon {
  background: var(--color-primary);
  transform: scale(1.05);
}

.supply-card:hover .supply-card__icon svg * {
  stroke: #fff;
  transition: stroke var(--duration) var(--ease);
}

.supply-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
  transition: color var(--duration-slow) var(--ease);
}

.supply-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  transition: color var(--duration-slow) var(--ease);
}

/* ---- 10. Client Cards ---- */
.client-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease);
}

.client-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  transform: translateY(-4px);
}

.client-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: 50%;
  margin: 0 auto 16px;
  transition: all var(--duration) var(--ease);
}

.client-card:hover .client-card__icon {
  background: var(--color-primary);
  transform: scale(1.1);
}

.client-card:hover .client-card__icon svg * {
  stroke: #fff;
  transition: stroke var(--duration) var(--ease);
}

.client-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color var(--duration-slow) var(--ease);
}

/* ---- 11. Advantage Cards ---- */
.advantage-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease);
}

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

.advantage-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  border-radius: 12px;
  transition: background var(--duration) var(--ease);
}

.advantage-card:hover .advantage-card__icon { background: var(--color-primary); }
.advantage-card:hover .advantage-card__icon svg * { stroke: #fff; transition: stroke var(--duration) var(--ease); }

.advantage-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--color-text);
  transition: color var(--duration-slow) var(--ease);
}

.advantage-card__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: color var(--duration-slow) var(--ease);
}

/* ---- 12. Process Steps ---- */
.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
}

.process-step {
  flex: 1;
  max-width: 240px;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.process-step__number {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(var(--color-primary-rgb), 0.3);
}

.process-step__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
  transition: color var(--duration-slow) var(--ease);
}

.process-step__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: color var(--duration-slow) var(--ease);
}

.process-step__line {
  width: 60px;
  height: 2px;
  background: var(--color-border);
  margin-top: 28px;
  flex-shrink: 0;
  transition: background var(--duration-slow) var(--ease);
}

/* ---- 13. Video Placeholder ---- */
.video-placeholder {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 700px;
  margin: 0 auto;
  transition: all var(--duration-slow) var(--ease);
}

.video-placeholder__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ---- 14. Terms ---- */
.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.terms-content p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.7;
  transition: color var(--duration-slow) var(--ease);
}

.terms-facts { display: flex; flex-direction: column; gap: 20px; }

.terms-fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease);
}

.terms-fact:hover { border-color: var(--color-accent); transform: translateX(4px); }

.terms-fact__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: 10px;
  transition: background var(--duration-slow) var(--ease);
}

.terms-fact strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--color-text);
  transition: color var(--duration-slow) var(--ease);
}

.terms-fact span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  transition: color var(--duration-slow) var(--ease);
}

.terms-cta { text-align: center; margin-top: 40px; }

/* ---- 15. Catalog ---- */
.catalog-slider-wrapper {
  position: relative;
  margin: 0 -24px;
  padding: 0 24px;
}

.catalog-slider {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0 24px;
  cursor: grab;
}

.catalog-slider:active { cursor: grabbing; }
.catalog-slider::-webkit-scrollbar { display: none; }

.catalog-card {
  flex: 0 0 280px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

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

.catalog-card__image-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-alt), var(--color-primary-light));
  position: relative;
}

/* Replace with AI-generated animation later */
.catalog-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease);
}

.catalog-card:hover .catalog-card__image-wrap img { transform: scale(1.05); }

.catalog-card__title {
  padding: 16px 20px 8px;
  font-size: 0.95rem;
  font-weight: 700;
  flex: 1;
  color: var(--color-text);
  transition: color var(--duration-slow) var(--ease);
}

.catalog-card__note {
  padding: 0 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  transition: color var(--duration-slow) var(--ease);
}

.catalog-card__cta {
  margin: 8px 20px 20px;
  font-size: 0.85rem;
  padding: 10px 20px;
}

/* Slider arrow buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 12px));
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 1;
}

.slider-arrow:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(46, 111, 78, 0.25);
  transform: translateY(calc(-50% - 12px)) scale(1.08);
}

.slider-arrow:active {
  transform: translateY(calc(-50% - 12px)) scale(0.95);
}

.slider-arrow--left {
  left: 4px;
}

.slider-arrow--right {
  right: 4px;
}

.slider-arrow.is-hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  .slider-arrow--left { left: -2px; }
  .slider-arrow--right { right: -2px; }
}

/* Slider nav dots */
.slider-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-primary);
}

/* ---- 16. Trust Block ---- */
.trust-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}

.trust-block__heading {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-primary);
  transition: color var(--duration-slow) var(--ease);
}

.trust-block__list { display: flex; flex-direction: column; gap: 12px; }

.trust-block__row {
  display: flex;
  gap: 12px;
  padding: 10px 16px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  transition: background var(--duration-slow) var(--ease);
}

.trust-block__row dt {
  font-weight: 600;
  min-width: 140px;
  color: var(--color-text-muted);
  transition: color var(--duration-slow) var(--ease);
}

.trust-block__row dd {
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--duration-slow) var(--ease);
}

.trust-block__address {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  transition: color var(--duration-slow) var(--ease);
}

/* ---- 17. About ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.about-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
  line-height: 1.6;
  transition: color var(--duration-slow) var(--ease);
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 14px;
  line-height: 1.7;
  transition: color var(--duration-slow) var(--ease);
}

.about-media .video-placeholder { max-width: 100%; }

/* ---- 18. Contacts ---- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contacts-info { display: flex; flex-direction: column; gap: 20px; }

.contacts-item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contacts-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: color var(--duration-slow) var(--ease);
}

.contacts-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 2px;
  transition: color var(--duration-slow) var(--ease);
}

.contacts-item a {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.contacts-item a:hover { color: var(--color-accent); }

.contacts-item span {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
  transition: color var(--duration-slow) var(--ease);
}

.contacts-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: border-color var(--duration-slow) var(--ease);
}

.contacts-map iframe { display: block; }

/* ---- 19. Form ---- */
.form { max-width: 700px; margin: 0 auto; }

.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.form__group { min-width: 0; }
.form__group--full { grid-column: 1 / -1; }

.form__input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
  transition: all var(--duration) var(--ease);
  backdrop-filter: blur(8px);
}

.form__input::placeholder { color: rgba(255, 255, 255, 0.45); }

.form__input:focus {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}

.form__input.is-invalid { border-color: #E85D5D; }
.form__textarea { resize: vertical; min-height: 100px; }

.form__error {
  display: none;
  font-size: 0.8rem;
  color: #FFB3B3;
  margin-top: 6px;
}

.form__group.has-error .form__error { display: block; }

/* File upload */
.form__file { position: relative; }
.form__file-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}
.form__file-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1.5px dashed rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  font-size: 0.95rem;
}
.form__file-label:hover,
.form__file-input:focus-visible + .form__file-label {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
}
.form__file-label svg { flex-shrink: 0; color: var(--color-accent); }
.form__file-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.form__file.has-file .form__file-label {
  border-style: solid;
  border-color: var(--color-accent);
  background: rgba(201, 130, 62, 0.12);
}
.form__file-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  padding-left: 4px;
}

.form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  cursor: pointer;
}

.form__consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-accent);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form__consent a { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }
.form__consent a:hover { color: #fff; }

.form__submit { min-width: 240px; }

.form--success { text-align: center; padding: 40px 20px; }
.form--success::before {
  content: '\2713';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  margin: 0 auto 16px;
}

/* ---- 20. Footer ---- */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 56px 0 0;
  transition: background var(--duration-slow) var(--ease);
}

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

.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: 12px;
  filter: brightness(1.5) saturate(0.8);
}

.footer__tagline { font-size: 0.875rem; line-height: 1.6; opacity: 0.8; }

.footer__heading {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__links li,
.footer__contacts li { margin-bottom: 10px; }

.footer__links a,
.footer__contacts a {
  font-size: 0.9rem;
  color: var(--color-footer-text);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover,
.footer__contacts a:hover { color: #fff; }

.footer__requisites li { font-size: 0.85rem; opacity: 0.7; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  opacity: 0.6;
}

.footer__bottom a:hover { color: #fff; opacity: 1; }

/* ---- 21. Floating Buttons ---- */
.whatsapp-float,
.back-to-top {
  position: fixed;
  z-index: 999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
  transition: all var(--duration) var(--ease);
}

.whatsapp-float.is-visible,
.back-to-top.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.whatsapp-float {
  bottom: 28px;
  right: 28px;
  background: #25D366;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5); }

.back-to-top {
  bottom: 28px;
  right: 92px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  box-shadow: var(--shadow-md);
  transition: all var(--duration) var(--ease), background var(--duration-slow) var(--ease);
}

.back-to-top:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); transform: scale(1.1) translateY(-2px); }

/* ---- 22. Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
  will-change: opacity, transform;
}

.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
  will-change: opacity, transform;
}

@media (max-width: 768px) {
  .reveal-left { transform: translateX(-16px); }
  .reveal-right { transform: translateX(16px); }
}

.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-spring);
}

.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Stagger for grid children */
.grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.grid .reveal:nth-child(6) { transition-delay: 0.4s; }

/* ---- 23. Nav Overlay ---- */
.nav-overlay { display: none; }

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
  .header__nav {
    position: fixed;
    top: 0;
    right: calc(-1 * min(300px, 85vw) - 20px);
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--color-surface);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    padding: 80px 32px 32px;
    visibility: hidden;
    transition: right var(--duration) var(--ease), visibility 0s var(--duration), background var(--duration-slow) var(--ease);
    z-index: 1000;
  }

  .header__nav.is-open {
    right: 0;
    visibility: visible;
    transition: right var(--duration) var(--ease), visibility 0s 0s, background var(--duration-slow) var(--ease);
  }
  .header__menu { flex-direction: column; gap: 24px; }
  .header__link { font-size: 1.1rem; }
  .header__burger { display: flex; }
  .header__phone-btn span { display: none; }
  .header__cta { display: none; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration) var(--ease);
  }

  .nav-overlay.is-active { opacity: 1; pointer-events: auto; }

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

  .terms-grid,
  .trust-grid,
  .about-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-steps { flex-wrap: wrap; gap: 24px; }
  .process-step__line { display: none; }
  .process-step { flex: 0 0 calc(50% - 12px); max-width: none; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .hero__stats { gap: 24px; flex-wrap: wrap; }

  .catalog-card { flex: 0 0 260px; }
}

@media (max-width: 575px) {
  .container { padding: 0 16px; }
  .header__inner { height: 64px; }
  .hero { min-height: 90vh; }
  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .hero__stats { flex-direction: column; gap: 16px; }

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

  .process-steps { flex-direction: column; align-items: center; }
  .process-step { flex: none; width: 100%; max-width: 300px; }

  .form__grid { grid-template-columns: 1fr; }
  .form__file-label { padding: 14px 16px; font-size: 0.88rem; gap: 10px; }
  .form__file-hint { font-size: 0.72rem; line-height: 1.35; white-space: normal; }
  #form .container { padding-left: 16px; padding-right: 16px; }
  .form { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .trust-block__row { flex-direction: column; gap: 4px; }
  .trust-block__row dt { min-width: auto; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 48px; height: 48px; }
  .back-to-top { bottom: 20px; right: 80px; width: 48px; height: 48px; }

  /* ---- Catalog cards: editorial mobile redesign (taste-skill) ---- */
  .catalog-slider {
    gap: 14px;
    padding: 4px 0 20px;
    scroll-padding-inline: 16px;
  }

  .catalog-card {
    flex: 0 0 78vw;
    max-width: 300px;
    background: #fbfaf7;
    border-radius: 20px;
    border: 1px solid rgba(46, 111, 78, 0.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.6),
      0 12px 28px -18px rgba(46, 111, 78, 0.25);
    padding: 10px 10px 16px;
    scroll-snap-align: center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .catalog-card:active { transform: scale(0.985); }

  .catalog-card__image-wrap {
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #f2f0ea, #e8efe9);
  }

  .catalog-card__title {
    position: relative;
    padding: 0 8px 10px;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.25;
    flex: 0 0 auto;
  }

  .catalog-card__title::before {
    content: counter(catalog-num, decimal-leading-zero);
    display: block;
    font-family: 'SF Mono', 'JetBrains Mono', Menlo, monospace;
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: rgba(46, 111, 78, 0.55);
    margin-bottom: 6px;
    text-transform: uppercase;
  }

  .catalog-slider { counter-reset: catalog-num; }
  .catalog-card { counter-increment: catalog-num; }

  .catalog-card__note {
    padding: 0 8px 8px;
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .catalog-card__cta {
    margin: 0 8px;
    padding: 11px 18px;
    font-size: 0.82rem;
    border-radius: 999px;
    align-self: flex-start;
  }

  .catalog-slider-wrapper {
    margin: 0 -16px;
    padding: 0 16px;
  }

  .slider-arrow { display: none; }

  .terms-facts { gap: 12px; }
  .terms-fact { padding: 16px; gap: 12px; }
  .terms-cta .btn { width: 100%; justify-content: center; }
}

/* ---- 320–375px: smallest phones ---- */
@media (max-width: 389px) {
  .container { padding: 0 12px; }

  .catalog-slider-wrapper {
    margin: 0 -12px;
    padding: 0 12px;
  }

  .catalog-card { flex: 0 0 82vw; max-width: 280px; }

  .section__title { font-size: 1.5rem; }
  .section__subtitle { font-size: 0.85rem; }

  .hero h1 { font-size: 1.65rem; }

  .terms-fact { padding: 14px; }
  .terms-cta .btn { font-size: 0.85rem; padding: 14px 20px; }
}

@media (min-width: 1201px) {
  .container { padding: 0 32px; }
}
