/* YONI-ESIM/zh/ 樣式（排版與對齊優化�?*/
:root {
  --hf-primary: #00b894;
  --hf-primary-dark: #00967a;
  --hf-primary-light: #e6faf6;
  --hf-ink: #0f172a;
  --hf-ink-muted: #64748b;
  --hf-border: #e2e8f0;
  --hf-bg: #f4f9f7;
  --hf-white: #fff;
  --hf-radius: 12px;
  --hf-radius-lg: 20px;
  --hf-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --hf-shadow-hover: 0 10px 36px rgba(15, 23, 42, 0.1);
  --header-h: 72px;
  --topbar-h: 44px;
  --section-pad: clamp(2.5rem, 5vw, 4rem);
  --section-pad-sm: clamp(2rem, 4vw, 3rem);
  --container-px: max(1.25rem, min(4vw, 2rem));
  --text-body: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.8125rem;
  --leading: 1.65;
  --leading-tight: 1.25;
  --leading-snug: 1.45;
  --hero-vp-slide-h: 2.85rem;
  --hero-vp-duration: 10s;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  color: var(--hf-ink);
  background: var(--hf-bg);
  font-size: var(--text-body);
  line-height: var(--leading);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  line-height: var(--leading-tight);
  text-wrap: balance;
}

h2,
h3 {
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
  box-sizing: border-box;
}

.container--narrow {
  max-width: 50rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Top bar */
.topbar {
  background: var(--hf-ink);
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  text-align: center;
  padding: 0.7rem var(--container-px);
  position: relative;
  z-index: 30;
}

.topbar a {
  color: var(--hf-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--hf-white);
  box-shadow: 0 1px 0 var(--hf-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 0;
}

.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--hf-primary), #4fd1c5);
  display: grid;
  place-items: center;
  color: var(--hf-white);
  font-size: 1.1rem;
  font-weight: 900;
}

.nav-primary {
  display: none;
  align-items: center;
  gap: clamp(0.45rem, 0.9vw, 1rem);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--hf-ink);
  line-height: 1.4;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}

.nav-primary a {
  white-space: nowrap;
}

.nav-primary a:hover {
  color: var(--hf-primary);
}

.badge-new {
  background: var(--hf-primary);
  color: var(--hf-white);
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.2rem;
  font-weight: 700;
  vertical-align: super;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.45rem;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.header-cta {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.btn-ghost,
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--hf-ink);
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
}

.lang-select {
  display: inline-block;
  vertical-align: middle;
  border: 1px solid var(--hf-border);
  border-radius: 8px;
  background-color: var(--hf-white);
  min-height: 40px;
  padding: 0.45rem 1.75rem 0.45rem 0.7rem;
  font-size: var(--text-sm);
  line-height: 1.35;
  color: var(--hf-ink);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  background-size: 10px;
  max-width: 8.75rem;
}

.btn-ghost:hover,
.btn-icon:hover {
  background: var(--hf-primary-light);
  color: var(--hf-primary-dark);
}

.btn-login {
  display: none;
  font-weight: 600;
  color: var(--hf-primary);
}

.btn-cyan {
  background: var(--hf-primary);
  color: var(--hf-white);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  border: 2px solid transparent;
}

.btn-cyan:hover {
  background: var(--hf-primary-dark);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  border-radius: 8px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--hf-ink);
  border-radius: 1px;
}

/* Mobile menu panel */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}

.drawer[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  transition: opacity 0.25s;
}

.drawer[aria-hidden="false"] .drawer-backdrop {
  opacity: 1;
}

.drawer[aria-hidden="true"] .drawer-backdrop {
  opacity: 0;
}

.drawer-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: min(100%, 360px);
  background: var(--hf-white);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  z-index: 1;
}

.drawer[aria-hidden="false"] .drawer-panel {
  transform: translateX(0);
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
}

.drawer nav a {
  padding: 0.85rem 0.5rem;
  border-radius: 8px;
  font-weight: 500;
}

.drawer nav a:hover {
  background: var(--hf-primary-light);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hf-border);
}

.drawer-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: center;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0 calc(var(--section-pad) + 0.5rem);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: transparent;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 Q300,100 600,50 T1200,50 L1200,120 L0,120 Z' fill='black'/%3E%3C/svg%3E");
  mask-size: 100% 100%;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 Q300,100 600,50 T1200,50 L1200,120 L0,120 Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  color: var(--hf-ink-muted);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  margin: 0 0 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: var(--leading-snug);
}

.hero h1 {
  line-height: 1.12;
  margin: 0 0 1.5rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-title-line {
  font-size: clamp(1.55rem, 3.4vw, 2.05rem);
  color: var(--hf-ink);
  font-weight: 800;
}

.hero-title-accent {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(98deg, #00a88a 0%, #00b894 40%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

/* 首屏優勢：與官網相同的豎向輪播（雙層內容無縫循環�?*/
.hero-vp {
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

.hero-vp-viewport {
  height: var(--hero-vp-slide-h);
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--hf-border);
  background: var(--hf-white);
  box-shadow: var(--hf-shadow);
}

.hero-vp-track {
  display: flex;
  flex-direction: column;
  animation: hero-vp-y var(--hero-vp-duration) linear infinite;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .hero-vp-track {
    animation: none;
  }
}

@keyframes hero-vp-y {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.hero-vp-slide {
  flex: 0 0 var(--hero-vp-slide-h);
  min-height: var(--hero-vp-slide-h);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.85rem;
  box-sizing: border-box;
}

.hero-vp-check {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--hf-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Cpath d='M6 12.5L10.2 16.5L18 6.5'/%3E%3C/svg%3E") center/65% 65% no-repeat;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.hero-vp-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hf-ink);
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}

.hero-search {
  background: var(--hf-white);
  border-radius: var(--hf-radius-lg);
  padding: 1.2rem 1.25rem 1.3rem;
  box-shadow: var(--hf-shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  max-width: 32rem;
}

.hero-search label {
  display: block;
  font-size: var(--text-xs);
  color: var(--hf-ink-muted);
  margin-bottom: 0.4rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.search-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.search-row input,
.search-row select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--hf-border);
  border-radius: 10px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--hf-ink);
  background: #fafbfc;
  transition: border-color 0.15s, background 0.15s;
}

.search-row input::placeholder {
  color: #94a3b8;
}

.search-row input:focus,
.search-row select:focus {
  outline: none;
  border-color: var(--hf-primary);
  background: var(--hf-white);
  box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.12);
}

.search-row .btn-cyan {
  text-align: center;
  display: block;
  padding: 0.85rem;
}

.hero-visual {
  position: relative;
  border-radius: var(--hf-radius-lg);
  overflow: hidden;
  min-height: 200px;
  max-width: min(100%, 28rem);
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(160deg, #c8f4ea 0%, #e0fdf6 100%);
  box-shadow: var(--hf-shadow);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(232, 251, 246, 0.12) 0%, rgba(0, 184, 148, 0.08) 100%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  max-height: min(70vh, 40rem);
}

/* Trust */
.trust-row {
  text-align: center;
  padding: var(--section-pad-sm) 0;
  background: var(--hf-bg);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.trust-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.trust-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  max-width: 28rem;
  margin: 0 auto;
}

.trust-excel {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--hf-ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trust-stars-img {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  line-height: 0;
}

.trust-stars-img img {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.trust-score {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.15rem 0 0;
  line-height: 1.2;
}

/* 他處引用的文字星等樣式（評價區塊等�?*/
.stars {
  color: #00b67a;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  line-height: 1;
}

.star-half {
  opacity: 0.85;
  font-size: 0.7em;
  letter-spacing: 0;
  vertical-align: 0.15em;
}

.trust-meta {
  font-size: var(--text-sm);
  color: var(--hf-ink-muted);
  margin: 0 0 0.15rem;
  line-height: var(--leading-snug);
  max-width: 22rem;
}

.trust-tp-img {
  display: block;
  width: 7.5rem;
  height: auto;
  margin: 0.35rem auto 0;
}

/* 聯盟 / 票券�?*/
.affiliate-ticket {
  background: linear-gradient(180deg, #fffbeb 0%, #fff8ec 100%);
  border-top: 1px solid #fde68a;
  border-bottom: 1px solid #fde68a;
  padding: 1.1rem 0;
}

.affiliate-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
  font-size: var(--text-sm);
  line-height: var(--leading);
  color: #78350f;
}

.affiliate-ico {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
  text-align: center;
}

.affiliate-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
  flex: 1;
  min-width: 0;
}

.affiliate-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Section titles */
.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  padding: 0 0.5rem;
}

.section-head h2 {
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--hf-ink);
}

.section-head p {
  margin: 0.6rem 0 0;
  color: var(--hf-ink-muted);
  font-size: var(--text-sm);
  line-height: var(--leading);
}

/* Destinations */
.destinations {
  padding: var(--section-pad) 0;
  background: var(--hf-white);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1.25rem;
  max-width: 100%;
}

.tab {
  min-height: 2.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hf-ink-muted);
  background: var(--hf-bg);
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tab[aria-selected="true"] {
  color: var(--hf-white);
  background: var(--hf-ink);
  border-color: var(--hf-ink);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.tab .tab-badge {
  font-size: 0.65rem;
  background: var(--hf-primary);
  color: var(--hf-white);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

.panels .panel[hidden] {
  display: none;
}

.panel-subs-lead {
  text-align: center;
  color: var(--hf-ink-muted);
  max-width: 32rem;
  margin: 0 auto 0.5rem;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.section-head--compact {
  margin-bottom: 0;
  text-align: center;
}

.btn-cyan--inline {
  display: inline-block;
  text-align: center;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .card-grid--wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 首頁「國�?地區�? 格＝3×3 */
.card-grid--countries {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 520px) {
  .card-grid--countries {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .card-grid--countries {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dest-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  background: var(--hf-bg);
  border-radius: var(--hf-radius);
  padding: 0.85rem 0.5rem 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--hf-border);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.dest-flag {
  display: block;
  line-height: 0;
  margin-bottom: 0.3rem;
}

.dest-flag img {
  width: 2.4rem;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.1);
}

.dest-e {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--hf-ink-muted);
  line-height: 1.25;
  margin-bottom: 0.2rem;
  max-width: 100%;
  padding: 0 0.2rem;
}

.dest-n {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hf-ink);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.dest-card--reg {
  padding: 1rem 0.75rem;
}

.dest-card--reg .dest-e,
.dest-card--reg .dest-n {
  line-height: 1.3;
  font-size: 0.82rem;
  text-align: center;
}

.dest-card--reg .dest-n {
  font-size: 0.9rem;
  display: block;
  margin-top: 0.15rem;
  font-weight: 700;
}

.dest-card--reg .dest-e {
  font-size: 0.72rem;
  font-weight: 600;
}

.dest-card::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 0.2rem;
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300b894' stroke-width='1.5'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M7 17L17 7'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.25;
  pointer-events: none;
}

.dest-card:hover {
  box-shadow: var(--hf-shadow);
  border-color: var(--hf-border);
  transform: translateY(-2px);
}

.link-more-wrap {
  text-align: center;
  margin-top: 1.5rem;
}

.link-more {
  display: inline-block;
  margin: 1.5rem auto 0;
  font-weight: 600;
  color: var(--hf-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-more-wrap .link-more {
  margin-top: 0;
}

.destinations-airalo {
  background: #f5f0e8;
}

.destinations-airalo .container {
  max-width: 1060px;
}

.destinations-shell {
  background: #6ac090;
  border-radius: 30px;
  padding: 3rem 2rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.tabs-airalo {
  justify-content: space-around;
  gap: 0.2rem;
  margin-bottom: 0.95rem;
  border-bottom: 2px solid rgba(15, 23, 42, 0.6);
  padding-bottom: 0.45rem;
}

.tab-airalo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 140px;
  min-height: 2rem;
  padding: 0.35rem 0.9rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #04121b;
  font-weight: 700;
  font-size: 1.14rem;
  line-height: 1;
  text-align: center;
}

.tab-airalo[aria-selected="true"] {
  color: #04121b;
  background: transparent;
  border-color: transparent;
  box-shadow: inset 0 -3px 0 #04121b;
}

.tab-airalo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 0.3rem;
  flex: 0 0 22px;
}

.tab-airalo-icon img {
  display: block;
  width: 22px;
  height: 22px;
}

.panels-airalo .panel {
  padding: 0.25rem 0;
}

.destinations-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.destinations-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.1;
}

.destinations-head p {
  margin: 0.15rem 0 0;
  color: rgba(4, 18, 27, 0.85);
  font-size: 0.95rem;
}

.destinations-more-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #04121b;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid rgba(15, 23, 42, 0.12);
  white-space: nowrap;
}

.destinations-airalo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem 0.75rem;
}

.destinations-airalo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  min-height: 3.1rem;
  border-radius: 12px;
  padding: 1.3rem 0.65rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.destinations-airalo-left {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.destinations-airalo-flag {
  width: 30px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
}

.destinations-airalo-name {
  color: #04121b;
  font-size: 0.95rem;
  font-weight: 700;
}

.destinations-airalo-price {
  color: #04121b;
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}

.destinations-airalo-price small {
  font-size: 0.9em;
  font-weight: 600;
  opacity: 0.8;
}

@media (min-width: 880px) {
  .destinations-airalo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .destinations-shell {
    border-radius: 22px;
    padding: 1rem 0.85rem;
  }

  .destinations-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .destinations-more-btn {
    width: 100%;
  }
}

/* Plans */
.plans-ribbon {
  text-align: center;
  color: var(--hf-ink-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.plans {
  padding: var(--section-pad) 0;
  background: var(--hf-bg);
}

.plan-cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .plan-cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--hf-white);
  border-radius: var(--hf-radius-lg);
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--hf-shadow);
  border: 1px solid var(--hf-border);
  position: relative;
  height: 100%;
}

.plan-card h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: var(--leading-tight);
  color: var(--hf-ink);
}

.plan-card:has(.hot) h3 {
  padding-right: 3.25rem;
}

.plan-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--hf-ink-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.4rem;
}

.plan-logo {
  display: block;
  opacity: 0.6;
  filter: grayscale(0.1);
  height: 1rem;
  width: auto;
}

.plan-card .hot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

.plan-lead {
  color: var(--hf-ink-muted);
  font-size: 0.9375rem;
  line-height: var(--leading);
  margin: 0 0 1rem;
}

.plan-card ul {
  margin: 0 0 1.25rem;
  flex: 1 1 auto;
}

.plan-card li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  line-height: var(--leading);
  color: var(--hf-ink);
}

.plan-card li::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--hf-primary);
  font-weight: 800;
  font-size: 0.85rem;
}

.plan-card .btn-cyan {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: auto;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, #0e7490, var(--hf-primary), #2dd4bf);
  color: var(--hf-white);
  padding: 2.5rem 0;
  border-radius: 0;
}

.cta-band-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.cta-band .cta-subtitle {
  margin: 0.25rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.98;
}

.cta-band p {
  margin: 0 0 1rem;
  opacity: 0.95;
  max-width: 52ch;
}

.cta-band ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.cta-band .btn-cta {
  display: inline-block;
  background: var(--hf-white);
  color: var(--hf-primary-dark);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
}

/* What is esim */
.what-esim {
  padding: var(--section-pad) 0;
  background: var(--hf-white);
}

.what-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .what-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.what-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 800;
  margin: 0 0 0.9rem;
  line-height: 1.2;
  color: var(--hf-ink);
}

.what-content p {
  color: var(--hf-ink-muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 40rem;
}

.pill-trio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.pill-trio span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f0fdf7;
  color: #0f766e;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.pill-trio span:hover {
  background: #dcfce7;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(15, 23, 42, 0.1);
}

.what-illus {
  border-radius: var(--hf-radius-lg);
  background: linear-gradient(180deg, #d1fae5, #a7f3d0);
  min-height: 0;
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--hf-shadow);
}

.what-illus-img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Steps（與官網相同的裝飾線、橫幅圖與步驟列排法�?*/
.steps {
  padding: var(--section-pad) 0;
  background: var(--hf-bg);
}

.steps-head {
  text-align: center;
}

.steps-guide__divider {
  display: block;
  margin: 0 auto 1rem;
  max-width: 10rem;
  height: auto;
}

.steps-guide__image-wrap {
  text-align: center;
  margin: 0 auto 1.5rem;
  max-width: 40rem;
}

.steps-guide__image {
  width: 100%;
  max-width: 38.75rem;
  height: auto;
  display: block;
  margin: 0 auto;
}

.steps-hiw-rows {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 50rem;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.step-hiw {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: #fef9c3;
  border: 2px solid #facc6f;
  border-radius: 1rem;
  box-shadow: 0 1px 0 rgba(254, 243, 199, 0.9);
}

@media (min-width: 640px) {
  .step-hiw {
    gap: 1.25rem;
    padding: 0.9rem 1.35rem;
  }
}

.step-hiw__lead {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.step-hiw__num {
  color: var(--hf-primary);
  font-weight: 800;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .step-hiw__num {
    font-size: 1.05rem;
  }
}

.step-hiw__ico {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .step-hiw__ico {
    width: 4.4rem;
    height: 4.4rem;
  }
}

.step-hiw__body {
  flex: 1;
  min-width: 0;
  text-align: left;
  color: var(--hf-ink);
}

.step-hiw__body p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--hf-ink);
}

.step-hiw__body .subtle-link {
  display: inline-block;
  margin-top: 0.5rem;
}

.subtle-link {
  color: var(--hf-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

/* Features */
.features {
  padding: var(--section-pad) 0;
  background: var(--hf-white);
}

.features h2 {
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 auto 2rem;
  max-width: 36rem;
  letter-spacing: -0.02em;
  color: var(--hf-ink);
}

.feat-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feat {
  background: var(--hf-bg);
  border-radius: var(--hf-radius);
  padding: 1.25rem 1.15rem;
  border: 1px solid var(--hf-border);
}

.feat-ico {
  width: 44px;
  height: 44px;
  background: var(--hf-primary-light);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.feat h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  color: var(--hf-ink);
}

.feat p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--hf-ink-muted);
}

.payment-strip {
  margin-top: 2.5rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--hf-bg);
  border-radius: var(--hf-radius);
  border: 1px dashed var(--hf-border);
}

.payment-strip strong {
  display: block;
  margin-bottom: 0.5rem;
}

/* Refund */
.refund {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--hf-primary-light) 0%, var(--hf-white) 100%);
}

.refund h2 {
  text-align: center;
  font-size: clamp(1.3rem, 2.3vw, 1.5rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--hf-ink);
}

.refund-sub {
  text-align: center;
  color: var(--hf-ink-muted);
  margin: 0 0 1.5rem;
  font-size: var(--text-sm);
  line-height: 1.5;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.refund-cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .refund-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.refund-card {
  background: var(--hf-white);
  border-radius: var(--hf-radius);
  padding: 1.25rem;
  box-shadow: var(--hf-shadow);
}

.refund-card h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  color: var(--hf-ink);
}

.refund-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--hf-ink-muted);
  margin: 0;
}

/* Testimonials */
.testi {
  padding: var(--section-pad) 0;
  background: var(--hf-white);
}

.testi-hero-title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 800;
  color: var(--hf-ink);
  line-height: 1.35;
  letter-spacing: -0.02em;
  padding: 0 0.5rem;
}

.testi-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-item--wide {
    grid-column: 1 / -1;
  }
}

.testi-item blockquote {
  margin: 0;
  background: var(--hf-bg);
  border-radius: var(--hf-radius);
  padding: 1.2rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--hf-ink-muted);
  border-left: 3px solid var(--hf-primary);
  height: 100%;
}

.testi-item figcaption {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--hf-ink);
  margin-top: 0.75rem;
  line-height: 1.4;
}

.testi-item figcaption strong {
  font-weight: 700;
  color: var(--hf-ink);
}

.tenm {
  text-align: center;
  padding: 1.5rem 0 0;
}

.tenm .big {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--hf-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.2rem;
}

.tenm p:not(.big) {
  margin: 0.25rem 0;
  line-height: 1.5;
  font-size: var(--text-sm);
  color: var(--hf-ink-muted);
}

.tenm-trust {
  margin-top: 0.5rem;
  color: var(--hf-ink-muted);
}

.tenm .stars {
  color: #00b67a;
}

/* Sustain */
.sustain {
  padding: var(--section-pad) 0;
  background: var(--hf-ink);
  color: var(--hf-white);
}

.sustain h2 {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  line-height: 1.3;
  font-weight: 800;
}

.sustain p {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 0 0.5rem;
}

.sustain-link {
  color: #5eead4;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.sustain-link:hover {
  color: #99f6e4;
}

.sustain-body {
  text-align: center;
  color: #94a3b8;
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  font-size: 0.9rem;
  line-height: 1.75;
  padding: 0 0.5rem;
}

.sustain-cta-wrap {
  text-align: center;
  margin: 1.5rem 0 0;
}

.sustain-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.sustain-flags span::before {
  content: "�?";
  color: var(--hf-primary);
}

/* FAQ */
.faq {
  padding: var(--section-pad) 0;
  background: var(--hf-bg);
}

.faq h2 {
  text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  color: var(--hf-ink);
}

.faq-sub {
  text-align: center;
  color: var(--hf-ink-muted);
  margin: 0 0 1.5rem;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.faq-list details {
  background: var(--hf-white);
  border: 1px solid var(--hf-border);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.faq-list summary {
  padding: 1rem 1.15rem 1rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: left;
  color: var(--hf-ink);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--hf-primary);
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "�?;
}

.faq-list .a {
  padding: 0 1.1rem 1.1rem 1.1rem;
  color: var(--hf-ink-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  border-top: 1px solid var(--hf-border);
  padding-top: 0.85rem;
  margin: 0;
  text-align: left;
}

.faq-list .a a {
  color: var(--hf-primary);
  text-decoration: underline;
}

/* App CTA（漸層、手機裝飾圖、官方商店按鈕圖�?*/
.app-cta {
  background: var(--hf-white);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--hf-border);
}

.app-cta__banner {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 16rem;
  background: linear-gradient(156deg, #bfebff -21.92%, #f9eef8 53.4%, #ffccb0 131.92%);
  --app-cta-phone: url("https://media.holafly.com/public/volare/illustrations/all/actions/hand-phone.png?width=500&height=600&optimize=medium&fit=cover&quality=80&format=webp");
}

.app-cta__banner::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(55%, 26rem);
  height: 85%;
  max-height: 28rem;
  background: var(--app-cta-phone) no-repeat right bottom / contain;
  pointer-events: none;
  z-index: 0;
}

.app-cta__inner {
  position: relative;
  z-index: 1;
  text-align: left;
  padding: 1.75rem 1.25rem 1.75rem;
  max-width: 32rem;
}

@media (min-width: 768px) {
  .app-cta__inner {
    padding: 2.5rem 2.75rem 2.5rem 2.25rem;
  }
}

.app-sub {
  margin: 0.35rem 0 0;
  max-width: 24rem;
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}

.app-cta h2,
.app-cta__inner h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.1vw, 1.4rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--hf-ink);
  letter-spacing: -0.02em;
  text-align: left;
}

.app-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1rem;
  margin-top: 1.25rem;
}

.store-link {
  display: inline-flex;
  line-height: 0;
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.25rem 0.4rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-link img {
  display: block;
  width: 8.75rem;
  height: auto;
}

@media (min-width: 400px) {
  .store-link img {
    width: 8.5rem;
  }
}

.store-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

/* Footer */
.site-footer {
  background: #0c1222;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.55;
  padding: var(--section-pad-sm) 0 1.5rem;
}

.site-footer a:hover {
  color: var(--hf-primary);
}

.footer-cols {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-cols {
    grid-template-columns: repeat(4, 1fr);
  }
}

.site-footer h4 {
  color: var(--hf-white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
}

.site-footer h4.footer-sub {
  margin-top: 1.25rem;
}

.site-footer li {
  margin-bottom: 0.45rem;
  line-height: 1.45;
}

.site-footer a {
  color: #cbd5e1;
  transition: color 0.15s;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

.heart {
  color: #f472b6;
}

/* Media queries: desktop */
@media (min-width: 1024px) {
  .nav-primary {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .btn-login {
    display: inline-flex;
  }

  .header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .lang-select {
    min-width: 5.6rem;
    max-width: 6rem;
  }

  .nav-optional {
    display: none;
  }
}

@media (min-width: 1320px) {
  .nav-optional {
    display: inline-flex;
  }

  .header-actions .lang-select {
    min-width: 6.4rem;
    max-width: 7rem;
  }
}

@media (min-width: 1024px) and (max-width: 1160px) {

  .header-actions .lang-select,
  .btn-login {
    display: none;
  }
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .search-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }

  .search-row .field-grow {
    flex: 1;
    min-width: 140px;
  }

  .search-row .btn-cyan {
    width: auto;
    flex-shrink: 0;
  }

  .trust-inner {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --header-h: 76px;
  }
}
