/* ═══════════════════════════════════════════════════════════
   MILLAND BASE — Premium Design System
   Inspired by Straumann, Nobel Biocare, Medentika, Anthogyr
   ═══════════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  /* Colors */
  --ink:        #0C1118;
  --ink-soft:   #1E2830;
  --ink-muted:  #4A5568;
  --paper:      #FAFAF8;
  --paper-warm: #F4F2EE;
  --paper-cool: #EEF1F5;
  --white:      #FFFFFF;

  /* Blue-turquoise accent — matching millandlab.ru */
  --gold:       #08A0F8;
  --gold-light: #00D4F8;
  --gold-pale:  rgba(8, 160, 248, 0.12);
  --gold-glow:  rgba(8, 160, 248, 0.22);
  --accent-gradient: linear-gradient(135deg, #0869D4 0%, #08A0F8 50%, #00D4F8 100%);

  /* Dark hero palette */
  --hero-bg:    #09101A;
  --hero-mid:   #111B2B;
  --hero-text:  #F0F4F9;

  /* Borders & shadows */
  --line:       rgba(12, 17, 24, 0.10);
  --line-strong:rgba(12, 17, 24, 0.18);
  --shadow-sm:  0 2px 8px rgba(12, 17, 24, 0.08);
  --shadow-md:  0 8px 28px rgba(12, 17, 24, 0.12);
  --shadow-lg:  0 20px 60px rgba(12, 17, 24, 0.16);
  --shadow-xl:  0 32px 80px rgba(12, 17, 24, 0.20);
  --shadow-gold:0 12px 40px rgba(8, 160, 248, 0.28);

  /* Motion */
  --dur-1: 160ms;
  --dur-2: 240ms;
  --dur-3: 420ms;
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);
  --ease-emphasis: cubic-bezier(0.22, 1, 0.36, 1);
  --focus-ring: 0 0 0 3px var(--gold-pale);

  /* Radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  /* Spacing */
  --section-gap: clamp(80px, 10vw, 140px);
  --container:   1280px;
  --gutter:      24px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--hero-text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible,
.filter-chip:focus-visible,
.card-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ── WATERMARK M ─────────────────────────────────────────── */
.watermark-m {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.watermark-m::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/watermark-light.png') center / cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: screen;
}

/* На светлых страницах (product-body) — тёмный вариант с multiply */
.product-body .watermark-m::after {
  background-image: url('assets/watermark-dark.png');
  opacity: 0.20;
  mix-blend-mode: multiply;
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding-top: var(--section-gap);
  padding-bottom: 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.overline {
  display: block;
  margin-bottom: 20px;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.overline-dark {
  display: block;
  margin-bottom: 20px;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.overline-light {
  display: block;
  margin-bottom: 20px;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(8, 160, 248, 0.85);
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.section-desc {
  margin-top: 20px;
  max-width: 560px;
  font-size: 1.02rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

.section-header {
  max-width: 700px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-header.centered {
  text-align: center;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-2xl);
  border: 1.5px solid transparent;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-2) var(--ease-standard);
  white-space: nowrap;
}

.btn-gold {
  background: var(--accent-gradient);
  border-color: #08A0F8;
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #0558B8 0%, #0690E0 50%, #00BEE0 100%);
  border-color: #08A0F8;
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(8, 160, 248, 0.38);
}

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 200ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold-sm:hover {
  background: var(--accent-gradient);
  border-color: #08A0F8;
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.28);
  color: rgba(240, 244, 249, 0.9);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: #fff;
}

/* ── HEADER ──────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px var(--gutter) 0;
}

.header-glass {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(9, 16, 26, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 36px rgba(5, 15, 35, 0.22);
  transition: background var(--dur-3) var(--ease-standard), box-shadow var(--dur-3) var(--ease-standard), border-color var(--dur-3) var(--ease-standard), margin var(--dur-2) var(--ease-standard);
}

.header.is-scrolled .header-glass {
  background: rgba(9, 16, 26, 0.82);
  box-shadow: 0 18px 60px rgba(5, 15, 35, 0.30);
  border-color: rgba(255, 255, 255, 0.14);
}

/* Top shine line */
.header-glass::before {
  content: "";
  position: absolute;
  inset-x: 0;
  top: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

/* Subtle radial accent */
.header-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(8, 160, 248, 0.10), transparent 40%);
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 72px;
  padding: 0 28px;
}

/* ── LOGO ────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}

.logo-text strong {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
}

.logo-text span {
  font-size: 0.60rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.44);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64);
  transition: color 160ms ease;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gradient);
  transition: width 200ms ease;
}

.nav a:hover {
  color: rgba(255, 255, 255, 0.95);
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r-2xl);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 180ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta:hover {
  background: linear-gradient(135deg, #0558B8 0%, #0690E0 50%, #00BEE0 100%);
  box-shadow: var(--shadow-gold);
}

/* ── MOBILE NAV TOGGLE ───────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.75);
  transition: all 250ms ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 16px var(--gutter) 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 16, 26, 0.98);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 0;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 160ms ease;
}

.mobile-nav a:hover {
  color: #fff;
}

.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
  padding: 120px var(--gutter) 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(8,160,248,0.5) 0%, transparent 70%);
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  bottom: -80px;
  left: -60px;
  background: radial-gradient(circle, rgba(30,70,140,0.5) 0%, transparent 70%);
}

.hero-watermark {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 900px;
  opacity: 0.07;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  mix-blend-mode: screen;
  filter: blur(0.5px);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 620px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 6vw, 6.5rem);
  font-weight: 600;
  line-height: 1.00;
  letter-spacing: -0.01em;
  color: var(--hero-text);
  margin: 0 0 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-body {
  font-size: 1.06rem;
  line-height: 1.78;
  color: rgba(240, 244, 249, 0.68);
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-body-highlight {
  color: var(--gold-light);
}
.hero-note {
  margin-top: 16px;
  font-size: 0.80rem;
  color: rgba(240, 244, 249, 0.45);
  letter-spacing: 0.03em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── HERO STATS ──────────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  will-change: transform;
}

.hero-stat-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 200ms ease, background 200ms ease;
}

.hero-stat-card:hover {
  border-color: rgba(8, 160, 248, 0.3);
  background: rgba(8, 160, 248, 0.06);
}

.hero-stat-card strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-card span {
  font-size: 0.82rem;
  color: rgba(240, 244, 249, 0.55);
  line-height: 1.5;
}

/* ── SCROLL INDICATOR ────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-bounce 2s ease infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.3; }
}

/* ── TRUST STRIP ─────────────────────────────────────────── */
.trust-strip {
  background: var(--hero-mid);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding-top: 20px;
  padding-bottom: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  padding: 12px 24px;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(240, 244, 249, 0.7);
  letter-spacing: 0.04em;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-sep {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── SOLUTIONS ───────────────────────────────────────────── */
.solutions-section {
  background: var(--paper-warm);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 260ms ease;
  cursor: default;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0));
  opacity: 0.45;
  pointer-events: none;
}

.solution-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(8, 160, 248, 0.2);
  transform: translateY(-4px);
}

.solution-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--gold-pale);
  margin-bottom: 20px;
}

.solution-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}

.solution-card h3 {
  font-size: 1.16rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
  line-height: 1.3;
}

.solution-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.solution-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.solution-meta span {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.solution-meta strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold);
}

/* ── CATALOG ─────────────────────────────────────────────── */
.catalog-section {
  background: var(--paper-cool);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  height: 40px;
  padding: 0 18px;
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--line-strong);
  background: var(--white);
  color: var(--ink-muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--dur-1) var(--ease-standard);
}

.filter-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--ink-muted);
  pointer-events: none;
}

.search-wrap input {
  height: 44px;
  width: 280px;
  padding: 0 16px 0 42px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-2xl);
  background: var(--white);
  color: var(--ink);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
}

/* ── CATALOG GRID ────────────────────────────────────────── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.catalog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 260ms ease;
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 45%);
  opacity: 0.65;
  pointer-events: none;
}

.catalog-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(8, 160, 248, 0.25);
  transform: translateY(-4px);
}

.catalog-card-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line);
}

.catalog-card-brand {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.catalog-card-count {
  font-size: 0.70rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.catalog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px;
  gap: 14px;
}

.catalog-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.catalog-card p {
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.catalog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paper-cool);
  border: 1px solid var(--line);
  font-size: 0.70rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.price-pill {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--gold-pale);
  border: 1px solid rgba(8, 160, 248, 0.2);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold);
}

.catalog-card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
}

.card-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--dur-1) var(--ease-standard);
  color: var(--ink-soft);
}

.card-btn:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.card-btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.card-btn-primary:hover {
  background: var(--accent-gradient);
  border-color: #08A0F8;
}

.btn:active,
.card-btn:active,
.filter-chip:active {
  transform: translateY(1px);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--ink-muted);
  font-size: 1rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--white);
}

/* ── ADVANTAGES ──────────────────────────────────────────── */
.advantages-section {
  background: var(--paper-warm);
}

.advantages-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.advantages-left .section-title {
  margin-top: 0;
}

.adv-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.adv-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.adv-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--gold-pale);
  border: 1px solid rgba(8, 160, 248, 0.2);
  flex-shrink: 0;
}

.adv-icon svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

.adv-list strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.adv-list p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

/* ── ADVANTAGES STATS ────────────────────────────────────── */
.advantages-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 8px;
}

.stat-block {
  padding: 32px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 240ms ease;
}

.stat-block:hover {
  border-color: rgba(8, 160, 248, 0.2);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.4rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ── WORKFLOW ─────────────────────────────────────────────── */
.workflow-section {
  background: var(--ink);
}

.workflow-section .overline-dark {
  color: rgba(8, 160, 248, 0.85);
}

.workflow-section .section-title {
  color: #fff;
}

.workflow-steps {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 56px;
  padding-bottom: var(--section-gap);
}

.workflow-step {
  flex: 1;
  padding: 36px 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.04);
}

.step-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
}

.workflow-step h3 {
  font-size: 1.16rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.workflow-step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.54);
  line-height: 1.75;
}

.workflow-arrow {
  flex-shrink: 0;
  width: 48px;
  color: rgba(8, 160, 248, 0.5);
}

.workflow-arrow svg {
  width: 100%;
  height: auto;
}

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section {
  background: var(--ink);
  padding-bottom: var(--section-gap);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 600;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.78;
  margin-bottom: 36px;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.contact-perks li svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── REQUEST FORM (inline in contact) ───────────────────── */
.contact-form-box {
  background: var(--white);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.contact-form-box .request-panel-grid {
  display: block;
  padding: 32px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.contact-form-box .request-panel-copy {
  display: none;
}

.contact-form-box .request-panel-form {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

/* ── REQUEST FORM ─────────────────────────────────────────── */
.request-panel-grid {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.request-panel-copy .overline-dark {
  margin-bottom: 16px;
}

.request-panel-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.06;
  color: var(--ink);
  margin-bottom: 14px;
}

.request-panel-copy p {
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.request-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
}

.request-benefits li {
  font-size: 0.86rem;
  color: var(--ink-muted);
  list-style: disc;
  line-height: 1.6;
}

.request-panel-form {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper-cool);
  color: var(--ink);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-pale);
  background: #fff;
}

.field textarea {
  min-height: 120px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.checkbox-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper-cool);
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--ink-soft);
  transition: all 160ms ease;
}

.checkbox-card:hover {
  border-color: var(--gold);
}

.checkbox-card input[type="checkbox"]:checked + span {
  color: var(--gold);
  font-weight: 600;
}

.checkbox-card input {
  width: 15px;
  height: 15px;
  accent-color: var(--gold);
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.request-hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.request-result {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.request-result-head strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.request-output {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--paper-cool);
  font-size: 0.86rem;
  resize: vertical;
  outline: none;
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #070D14;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.7;
  max-width: 300px;
}

.footer-brand .logo-text strong {
  color: #fff;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.52);
  transition: color 160ms ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.24);
}

/* ── PRODUCT PAGES ───────────────────────────────────────── */
.product-body {
  background: var(--paper-warm);
}

.product-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px var(--gutter) 0;
}

.product-header .header-glass {
  margin: 0 auto;
}

.product-header .header-inner {
  height: 72px;
}

.product-hero {
  background: var(--ink);
  padding: 80px var(--gutter) 72px;
}

.product-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.80rem;
  color: rgba(255, 255, 255, 0.40);
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.44);
  transition: color 160ms ease;
}

.breadcrumbs a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumbs span {
  color: rgba(255, 255, 255, 0.22);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: start;
  margin-top: 32px;
}

.product-hero-copy .overline {
  margin-bottom: 16px;
}

.product-hero-copy h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  color: #fff;
  margin-bottom: 18px;
}

.product-summary {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.78;
  margin-bottom: 24px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-tags .tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}

.product-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.product-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  padding-left: 0;
}

.product-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.6;
  list-style: none;
}

.product-points li::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 7px;
  flex-shrink: 0;
}

.product-hero-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ── Hero gallery ── */
.product-hero-gallery {
  display: grid;
  gap: 6px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}

/* 1 фото */
.product-hero-gallery--1 {
  grid-template-columns: 1fr;
  grid-template-rows: 240px;
}

/* 2 фото — два равных столбца */
.product-hero-gallery--2 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px;
}

/* 3 фото — два равных сверху (мульт + титанка) + одно снизу на всю ширину (премил) */
.product-hero-gallery--3 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 160px 160px;
}
.product-hero-gallery--3 .phi--2 {
  grid-column: 1 / 3;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-left: none;
}

/* 4 фото — крупное слева (2 ряда) + три маленьких справа 1×3 */
.product-hero-gallery--4 {
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 79px 79px 79px;
}
.product-hero-gallery--4 .phi--0 {
  grid-row: 1 / 4;
}

.phi {
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.phi img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35));
}

.phi:hover img {
  transform: scale(1.08);
}

/* разделители между ячейками */
.phi + .phi {
  border-left: 1px solid rgba(255,255,255,0.06);
}
.product-hero-gallery--4 .phi--2,
.product-hero-gallery--4 .phi--3 {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-left: 1px solid rgba(255,255,255,0.06);
}

/* Если heroImages нет — запасной вариант: старый одиночный img */
.product-hero-card > img {
  width: 100%;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
}

.product-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.product-hero-meta div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
}

.product-hero-meta span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
  margin-bottom: 4px;
}

.product-hero-meta strong {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.product-main-section {
  padding: var(--section-gap) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.product-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}

.product-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.sidebar-card .overline-dark {
  margin-bottom: 16px;
}

.section-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-size: 0.82rem;
  color: var(--ink-muted);
  transition: all var(--dur-1) var(--ease-standard);
}

.section-nav a:hover {
  background: var(--paper-cool);
  color: var(--ink);
  border-color: var(--line);
}

.section-nav a.is-active {
  background: linear-gradient(135deg, rgba(8, 160, 248, 0.12), rgba(0, 212, 248, 0.08));
  color: var(--ink);
  border-color: rgba(8, 160, 248, 0.28);
  box-shadow: 0 10px 24px rgba(8, 160, 248, 0.12);
}

.section-nav a.is-active strong {
  background: rgba(8, 160, 248, 0.16);
  color: var(--gold);
}

.section-nav a strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: var(--r-sm);
  background: var(--paper-warm);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.product-sections {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.detail-category {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.detail-category-head {
  padding: 28px 28px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  background: var(--paper-warm);
}

.detail-category-image {
  float: right;
  margin: 0 0 16px 24px;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.detail-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

@media (max-width: 480px) {
  .detail-category-image {
    width: 80px;
    height: 80px;
    margin: 0 0 10px 14px;
  }
}

.detail-category-head h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 10px;
  margin-bottom: 8px;
}

.detail-category-copy {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.7;
}

.detail-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-item {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-item h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.detail-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  padding-left: 0;
}

.detail-notes li {
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  list-style: none;
}

.detail-notes li::before {
  content: "→";
  color: var(--gold);
  font-size: 0.8rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.variant-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.variant-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.variant-table th {
  padding: 11px 16px;
  background: var(--paper-cool);
  text-align: left;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
}

.variant-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: top;
  line-height: 1.5;
}

.variant-table tr:last-child td {
  border-bottom: none;
}

.variant-table tr:hover td {
  background: var(--paper-cool);
}

/* ── UTILITIES ───────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fade-up 540ms ease both;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .advantages-layout,
  .contact-layout,
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .workflow-steps {
    flex-direction: column;
    gap: 20px;
  }

  .workflow-arrow {
    transform: rotate(90deg);
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 80vh;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .advantages-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .field-grid,
  .checkbox-grid,
  .product-hero-meta {
    grid-template-columns: 1fr;
  }

  .trust-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0;
  }

  .trust-sep {
    display: none;
  }

  .trust-item {
    padding: 10px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 560px) {
  :root {
    --section-gap: 64px;
    --gutter: 16px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .advantages-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-wrap input {
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATION SYSTEM
   ═══════════════════════════════════════════════════════════ */

/* ── KEYFRAMES ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(8, 160, 248, 0.45); }
  70%  { box-shadow: 0 0 0 18px rgba(8, 160, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(8, 160, 248, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}
@keyframes countUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineGrow {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── HERO ENTRANCE (on load) ─────────────────────────────── */
.hero-content > * {
  opacity: 0;
  animation: heroEntrance 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content .overline        { animation-delay: 0.1s; }
.hero-content .hero-title      { animation-delay: 0.25s; }
.hero-content .hero-body       { animation-delay: 0.42s; }
.hero-content .hero-ctas       { animation-delay: 0.58s; }
.hero-stats                    { opacity: 0; animation: fadeIn 0.9s ease 0.7s forwards; }

/* ── ORB ANIMATION ───────────────────────────────────────── */
.hero-orb-1 { animation: orbDrift 18s ease-in-out infinite; }
.hero-orb-2 { animation: orbDrift 24s ease-in-out infinite reverse; }

/* ── SCROLL REVEAL SYSTEM ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-3) var(--ease-emphasis),
              transform var(--dur-3) var(--ease-emphasis);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-right {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity var(--dur-3) var(--ease-emphasis),
              transform var(--dur-3) var(--ease-emphasis);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-left {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity var(--dur-3) var(--ease-emphasis),
              transform var(--dur-3) var(--ease-emphasis);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--dur-3) var(--ease-emphasis),
              transform var(--dur-3) var(--ease-emphasis);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
[data-delay="1"] { transition-delay: 0.08s !important; }
[data-delay="2"] { transition-delay: 0.16s !important; }
[data-delay="3"] { transition-delay: 0.24s !important; }
[data-delay="4"] { transition-delay: 0.32s !important; }
[data-delay="5"] { transition-delay: 0.40s !important; }
[data-delay="6"] { transition-delay: 0.48s !important; }
[data-delay="7"] { transition-delay: 0.56s !important; }
[data-delay="8"] { transition-delay: 0.64s !important; }
[data-delay="9"] { transition-delay: 0.72s !important; }

/* ── STAT NUMBER ANIMATION ───────────────────────────────── */
.stat-number,
.hero-stat-card strong {
  display: inline-block;
  transition: all 0.4s ease;
}
.stat-number.counting,
.hero-stat-card strong.counting {
  animation: countUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── PULSE CTA ───────────────────────────────────────────── */
.btn-pulse {
  animation: pulse-ring 2.2s ease infinite;
}
.btn-pulse:hover {
  animation: none;
}

/* ── GRADIENT ANIMATED BUTTON ────────────────────────────── */
.btn-animated-gradient {
  background-size: 200% 200%;
  background-image: linear-gradient(135deg, #0869D4 0%, #08A0F8 40%, #00D4F8 70%, #0869D4 100%);
  animation: gradientShift 4s ease infinite;
}

/* ── SHIMMER TEXT ────────────────────────────────────────── */
.text-shimmer {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 40%, #fff 50%, var(--gold-light) 60%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}

/* ── FLOATING ELEMENT ────────────────────────────────────── */
.float-anim {
  animation: float 4s ease-in-out infinite;
}

/* ── CARD HOVER MICRO-INTERACTIONS ──────────────────────── */
.catalog-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}
.catalog-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: 0 16px 48px rgba(8, 160, 248, 0.18), 0 4px 12px rgba(12, 17, 24, 0.10);
  border-color: rgba(8, 160, 248, 0.35);
}

.solution-card {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: transform;
}
.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(8, 160, 248, 0.16), 0 4px 10px rgba(12, 17, 24, 0.08);
  border-color: rgba(8, 160, 248, 0.30);
}

/* ── HERO STAT CARD HOVER ────────────────────────────────── */
.hero-stat-card {
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: default;
}
.hero-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.12);
}

/* ── WORKFLOW STEP HOVER ─────────────────────────────────── */
.workflow-step {
  transition: transform 0.3s ease;
}
.workflow-step:hover {
  transform: translateY(-4px);
}

/* ── ADV-LIST ITEM ANIMATION ─────────────────────────────── */
.adv-list li {
  transition: transform 0.25s ease;
}
.adv-list li:hover {
  transform: translateX(4px);
}

/* ── STEP NUM PULSE ──────────────────────────────────────── */
.step-num {
  transition: transform 0.3s ease, color 0.3s ease;
}
.workflow-step:hover .step-num {
  transform: scale(1.1);
  color: var(--gold);
}

/* ── TRUST STRIP ITEM ────────────────────────────────────── */
.trust-item {
  transition: transform 0.25s ease;
}
.trust-item:hover {
  transform: translateY(-2px);
}

/* ── UNDERLINE GROW ON SECTION TITLES ────────────────────── */
.section-title::after {
  content: '';
  display: block;
  height: 2px;
  width: 0;
  background: var(--accent-gradient);
  margin-top: 10px;
  border-radius: 2px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.section-title.is-visible::after {
  width: 60px;
}

/* ── URGENCY BAND ────────────────────────────────────────── */
.urgency-band {
  background: linear-gradient(90deg, #0869D4, #08A0F8, #00D4F8, #08A0F8, #0869D4);
  background-size: 300% 100%;
  animation: gradientShift 6s ease infinite;
  color: #fff;
  text-align: center;
  padding: 10px var(--gutter);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 101;
}
.urgency-band a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── SPOTLIGHT SECTION ───────────────────────────────────── */
.spotlight-section {
  padding: var(--section-gap) 0;
  background: var(--hero-bg);
  color: var(--hero-text);
  position: relative;
  overflow: hidden;
}
.spotlight-header {
  color: var(--hero-text);
}
.spotlight-overline {
  color: var(--gold);
}
.spotlight-title {
  color: #fff;
}
.spotlight-desc {
  color: rgba(240, 244, 249, 0.65);
}
.spotlight-cta-wrap {
  text-align: center;
  margin-top: 36px;
}
.workflow-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ── LAB BANNER ──────────────────────────────────────────── */
.lab-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0;
  background: linear-gradient(135deg, #060D18 0%, #09101A 60%, #0C1B2E 100%);
}

.lab-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(8, 160, 248, 0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(0, 212, 248, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.lab-banner::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8,160,248,0.35) 40%, rgba(0,212,248,0.3) 60%, transparent);
}

.lab-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.lab-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lab-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.lab-banner-eyebrow svg {
  width: 14px; height: 14px;
  flex-shrink: 0;
}

.lab-banner-headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--hero-text);
  margin: 0;
}

.lab-banner-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #08A0F8, #00D4F8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lab-banner-sub {
  font-size: 0.93rem;
  color: rgba(240, 244, 249, 0.55);
  line-height: 1.65;
  max-width: 520px;
  margin: 0;
}

.lab-banner-sub strong {
  color: rgba(240, 244, 249, 0.82);
  font-weight: 500;
}

.lab-banner-action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn-lab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  border-radius: var(--r-2xl);
  border: 1.5px solid rgba(8, 160, 248, 0.45);
  background: rgba(8, 160, 248, 0.09);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--dur-2) var(--ease-standard);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-lab svg {
  width: 16px; height: 16px;
  transition: transform var(--dur-2) var(--ease-emphasis);
  flex-shrink: 0;
}

.btn-lab:hover {
  background: linear-gradient(135deg, rgba(8,100,212,0.6), rgba(8,160,248,0.55));
  border-color: rgba(8, 160, 248, 0.8);
  box-shadow: 0 0 32px rgba(8, 160, 248, 0.22), 0 8px 32px rgba(8, 160, 248, 0.18);
  transform: translateY(-2px);
}

.btn-lab:hover svg {
  transform: translateX(4px);
}

.btn-lab:active {
  transform: translateY(1px);
}

.btn-lab:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.lab-banner-url {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(240, 244, 249, 0.3);
}

/* lab-banner responsive */
@media (max-width: 768px) {
  .lab-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .lab-banner-eyebrow {
    justify-content: center;
  }
  .lab-banner-sub {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  .lab-banner-action {
    align-items: center;
  }
}

.contact-free-note {
  display: block;
  margin-top: 12px;
  color: var(--gold);
}

/* ── CONTACT CONTACTS ────────────────────────────────────── */
.contact-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-contacts-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(240, 244, 249, 0.75);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-2) var(--ease-standard);
}

.contact-contacts-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0.8;
  transition: opacity var(--dur-2) var(--ease-standard);
}

.contact-contacts-item:hover {
  color: #fff;
}

.contact-contacts-item:hover svg {
  opacity: 1;
}

.contact-contacts-item:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 4px;
}

.spotlight-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(8, 160, 248, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}
.spotlight-card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--hero-text);
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(155deg, rgba(255,255,255,0.12), rgba(255,255,255,0));
  opacity: 0.45;
  pointer-events: none;
}
.spotlight-card:hover {
  transform: translateY(-5px);
  background: rgba(8, 160, 248, 0.08);
  border-color: rgba(8, 160, 248, 0.3);
}
.spotlight-brand {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.spotlight-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}
.spotlight-desc {
  font-size: 0.84rem;
  color: rgba(240, 244, 249, 0.65);
  line-height: 1.6;
  flex: 1;
}
.spotlight-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: auto;
}
.spotlight-arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  margin-top: 4px;
}
.spotlight-arrow svg {
  width: 14px; height: 14px;
  transition: transform 0.2s ease;
}
.spotlight-card:hover .spotlight-arrow svg {
  transform: translateX(4px);
}

/* ── SOCIAL PROOF NUMBERS ────────────────────────────────── */
.proof-section {
  padding: 56px 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.proof-item {
  text-align: center;
  padding: 32px 20px;
  border-right: 1px solid var(--line);
}
.proof-item:last-child { border-right: none; }
.proof-num {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 8px;
}
.proof-label {
  font-size: 0.82rem;
  color: var(--ink-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

/* ── STICKY PRODUCT CTA ──────────────────────────────────── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 1px solid rgba(8, 160, 248, 0.3);
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta-bar.is-visible {
  transform: translateY(0);
}
.sticky-cta-bar-text {
  color: var(--hero-text);
  font-size: 0.9rem;
  font-weight: 500;
}
.sticky-cta-bar-text strong {
  color: var(--gold-light);
}
.sticky-cta-bar .btn-gold {
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── OVERLINE ANIMATION ──────────────────────────────────── */
.overline-dark,
.overline-light,
.overline {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proof-item:nth-child(2) { border-right: none; }
  .proof-item:nth-child(3) { border-right: 1px solid var(--line); }
  .sticky-cta-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
@media (max-width: 560px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@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;
    scroll-behavior: auto !important;
  }

  .btn-pulse,
  .btn-animated-gradient,
  .hero-orb-1,
  .hero-orb-2,
  .scroll-indicator span {
    animation: none !important;
  }
}
