:root {
  --ink: #17243a;
  --muted: #667085;
  --line: #dde5ec;
  --paper: #f4f7fb;
  --white: #ffffff;
  --blue: #0e4f88;
  --deep: #09345d;
  --teal: #2a8f9d;
  --orange: #e98735;
  --gold: #c89554;
  --shadow: 0 18px 48px rgba(23, 36, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif;
  line-height: 1.6;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(23, 36, 58, 0.06);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(9, 52, 93, 0.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.quick-nav,
.category-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-nav {
  gap: 24px;
  color: #32445a;
  font-size: 15px;
  font-weight: 700;
}

.phone-link {
  padding: 10px 15px;
  color: var(--white);
  background: var(--orange);
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
}

.category-nav {
  position: sticky;
  top: 83px;
  z-index: 25;
  gap: 1px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--deep);
  overflow-x: auto;
}

.category-nav a {
  min-width: 108px;
  padding: 13px 18px;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  font-weight: 900;
}

.category-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.portal-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 760px);
  gap: 28px;
  align-items: center;
  min-height: min(760px, calc(100vh - 82px));
  padding: 104px clamp(20px, 6vw, 92px) 82px;
  color: var(--white);
  overflow: hidden;
  background: #082f52;
}

.portal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 24, 42, 0.78) 0%, rgba(5, 24, 42, 0.46) 42%, rgba(5, 24, 42, 0.12) 100%),
    linear-gradient(180deg, rgba(5, 24, 42, 0.1) 0%, rgba(5, 24, 42, 0.34) 68%, rgba(5, 24, 42, 0.72) 100%);
  pointer-events: none;
}

.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 18% 36%, rgba(255, 255, 255, 0.16), transparent 34%);
  pointer-events: none;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.08) brightness(1.04) contrast(1.04);
}

.hero-slide img.hero-osaka {
  object-position: center 28%;
}

.hero-slide-zhangjiajie img {
  object-fit: cover;
  object-position: center 42%;
}

.hero-slide img.hero-chongqing {
  object-position: center 50%;
  filter: saturate(1.28) brightness(1.18) contrast(1.12);
}

.hero-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--white);
  background: rgba(9, 52, 93, 0.45);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.hero-carousel-button:hover {
  background: rgba(233, 135, 53, 0.92);
}

.hero-carousel-button.prev {
  left: clamp(14px, 2.6vw, 36px);
}

.hero-carousel-button.next {
  right: clamp(14px, 2.6vw, 36px);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(760px, 100%);
}

.kicker {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portal-hero .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #ffd08a;
  background: rgba(7, 24, 42, 0.28);
  backdrop-filter: blur(8px);
}

.portal-hero h1 {
  display: block;
  max-width: 720px;
  margin-bottom: 18px;
  color: #fffaf2;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

.portal-hero h1::after {
  content: "";
  display: block;
  width: clamp(220px, 34vw, 360px);
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--orange);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 790px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.28;
}

.hero-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-dots {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 38px;
  z-index: 4;
  display: inline-flex;
  gap: 10px;
}

.hero-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: var(--orange);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.button.primary {
  color: var(--white);
  background: var(--orange);
  box-shadow: 0 12px 24px rgba(233, 135, 53, 0.24);
}

.button.light {
  color: var(--blue);
  border-color: var(--line);
  background: var(--white);
}

.button.danger {
  color: #b42318;
  border-color: #f5c6c1;
  background: #fff4f2;
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.64);
  background: rgba(255, 255, 255, 0.08);
}

.hero-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-panel p {
  margin-bottom: 8px;
  color: var(--orange);
  font-weight: 900;
}

.hero-panel h2 {
  margin-bottom: 12px;
  font-size: 28px;
}

.hero-panel span {
  color: var(--muted);
}

.search-box {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 36px));
  margin: -36px auto 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.search-heading h2 {
  margin-bottom: 0;
  font-size: 26px;
}

.search-heading span {
  color: var(--muted);
  font-weight: 900;
}

.trip-search,
.lead-form {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #45556a;
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(42, 143, 157, 0.18);
  border-color: var(--teal);
}

.notice-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  padding: 0 clamp(18px, 5vw, 72px);
  background: var(--line);
}

.notice-strip article {
  padding: 20px 22px;
  background: var(--white);
}

.notice-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
}

.notice-strip span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 78px clamp(18px, 5vw, 72px);
}

.section-title {
  width: min(820px, 100%);
  margin-bottom: 30px;
}

.section-title.with-tabs {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.theme-card {
  position: relative;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 22px;
  color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.theme-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(7, 24, 42, 0.1), rgba(7, 24, 42, 0.76));
}

.theme-card span,
.theme-card strong {
  position: relative;
}

.theme-card span {
  margin-bottom: 7px;
  color: #ffd08a;
  font-weight: 900;
}

.theme-card strong {
  font-size: 22px;
  line-height: 1.25;
}

.theme-card.japan {
  background-image: url("https://images.unsplash.com/photo-1528164344705-47542687000d?auto=format&fit=crop&w=900&q=82");
}

.theme-card.europe {
  background-image: url("https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=900&q=82");
}

.theme-card.island {
  background-image: url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=900&q=82");
}

.theme-card.family {
  background-image: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=900&q=82");
}

.featured {
  background: var(--white);
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  min-width: 64px;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.tab.is-active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tour-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.08);
}

.tour-card.is-hidden {
  display: none;
}

.tour-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tour-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.tour-meta {
  display: flex;
  align-items: flex-start;
  min-height: 42px;
  margin-bottom: 8px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.tour-body h3 {
  display: block;
  min-height: 0;
  max-height: none;
  margin: 0 0 8px;
  overflow: visible;
  line-height: 1.45;
}

.tour-body ul {
  display: grid;
  gap: 6px;
  padding-left: 18px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.tour-footer strong {
  color: var(--blue);
  white-space: nowrap;
}

.tour-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tour-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue);
  font-weight: 900;
  color: var(--white);
}

.tour-detail {
  margin-top: 14px;
  padding: 12px;
  color: var(--muted);
  background: #f4f7fb;
  border-radius: 8px;
  font-size: 14px;
}

.tour-detail p {
  margin-bottom: 0;
}

.tour-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.tour-detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.tour-detail-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tour-detail-gallery figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.tour-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.tour-info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.tour-info-strip article {
  padding: 22px clamp(16px, 3vw, 30px);
  background: var(--white);
}

.tour-info-strip strong,
.tour-info-strip span {
  display: block;
}

.tour-info-strip strong {
  margin-bottom: 6px;
  color: var(--blue);
}

.tour-info-strip span {
  color: var(--muted);
  font-weight: 800;
}

.tour-info-strip .highlight-info {
  background: #fff7ed;
}

.tour-info-strip .highlight-info strong {
  color: var(--orange);
}

.tour-info-strip .highlight-info span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.product-summary {
  padding: 24px clamp(18px, 5vw, 72px) 0;
  background: #f3f3f3;
}

.product-summary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid #d9d9d9;
}

.product-summary-head h2 {
  margin-bottom: 4px;
  color: #4a4a4a;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1.25;
}

.product-summary-head p {
  margin: 0;
  color: #3e4853;
  font-weight: 900;
}

.summary-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 10px;
}

.summary-buttons .button {
  border-radius: 5px;
  min-height: 44px;
}

.summary-buttons .button.ghost {
  color: var(--blue);
  border-color: #c7d7e8;
  background: var(--white);
}

.summary-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 0 8px;
}

.summary-meta div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.summary-meta strong {
  color: #3e4853;
  font-size: 15px;
  white-space: nowrap;
}

.summary-meta span {
  color: #c92127;
  font-size: 24px;
  font-weight: 900;
}

.summary-price-title {
  margin: 8px 0 12px;
  color: #3e4853;
  font-weight: 900;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 8px;
  width: min(660px, 100%);
}

.price-cards article {
  border: 1px solid #c7e8f1;
  background: var(--white);
}

.price-cards strong,
.price-cards span {
  display: block;
  text-align: center;
}

.price-cards strong {
  padding: 14px 10px;
  color: #2c6b86;
  background: #dff3fb;
  font-size: 15px;
}

.price-cards span {
  padding: 17px 10px;
  color: #333;
  font-size: 18px;
  font-weight: 800;
}

.summary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
  color: #3e4853;
}

.summary-list p {
  margin: 0;
  min-width: 0;
}

.summary-list p:nth-child(3),
.summary-list p:nth-child(4) {
  grid-column: 1 / -1;
}

.detail-tabs {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-top: 48px;
  padding: 0 24px;
  background: #717171;
  overflow-x: auto;
}

.detail-tabs a {
  min-width: 110px;
  padding: 14px 16px;
  color: var(--white);
  font-weight: 900;
  text-align: center;
}

.detail-tabs a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tour-feature-section {
  background: var(--white);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f7fb;
  color: var(--muted);
  font-weight: 900;
}

.day-timeline {
  display: grid;
  gap: 18px;
}

.day-card {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.08);
}

.day-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.day-card span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--orange);
  font-weight: 900;
}

.day-card p {
  color: var(--muted);
}

.day-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.day-meta div {
  padding: 10px;
  border-radius: 8px;
  background: #f4f7fb;
}

.day-meta dt {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.day-meta dd {
  margin: 3px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.flight-section {
  background: var(--white);
}

.price-section {
  background: var(--white);
}

.price-table-wrap,
.flight-table-wrap {
  overflow-x: auto;
}

.price-table,
.flight-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.price-table th,
.price-table td,
.flight-table th,
.flight-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.price-table th,
.flight-table th {
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.price-table td,
.flight-table td {
  color: var(--muted);
  font-weight: 800;
}

.flight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.flight-table-wrap {
  margin-top: 18px;
}

.flight-grid article,
.notes-list li {
  padding: 22px;
  background: #f4f7fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flight-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
}

.flight-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.notes-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.include-section {
  background: #eaf1f7;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.include-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.include-grid ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.notes-list li {
  color: var(--muted);
  font-weight: 800;
}

.tour-rich-detail {
  display: grid;
  gap: 12px;
}

.tour-rich-detail p {
  margin: 0;
}

.tour-rich-detail figure {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
}

.tour-rich-detail img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tour-rich-detail figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.service-board {
  background: #eaf1f7;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.board-grid article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.board-grid span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--teal);
  font-weight: 900;
}

.board-grid p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 82px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 52, 93, 0.95), rgba(9, 52, 93, 0.74)),
    url("https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?auto=format&fit=crop&w=1800&q=82");
  background-size: cover;
  background-position: center;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 900;
}

.contact-links .line-contact-link {
  color: #ffffff;
  background: #06c755;
  border-color: #06c755;
  box-shadow: 0 10px 22px rgba(6, 199, 85, 0.28);
}

.line-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 22px;
  color: #06c755;
  background: #ffffff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 1000;
  line-height: 1;
}

.lead-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form .full {
  grid-column: 1 / -1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #07182a;
}

.site-footer p {
  margin: 0;
}

.footer-company {
  display: grid;
  gap: 6px;
}

.footer-company p:last-child {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.site-footer a {
  color: var(--white);
  font-weight: 900;
}

.admin-page {
  background: var(--paper);
}

.departures-page {
  background: var(--paper);
}

.departures-hero {
  padding: 58px clamp(18px, 5vw, 72px) 30px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 52, 93, 0.95), rgba(14, 79, 136, 0.72)),
    url("https://commons.wikimedia.org/wiki/Special:FilePath/Chongqing%20Skyline%20At%20Night.png");
  background-position: center;
  background-size: cover;
}

.departures-hero h1 {
  max-width: 920px;
}

.departures-hero p:not(.kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.departure-search {
  margin-top: -18px;
}

.departure-table-wrap {
  max-height: min(68vh, 640px);
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.08);
  scrollbar-color: #8fb7ca #edf4f7;
  scrollbar-width: thin;
}

.departure-table-wrap::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.departure-table-wrap::-webkit-scrollbar-track {
  background: #edf4f7;
}

.departure-table-wrap::-webkit-scrollbar-thumb {
  background: #8fb7ca;
  border: 2px solid #edf4f7;
  border-radius: 999px;
}

.departure-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  background: var(--white);
}

.departure-table th,
.departure-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  overflow: visible;
}

.departure-table th {
  position: sticky;
  top: 0;
  z-index: 4;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.departure-table td {
  color: var(--muted);
  font-weight: 800;
}

.departure-product {
  display: grid;
  gap: 5px;
  min-width: 280px;
}

.departure-product a {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.45;
}

.departure-product a:hover {
  color: var(--blue);
}

.departure-product strong {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0;
}

.departure-days {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #e7f4fa;
  color: var(--blue-dark);
  font-weight: 900;
}

.departure-price {
  color: #c82f2f;
  white-space: nowrap;
}

.flight-search-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  white-space: nowrap;
}

.flight-search-button {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #e7f4fa;
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.flight-search-button:hover,
.flight-search-button.is-active {
  background: var(--blue);
  color: var(--white);
}

.flight-inline-panel {
  position: fixed;
  top: 0;
  left: 0;
  transform: none;
  z-index: 9999;
  display: block;
  width: 980px;
  max-width: calc(100vw - 48px);
  padding: 8px;
  overflow: auto;
  border: 1px solid #2f6f8f;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(23, 36, 58, 0.2);
  white-space: normal;
}

.flight-inline-panel[hidden] {
  display: none;
}

.flight-inline-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink);
}

.flight-inline-title span {
  color: var(--muted);
  font-weight: 800;
}

.flight-inline-table-wrap {
  overflow-x: auto;
}

.flight-inline-table {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #2f6f8f;
  border-radius: 3px;
  overflow: hidden;
}

.flight-inline-table th,
.flight-inline-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #d7e7ef;
  border-right: 1px solid #d7e7ef;
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.35;
  white-space: nowrap;
  background: #ffffff;
}

.flight-inline-table th:last-child,
.flight-inline-table td:last-child {
  border-right: 0;
}

.flight-inline-table tr:last-child td {
  border-bottom: 0;
}

.flight-inline-table th {
  color: #ffffff;
  background: #2f6f8f;
  font-size: 0.86rem;
}

.flight-inline-table th:nth-child(1),
.flight-inline-table td:nth-child(1) {
  width: 150px;
}

.flight-inline-table th:nth-child(2),
.flight-inline-table td:nth-child(2) {
  width: 96px;
  word-break: keep-all;
}

.flight-inline-table th:nth-child(3),
.flight-inline-table td:nth-child(3) {
  width: 62px;
}

.flight-inline-table th:nth-child(4),
.flight-inline-table td:nth-child(4),
.flight-inline-table th:nth-child(6),
.flight-inline-table td:nth-child(6) {
  width: 120px;
}

.flight-inline-table th:nth-child(5),
.flight-inline-table td:nth-child(5),
.flight-inline-table th:nth-child(7),
.flight-inline-table td:nth-child(7) {
  width: 132px;
  white-space: nowrap;
}

.flight-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.flight-summary-grid article {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.flight-summary-grid strong {
  color: var(--muted);
  font-size: 0.9rem;
}

.flight-summary-grid span {
  color: var(--ink);
  font-weight: 900;
}

.flight-page-table .departure-table {
  min-width: 980px;
}

.flight-source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
}

.table-action:hover {
  background: var(--blue-dark);
}
.departure-status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #096b3b;
  background: #dcfce7;
  font-size: 13px;
  font-weight: 900;
}

.table-link {
  color: var(--blue);
  font-weight: 900;
}

.admin-hero {
  padding: 74px clamp(18px, 5vw, 72px) 34px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 52, 93, 0.94), rgba(14, 79, 136, 0.74)),
    url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1800&q=82");
  background-position: center;
  background-size: cover;
}

.admin-hero h1 {
  max-width: 760px;
}

.admin-hero p:not(.kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 330px;
  gap: 22px;
  padding: 28px clamp(18px, 5vw, 72px) 0;
}

.admin-form,
.admin-guide,
.admin-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 36, 58, 0.08);
}

.admin-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.admin-form .full {
  grid-column: 1 / -1;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.image-preview {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px dashed var(--teal);
  border-radius: 8px;
  background: #f2fbfc;
}

.image-preview[hidden] {
  display: none;
}

.image-preview img {
  width: 160px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.image-preview span {
  color: var(--muted);
  font-weight: 900;
}

.detail-image-manager {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.detail-image-manager strong,
.detail-image-manager span {
  display: block;
}

.detail-image-manager span {
  color: var(--muted);
  font-size: 14px;
}

.upload-control {
  max-width: 320px;
}

.detail-image-list {
  display: grid;
  gap: 12px;
}

.empty-detail-images {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.detail-image-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-image-item img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.detail-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.detail-image-actions button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.rich-editor-wrap {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.tour-extra-editor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
}

.tour-extra-editor .full,
.extra-editor-heading {
  grid-column: 1 / -1;
}

.extra-editor-heading strong,
.extra-editor-heading span {
  display: block;
}

.extra-editor-heading span {
  color: var(--muted);
  font-size: 14px;
}

.rich-editor-heading {
  display: grid;
  gap: 12px;
}

.rich-editor-heading strong,
.rich-editor-heading span {
  display: block;
}

.rich-editor-heading span {
  color: var(--muted);
  font-size: 14px;
}

.rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rich-toolbar label.button {
  position: relative;
}

.rich-editor {
  min-height: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 1px 4px rgba(23, 36, 58, 0.06);
}

.rich-editor:focus {
  outline: 3px solid rgba(42, 143, 157, 0.18);
  border-color: var(--teal);
}

.rich-editor p {
  margin: 0 0 12px;
}

.rich-image-block {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f4f7fb;
}

.rich-image-block.is-selected {
  border-color: var(--teal);
  border-style: dashed;
  box-shadow: 0 0 0 3px rgba(42, 143, 157, 0.12);
}

.rich-image-block img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.rich-image-block figcaption {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.admin-guide {
  align-self: start;
  padding: 24px;
}

.admin-guide h2 {
  font-size: 26px;
}

.admin-guide ol {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.admin-list-section {
  padding-top: 58px;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
}

.admin-item img {
  width: 150px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.admin-item p {
  margin-bottom: 4px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
}

.admin-item h3 {
  margin-bottom: 4px;
}

.admin-item span {
  color: var(--blue);
  font-weight: 900;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions button {
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .quick-nav {
    display: none;
  }

  .portal-hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    width: min(520px, 100%);
  }

  .theme-grid,
  .tour-grid,
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
  }

  .phone-link {
    display: none;
  }

  .category-nav {
    top: 83px;
    justify-content: flex-start;
    padding: 0;
  }

  .portal-hero {
    min-height: 620px;
    padding: 76px 20px 86px;
  }

  .portal-hero::after {
    background:
      linear-gradient(180deg, rgba(5, 24, 42, 0.46) 0%, rgba(5, 24, 42, 0.54) 46%, rgba(5, 24, 42, 0.82) 100%);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-carousel-button {
    display: none;
  }

  .hero-dots {
    right: 20px;
    bottom: 30px;
  }

  .search-heading,
  .section-title.with-tabs {
    align-items: flex-start;
    flex-direction: column;
  }

  .trip-search,
  .notice-strip,
  .contact-section,
  .tour-info-strip,
  .flight-grid,
  .summary-meta,
  .summary-list,
  .include-grid {
    grid-template-columns: 1fr;
  }

  .product-summary-head {
    flex-direction: column;
  }

  .summary-buttons {
    justify-content: flex-start;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 16px;
  }

  h1 {
    font-size: 36px;
  }

  .section {
    padding: 58px 18px;
  }

  .theme-grid,
  .tour-grid,
  .board-grid,
  .lead-form,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-item {
    grid-template-columns: 1fr;
  }

  .admin-item img {
    width: 100%;
  }

  .image-preview {
    grid-template-columns: 1fr;
  }

  .image-preview img {
    width: 100%;
  }

  .tour-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tour-actions {
    justify-content: flex-start;
  }

  .tour-detail-gallery,
  .detail-image-item,
  .day-card,
  .tour-extra-editor,
  .day-meta,
  .price-cards,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .detail-image-item img {
    width: 100%;
  }

  .detail-image-actions {
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
  }
}
