.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 31, 41, .55), rgba(5, 31, 41, .08) 70%), linear-gradient(0deg, rgba(3, 23, 31, .34), transparent 45%);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.destination-card {
  aspect-ratio: 1.2/1;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #557;
}

.destination-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--photo);
  background-size: cover;
  background-position: center;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 35, 44, .72), rgba(5, 35, 44, .02) 65%);
}

.destination-card>* {
  position: relative;
  z-index: 2;
}

.destination-card:hover::before {
  transform: scale(1.055);
}

.destination-card h3 {
  margin: 6px 0 0;
  font: 500 clamp(28px, 2.5vw, 40px)/1.05 Manrope, sans-serif;
  letter-spacing: -.03em;
}

.destination-card:hover .discover {
  opacity: 1;
  transform: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  color: #fff;
  padding-bottom: 330px
}


/* GO7 overlay + Banner controls responsive tuning */
@media(max-width:1072px) {
  .hero-content {
    padding-bottom: 380px;
  }
}

@media(max-width:720px) {
  .hero {
    height: 900px;
    min-height: 900px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 150px;
    padding-bottom: 500px;
  }
}

/* =========================================================
   V1.6.7 Banner controls — canonical
   ========================================================= */

/* 箭頭獨立：與 GO7 使用相同 .container，所以右邊界完全對齊 */
.hero-arrow-wrap {
  position: absolute;
  z-index: 14;
  left: 50%;
  top: 0;
  bottom: 72px;
  /* 底部 72px 保留給 pagination bar */
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-next {
  position: absolute;
  right: 0;
  top: 43%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  color: #fff;
  background: rgba(5, 31, 41, .10);
  font-size: 19px;
  cursor: pointer;
  pointer-events: auto;
  transition: background .2s, color .2s, border-color .2s;
}

.hero-next:hover {
  background: #fff;
  color: var(--color-deep);
  border-color: #fff;
}

/* Banner 底部真正獨立的頁數帶 */
.hero-pagination {
  position: absolute;
  z-index: 13;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  display: flex;
  align-items: center;
  pointer-events: none;
  background: linear-gradient(to top,
      rgba(4, 27, 36, .32) 0%,
      rgba(4, 27, 36, .15) 58%,
      rgba(4, 27, 36, 0) 100%);
}

.hero-pagination-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  pointer-events: auto;
}

.hero-dot {
  width: 28px;
  height: 2px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, .42);
  cursor: pointer;
}

.hero-dot.active {
  background: #fff;
}

@media(max-width:1072px) {
  .hero-arrow-wrap {
    bottom: 68px;
  }

  .hero-next {
    top: 42%;
    width: 46px;
    height: 46px;
  }

  .hero-pagination {
    height: 68px;
  }

  .hero-dots {
    padding: 16px 18px;
  }
}

@media(max-width:720px) {
  .hero-arrow-wrap {
    bottom: 62px;
  }

  .hero-next {
    top: 40%;
    width: 42px;
    height: 42px;
  }

  .hero-pagination {
    height: 62px;
  }

  .hero-dots {
    gap: 8px;
    padding: 15px 14px;
  }

  .hero-dot {
    width: 20px;
  }
}

.hero {
  position: relative;
  height: min(860px, 88vh);
  min-height: 680px;
  background: var(--color-deep);
  overflow: visible;
  height: min(900px, 92vh);
  min-height: 760px; 
  overflow : visible;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transition: opacity 1s ease, visibility 1s;
  overflow: hidden;
}

.destinations {
  background: #fff;
  position: relative;
  z-index: 1;
}


/* =========================================================
   V1.7.1 Typography / spacing refinement
   ========================================================= */
.destinations .section-title,
.route-section .section-title {
  max-width: 1180px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  gap: 22px;
}

@media(max-width:720px) {
  .hero-content h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.02;
  }
}

.discover {
  display: block;
  margin-top: 17px;
  font-size: 11px;
  letter-spacing: .10em;
  opacity: 0;
  transform: translateY(7px);
  transition: .25s;
  font-size: 12px;
  letter-spacing: .08em;
}

/* V1.7.3 — centered section rhythm */
.aircraft-simple-head {
  display: block;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
}

.aircraft-simple-head h2 {
  margin: 0 auto 22px;
  font: var(--weight-medium) var(--h2-size)/1.08 var(--font-heading);
  letter-spacing: -.035em;
}

.destination-no {
  align-self: flex-end;
  font-size: 12px;
  letter-spacing: .12em;
  opacity: .75;
  font-size: 16px;
  line-height: 1;
  letter-spacing: .04em;
  font-weight: 500;
  font-size: var(--number-size)
}

.destination-card small {
  font-size: 11px;
  letter-spacing: .12em;
  opacity: .82;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: var(--text-sm)
}

.hero-content h1 {
  max-width: 920px;
  margin: 0;
  font: 500 var(--title-xl)/1.02 Manrope, sans-serif;
  letter-spacing: -.042em;
  font-size: var(--h1-size);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.05em;
}

.hero-content .eyebrow {
  font-size: var(--eyebrow-size)
}

.hero-place {
  margin: 32px 0 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  opacity: .9;
  font-size: var(--text-sm)
}

.destination-card,
.booking-control,
.booking-search,
.custom-booking,
.aircraft-photo-grid figure {
  border-radius: var(--radius);
}

/* GO7 tablet / mobile banner controls
   Desktop rules above remain unchanged. */
.hero-prev,
.hero-mobile-next{
  display:none;
}

@media(max-width:1072px){
  .hero-arrow-wrap{
    display:none;
  }

  .hero-pagination{
    z-index:170;
  }

  .hero-pagination-inner{
    justify-content:center;
    gap:22px;
  }

  .hero-prev,
  .hero-mobile-next{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid rgba(255,255,255,.58);
    border-radius:50%;
    background:rgba(5,31,41,.10);
    color:#fff;
    font-size:19px;
    cursor:pointer;
    pointer-events:auto;
  }
}

@media(max-width:720px){
  .hero-content{
    display:none;
  }

  .hero-pagination-inner{
    gap:16px;
  }
}

@media(max-width:1072px) and (min-width:721px){
  .hero-content{
    padding-top:0;
  }
}
