.home-strategy {
  --strategy-paper: #f7f8f8;
  --strategy-ink: #07141d;
  --strategy-night: #07131d;
  --strategy-line: rgba(215, 228, 235, .17);
  --strategy-soft: #aebbc3;
  --strategy-white: #f7fafb;
  --strategy-red: #d03a34;
  position: relative;
  overflow: hidden;
  color: var(--strategy-ink);
  background: var(--strategy-paper);
}

.home-strategy-head {
  padding: clamp(70px, 7vw, 108px) max(24px, calc((100vw - 1120px) / 2)) clamp(48px, 5vw, 70px);
  text-align: center;
}

.home-strategy-head h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 520;
  line-height: 1.12;
  letter-spacing: -.055em;
}

.home-strategy-head p {
  max-width: 820px;
  margin: 22px auto 0;
  color: #65737b;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.8;
}

.home-strategy-field {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  overflow: hidden;
  background: var(--strategy-night);
}

.home-strategy-field::before {
  position: absolute;
  z-index: -3;
  inset: -7%;
  content: "";
  background:
    linear-gradient(100deg, rgba(7,19,29,.95) 0%, rgba(7,19,29,.82) 46%, rgba(7,19,29,.91) 100%),
    url("public/client/factory/pcb-process-line.webp") center 54% / cover no-repeat;
  filter: saturate(.65) contrast(1.08);
  transform: scale(1.05);
  transition: transform 1.4s cubic-bezier(.2,.78,.2,1), filter .8s ease;
}

.home-strategy.is-visible .home-strategy-field::before {
  transform: scale(1);
}

.home-strategy-field::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 26%, rgba(28,72,94,.28), transparent 29%),
    radial-gradient(circle at 78% 74%, rgba(208,58,52,.12), transparent 31%),
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,.04));
  pointer-events: none;
}

.home-strategy-trace {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(208,58,52,.58);
  opacity: .44;
  pointer-events: none;
}

.home-strategy-trace path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 12 26;
  animation: home-strategy-signal 14s linear infinite;
}

.home-strategy-trace circle {
  fill: currentColor;
  filter: drop-shadow(0 0 8px rgba(208,58,52,.7));
}

.home-strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-strategy-card {
  --delay: calc(var(--i, 0) * 75ms);
  position: relative;
  min-height: 285px;
  padding: 36px clamp(28px, 3.4vw, 58px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid var(--strategy-line);
  border-bottom: 1px solid var(--strategy-line);
  color: var(--strategy-white);
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .6s ease var(--delay),
    transform .72s cubic-bezier(.2,.78,.2,1) var(--delay),
    background .5s ease;
}

.home-strategy.is-visible .home-strategy-card {
  opacity: 1;
  transform: none;
}

.home-strategy-card:nth-child(3n) { border-right: 0; }
.home-strategy-card:nth-child(n+4) { border-bottom: 0; }

.home-strategy-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 46%, rgba(23,77,102,.42), transparent 46%),
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 45%);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .45s ease, transform .7s cubic-bezier(.2,.78,.2,1);
}

.home-strategy-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: var(--strategy-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.2,.78,.2,1);
}

.home-strategy-card:hover,
.home-strategy-card:focus-visible {
  z-index: 2;
  background: rgba(4,12,18,.42);
}

.home-strategy-card:hover::before,
.home-strategy-card:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.home-strategy-card:hover::after,
.home-strategy-card:focus-visible::after {
  transform: scaleX(1);
}

.home-strategy-card:focus-visible {
  outline: 3px solid rgba(255,255,255,.72);
  outline-offset: -4px;
}

.home-strategy-card-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: translateY(18px);
  transition: transform .55s cubic-bezier(.2,.78,.2,1);
}

.home-strategy-card:hover .home-strategy-card-inner,
.home-strategy-card:focus-visible .home-strategy-card-inner {
  transform: translateY(0);
}

.home-strategy-icon {
  width: 62px;
  height: 62px;
  color: #d8e2e7;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.28));
  transition: color .35s ease, transform .55s cubic-bezier(.2,.78,.2,1);
}

.home-strategy-icon * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.home-strategy.is-visible .home-strategy-icon * {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: home-strategy-draw 1.2s cubic-bezier(.2,.78,.2,1) calc(.25s + var(--delay)) forwards;
}

.home-strategy-card:hover .home-strategy-icon,
.home-strategy-card:focus-visible .home-strategy-icon {
  color: #fff;
  transform: translateY(-4px) scale(1.07);
}

.home-strategy-card h3 {
  margin: 22px 0 0;
  font-size: clamp(25px, 2.15vw, 34px);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -.035em;
}

.home-strategy-card p {
  max-width: 340px;
  margin: 15px auto 0;
  color: var(--strategy-soft);
  font-size: 14px;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.78,.2,1);
}

.home-strategy-action {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .35s ease .04s, transform .45s cubic-bezier(.2,.78,.2,1) .04s;
}

.home-strategy-action::before {
  width: 24px;
  height: 1px;
  content: "";
  background: var(--strategy-red);
}

.home-strategy-card:hover p,
.home-strategy-card:hover .home-strategy-action,
.home-strategy-card:focus-visible p,
.home-strategy-card:focus-visible .home-strategy-action {
  opacity: 1;
  transform: none;
}

@keyframes home-strategy-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes home-strategy-signal {
  to { stroke-dashoffset: -380; }
}

@media (max-width: 900px) {
  .home-strategy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-strategy-card:nth-child(3n) { border-right: 1px solid var(--strategy-line); }
  .home-strategy-card:nth-child(2n) { border-right: 0; }
  .home-strategy-card:nth-child(n+4) { border-bottom: 1px solid var(--strategy-line); }
  .home-strategy-card:nth-child(n+5) { border-bottom: 0; }
}

@media (max-width: 600px) {
  .home-strategy-head {
    padding: 66px 20px 42px;
    text-align: left;
  }
  .home-strategy-head h2 {
    max-width: 330px;
    font-size: clamp(32px, 9vw, 34px);
  }
  .home-strategy-head p {
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.7;
  }
  .home-strategy-field { min-height: 0; }
  .home-strategy-grid { grid-template-columns: 1fr; }
  .home-strategy-card,
  .home-strategy-card:nth-child(2n),
  .home-strategy-card:nth-child(3n),
  .home-strategy-card:nth-child(n+4),
  .home-strategy-card:nth-child(n+5) {
    min-height: 230px;
    padding: 28px 24px;
    place-items: center start;
    border-right: 0;
    border-bottom: 1px solid var(--strategy-line);
    text-align: left;
  }
  .home-strategy-card:last-child { border-bottom: 0; }
  .home-strategy-card-inner {
    display: grid;
    grid-template-columns: 54px 1fr;
    column-gap: 20px;
    align-items: center;
    transform: none;
  }
  .home-strategy-icon { width: 54px; height: 54px; grid-row: 1 / 4; }
  .home-strategy-card h3 { margin: 0; font-size: 27px; }
  .home-strategy-card p {
    max-width: none;
    margin: 9px 0 0;
    opacity: 1;
    transform: none;
  }
  .home-strategy-action {
    margin-top: 10px;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-strategy-field::before,
  .home-strategy-card,
  .home-strategy-card-inner,
  .home-strategy-icon,
  .home-strategy-card p,
  .home-strategy-action {
    animation: none !important;
    transition: none !important;
  }
  .home-strategy-card { opacity: 1; transform: none; }
  .home-strategy-icon * { animation: none !important; stroke-dashoffset: 0 !important; }
  .home-strategy-trace path { animation: none !important; }
}
