/* ============================================================
   Метал Планет — Дизайн-система (минимализм)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700&display=swap');

/* --- Переменные ------------------------------------------- */
:root {
  --primary: #5a77ad;
  --primary-d: #2c417b;
  --gold: #c8d8ee;
  --accent: #7a94c4;
  --dark: #1a2333;
  --cream: #f3f7fb;
  --cream2: #e8eff7;
  --muted: #5c6b80;
  --text: #2a3544;
  --border: rgba(44, 65, 123, 0.1);
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.07);
  --shadow: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
  --transition: 0.22s ease;
  --max-w: 1200px;
  --product-photo-ratio: 1 / 1;
  --product-photo-bg: #fff;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
button { cursor: pointer; font-family: inherit; }

/* --- Layout ----------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* --- Header ----------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  padding: 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.header--solid,
.header.header--scrolled {
  background: var(--primary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  height: 64px;
}
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}
.logo:hover { color: #fff; }
.logo-mark {
  display: block;
  height: 59px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-icon {
  width: 33px;
  height: 59px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  display: block;
  margin: 0 -4px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0.08em;
}
.logo-top,
.logo-bottom {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(0.9rem, 1.7vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.header--solid .logo,
.header--scrolled .logo { color: #fff; }
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem 0.75rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  overflow: hidden;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }
.header--solid .nav-link,
.header--scrolled .nav-link { color: rgba(255,255,255,0.85); }
.header--solid .nav-link:hover,
.header--scrolled .nav-link:hover,
.header--solid .nav-link.active,
.header--scrolled .nav-link.active { color: #fff; border-bottom-color: rgba(255,255,255,0.6); }
.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  font-size: 1.25rem;
  line-height: 1;
  transition: background var(--transition);
}
.header--solid .nav-toggle,
.header--scrolled .nav-toggle { background: rgba(255,255,255,0.15); color: #fff; }
@media (max-width: 1100px) {
  .nav-toggle { display: flex; align-items: center; }
  /* Push toggle to the right end; lang-switcher sits right after it */
  .header-inner { justify-content: flex-start; }
  .nav-toggle   { margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 200;
  }
  .nav.is-open { display: flex; }
  .nav-link {
    color: var(--muted);
    padding: 0.75rem clamp(1rem,4vw,2rem);
    border-bottom: 1px solid var(--border);
    border-right: none;
    font-size: 1rem;
  }
  .nav-link:last-child { border-bottom: none; }
  .nav-link:hover, .nav-link.active { color: var(--primary); background: var(--cream); border-bottom-color: var(--border); }
  /* Исправление: на мобилке все ссылки тёмные, независимо от состояния хедера */
  .header--solid .nav-link,
  .header--scrolled .nav-link,
  .nav-link { color: var(--dark) !important; }
  .header--solid .nav-link:hover,
  .header--scrolled .nav-link:hover,
  .nav-link:hover,
  .header--solid .nav-link.active,
  .header--scrolled .nav-link.active,
  .nav-link.active { color: var(--primary) !important; background: var(--cream); border-bottom-color: var(--border); }
}

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, var(--primary-d) 0%, #435c94 50%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding-top: 64px; /* header height */
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(167,184,218,0.24), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
/* Home hero — full screen */
.hero--full {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}
/* Page hero — compact (фон как на главной: металлическая текстура) */
.hero--page {
  position: relative;
  overflow: hidden;
  padding-top: calc(64px + clamp(2.5rem,7vw,5rem));
  padding-bottom: clamp(2.5rem,7vw,5rem);
  background-color: var(--primary-d, #2c417b);
  background-image:
    linear-gradient(145deg, rgba(44, 65, 123, 0.5) 0%, rgba(36, 52, 100, 0.48) 42%, rgba(90, 119, 173, 0.45) 100%),
    url('../uploads/page-hero-bg.png?v=22');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.hero--page::before {
  background:
    radial-gradient(ellipse 95% 75% at 50% 45%, transparent 30%, rgba(15, 23, 42, 0.2) 100%),
    radial-gradient(ellipse 80% 58% at 50% 0%, rgba(167, 184, 218, 0.1), transparent 58%);
}
.hero--page h1 {
  text-shadow: 0 2px 28px rgba(15, 23, 42, 0.5), 0 1px 3px rgba(15, 23, 42, 0.4);
}
.hero--page .hero-sub {
  opacity: 0.92;
  text-shadow: 0 2px 20px rgba(15, 23, 42, 0.45);
}
.hero--page .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2rem,6vw,3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.hero--full h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
.hero-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  opacity: 0.92;
  max-width: 38rem;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
}
.hero-sub {
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  opacity: 0.78;
  max-width: 32rem;
  margin: 0.5rem auto 0;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* --- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.72rem 1.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--primary); color: #fff !important; }
.btn--primary:hover { background: var(--primary-d); color: #fff !important; }
.btn--white { background: #fff; color: var(--primary) !important; box-shadow: 0 2px 16px rgba(0,0,0,0.12); }
.btn--white:hover { background: var(--gold); color: var(--dark) !important; }
.btn--outline-white { background: transparent; border-color: rgba(255,255,255,0.85); color: #fff !important; }
.btn--outline-white:hover { background: rgba(255,255,255,0.12); }
.btn--outline { background: transparent; border-color: var(--primary); color: var(--primary) !important; }
.btn--outline:hover { background: var(--primary); color: #fff !important; }

/* --- Sections -------------------------------------------- */
.section { padding: clamp(4rem, 8vw, 6rem) 0; }
.section--tinted {
  background: linear-gradient(180deg, #f5f9fc 0%, #eef3fa 100%);
}
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.section-sub {
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
  color: var(--muted);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.divider {
  width: 3rem;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 1rem auto 0;
}

/* --- Typography / prose ---------------------------------- */
.prose {
  max-width: 66ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.prose p { margin-bottom: 1.1rem; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.3rem; color: var(--dark); margin: 2rem 0 0.65rem; font-weight: 700; }
.prose h3 { font-size: 1.1rem; color: var(--dark); margin: 1.5rem 0 0.5rem; font-weight: 700; }

/* --- Cards ----------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(90, 119, 173,0.18);
}
.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(90, 119, 173,0.1), rgba(122, 148, 196,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.card p { font-size: 0.96rem; color: var(--muted); line-height: 1.6; }

/* --- Product card ---------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(90, 119, 173,0.2);
}
/* Единый формат фото: квадрат 1:1, заполнение без «полей» */
.product-photo {
  position: relative;
  width: 100%;
  aspect-ratio: var(--product-photo-ratio);
  overflow: hidden;
  background: var(--product-photo-bg);
  flex-shrink: 0;
}
.product-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-photo.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream2);
  color: var(--muted);
  font-size: 0.88rem;
}
.product-card .product-photo {
  border-bottom: 1px solid var(--border);
}
.product-card-body { padding: 1.25rem 1.35rem 1.5rem; }
.product-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; }
.product-card .cat { font-size: 0.82rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.35rem; }

/* --- Stat grid ------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.25rem;
  text-align: center;
}
.stat-card {
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-num { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; color: var(--primary); line-height: 1; display: block; }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; line-height: 1.35; }

/* --- CTA strip — фон фон.png + фирменный градиент + лёгкая «металлическая» анимация */
@keyframes cta-strip-shine {
  0% { background-position: -40% 50%; }
  100% { background-position: 140% 50%; }
}
@keyframes cta-strip-metal-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}
.cta-strip {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
  background-color: var(--primary-d, #2c417b);
  background-image:
    radial-gradient(ellipse 78% 62% at 50% 0%, rgba(167, 184, 218, 0.26), transparent 52%),
    linear-gradient(145deg, rgba(44, 65, 123, 0.58) 0%, rgba(36, 52, 100, 0.54) 42%, rgba(90, 119, 173, 0.5) 100%),
    url('../uploads/cta-strip-bg.png');
  background-size: auto, auto, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  border-top: 1px solid rgba(167, 184, 218, 0.35);
  border-bottom: 1px solid rgba(32, 48, 92, 0.95);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: -25% -18%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    transparent 28%,
    rgba(200, 216, 238, 0.14) 38%,
    rgba(255, 255, 255, 0.26) 50%,
    rgba(200, 216, 238, 0.14) 62%,
    transparent 72%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: -35% 50%;
  animation: cta-strip-shine 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
.cta-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 58% 48% at 50% 10%, rgba(167, 184, 218, 0.32), transparent 55%);
  box-shadow: inset 0 0 100px rgba(15, 23, 42, 0.28);
  animation: cta-strip-metal-pulse 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@media (prefers-reduced-motion: reduce) {
  .cta-strip::before,
  .cta-strip::after {
    animation: none;
  }
  .cta-strip::before {
    opacity: 0.55;
    background-position: 35% 50%;
  }
  .cta-strip::after { opacity: 0.92; }
}
.cta-strip .container { position: relative; z-index: 1; }
.cta-strip .section-title { color: #fff; }
.cta-strip .section-sub { color: rgba(255,255,255,0.84); max-width: 38rem; }

/* --- Two-col info ---------------------------------------- */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.6rem; }
.info-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.ul-clean { list-style: none; padding: 0; margin: 0; }
.ul-clean li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--muted); }
.ul-clean li:last-child { border-bottom: none; }
.ul-dot { padding-left: 1.25rem; margin: 0; color: var(--muted); line-height: 1.7; font-size: 0.96rem; }
.ul-dot li { margin-bottom: 0.35rem; }

/* --- FAQ ------------------------------------------------- */
.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { padding: 1.75rem 0; border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.6rem; }
.faq-item p { color: var(--muted); font-size: 0.97rem; line-height: 1.65; }

/* --- Steps ----------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.step { text-align: center; padding: 2rem 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step-num {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step strong { font-size: 1rem; color: var(--dark); display: block; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--muted); }

/* --- Quote / letter -------------------------------------- */
.quote-block {
  background: var(--cream);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.75rem 2rem;
  font-style: italic;
  color: var(--dark);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 2rem 0;
}
.quote-block cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; font-size: 0.9rem; color: var(--primary); }
.letter-block {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid var(--border);
}
.letter-block h2 { font-size: 1.2rem; color: var(--primary); margin-bottom: 1rem; font-weight: 700; }

/* --- Mission card ---------------------------------------- */
.mission-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.mission-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mission-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--primary); margin: 0; }
.mission-card p { font-size: 0.97rem; color: var(--muted); line-height: 1.65; margin: 0; }
.mission-card__icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(90, 119, 173,0.1), rgba(122, 148, 196,0.14));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* --- Geo ------------------------------------------------- */
.geo-tags { display: flex; flex-wrap: wrap; gap: 0.5rem 0.6rem; justify-content: center; }
.geo-tag {
  background: #fff;
  border: 1px solid rgba(90, 119, 173,0.18);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.geo-tag:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.geo-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); text-align: center; margin-bottom: 0.75rem; }
.geo-section { margin-bottom: 1.5rem; }
.geo-map-wrap { display: block; max-width: min(100%, 760px); margin: 2rem auto; background: var(--cream); line-height: 0; }
.geo-map-wrap img { width: 100%; height: auto; background: var(--cream); }
.geo-logistics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }

/* --- Contact card ---------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}
.contact-card h3 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.6rem; }
.contact-card p, .contact-card a { font-size: 1rem; color: var(--dark); font-weight: 600; }
.contact-card a:hover { color: var(--primary); }
.contact-wide { grid-column: 1 / -1; }

/* --- Card icon (SVG inline in headings) ------------------ */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--cream);
  border-radius: 8px;
  vertical-align: middle;
  margin-right: 0.55rem;
  flex-shrink: 0;
}
.card-icon svg {
  width: 20px; height: 20px;
  stroke: var(--primary);
  stroke-width: 1.75;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Footer ---------------------------------------------- */
.footer {
  background: linear-gradient(180deg, #f7fafd 0%, #eef4fb 100%);
  color: var(--muted);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  font-size: 0.95rem;
  border-top: 1px solid rgba(44, 65, 123, 0.12);
}
.footer a { color: var(--primary); }
.footer a:hover { color: var(--accent); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-grid strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.65rem; }
.footer-grid p { line-height: 1.9; color: var(--muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { opacity: 0.5; font-size: 0.85rem; color: var(--muted); }

/* --- Adv card -------------------------------------------- */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.adv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-left: 3px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.adv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.adv-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.adv-card p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }

/* --- Filters --------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* --- Product detail -------------------------------------- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 760px) { .product-detail-grid { grid-template-columns: 1fr; } }
.product-detail__img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  max-width: 100%;
}
@media (min-width: 761px) {
  .product-detail__img.product-photo {
    min-width: min(100%, 480px);
    max-width: 560px;
  }
}
.product-detail__meta { display: flex; flex-direction: column; gap: 1rem; }
.product-detail__cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); }
.product-detail__name { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; color: var(--dark); line-height: 1.2; }
.product-detail__desc { color: var(--muted); line-height: 1.7; font-size: 0.98rem; }
.product-detail__props { display: flex; flex-direction: column; gap: 0.5rem; }
.product-detail__prop { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
.product-detail__prop span:first-child { color: var(--muted); }
.product-detail__prop span:last-child { font-weight: 600; color: var(--dark); }

/* --- Certs ----------------------------------------------- */
.cert-note { background: var(--cream); border-radius: var(--radius-lg); padding: 2rem; text-align: center; color: var(--muted); margin-top: 1.5rem; }

/* --- Scroll reveal (progressive enhancement) ------------ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.18s; }
  .reveal-delay-3 { transition-delay: 0.26s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* --- Animations: hero fade-in ---------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @keyframes hFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  .h-animate { animation: hFadeUp 0.8s cubic-bezier(0.22,1,0.36,1) both; }
  .h-animate:nth-child(1) { animation-delay: 0.05s; }
  .h-animate:nth-child(2) { animation-delay: 0.12s; }
  .h-animate:nth-child(3) { animation-delay: 0.19s; }
  .h-animate:nth-child(4) { animation-delay: 0.27s; }
}
