/* ============ HERO (cinematic 3D) ============ */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  background: var(--hero-deep); perspective: 1400px;
}
.hero-sky {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, #0a4f86 0%, #0e6db5 55%, #083253 100%);
}
.hero-clouds {
  position: absolute; top: -2.5rem; left: -10%; width: 120%; height: 55%;
  object-fit: cover; opacity: .3; mix-blend-mode: screen;
  will-change: transform;
}
.hero-city {
  position: absolute; bottom: 0; left: 0; right: 0; height: 62%; will-change: transform;
}
.hero-city img { position: absolute; bottom: 0; inset-inline: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; opacity: .7; }
.hero-city .fade { position: absolute; inset: 0; background: linear-gradient(to top, var(--hero-deep) 0%, rgba(6,42,69,.4) 45%, transparent 100%); }

/* brand geometric blocks */
.hero-block-blue {
  position: absolute; top: 0; right: 0; width: 10rem; height: 10rem;
  background: rgba(14,118,188,.7);
  clip-path: polygon(30% 0, 100% 0, 100% 100%);
}
.hero-block-green {
  position: absolute; bottom: 0; left: 0; width: 8rem; height: 12rem;
  background: var(--secondary);
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 100%); will-change: transform;
}
@media (min-width: 640px) {
  .hero-block-blue { width: 18rem; height: 16rem; }
  .hero-block-green { width: 14rem; height: 18rem; }
}

.hero-content {
  
  position:sticky;
    top:0px; z-index: 10; max-width: 90rem; margin: 0 auto;
  padding: 8rem 1.25rem 6rem; min-height: 100svh;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center;
  will-change: transform, opacity;
}
 @media (min-width: 640px) { .hero-content { padding: 9rem 2rem 6rem; } } 
@media (min-width: 768px) { .hero-content { grid-template-columns: 7fr 5fr; } }

.hero-overline {
  font-family: "JetBrains Mono", monospace; text-transform: uppercase;
  letter-spacing: .25em; font-size: .8rem; color: var(--secondary); margin: 0 0 1.5rem;
  opacity: 0; animation: fade-up .6s ease forwards .2s;
}

.hero-title {
  font-family: "Cabinet Grotesk", sans-serif; font-weight: 900;
  line-height: .95; letter-spacing: -0.03em; color: #fff; margin: 0;
  font-size: clamp(2rem, 8vw, 4.2rem); text-shadow: 25px 5px 8px rgba(0,0,0,.65);
  
   
}

.hero-title .line { display: block; overflow: hidden; }


.hero-title .line > span{
    display:inline-block;
    transition:
        transform 1.2s cubic-bezier(.22,1,.36,1),
        opacity 1.2s cubic-bezier(.22,1,.36,1);
    will-change:transform,opacity;
}

/* Exit */

.hero-title .line:nth-child(1)>span.out{
    transform:translateX(-200px);
    opacity:0;
}

.hero-title .line:nth-child(2)>span.out{
    transform:translateX(200px);
    opacity:0;
}

.hero-title .line:nth-child(3)>span.out{
    transform:translateY(120px);
    opacity:0;
}

/* Enter */

.hero-title .line:nth-child(1)>span.in{
    transform:translateX(-200px);
    opacity:1;
}

.hero-title .line:nth-child(2)>span.in{
    transform:translateX(200px);
    opacity:1;
}

.hero-title .line:nth-child(3)>span.in{
    transform:translateY(120px);
    opacity:1;
}

.hero-sub.in{
    transform:translateY(-120px);
    opacity:1;
}
.hero-sub.out{
    transform:translateY(120px);
    opacity:0;
}

.hero-title .green { color: var(--secondary); }
@keyframes line-up { from { transform: translateY(115%); } to { transform: translateY(0); } }

.hero-sub {
  margin: 1.55rem ; max-width: 32rem; font-size: 1.05rem; line-height: 1.7;
  color: rgba(255,255,255,.8); opacity: 0; animation: fade-up .7s ease forwards .9s;
}


.hero-badges { margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .625rem; opacity: 0; animation: fade-up .7s ease forwards 1.05s; }
.hero-badge {
  width:100%;
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 999px; padding: .5rem 1rem; font-size: .875rem; color: #fff;
}
@media (min-width: 768px) { .hero-badge { width:35% } }
.hero-badge .tick { display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 999px; background: var(--secondary); color: var(--secondary-foreground); }
.hero-badge .tick [data-lucide] { width: 12px; height: 12px; }

.hero-actions { margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; opacity: 0; animation: fade-up .7s ease forwards 1.2s; }
.hero-actions .btn-secondary-fill .btn-icon { background: var(--hero-deep); color: #fff; }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.hero-actions .btn-outline:hover { background: #fff; color: var(--primary); }

/* 3D photo stack */
.hero-stack { position: relative; height: 340px; display: none; transform-style: preserve-3d; will-change: transform; }
@media (min-width: 768px) { .hero-stack { display: block; height: 460px; } }
.hero-stack img { position: absolute; object-fit: cover; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 25px 60px rgba(0,0,0,.5); opacity: 0.6;}
.hero-stack .img1 { left: .5rem; top: .5rem; width: 74%; aspect-ratio: 4/5; border-radius: 4px 3rem 3rem 3rem; opacity: 0; animation: fade-up2 .9s ease forwards .6s; }
.hero-stack .img2 { right: 0; bottom: -5.5rem; width: 58%; aspect-ratio: 1/1; border-radius: 3rem 3rem 4px 3rem; opacity: 0; animation: fade-up2 .9s ease forwards .8s; }
.hero-stat {
  position: absolute;
  left: 0rem;
  bottom: -1rem;
  background: #fff;
  border-radius: 1rem;
  padding: .55rem 1.5rem;
  box-shadow: 11px 5px 6px rgba(0,0,0,.4);
  opacity: 0;
  transform: scale(.8);
  animation: pop-in .6s ease forwards 1.1s;
  width: 131px;
}
.hero-stat .num { font-family: "Cabinet Grotesk", sans-serif; font-weight: 900; font-size: 1.5rem; color: var(--primary); line-height: 1; margin:0; }
.hero-stat .lbl { font-size: .75rem; color: var(--muted-foreground); margin-top: .15rem; }

/* scroll cue */
.hero-cue {
  position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.7);
}
.hero-cue span { font-family: "JetBrains Mono", monospace; text-transform: uppercase; letter-spacing: .2em; font-size: .65rem; }

@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: scale(1); } }
@keyframes fade-up2 { from { opacity: 0; transform: translateY(20px); } to { opacity: 0.8; transform: none; } }


