/* Home hero visibility and animation layout */
.hero-home .hero-grid {
  min-height: 490px;
  padding-top: 12px;
  padding-bottom: 14px;
}

.hero-home {
  min-height: calc(100svh - 84px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 14px;
}

.hero-home .hero-grid {
  flex: 1 1 auto;
}

.hero-home .hero-stats-card {
  flex: 0 0 auto;
  margin-top: 0;
  overflow: hidden;
}

.hero-home .hero-stats-card article {
  min-height: 82px;
  padding: 13px 35px;
}

.hero-home .hero-stats-card strong {
  align-self: end;
  font-size: 28px;
  line-height: 1.05;
}

.hero-home .hero-stats-card small {
  align-self: start;
  margin-top: 3px;
  color: #596276;
  font-size: 11px;
  line-height: 1.35;
}

.hero-home .hero-copy h1 {
  max-width: 610px;
  margin: 6px 0 12px;
  font-size: clamp(40px, 4vw, 51px);
  line-height: 1.06;
}

.hero-home .hero-copy > p:not(.eyebrow) {
  max-width: 555px;
  font-size: 14px;
  line-height: 1.55;
}

.hero-home .actions {
  margin-top: 17px;
  gap: 16px;
}

.hero-home .actions .btn {
  min-height: 44px;
  padding: 10px 20px;
}

.hero-home .feature-row {
  gap: 14px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.35;
}

.hero-home .feature-row img {
  width: 26px;
  height: 26px;
  margin-bottom: 5px;
}

.hero-home .hero-animated {
  min-height: 465px;
}

.hero-home .talent-card {
  width: 29%;
  min-width: 0;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 8px;
  padding: 11px 12px;
}

.hero-home .talent-avatar {
  width: 36px;
  height: 36px;
}

.hero-home .talent-card strong {
  font-size: 11px;
}

.hero-home .talent-card small {
  font-size: 9px;
  line-height: 1.35;
}

.hero-home .card-main {
  left: 4%;
  top: 20%;
}

.hero-home .card-top {
  left: 35.5%;
  right: auto;
  top: 20%;
}

.hero-home .card-bottom {
  right: 4%;
  bottom: auto;
  top: 20%;
}

.hero-home .delivery-core {
  left: 50%;
  top: 48%;
  width: 190px;
  min-height: 126px;
  padding: 18px;
}

.hero-home .delivery-core strong {
  font-size: 21px;
}

.hero-home .node-cloud {
  left: 6%;
  top: 45%;
}

.hero-home .node-code {
  left: 19%;
  bottom: auto;
  top: 58%;
}

.hero-home .node-ai {
  left: auto;
  right: 6%;
  top: 45%;
}

.hero-home .node-growth {
  right: 19%;
  bottom: auto;
  top: 58%;
}

.hero-home .skill-node {
  width: 60px;
  height: 60px;
  border-radius: 15px;
}

.hero-home .skill-node b {
  font-size: 20px;
}

.hero-home .skill-node img {
  width: 28px;
  height: 28px;
}

.hero-home .delivery-flow {
  top: 67%;
}

.hero-home .security-card {
  left: 4%;
  bottom: 61px;
  width: 29%;
  max-width: none;
  padding: 11px 12px;
}

.hero-home .security-card strong {
  display: block;
  font-size: 10px;
  line-height: 1.3;
}

.hero-home .security-card span {
  font-size: 8px;
  line-height: 1.35;
}

.hero-home .hero-kpis {
  left: auto;
  right: 4%;
  bottom: 10px;
  width: 62%;
  transform: none;
}

.hero-home .hero-kpis span {
  min-height: 48px;
  font-size: 8px;
}

.hero-home .hero-kpis strong {
  font-size: 15px;
}

.hero-home .iso-badge {
  right: 18px;
  top: 16px;
  padding: 10px 13px;
  font-size: 10px;
}

.hero-home .iso-badge strong {
  font-size: 18px;
}

@media (max-width: 1180px) {
  .hero-home .hero-grid {
    gap: 30px;
  }

  .hero-home .hero-copy h1 {
    font-size: clamp(39px, 4.2vw, 49px);
  }
}

@media (min-width: 1500px) {
  .hero-home > .container {
    width: min(calc(100% - 96px), 1580px);
  }

  .hero-home .hero-grid {
    grid-template-columns: .95fr 1.05fr;
    gap: 72px;
  }

  .hero-home .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(56px, 3.65vw, 70px);
  }

  .hero-home .hero-copy > p:not(.eyebrow) {
    max-width: 720px;
    font-size: 17px;
  }

  .hero-home .actions .btn {
    min-height: 52px;
    padding: 13px 28px;
  }

  .hero-home .feature-row {
    margin-top: 25px;
    font-size: 13px;
  }

  .hero-home .hero-animated {
    min-height: clamp(600px, 68svh, 700px);
  }

  .hero-home .hero-stats-card article {
    min-height: 94px;
    padding-inline: 46px;
  }

  .hero-home .hero-stats-card strong {
    font-size: 32px;
  }

  .hero-home .hero-stats-card small {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  .hero-home .hero-grid {
    gap: 28px;
    padding-right: 0;
  }

  .hero-home .hero-copy {
    padding-right: 28px;
  }

  .hero-home .feature-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero-home .hero-stats-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-home .hero-stats-card article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .hero-home .hero-grid {
    padding: 28px 0 35px 14px;
  }

  .hero-home {
    min-height: auto;
    padding-bottom: 16px;
  }

  .hero-home .hero-copy {
    padding-right: 14px;
  }

  .hero-home .hero-copy h1 {
    font-size: 38px;
  }

  .hero-home .feature-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hero-home .hero-animated {
    min-height: 0;
    display: grid;
    gap: 10px;
    margin-right: 14px;
    padding: 22px 18px;
    border-radius: 24px;
    transform: none !important;
  }

  .hero-home .hero-orbit,
  .hero-home .connection-lines,
  .hero-home .skill-node {
    display: none;
  }

  .hero-home .delivery-core,
  .hero-home .talent-card,
  .hero-home .delivery-flow,
  .hero-home .security-card,
  .hero-home .hero-kpis,
  .hero-home .iso-badge {
    position: static;
    width: 100%;
    max-width: none;
    min-width: 0;
    transform: none;
    animation: none;
  }

  .hero-home .iso-badge {
    order: 1;
    justify-self: end;
    width: auto;
  }

  .hero-home .delivery-core {
    order: 2;
    min-height: 120px;
  }

  .hero-home .card-main {
    order: 3;
  }

  .hero-home .card-top {
    order: 4;
  }

  .hero-home .card-bottom {
    order: 5;
  }

  .hero-home .talent-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .hero-home .talent-avatar {
    width: 42px;
    height: 42px;
  }

  .hero-home .talent-card strong {
    font-size: 12px;
  }

  .hero-home .talent-card small {
    font-size: 10px;
  }

  .hero-home .delivery-flow {
    order: 6;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-home .security-card {
    order: 7;
  }

  .hero-home .hero-kpis {
    order: 8;
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-home .hero-stats-card {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-home .hero-stats-card article,
  .hero-home .hero-stats-card article:nth-child(2) {
    min-height: 88px;
    padding: 16px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-home .hero-stats-card article:last-child {
    border-bottom: 0;
  }
}

.cert-strip-home {
  grid-template-columns: minmax(220px, 1.45fr) minmax(120px, .72fr) repeat(4, minmax(112px, 1fr));
  gap: 0;
  padding: 18px 22px;
  overflow: hidden;
}

.cert-strip-home .cert-intro {
  padding-right: 24px;
}

.cert-strip-home .cert-intro h2 {
  margin: 5px 0 8px;
  max-width: 330px;
  color: var(--ink);
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.2;
}

.cert-strip-home .cert-intro > p:last-child {
  margin: 0;
  max-width: 345px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.cert-strip-home .iso-certificate {
  display: grid;
  min-height: 132px;
  margin: 0;
  padding: 8px 20px;
  place-items: center;
  border-left: 1px solid var(--line);
}

.cert-strip-home .iso-certificate img {
  display: block;
  width: auto;
  height: 120px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 7px 9px rgba(16, 22, 41, .1));
}

.cert-strip-home .cert-feature {
  display: grid;
  min-width: 0;
  min-height: 132px;
  padding: 13px 13px 10px;
  place-items: center;
  align-content: center;
  border-left: 1px solid var(--line);
  text-align: center;
}

.cert-strip-home .cert-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 0 8px;
  padding: 8px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #fff1f3;
}

.cert-strip-home .cert-icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.cert-strip-home .cert-feature h3 {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

@media (max-width: 1080px) {
  .cert-strip-home {
    grid-template-columns: minmax(240px, 1.5fr) minmax(125px, .75fr) repeat(2, minmax(135px, 1fr));
  }

  .cert-strip-home .cert-feature:nth-of-type(3) {
    border-left: 0;
  }

  .cert-strip-home .cert-feature:nth-of-type(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .cert-strip-home {
    grid-template-columns: 1fr 1fr;
    padding: 18px;
  }

  .cert-strip-home .cert-intro {
    grid-column: 1 / -1;
    padding: 0 0 18px;
  }

  .cert-strip-home .cert-intro h2,
  .cert-strip-home .cert-intro > p:last-child {
    max-width: none;
  }

  .cert-strip-home .iso-certificate {
    grid-row: span 2;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cert-strip-home .cert-feature {
    border-top: 1px solid var(--line);
  }

  .cert-strip-home .cert-feature:nth-of-type(odd) {
    border-left: 0;
  }
}

@media (max-width: 480px) {
  .cert-strip-home {
    grid-template-columns: 1fr;
  }

  .cert-strip-home .iso-certificate {
    grid-row: auto;
    min-height: 150px;
    padding-block: 14px;
  }

  .cert-strip-home .cert-feature {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 76px;
    gap: 12px;
    padding: 13px 8px;
    border-left: 0;
    text-align: left;
  }

  .cert-strip-home .cert-icon {
    margin: 0;
  }
}
