 

.hero {
  position: relative; min-height: 620px;
  display: flex; align-items: center; overflow: hidden;

  
  padding-inline: max(var(--site-pad), (100% - var(--site-w)) / 2);
}

 
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  -webkit-user-drag: none; user-select: none; pointer-events: none;
}

 
.hero-slide::after,
.hero:not(.hero-slider)::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg,
              rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 38%,
              rgba(0,0,0,.35) 68%, rgba(0,0,0,.15) 100%);
}

.hero-in {
  position: relative; z-index: 2; width: 100%; max-width: 660px;
  padding: 70px 0; color: #fff;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 13px; margin-bottom: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
  color: var(--accent);
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--accent); }

.hero h1 {
  font-size: clamp(25px, 3.6vw, 40px);
  line-height: 1.12; letter-spacing: -1.4px; margin-bottom: 18px;
}
.hero h1 em { color: var(--accent); font-style: normal; }

.hero p {
  font-size: 14px; line-height: 1.75; max-width: 520px;
  color: rgba(255, 255, 255, .82);
}

.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

 
.btn-hero {
  padding: 16px 30px;
  font-size: 13.5px;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.btn-hero i { transition: transform .22s; }
.btn-hero:hover i { transform: translateX(4px); }

 
.btn-primary.btn-hero {
  box-shadow: 0 10px 30px -8px var(--accent-soft);
}
.btn-primary.btn-hero:hover {
  box-shadow: 0 14px 34px -8px var(--accent-soft);
  transform: translateY(-1px);
}

 
.btn-on-dark.btn-hero {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
  border-color: rgba(255, 255, 255, .28);
}
.btn-on-dark.btn-hero:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  transform: translateY(-1px);
}

.btn-hero { transition: filter .15s, background .15s, border-color .15s,
                        box-shadow .22s, transform .18s; }

@media (max-width: 620px) {
  
  .hero-cta { flex-wrap: nowrap; gap: 9px; margin-top: 24px; }
  .hero-cta .btn {
    flex: 1 1 0; min-width: 0;
    padding: 14px 12px; font-size: 11.5px; letter-spacing: .5px; gap: 7px;
    white-space: normal; text-align: center; line-height: 1.3;
  }
  
  .btn-hero:hover { transform: none; }
  
  .hero-cta .btn i { display: none; }
}

 
.btn-on-dark { color: #fff; border-color: rgba(255,255,255,.32); }
.btn-on-dark:hover { border-color: #fff; color: #fff; }

 
.hero-slider { padding-inline: 0; align-items: stretch; }

.hero-slider .hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding-inline: max(var(--site-pad), (100% - var(--site-w)) / 2);
  opacity: 0; pointer-events: none; z-index: 1;
}
 
.hero-slider .hero-slide.is-on {
  position: relative; width: 100%; min-height: inherit;
  opacity: 1; pointer-events: auto; z-index: 2;
}
.hero-slider.is-ready .hero-slide { transition: opacity .6s ease; }

.hero-dots {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 4;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255, 255, 255, .42); transition: width .2s, background .2s;
}
.hero-dots button.is-on { background: var(--accent); width: 26px; border-radius: 5px; }

@media (max-width: 860px) {
  .hero { min-height: 480px; }
  .hero-in { padding: 48px 0; }
}
@media (max-width: 480px) {
  .hero { min-height: 420px; }
}
 

.hero + .stats {
  position: relative; z-index: 5;
  margin-top: -60px;           
  padding-bottom: 10px;           
  background: transparent;
  border-bottom: none;
}

 
.hero + .stats::before { display: none; }

.hero + .stats .stats-in {
  position: relative;
  width: min(100% - (2 * var(--site-pad)), var(--site-w));
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

 
.hero + .stats .stats-in::before {
  content: ''; position: absolute;
  top: -1px; left: var(--radius); right: var(--radius); height: 2px;
  border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg,
              var(--accent),
              color-mix(in srgb, var(--accent) 15%, transparent));
  transition: transform 1.1s cubic-bezier(.2, .8, .3, 1);
}
.hero + .stats.is-in .stats-in::before { transform: scaleX(1); }

 
.hero:has(+ .stats) .hero-dots { bottom: 80px; }

@media (max-width: 860px) {
 
  .hero + .stats { margin-top: -40px; }
  .hero + .stats .stats-in { padding: 22px 18px; border-radius: var(--radius-sm); }
  
  .hero + .stats .stats-in::before { left: var(--radius-sm); right: var(--radius-sm); }
  .hero:has(+ .stats) .hero-dots { bottom: 58px; }
}

@media (max-width: 480px) {
  .hero + .stats { margin-top: -30px; }
  .hero:has(+ .stats) .hero-dots { bottom: 46px; }
}

 

.home-feat-in {
  display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px;
  align-items: center;
}
.home-feat-text p { color: var(--text-muted); font-size: 13.5px; margin: 12px 0 20px; }

.home-feat-rail-wrap { position: relative; min-width: 0; }

.home-feat-rail {
  display: flex; gap: 18px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain;

   
  padding: 8px 0 10px;
  margin-top: -8px;

  scrollbar-width: none; -ms-overflow-style: none;
}
.home-feat-rail::-webkit-scrollbar { display: none; }
.home-feat-rail > .pj-card { flex: 0 0 clamp(260px, 30%, 320px); scroll-snap-align: start; }

.rail-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: background .15s, color .15s, opacity .15s;
}
.rail-nav:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.rail-nav[disabled] { opacity: .3; cursor: default; }
.rail-nav[disabled]:hover { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.rail-prev { left: -18px; }
.rail-next { right: -18px; }

@media (max-width: 1000px) {
  .home-feat-in { grid-template-columns: 1fr; gap: 22px; }
  .rail-nav { display: none; }
  .home-feat-rail > .pj-card { flex: 0 0 min(84%, 320px); }
}

 

.trust { background: var(--surface); border-block: 1px solid var(--border); }

 
.trust-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px; padding-block: 40px;
}

.trust-card {
  padding: 26px 20px; text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .16s, transform .16s;
}
.trust-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.trust-card > i { font-size: 22px; color: var(--accent); margin-bottom: 14px; display: block; }
.trust-card h3 {
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 9px;
}
.trust-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 860px) {
  
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 30px; }
  .trust-card { padding: 20px 14px; }
  .trust-card > i { font-size: 23px; margin-bottom: 11px; }
  .trust-card h3 { font-size: 11.5px; letter-spacing: .8px; margin-bottom: 7px; }
  .trust-card p  { font-size: 12px; line-height: 1.6; }
  
  .trust-card:hover { transform: none; }
}

 

.home-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding: 34px 38px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--accent);
}
.home-cta h2 { font-size: 18px; margin-bottom: 6px; }
.home-cta p { color: var(--text-muted); font-size: 14.5px; }

@media (max-width: 620px) {
  .home-cta { padding: 24px 20px; }
  .home-cta .btn { width: 100%; }
}