/* ============ Home: hero ============ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -10%, var(--navy-100) 0%, transparent 60%),
    linear-gradient(180deg, #fbfbff 0%, var(--bg) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(36, 36, 122, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 36, 122, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 75%);
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
  padding: clamp(64px, 8vw, 104px) 0 clamp(56px, 7vw, 88px);
}
.hero__title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -.02em; }
.hero__title em { font-style: normal; color: var(--red-600); }
.hero__sub { color: var(--muted); font-size: 1.05rem; max-width: 520px; }
.hero__proof {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .92rem; color: var(--navy-900);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; box-shadow: var(--shadow-sm);
}
.hero__proof svg { color: var(--red-600); flex: none; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero__collage { position: relative; height: 480px; }
.hero__tile {
  position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #fff;
  will-change: transform;
}
.hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.hero__tile--a { width: 58%; aspect-ratio: 4/4.4; left: 4%; top: 6%; transform: rotate(-3.5deg); z-index: 2; }
.hero__tile--b { width: 44%; aspect-ratio: 4/4.2; right: 6%; top: 0; transform: rotate(3deg); }
.hero__tile--c { width: 42%; aspect-ratio: 4/3.4; right: 16%; bottom: 4%; transform: rotate(-2deg); z-index: 3; }
.hero__deco { position: absolute; pointer-events: none; }
.hero__deco--ring {
  width: 150px; height: 150px; border: 3px solid rgba(36, 36, 122, .16); border-radius: 50%;
  left: -4%; bottom: 8%;
}
.hero__deco--dots {
  width: 130px; height: 90px; right: -2%; bottom: 28%;
  background-image: radial-gradient(rgba(212, 42, 42, .35) 2.4px, transparent 2.4px);
  background-size: 16px 16px;
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__collage { height: 380px; max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 767px) {
  .hero__collage { height: 320px; }
  .hero__tile, .hero__tile img { will-change: auto; }
}

/* ============ Eyebrow variants ============ */
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 26px; height: 2px; background: var(--red-600); }

/* ============ Trust bar ============ */
.trust-bar { background: var(--navy-900); color: #fff; }
.trust-bar__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px 0; padding: 20px 0;
}
.trust-bar__item {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .88rem; font-weight: 600; letter-spacing: .02em;
  padding: 0 22px;
}
.trust-bar__item + .trust-bar__item { border-left: 1px solid rgba(255, 255, 255, .16); }
.trust-bar__item::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-600); flex: none;
}
@media (max-width: 720px) {
  .trust-bar__item { padding: 4px 14px; }
  .trust-bar__item + .trust-bar__item { border-left: 0; }
}

/* ============ Section head ============ */
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ============ Product grid ============ */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
}
.product-card {
  display: block; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(212, 42, 42, .35); }
.product-card__img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; }
.product-card__body strong { font-size: .98rem; color: var(--navy-900); }
.product-card__more {
  flex: none; font-size: .8rem; font-weight: 700; color: var(--red-600);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .3s, transform .3s var(--ease);
}
.product-card__more i { font-style: normal; }
.product-card__count {
  flex: none; font-size: .74rem; font-weight: 700; color: var(--navy-700);
  background: var(--navy-100); border-radius: 999px; padding: 3px 10px;
}
.product-card:hover .product-card__more { opacity: 1; transform: none; }
@media (max-width: 1020px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 430px) { .product-grid { grid-template-columns: 1fr; } }

/* ============ Stats band ============ */
.stats-band {
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(212, 42, 42, .22), transparent 55%),
    var(--navy-900);
  color: #fff; padding: clamp(44px, 6vw, 64px) 0;
}
.stats-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats-band__item strong {
  display: block; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800;
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.stats-band__item span:last-child { color: rgba(255, 255, 255, .72); font-size: .9rem; }
@media (max-width: 720px) { .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } }

/* ============ Why grid ============ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.why-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px 26px;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--navy-100); color: var(--navy-700); margin-bottom: 18px;
  transition: background .3s, color .3s;
}
.why-card:hover .why-card__icon { background: var(--red-600); color: #fff; }
.why-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why-card p { margin: 0; color: var(--muted); font-size: .9rem; }
@media (max-width: 1020px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ============ Steps ============ */
.steps {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  counter-reset: step;
}
.steps::before {
  content: ""; position: absolute; top: 26px; left: 6%; right: 6%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 10px, transparent 10px 18px);
}
.steps__item { position: relative; text-align: center; padding: 0 6px; }
.steps__no {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-900); color: #fff; font-weight: 800; font-size: .95rem;
  margin-bottom: 16px; box-shadow: 0 0 0 6px #fff, var(--shadow-md);
  transition: background .3s, transform .3s var(--ease);
}
.steps__item:hover .steps__no { background: var(--red-600); transform: translateY(-3px); }
.steps__item h3 { font-size: 1.02rem; margin-bottom: 6px; }
.steps__item p { margin: 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 920px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .steps::before { display: none; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ============ Factory grid ============ */
.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.factory-grid__item {
  margin: 0; aspect-ratio: 16/10; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.factory-grid__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.factory-grid__item:hover img { transform: scale(1.06); }
@media (max-width: 720px) { .factory-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ============ CTA banner ============ */
.cta-banner {
  position: relative; overflow: hidden;
  padding: clamp(72px, 10vw, 120px) 0; color: #fff; text-align: center;
}
.cta-banner__bg {
  position: absolute; inset: -20% 0; z-index: 0;
  background: url("../img/cta-factory.jpg") center 35% / cover no-repeat;
  will-change: transform;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(25, 28, 84, .93) 20%, rgba(25, 28, 84, .68) 60%, rgba(212, 42, 42, .55) 130%);
}
.cta-banner__inner { position: relative; z-index: 2; max-width: 640px; }
.cta-banner__title { font-size: clamp(1.8rem, 3.8vw, 2.7rem); color: #fff; }
.cta-banner__sub { color: rgba(255, 255, 255, .82); margin-bottom: 30px; }
@media (prefers-reduced-motion: reduce) {
  .cta-banner__bg { transform: none !important; }
}

/* ============ News grid ============ */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card__img { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card__img img { transform: scale(1.05); }
.news-card__date {
  position: absolute; left: 18px; bottom: -1px;
  display: flex; flex-direction: column; align-items: center;
  background: var(--red-600); color: #fff; border-radius: 12px 12px 0 0;
  padding: 10px 14px 8px; font-size: .72rem; font-weight: 700; line-height: 1.15;
  text-transform: uppercase; letter-spacing: .04em;
}
.news-card__date strong { font-size: 1.25rem; }
.news-card__body { padding: 24px 26px 26px; }
.news-card__body h3 { font-size: 1.12rem; line-height: 1.35; }
.news-card__body h3 a:hover { color: var(--red-600); }
.news-card__body p { color: var(--muted); font-size: .9rem; }
.news-card__link { font-weight: 700; font-size: .88rem; color: var(--red-600); }
.news-card__link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }
