/* =========================
HERO BASE — 2026
========================= */

.hero{
  position:relative;
  min-height:100vh;
  min-height:100svh; /* iOS fix */

  display:flex;
  align-items:flex-end; /* ⭐ bottom-left */

  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;

  color:#fff;
  overflow:hidden;
}


/* =========================
OVERLAY
========================= */

.hero-overlay{
  position:absolute;
  inset:0;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.2),
      rgba(0,0,0,.45)
    );

  z-index:1;
}


/* =========================
CONTENT
========================= */

.hero-content{
  position:absolute; /* ⭐ oluline */
  left:50%;
  bottom:140px; /* ⭐ SIIT kontrollid kõrgust */

  transform:translateX(-50%);

  z-index:2;
  width:100%;
  max-width:1280px;

  padding:clamp(40px,6vw,120px);

  display:flex;
  flex-direction:column;
  align-items:flex-start;
}


/* =========================
FONT SYSTEM — 2026
========================= */

.hero,
.hero *{
  font-family:"Inter",sans-serif;
}


/* =========================
EYEBROW (pill inside)
========================= */

.hero-eyebrow{
  font-family:"Space Grotesk",sans-serif;
  font-size:12px;
  letter-spacing:.25em;
  text-transform:uppercase;
  color:#fff;
}

/* scrolling pill wrapper (sinu PHP kasutab) */

.vl24-eyebrow-pill{
  display:inline-flex;
  align-items:center;

  padding:6px 14px; /* ⭐ väiksem */
  border-radius:999px;

  background:rgba(255,255,255,.08);
  backdrop-filter:blur(12px);

  max-width:140px; /* ⭐ kontrollib laiust */
  overflow:hidden;

  margin-bottom:16px;
}

/* =========================
TITLE — 2026 LUXURY
========================= */

.hero-title{
  font-family:"Fraunces",serif; /* ⭐ uus */
  font-size:clamp(32px,6vw,96px);
  font-weight:600;
  line-height:1.05;

  margin:0 0 8px;

  letter-spacing:-0.02em;
  text-wrap:balance;

  color:#fff;

  /* eemaldab vanad efektid */
  text-shadow:none;
  filter:none;
}


/* =========================
TEXT
========================= */

.hero-text{
  max-width:640px;

  font-size:18px;
  line-height:1.6;

  color:rgba(255,255,255,.85);
}


/* =========================
HERO ACTIONS
========================= */

.hero-actions{
  display:flex;
  gap:22px;
  margin-top:40px;
  align-items:center;
  flex-wrap:wrap;
}


/* =========================
MOBILE
========================= */

@media(max-width:768px){

  .hero{
    min-height:100svh;
    align-items:flex-end;
  }

  .hero-content{
    padding:40px 24px 60px;
  }

  .hero-title{
    font-size:38px;
    margin-bottom:6px !important;
  }

  .hero-text{
    font-size:16px;
    margin-top:0 !important;
    line-height:1.5;
  }

  .hero-actions{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:flex-start;
  }

}


/* =================================
HERO CONTENT POSITION — FORCE FIX
(override main.css)
================================= */

.hero{
  position:relative !important;
}

/* force override core main.css */

.hero .hero-content{
  position:absolute !important;

  left:50% !important;
  bottom:160px !important; /* ⭐ siin reguleerid */

  transform:translateX(-50%) !important;

  width:100%;
  max-width:1280px !important;

  z-index:10 !important;
}


/* device control */

@media(max-width:1024px){
  .hero .hero-content{
    bottom:120px !important;
  }
}

@media(max-width:768px){
  .hero .hero-content{
    bottom:80px !important;
  }
}


/* =================================
HERO TITLE — CINEMATIC DEPTH
================================= */

.hero .hero-title{
  font-family:"Outfit", sans-serif !important;

  font-weight:600 !important;
  font-size:clamp(24px,7vw,56px) !important;

  letter-spacing:-0.03em !important;
  line-height:1 !important;

  text-shadow:
    0 20px 60px rgba(0,0,0,.35),
    0 2px 6px rgba(0,0,0,.25);
}

/* =================================
EYEBROW PILL — GREEN BORDER
================================= */

.hero .vl24-eyebrow-pill{
  border:1px solid var(--brand-primary) !important;
}

/* =================================
HERO FINAL TYPO SPACING (DESKTOP + MOBILE)
PASTE THIS AS LAST RULES IN FILE
================================= */

.hero .hero-title{
  margin:0 0 6px !important;       /* title ↔ text */
}

.hero .hero-text{
  margin:0 !important;              /* removes <p> default margins */
  line-height:1.5 !important;
}

/* MOBILE — force override */
@media (max-width:768px){
  .hero .hero-title{
    
    margin:0 0 6px !important;
    line-height:1.05 !important;
  }

  .hero .hero-text{
    font-size:16px !important;
    margin:0 !important;
    line-height:1.5 !important;
  }
}

.hero-actions{
  display:flex;
  gap:12px;
  margin-top:20px;
  align-items:left;
  flex-wrap:wrap;
}

/* =================================
VL24 TRUE MARQUEE — NEVER JUMPS
================================= */

.vl24-eyebrow-track{
  display:flex;
  width:max-content;
  white-space:nowrap;
}

.hero-eyebrow{
  padding-right:10px;
}



@media(max-width:768px){
  .hero .hero-content{
    margin-left:calc(var(--sb-width) - 60px) !important;
  }
}

/* =================================
EYEBROW — SAME GOLD AS LOGO (FINAL)
================================= */

.hero-eyebrow{
  position:relative;
  display:inline-block;

  font-family:"Space Grotesk",sans-serif;
  font-size:16px;
  letter-spacing:.28em;
  text-transform:uppercase;
  font-weight:700;

  margin-bottom:22px;
  white-space:nowrap;

  /* IDENTNE LOGO GOLD */
  background:var(--vl24-gold-metal) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  -webkit-text-fill-color:transparent !important;
  color:transparent !important;

  /* MITTE MINGIT VARJU */
  text-shadow:none !important;
  filter:none !important;
}

.hero-eyebrow{
  padding:6px 12px;
  border-radius:6px;

  background-color:rgba(18,18,18,.35);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,.08);
}

@media(max-width:768px){

  .hero-eyebrow{
    font-size:12px;          /* tekst väiksem */
    letter-spacing:.18em;

    padding:4px 8px;         /* klaas kast väiksem */
    border-radius:4px;

    margin-bottom:10px;      /* H2-le lähemale */
  }

}

/* scan line */
.hero-eyebrow::after{
  content:"";
  position:absolute;
  top:0;
  left:-40%;
  width:40%;
  height:100%;

  background:linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.9),
    rgba(255,255,255,.95),
    transparent
  );

  opacity:0;
  pointer-events:none;
}

.hero-eyebrow.is-scanning::after{
  opacity:.85;
  animation:vl24Scan 5s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes vl24Scan{
  to{ left:130%; }
}

/* final gold */
.hero-eyebrow.is-final{
  background:linear-gradient(
    180deg,
    #fff6c7 0%,
    #f0c95a 35%,
    #b8962e 65%,
    #fff1a3 100%
  );
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  text-shadow:
    0 1px 1px rgba(0,0,0,.6),
    0 0 14px rgba(212,175,55,.35);
}

.hero .hero-title{
  max-width:600px;
}

@media (max-width:768px){
  .hero .hero-title{
    max-width:320px; /* muuda numbrit */
  }
}

@media (max-width:768px){

  .hero-actions{
    width:auto;
    gap:14px;
  }

  .hero-actions .vl24-btn{
    width:auto;
    justify-content:center;
  }

}

@media (max-width:768px){
  .hero-actions{
    padding-right:24px;
  }
}

/* =================================
HERO SCROLL — TRIPLE ARROW (FIT INSIDE)
================================= */

.hero-scroll{
  position:absolute;
  left:50%;
  bottom:45px;
  transform:translateX(-50%);

  width:56px;          
  height:56px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  gap:1px;

  border:none;
  background:none;
  opacity:.7;
  transition:.3s ease;
}

.hero-scroll:hover{
  opacity:1;
}

/* arrow base */
.hero-arrow{
  display:block;
  border-left:2px solid rgba(255,255,255,.9);
  border-bottom:2px solid rgba(255,255,255,.9);
  transform:rotate(-45deg);

  animation:vl24ScrollArrow 2.4s infinite;
}

/* TOP — smallest */
.hero-arrow-3{
  width:3px;
  height:3px;
  opacity:.4;
  animation-delay:.3s;
}

/* middle */
.hero-arrow-2{
  width:6px;
  height:6px;
  opacity:.7;
  animation-delay:.15s;
}

/* bottom — biggest */
.hero-arrow-1{
  width:10px;
  height:10px;
  opacity:1;
}

@keyframes vl24ScrollArrow{
  0%{
    transform:translateY(-6px) rotate(-45deg);
  }
  50%{
    transform:translateY(6px) rotate(-45deg);
  }
  100%{
    transform:translateY(-6px) rotate(-45deg);
  }
}

/* =========================================
HERO SCROLL — NO BLINK, MOVEMENT ONLY (FINAL)
PASTE AS LAST RULES IN hero.css
========================================= */

/* ära lase parentil opacity/transitioniga “pulse” teha */
.hero-scroll{
  opacity:1 !important;
  transition:none !important;
  animation:none !important;
  filter:none !important;
}

/* force: nooled EI tohi kunagi opacityt muuta */
.hero-arrow,
.hero-arrow-1,
.hero-arrow-2,
.hero-arrow-3{
  opacity:1 !important;
  filter:none !important;
}

/* force: kasuta UUT animatsiooni nime (ei konflikti vanaga) */
.hero-arrow{
  will-change:transform;
  animation-name:vl24ScrollMove !important;
  animation-duration:2.4s !important;
  animation-timing-function:ease-in-out !important;
  animation-iteration-count:infinite !important;
}

/* delay jääb */
.hero-arrow-2{ animation-delay:.15s !important; }
.hero-arrow-3{ animation-delay:.30s !important; }

/* MOVEMENT ONLY — EI MINGIT opacity */
@keyframes vl24ScrollMove{
  0%   { transform:translateY(-6px) rotate(-45deg); }
  50%  { transform:translateY( 6px) rotate(-45deg); }
  100% { transform:translateY(-6px) rotate(-45deg); }
}

/* =========================================
FIX — PRIMARY BUTTON FINAL (LIGHT)
metallic gold button + dark icon bg + gold icon
========================================= */

/* ⭐ nupp metallik kuld */
.vl24-btn--light{
  background:var(--vl24-gold-metal) !important;
  border:none !important;
  color:#111 !important;
}

/* ⭐ ikooni kast = sama tume mis stripe taust */
.vl24-btn--light .vl24-btn__icon{
  background:#0a0a0c !important; /* stripe dark */
  border:none !important;
}

/* ⭐ rocket / icon kuldseks */
.vl24-btn--light .vl24-btn__icon::before{
  filter:
    brightness(0)
    saturate(100%)
    invert(79%)
    sepia(42%)
    saturate(526%)
    hue-rotate(3deg)
    brightness(92%)
    contrast(92%);
}

/* =========================================
E-POOD BUTTON — HOVER DARK + GOLD ICON
========================================= */

/* hover — ikooni kast tumedaks (mitte valgeks) */
.vl24-btn--dark:hover .vl24-btn__icon{
  background:#0a0a0c !important; /* stripe dark */
}

/* hover — ikoon kuldseks */
.vl24-btn--dark:hover .vl24-btn__icon::before{
  filter:
    brightness(0)
    saturate(100%)
    invert(79%)
    sepia(42%)
    saturate(526%)
    hue-rotate(3deg)
    brightness(92%)
    contrast(92%);
}

/* PRIMARY — HOVER ICON DARK */
.vl24-btn--light:hover .vl24-btn__icon::before{
  filter:none !important; /* eemaldab kuldse filteri */
}

/* =========================================
HERO OFFSET SYSTEM — SERVICES STYLE (VARIABLE)
PASTE LAST
========================================= */

/* default offset */
.hero{
  --hero-offset: 0px;
}

/* DESKTOP amount (muuda siin) */
.hero.is-offset{
  --hero-offset: 100px;
}

/* TABLET amount */
@media (max-width:1024px){
  .hero.is-offset{ --hero-offset: 60px; }
}

/* MOBILE amount */
@media (max-width:640px){
  .hero.is-offset{ --hero-offset: 30px; }
}

/* APPLY OFFSET ONLY TO CONTENT (NOT BACKGROUND) */
.hero .hero-content{
  transform: translateX(calc(-50% + var(--hero-offset))) !important;
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

/* =================================
HERO BUTTONS — SMALL SCREEN FIX
ainult väga väiksed ekraanid
================================= */

@media (max-width:420px){

  .hero-actions{
    gap:10px;
  }

  .hero-actions .vl24-btn{
    min-height:44px;
    padding:6px 48px 6px 18px;
    font-size:14px;
  }

  .hero-actions .vl24-btn__icon{
    width:34px;
    height:34px;
  }

}

.vl24-btn--dark{
  background:rgba(20,20,20,.35);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  border:1px solid rgba(255,255,255,.18);

  
}

