
.hero{
  min-height:100vh;
  padding-top:145px;
  padding-bottom:90px;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:70px;
  align-items:center;
}
.hero h1{
  margin:20px 0 28px;
  max-width:790px;
  font-size:clamp(4rem,7.2vw,7.2rem);
  line-height:.93;
  letter-spacing:-.07em;
  font-weight:600;
}
.hero p{max-width:680px}
.hero-actions{margin-top:34px;display:flex;align-items:center;gap:24px}
.hero-visual{
  position:relative;
  min-height:500px;
  display:grid;
  place-items:center;
}
.hero-visual::before{
  content:"";
  position:absolute;
  width:420px;height:420px;
  border-radius:50%;
  background:
    radial-gradient(circle at 35% 35%,rgba(9,170,164,.12),transparent 46%),
    radial-gradient(circle at 66% 70%,rgba(103,80,164,.14),transparent 52%);
  filter:blur(12px);
}
.hero-logo{
  position:relative;
  width:min(92%,500px);
  filter:drop-shadow(0 25px 50px rgba(19,42,113,.07));
}

.about{
  padding:145px 0;
  border-top:1px solid var(--line);
  display:grid;
  grid-template-columns:.36fr 1fr;
  gap:80px;
}
.about-copy{max-width:820px}
.about-copy p{margin:28px 0 0}

.product{
  padding:145px 0;
  border-top:1px solid var(--line);
}
.product-panel{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  padding:76px;
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:70px;
  align-items:center;
  background:linear-gradient(135deg,#17121f 0%,#241736 58%,#39215e 100%);
  color:#fff;
}
.product-panel::after{
  content:"";
  position:absolute;
  width:460px;height:460px;
  right:-150px;top:-160px;
  border-radius:50%;
  background:rgba(185,128,255,.14);
  filter:blur(20px);
}
.product .kicker{color:#cbb4ff}
.product h2{
  margin:16px 0 24px;
  font-size:clamp(3.2rem,6vw,6.2rem);
  line-height:.95;
  letter-spacing:-.065em;
}
.product p{max-width:650px;color:rgba(255,255,255,.7);font-size:17px;line-height:1.75}
.product-logo{
  position:relative;
  z-index:2;
  display:grid;
  place-items:center;
  padding:30px;
}
.product-logo img{
  width:min(90%,320px);
  filter:drop-shadow(0 24px 60px rgba(0,0,0,.2));
}

@media(max-width:900px){
  .hero{grid-template-columns:1fr;padding-top:140px}
  .hero-visual{min-height:340px}
  .hero-logo{width:min(88%,440px)}
  .about{grid-template-columns:1fr;gap:24px}
  .product-panel{grid-template-columns:1fr;padding:48px 30px}
}
@media(max-width:560px){
  .hero h1{font-size:clamp(3.5rem,16vw,5rem)}
  .hero-actions{align-items:flex-start;flex-direction:column}
  .about,.product{padding-top:100px;padding-bottom:100px}
}

/* v5: cleaner VectaMind brand treatment in Products */
.product-brand-card{
  position:relative;
  z-index:2;
  min-height:390px;
  display:grid;
  place-items:center;
  padding:42px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:28px;
  background:rgba(255,255,255,.055);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.product-brand-card img{
  width:min(100%,360px);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 24px 50px rgba(0,0,0,.18));
}
@media(max-width:900px){
  .product-brand-card{min-height:310px}
  .product-brand-card img{width:min(80%,330px)}
}

/* v7: seamless VectaMind visual in Products */
.product-brand-card{display:none!important}
.product-brand-visual{
  position:relative;
  z-index:2;
  min-height:390px;
  display:grid;
  place-items:center;
  padding:24px 10px;
}
.product-halo{
  position:absolute;
  width:360px;
  height:360px;
  border-radius:50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(155,92,246,.24) 0%, rgba(103,80,164,.12) 38%, rgba(103,80,164,0) 72%);
  filter:blur(10px);
}
.product-brand-visual img{
  position:relative;
  z-index:1;
  width:min(92%,360px);
  height:auto;
  object-fit:contain;
  mix-blend-mode:screen;
  filter:drop-shadow(0 20px 42px rgba(0,0,0,.16));
}
@media(max-width:900px){
  .product-brand-visual{min-height:300px}
  .product-brand-visual img{width:min(78%,330px)}
}

/* v9: larger VectaMind brand visual in Products */
.product-brand-visual img{
  width:min(100%,430px) !important;
}
.product-halo{
  width:430px;
  height:430px;
}
@media(max-width:900px){
  .product-brand-visual img{width:min(88%,390px) !important}
}

/* v10: compact product banner with CTA beneath */
.product-brand-visual{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:28px}
.product-brand-visual img{width:min(82%,350px)!important}
.product-halo{width:350px;height:350px}
.product-visual-cta{position:relative;z-index:2;margin-top:0}
@media(max-width:900px){.product-brand-visual img{width:min(74%,310px)!important}}

/* v13 copy spacing */
.hero .hero-secondary{margin-top:14px}


/* v21 mobile homepage refinements */
@media (max-width: 800px){

  /* 1. Do not stack the large ProSochi brand artwork beneath the intro */
  .hero{
    grid-template-columns:1fr !important;
    gap:0 !important;
    min-height:auto;
    padding-top:132px;
    padding-bottom:92px;
  }
  .hero-visual{
    display:none !important;
  }

  /* 2. Keep both hero actions on the same row */
  .hero-actions{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:14px !important;
    width:100%;
    margin-top:30px;
  }
  .hero-actions .button{
    flex:0 0 auto;
    white-space:nowrap;
  }
  .hero-actions .text-link{
    flex:0 0 auto;
    white-space:nowrap;
  }

  /* 3. Apply the same horizontal rhythm to all homepage sections */
  .container{
    padding-left:22px !important;
    padding-right:22px !important;
  }

  .about,
  .product{
    width:100%;
    margin-left:auto;
    margin-right:auto;
    padding-left:22px !important;
    padding-right:22px !important;
  }

  .about{
    grid-template-columns:1fr !important;
    gap:22px !important;
  }

  .product-panel{
    width:100%;
    padding:42px 24px !important;
    border-radius:26px;
    grid-template-columns:1fr !important;
    gap:34px !important;
  }

  .product-brand-visual{
    min-height:250px !important;
  }
}

@media (max-width: 480px){
  .hero{
    padding-top:118px;
    padding-bottom:82px;
  }

  .hero h1{
    font-size:clamp(3.15rem,15.5vw,4.35rem);
  }

  .hero-actions{
    gap:11px !important;
  }

  .hero-actions .button{
    padding-left:16px;
    padding-right:16px;
    min-height:44px;
    font-size:12px;
  }

  .hero-actions .text-link{
    font-size:12px;
  }

  .container,
  .about,
  .product{
    padding-left:18px !important;
    padding-right:18px !important;
  }

  .product-panel{
    padding:36px 20px !important;
    border-radius:22px;
  }
}

/* v24 mobile spacing refinements */
@media (max-width:800px){
  .product-panel{
    gap:18px !important;
  }
  .product-brand-visual{
    min-height:0 !important;
    margin-top:0 !important;
    padding-top:0 !important;
    gap:20px !important;
  }
  .product-brand-visual img{
    margin-top:0 !important;
  }
}

/* v25 contact alignment safety */
@media(max-width:800px){
  main.contact-page{
    padding-left:22px !important;
    padding-right:22px !important;
  }
}
