/* Approved homepage revision. The existing capability artwork and motion stay in place. */
.home-approved .section-head,
.home-approved .trust-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 14px;
  margin: 0 auto 40px;
  max-width: 850px;
  text-align: center;
}
.home-approved .section-head h2,
.home-approved .trust-head h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.5;
  letter-spacing: -1px;
  text-wrap: balance;
}
.home-approved .section-head p,
.home-approved .trust-head p {
  max-width: 700px;
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
}
.home-approved .rail {
  width: min(940px, calc(100% - 40px));
  height: auto;
  overflow: visible;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.home-approved .rail::before,
.home-approved .rail::after { display: none; }
.home-approved .metric {
  display: block;
  min-width: 0;
  min-height: 108px;
  padding: 20px 12px;
  background: linear-gradient(145deg, #1f2a25, #0d1511);
  border-radius: 18px;
  border: 1px solid rgba(255, 184, 118, .22);
}
.home-approved .rail.in .metric:nth-child(4) { animation-delay: .53s; }
.home-approved .rail.in .metric:nth-child(4)::before { animation-delay: 1.1s; }
.home-approved .metric:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 4px;
}
.home-approved .metric b { font-size: 30px; }
.home-approved .metric > span { font-size: 12px; color: #edf0ec; }
.home-approved .trust-note { justify-content: space-between; flex-wrap: wrap; }
.home-approved .trust-note a { color: #ffc18a; font-size: 13px; }
.home-approved .certificate-card { cursor: zoom-in; }
.home-approved .certificate-card::after { content: "+"; }
.home-approved .certificates-description { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.home-approved .team-card .team-copy p { font-size: 13px; }
.home-approved .team-note { gap: 18px; flex-wrap: wrap; }
.home-approved .team-note a { white-space: nowrap; }
.home-approved .cooperation-section {
  position: relative;
  isolation: isolate;
  margin: 8px 0 20px;
  padding: 112px 0 118px;
  color: #f8f6f0;
  background: radial-gradient(ellipse at 5% 45%, rgba(174, 83, 27, .2), transparent 50%), #0b1311;
  clip-path: polygon(0 0, 5% 1.2%, 12% 3.5%, 20% 5%, 32% 6.5%, 45% 7%, 57% 6.3%, 70% 4.2%, 82% 1.7%, 92% .3%, 100% 0, 100% 96%, 92% 94.7%, 84% 95.6%, 73% 98.6%, 60% 100%, 46% 99.3%, 32% 97.2%, 18% 94.7%, 8% 95.4%, 0 97.6%);
}
@supports (clip-path: shape(from 0 0, line to 100% 0, close)) {
  .home-approved .cooperation-section {
    clip-path: shape(from 0 0, curve to 100% 0 with 36% 16% / 66% 1%, line to 100% 96%, curve to 52% 99% with 82% 82% / 74% 108%, curve to 0 97% with 21% 92% / 15% 88%, close);
  }
}
.home-approved .cooperation-section .section-head p { color: #bdc8c1; }
.cooperation-stations {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
}
.cooperation-stations::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: #533c29;
}
.cooperation-stations::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 34px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, #e56d27, #ffd9ad, #e56d27);
  box-shadow: 0 0 15px rgba(255, 154, 60, .6);
  transform: scaleX(0);
  transform-origin: right;
}
.cooperation-section.in .cooperation-stations::after { animation: cooperationConnect 1.8s .3s ease-out both; }
.cooperation-station { position: relative; z-index: 1; text-align: center; }
.station-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  margin: 0 auto 22px;
  color: #ffba79;
  background: #101c17;
  border: 1px solid #9e6235;
  border-radius: 22px;
  box-shadow: 0 0 0 9px #0d1612;
  transition: transform .35s, box-shadow .35s;
}
.station-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.station-number { position: absolute; top: -10px; right: -9px; display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: #e77b35; color: #152019; font-size: 11px; font-weight: 800; }
.cooperation-station h3 { margin: 0 0 9px; font-size: 17px; }
.cooperation-station p { margin: 0; color: #b9c6bd; font-size: 13px; line-height: 2; }
.cooperation-station:hover .station-icon { transform: translateY(-5px); box-shadow: 0 0 0 9px #0d1612, 0 0 28px #a2562438; }
.cooperation-action { display: flex; justify-content: center; margin-top: 34px; }
.home-approved .industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.industry-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dadbd4;
  border-radius: 24px;
  background: #fffefb;
  box-shadow: 0 12px 30px rgba(23, 34, 27, .06);
  transition: transform .4s, box-shadow .4s, border-color .4s;
}
.industry-card:hover { transform: translateY(-6px); border-color: #db9365; box-shadow: 0 22px 38px rgba(23, 34, 27, .12); }
.industry-card:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }
.industry-art { position: relative; display: grid; place-items: center; min-height: 160px; overflow: hidden; color: #cb652b; background: radial-gradient(ellipse at 50% 50%, #f5e5d2, transparent 72%), #f0efea; }
.industry-art::before { content: ""; position: absolute; width: 120px; height: 120px; border: 1px solid #ddc4a6; border-radius: 50%; }
.industry-art svg { position: relative; width: 97px; height: 97px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s; }
.industry-art img { width: 100%; height: 175px; object-fit: cover; transition: transform .6s; }
.industry-art:has(img)::before { display: none; }
.industry-card:hover .industry-art svg { transform: scale(1.07) rotate(-3deg); }
.industry-card:hover .industry-art img { transform: scale(1.035); }
.industry-card-copy { position: relative; padding: 20px 22px 22px; }
.industry-card h3 { margin: 0 0 7px; font-size: 18px; }
.industry-card p { margin: 0; color: var(--muted); font-size: 13px; }
.industry-card .industry-more { display: inline-block; margin-top: 16px; color: #b14e20; font-size: 12px; font-weight: 700; }
.industry-footer { margin-top: 28px; text-align: center; }
.industry-footer .btn { border: 1px solid #d28b5f; color: #a64b22; background: #fffaf4; }
.home-approved .choice { padding-top: 35px; }
.home-approved .choice-box { align-items: center; }
.home-approved .foot { flex-wrap: wrap; gap: 15px 28px; }
.home-approved .foot a { color: #ffc18a; }
.home-approved .foot small { color: #b9c2bc; font-size: 11px; }
@keyframes cooperationConnect { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .home-approved .rail { width: min(680px, calc(100% - 28px)); gap: 8px; }
  .home-approved .metric { padding: 16px 7px; }
  .home-approved .metric > span { font-size: 10px; }
  .home-approved .metric b { font-size: 25px; }
  .cooperation-stations { gap: 18px; }
  .cooperation-station h3 { font-size: 15px; }
  .cooperation-station p { font-size: 12px; }
  .home-approved .industry-grid { gap: 15px; }
  .industry-card-copy { padding: 17px; }
}
@media (max-width: 640px) {
  .home-approved .section-head, .home-approved .trust-head { margin-bottom: 28px; gap: 12px; }
  .home-approved .section-head p, .home-approved .trust-head p { font-size: 13px; }
  .home-approved .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: -105px; }
  .home-approved .metric { padding: 16px 9px; }
  .home-approved .metric > span { font-size: 11px; }
  .home-approved .rail::after { display: none; }
  .home-approved .cooperation-section { padding: 90px 0 95px; clip-path: ellipse(140% 50% at 50% 50%); }
  .cooperation-stations { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-top: 32px; }
  .cooperation-stations::before, .cooperation-stations::after { top: 20px; bottom: 35px; right: 33px; left: auto; width: 2px; height: auto; }
  .cooperation-stations::after { transform: scaleY(0); transform-origin: top; }
  .cooperation-section.in .cooperation-stations::after { animation-name: cooperationConnectMobile; }
  .cooperation-station { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 20px; text-align: right; align-items: start; }
  .station-icon { margin: 0; }
  .cooperation-station h3 { font-size: 16px; }
  .cooperation-station p { font-size: 13px; }
  .home-approved .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .industry-art { min-height: 130px; }
  .industry-art svg { width: 78px; height: 78px; }
  .industry-art img { height: 130px; }
  .industry-art::before { width: 100px; height: 100px; }
  .industry-card { border-radius: 18px; }
  .industry-card-copy { padding: 14px 12px 17px; }
  .industry-card h3 { font-size: 14px; line-height: 1.8; }
  .industry-card p { font-size: 11px; }
  .industry-card .industry-more { margin-top: 10px; font-size: 11px; }
  .home-approved .choice-box { padding: 28px 22px; }
  .home-approved .certificates-head { gap: 9px; }
}
@keyframes cooperationConnectMobile { to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .cooperation-section.in .cooperation-stations::after { animation: none; transform: none; }
  .industry-card, .industry-art svg, .industry-art img, .station-icon { transition: none; }
  .home-approved .rail.in .metric { opacity: 1; filter: none; translate: none; scale: 1; animation: none; }
}
