/* Stacked 2D coverflow carousel (like mockup — no 3D rotation) */
.hero.hero-with-carousel{
  justify-content:flex-start;
  min-height:100vh;
  min-height:100dvh;
  padding:72px 0 16px;
  gap:0;
}
.hero.hero-with-carousel .hero-title{
  position:relative;
  z-index:200;
  font-size:32px;
  margin-bottom:8px;
  padding:0 20px;
}
.hero.hero-with-carousel .hero-text{
  position:relative;
  z-index:200;
  font-size:14px;
  margin-bottom:16px;
  max-width:300px;
  padding:0 20px;
}
.hero.hero-with-carousel .hero-btn{
  position:relative;
  z-index:200;
  flex-shrink:0;
  padding:14px 32px;
  font-size:12px;
  margin-bottom:28px;
}
.hero.hero-with-carousel .hero-photo.hc-mounted{
  position:relative;
  z-index:1;
  width:100%;
  max-width:980px;
  height:auto;
  min-height:280px;
  margin:16px auto 0;
  padding:0;
  background:transparent;
  border-radius:0;
  overflow:visible;
  display:block;
}
.hero.hero-with-carousel .hero-advs{
  margin-top:16px;
  width:100%;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
  padding:0 12px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  gap:40px;
  flex-wrap:nowrap;
}
.hero.hero-with-carousel .hero-adv{
  flex:0 1 auto;
  max-width:180px;
}
.hero.hero-with-carousel .site-footer{
  margin-top:20px;
  padding:16px 12px;
  margin-left:auto;
  margin-right:auto;
}

.hero-photo.hc-mounted{
  overflow:visible;
  background:transparent;
  height:auto;
  min-height:280px;
  border-radius:0;
  margin-top:0;
  display:block;
}

.hc{
  position:relative;
  width:100%;
  max-width:980px;
  margin:0 auto;
  padding:0 52px;
  user-select:none;
  -webkit-user-select:none;
  box-sizing:border-box;
}

.hc-stage{
  position:relative;
  width:100%;
  height:300px;
  padding-top:24px;
  box-sizing:border-box;
  overflow:visible;
  touch-action:pan-y;
  cursor:grab;
}
.hc-stage:active,
.hc-stage.hc-dragging{
  cursor:grabbing;
}

.hc-track{
  position:relative;
  width:100%;
  height:100%;
}

.hc-slide{
  position:absolute;
  left:50%;
  top:58%;
  width:clamp(118px,31vw,176px);
  height:clamp(168px,44vw,252px);
  transform-origin:center center;
  transition:
    transform .3s cubic-bezier(.22,1,.36,1),
    opacity .28s ease;
  will-change:transform,opacity;
  cursor:pointer;
}
.hc-slide.hc-no-transition{
  transition:none!important;
}
.hc-slide.hc-dragging-slide{
  transition:none!important;
  opacity:1!important;
}

.hc-slide-face{
  width:100%;
  height:100%;
  border-radius:14px;
  overflow:hidden;
  background:var(--linen);
  box-shadow:0 10px 28px rgba(40,35,30,.14);
  transition:box-shadow .35s ease;
}

.hc-slide.is-active .hc-slide-face{
  box-shadow:0 18px 40px rgba(40,35,30,.22);
}

.hc-slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  pointer-events:none;
  -webkit-user-drag:none;
  user-drag:none;
}

.hc-slide.is-left,
.hc-slide.is-right{
  pointer-events:auto;
}

@media(min-width:769px){
  .hero.hero-with-carousel{
    padding:96px 24px 32px;
  }
  .hero.hero-with-carousel .hero-title{
    font-size:clamp(36px,4vw,52px);
    margin-bottom:12px;
  }
  .hero.hero-with-carousel .hero-text{
    font-size:16px;
    max-width:420px;
    margin-bottom:22px;
  }
  .hero.hero-with-carousel .hero-btn{
    padding:16px 40px;
    font-size:13px;
    margin-bottom:16px;
  }
  .hero.hero-with-carousel .hero-photo.hc-mounted{
    min-height:360px;
    margin-top:0;
  }
  .hc-stage{
    height:360px;
    padding-top:0;
  }
  .hc-slide{
    width:188px;
    height:268px;
    top:50%;
  }
}

@media(max-width:768px){
  .hero.hero-with-carousel{
    padding:56px 0 12px;
    min-height:100vh;
    min-height:100dvh;
    justify-content:flex-start;
  }
  .hero.hero-with-carousel .hero-btn{margin-bottom:8px}
  .hero.hero-with-carousel .hero-photo.hc-mounted{
    flex:1 1 auto;
    display:flex;
    align-items:stretch;
    margin-top:-2px;
    min-height:clamp(320px,82vw,480px);
    max-width:none;
    overflow:visible;
  }
  .hc{
    max-width:none;
    flex:1;
    display:flex;
    align-items:stretch;
    padding:0 4px;
  }
  .hc-nav{display:none!important}
  .hc-stage{
    height:100%;
    min-height:clamp(320px,82vw,480px);
    padding-top:0;
    overflow:visible;
    width:100%;
    touch-action:pan-y;
  }
  .hc-stage.hc-dragging{
    touch-action:none;
  }
  .hc-slide{
    top:50%;
    width:clamp(142px,41vw,182px);
    height:clamp(236px,68vw,320px);
  }
  .hc-slide-face{
    border-radius:14px;
  }
  .hero.hero-with-carousel .hero-advs{
    margin-top:10px;
    max-width:100%;
    gap:0;
    flex-wrap:wrap;
    flex-shrink:0;
  }
  .hero.hero-with-carousel .hero-adv{
    flex:0 0 50%;
    max-width:50%;
    padding:8px 6px;
  }
  .hero.hero-with-carousel .site-footer{margin-top:14px}
}

@media (prefers-reduced-motion:reduce){
  .hc-slide{transition:transform .25s ease,opacity .25s ease}
}

.hc-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:rgba(250,250,247,.96);
  color:var(--ink);
  box-shadow:0 10px 28px rgba(40,35,30,.14);
  cursor:pointer;
  z-index:30;
  display:none;
  align-items:center;
  justify-content:center;
  transition:transform .25s var(--ease),background .25s,color .25s,box-shadow .25s;
}
.hc-nav:hover{
  background:var(--ink);
  color:var(--milk);
  transform:translateY(-50%) scale(1.06);
  box-shadow:0 14px 32px rgba(40,35,30,.22);
}
.hc-nav svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.hc-prev{left:0}
.hc-next{right:0}
@media(min-width:769px){
  .hc{padding:0 56px}
  .hc-nav{display:flex}
}

.hc-lightbox{
  position:fixed;
  inset:0;
  z-index:12000;
  background:rgba(20,18,16,.94);
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.hc-lightbox.show{display:flex}
.hc-lightbox-body{
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:min(96vw,920px);
  max-height:92vh;
}
.hc-lightbox img{
  max-width:100%;
  max-height:92vh;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 32px 80px rgba(0,0,0,.45);
}
.hc-lightbox-counter{
  position:absolute;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  color:rgba(255,255,255,.72);
  font-size:13px;
  letter-spacing:2px;
}
.hc-lightbox-close{
  position:absolute;
  top:18px;
  right:18px;
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
.hc-lightbox-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  color:#fff;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hc-lightbox-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}
.hc-lightbox-prev{left:16px}
.hc-lightbox-next{right:16px}
@media(max-width:768px){
  .hc-lightbox-nav{width:40px;height:40px}
  .hc-lightbox-prev{left:8px}
  .hc-lightbox-next{right:8px}
}
