/* Hero artwork and typography are copied from illion-hero-redesign-standalone.html.
 * Outer spacing follows the theme container and section rhythm.
 * Limit the standalone reset and selectors to this component so theme rules cannot alter it. */
body.page-template-page-home #main.container {
  width: 100%;
  max-width: none;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
#illion-home-hero,
#illion-home-hero :where(div, span, p, h1, button) {
  all: revert;
  box-sizing: border-box;
}
#illion-home-hero {
  display: block;
  max-width: none;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: start;
  -webkit-text-size-adjust: auto;
  text-size-adjust: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.18);
  background: #FFFFFF;
  color: #1A1A1A;
}
#illion-home-hero img,
#illion-home-hero svg {
  box-sizing: border-box;
  vertical-align: baseline;
}

#illion-home-hero .hero-photo {
    position: absolute; top: 0; left: min(-64px, calc((1310px - 100vw) / 2 - 64px)); bottom: 0; width: 860px;
    z-index: 0; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, black 0, black 78%, transparent 100%);
    mask-image: linear-gradient(to right, black 0, black 78%, transparent 100%);
  }
#illion-home-hero .hero-photo img {
    width: 100%; height: 100%; object-fit: cover; object-position: 32% 18%;
    filter: saturate(0.88) brightness(1.02) contrast(0.97);
  }
#illion-home-hero .hero-photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent calc(100% - 100px), #FFFFFF 100%), linear-gradient(100deg,
      rgba(255,255,255,0.28) 0%,
      rgba(255,255,255,0.78) 32%,
      rgba(255,255,255,0.94) 55%,
      #FFFFFF 80%);
  }
#illion-home-hero .hero {
    display: flex; align-items: center; justify-content: space-between; gap: 60px;
    width: 100%; max-width: 1310px; margin: 0 auto;
    padding: 156px 15px 50px; flex-wrap: nowrap;
    position: relative; z-index: 1;
  }
#illion-home-hero .hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; width: 560px; max-width: 100%; min-width: 0; flex-shrink: 1; }
#illion-home-hero .eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; }
#illion-home-hero .eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #3E534F; }
#illion-home-hero .eyebrow-text { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #3E534F; }
#illion-home-hero h1 {
    margin: 0 0 22px; font-size: 56px; line-height: 1.06; font-weight: 800;
    letter-spacing: -0.02em; color: #1A1A1A;
  }
#illion-home-hero h1 .thin { font-weight: 500; color: #5C5C57; }
#illion-home-hero h1 .accent { color: #3E534F; }
#illion-home-hero .lead { margin: 0 0 34px; font-size: 17.5px; line-height: 1.6; color: #6B6B66; max-width: 460px; font-weight: 500; }
#illion-home-hero .cta-row { display: flex; align-items: center; gap: 14px; margin-bottom: 46px; flex-wrap: wrap; }
#illion-home-hero .btn-primary {
    display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 100px;
    background: #3E534F; color: #FFFFFF; font-size: 16px; font-weight: 700; cursor: pointer;
    box-shadow: 0 14px 30px -12px rgba(62,83,79,0.55); border: none;
  }
#illion-home-hero .btn-ghost {
    display: inline-flex; align-items: center; gap: 9px; padding: 16px 26px; border-radius: 100px;
    background: transparent; color: #1A1A1A; font-size: 16px; font-weight: 700; cursor: pointer;
    border: 1.5px solid #DEDED6;
  }
#illion-home-hero .stat-row { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 30px; }
#illion-home-hero .stat { display: flex; flex-direction: column; }
#illion-home-hero .stat-num { font-size: 30px; font-weight: 800; color: #1A1A1A; line-height: 1; }
#illion-home-hero .stat-label { font-size: 13.5px; font-weight: 600; color: #8A8A85; margin-top: 6px; }
#illion-home-hero .stat-divider { width: 1px; height: 38px; background: #E4E4E0; }
#illion-home-hero .cred-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid #EFEFE8; }
#illion-home-hero .cred-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: #45514D; }
#illion-home-hero .cred-item svg { color: #3E534F; flex-shrink: 0; }
#illion-home-hero .hero-visual { position: relative; z-index: 1; width: 500px; max-width: 100%; min-width: 0; flex-shrink: 1; }
#illion-home-hero .visual-card { border-radius: 26px; overflow: hidden; box-shadow: 0 32px 70px -28px rgba(26,26,26,0.24); background: #FFFFFF; border: 1px solid #EFEFE9; }
#illion-home-hero .vc-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #F1F1EB; }
#illion-home-hero .vc-who { display: flex; align-items: center; gap: 12px; }
#illion-home-hero .vc-avatar { width: 38px; height: 38px; border-radius: 12px; background: #3E534F; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#illion-home-hero .vc-who-text { display: flex; flex-direction: column; line-height: 1.2; }
#illion-home-hero .vc-who-name { font-size: 14px; font-weight: 700; color: #1A1A1A; }
#illion-home-hero .vc-who-role { font-size: 12px; font-weight: 600; color: #8A8A85; }
#illion-home-hero .vc-status { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 100px; background: #EEF2F0; }
#illion-home-hero .vc-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #3E9A5C; }
#illion-home-hero .vc-status-text { font-size: 11.5px; font-weight: 700; color: #3E534F; }
#illion-home-hero .vc-chat { padding: 24px 24px 6px; }
#illion-home-hero .vc-chat-row { display: flex; align-items: flex-start; gap: 10px; }
#illion-home-hero .vc-chat-avatar { width: 26px; height: 26px; border-radius: 8px; background: #EEF2F0; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
#illion-home-hero .vc-bubble { background: #F3F5F3; border-radius: 4px 16px 16px 16px; padding: 18px 20px; max-width: 380px; }
#illion-home-hero .bubble-l1 { font-size: 13.5px; font-weight: 600; color: #6D7873; }
#illion-home-hero .bubble-l2 { font-size: 21px; font-weight: 800; color: #1A1A1A; margin-top: 1px; }
#illion-home-hero .bubble-rule { height: 1px; background: #E1E6E3; margin: 12px 0; }
#illion-home-hero .bubble-l3 { font-size: 15.5px; font-weight: 600; color: #3E534F; }
#illion-home-hero .bubble-l4 { font-size: 24px; font-weight: 800; color: #1A1A1A; line-height: 1.15; margin-top: 1px; }
#illion-home-hero .vc-timestamp { font-size: 11.5px; font-weight: 600; color: #B0B0A8; margin: 8px 0 0 36px; }
#illion-home-hero .vc-status-block { display: flex; align-items: center; gap: 22px; padding: 22px 24px 20px; }
#illion-home-hero .ring-wrap { position: relative; width: 78px; height: 78px; flex-shrink: 0; }
#illion-home-hero .ring-svg { transform: rotate(-90deg); }
#illion-home-hero .ring-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
#illion-home-hero .checklist { display: flex; flex-direction: column; gap: 9px; }
#illion-home-hero .checklist-item { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: #33403C; }
#illion-home-hero .checklist-item svg { flex-shrink: 0; }
#illion-home-hero .vc-cta { background: #3E534F; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#illion-home-hero .vc-cta-text { display: flex; flex-direction: column; line-height: 1.25; }
#illion-home-hero .vc-cta-l1 { font-size: 13px; font-weight: 500; color: #C7D2CE; }
#illion-home-hero .vc-cta-l2 { font-size: 17.5px; font-weight: 800; color: #FFFFFF; }
#illion-home-hero .btn-quote {
    display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 100px;
    background: #FFFFFF; color: #3E534F; font-size: 14.5px; font-weight: 700; white-space: nowrap; flex-shrink: 0; cursor: pointer;
  }


  @media (max-width: 1180px) {
#illion-home-hero .hero { padding: 134px 15px 50px; gap: 40px; }
#illion-home-hero h1 { font-size: 44px; }
#illion-home-hero .hero-photo { width: 200px; }
  }
  @media (max-width: 900px) {
#illion-home-hero .hero { flex-wrap: wrap; gap: 32px; }
#illion-home-hero .hero-copy { width: 100%; }
#illion-home-hero .hero-visual { margin: 0 auto; }
  }
  @media (max-width: 780px) {
#illion-home-hero .hero-photo {
  display: block; top: 0; left: 0; bottom: auto; width: 100%; height: 320px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
}
#illion-home-hero .hero-photo img { object-position: 32% 25%; }
#illion-home-hero .hero-copy { margin-left: 0; }
  }
  @media (max-width: 640px) {
#illion-home-hero .hero-copy { width: 100%; }
#illion-home-hero .hero { padding-top: 126px; padding-bottom: 40px; }
#illion-home-hero .hero-visual { width: 100%; max-width: 500px; margin-top: 0; }
#illion-home-hero h1 { font-size: 34px; }
#illion-home-hero .stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
#illion-home-hero .stat-divider { display: none; }
  }


/* Match the site's Cyrillic typography and allow translated copy to breathe. */
#illion-home-hero:lang(ru),
#illion-home-hero:lang(uk) {
  font-family: 'Roboto', system-ui, sans-serif;
}
#illion-home-hero:lang(ru) h1,
#illion-home-hero:lang(uk) h1 {
  font-size: 48px;
}
#illion-home-hero:lang(ru) .vc-cta,
#illion-home-hero:lang(uk) .vc-cta {
  flex-wrap: wrap;
}
@media (max-width: 1180px) {
  #illion-home-hero:lang(ru) h1,
  #illion-home-hero:lang(uk) h1 { font-size: 40px; }
}
@media (max-width: 640px) {
  #illion-home-hero:lang(ru) h1,
  #illion-home-hero:lang(uk) h1 { font-size: 32px; }
}
