/* ASHE v34.9.75 · Hero desktop-parity alignment + lightweight interaction.
   Scope: homepage hero only. No data, translation catalog, AI, PWA or Manager behavior changes. */

.visual-identity-v46 .hero__content h1{
  position:relative;
  overflow:visible;
}

/* Neutralize the v34.9.72 pseudo-line technique. The actual ASHE text is now
   a stable first line in normal layout, so it cannot drift to the right on PC. */
.visual-identity-v46 .hero__content h1::before{
  content:none!important;
  display:none!important;
}
.visual-identity-v46 .hero__content h1::first-line{
  color:inherit;
  text-shadow:inherit;
}
.visual-identity-v46 .hero__content h1 .ashe-hero-brand{
  display:block;
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  text-align:center;
  overflow:visible;
}
.visual-identity-v46 .hero__content h1 .ashe-hero-brand__text{
  display:inline-block;
  color:#fff;
  text-shadow:0 8px 34px rgba(0,0,0,.38);
  transform-origin:center center;
}

/* PC: the left edge of ASHE is exactly aligned with the left edge of
   the following white “ΜΙΑ ΟΜΑΔΑ” line. */
@media (min-width:701px){
  .visual-identity-v46 .hero__content h1 .ashe-hero-brand{
    width:100%;
    text-align:left;
  }
}

/* Desktop-only premium interaction. Transform-only; no DOM observer/network. */
@media (min-width:901px) and (hover:hover) and (pointer:fine){
  .visual-identity-v46 .hero__photo img{
    transform:translate3d(var(--ashe-hero-x,0px),var(--ashe-hero-y,0px),0) scale(1.025);
    transform-origin:center center;
    transition:transform .32s cubic-bezier(.2,.75,.25,1);
    will-change:transform;
  }
  .visual-identity-v46 .hero__content h1 .ashe-hero-brand__text{
    color:transparent;
    background:linear-gradient(105deg,#fff 0%,#fff 38%,#d9eaff 45%,#fff 50%,#b9d8ff 55%,#fff 62%,#fff 100%);
    background-size:260% 100%;
    background-position:100% 0;
    -webkit-background-clip:text;
    background-clip:text;
    filter:drop-shadow(0 9px 20px rgba(0,0,0,.24));
    transition:transform .26s ease,filter .26s ease,background-position .7s ease;
    cursor:default;
  }
  .visual-identity-v46 .hero__content h1 .ashe-hero-brand__text:hover{
    transform:translateY(-4px) scale(1.015);
    filter:drop-shadow(0 0 18px rgba(225,240,255,.28)) drop-shadow(0 12px 24px rgba(0,0,0,.28));
    background-position:0 0;
  }
  .visual-identity-v46 .hero__buttons .button{
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease;
  }
  .visual-identity-v46 .hero__buttons .button:hover{
    transform:translateY(-3px);
    box-shadow:0 16px 34px rgba(0,0,0,.24),0 0 0 1px rgba(255,255,255,.04) inset;
  }
  .visual-identity-v46 .hero__buttons .button--red:hover{
    box-shadow:0 16px 36px rgba(185,27,42,.30),0 0 24px rgba(215,53,65,.18);
  }
  .visual-identity-v46 .hero__buttons .button--outline:hover{
    border-color:rgba(255,255,255,.58);
    background:rgba(8,31,61,.58);
  }
  .visual-identity-v46 .stats-grid>div{
    position:relative;
    border-radius:13px;
    transition:transform .22s ease,background-color .22s ease,box-shadow .22s ease;
  }
  .visual-identity-v46 .stats-grid>div:hover{
    transform:translateY(-4px);
    background:rgba(245,249,255,.92);
    box-shadow:0 13px 28px rgba(4,24,50,.10);
  }
  .visual-identity-v46 .stats-grid>div:hover .stat-icon{transform:translateY(-1px) scale(1.04)}
  .visual-identity-v46 .stat-icon{transition:transform .22s ease,box-shadow .22s ease}
}

/* Mobile: ASHE stays visually centered. Only the FIRST red line is shifted
   so its left edge is exactly under the left edge of ASHE. The second red line
   keeps the normal left edge, preventing ΟΙΚΟΓΕΝΕΙΑ from overflowing. */
@media (max-width:700px){
  .visual-identity-v46 .hero__content h1 .ashe-hero-brand{
    display:block;
    width:100%;
    max-width:100%;
    margin:0;
    text-align:center;
  }
  .visual-identity-v46 .hero__content h1>span:not(.ashe-hero-brand){
    text-align:inherit;
  }
  .visual-identity-v46 .hero__content h1 em{
    display:inline-block;
    width:100%;
    max-width:100%;
    text-align:left;
    text-indent:var(--ashe-mobile-family-indent,0px)!important;
    transform:none!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .visual-identity-v46 .hero__photo img,
  .visual-identity-v46 .hero__content h1 .ashe-hero-brand__text,
  .visual-identity-v46 .hero__buttons .button,
  .visual-identity-v46 .stats-grid>div,
  .visual-identity-v46 .stat-icon{
    transition:none!important;
    animation:none!important;
  }
  .visual-identity-v46 .hero__photo img{transform:none!important}
}
