/* ============================================================
   pages.css — 各页面专属区块样式
   ============================================================ */

/* ================= 首页 · Hero ================= */
.hero {
  position: relative;
  height: min(92vh, 720px);
  min-height: 520px;
  margin-top: calc(-1 * var(--header-height));
  color: #fff;
  background: #0B1622;
}

.hero .carousel,
.hero .carousel__track,
.hero .carousel__slide {
  height: 100%;
}

.hero__slide-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroDrift 16s ease-in-out infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.03); }
  to   { transform: scale(1.12); }
}

/* 多层渐变遮罩，保证文字可读且有电影感 */
.hero__slide-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 720px at 50% 32%, rgba(5, 15, 27, 0.12) 0%, rgba(5, 15, 27, 0.58) 100%),
    linear-gradient(180deg, rgba(5, 15, 27, 0.62) 0%, rgba(5, 15, 27, 0.18) 42%, rgba(5, 15, 27, 0.78) 100%);
}

/* 底部渐隐，与下方白底自然衔接 */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.92) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero 指示点抬到渐隐带之上 */
.hero .carousel__dots { bottom: 76px; }

.hero .carousel__dot {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.5);
}

.hero .carousel__dot.is-active { background: #fff; }

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  pointer-events: none;
}

.hero__content > * { pointer-events: auto; }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: none;
}

.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.9);
}

.hero__title {
  color: #fff;
  font-size: clamp(2.25rem, 5.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 900px;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.45);
}

.hero__desc {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 1.0625rem;
  line-height: 1.85;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__actions .btn { padding: 16px 34px; }

@media (max-width: 640px) {
  .hero { height: 82vh; min-height: 500px; }
  .hero__eyebrow { margin-bottom: 20px; font-size: 0.75rem; }
  .hero__desc { font-size: 0.9375rem; margin-bottom: 32px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; padding: 14px 22px; }
}

/* ================= 服务优势 ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 38px 26px 34px;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(12, 27, 42, 0.055);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 134, 246, 0.16);
}

.feature-card__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 134, 246, 0.12), rgba(0, 134, 246, 0.04));
  border: 1px solid rgba(0, 134, 246, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: background var(--transition-base), color var(--transition-base),
              transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card__icon svg { width: 30px; height: 30px; }

.feature-card:hover .feature-card__icon {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px) rotate(-3deg);
  box-shadow: var(--shadow-brand);
}

.feature-card h3 { margin-bottom: 8px; }
.feature-card p { font-size: 0.875rem; line-height: 1.8; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .feature-card { padding: 30px 20px; }
}

@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ================= 门店环境 ================= */
.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.store-grid__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(12, 27, 42, 0.45);
  aspect-ratio: 4 / 3;
}

.store-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.store-grid__media:hover img { transform: scale(1.04); }

.store-grid__content h2 { margin-bottom: 18px; }
.store-grid__content p { margin-bottom: 16px; }

.store-stats {
  display: flex;
  gap: 44px;
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
}

.store-stats__num {
  font-size: 2.125rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-primary-deep);
  font-variant-numeric: tabular-nums;
}

@supports (-webkit-background-clip: text) {
  .store-stats__num {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.store-stats__label { font-size: 0.8125rem; color: var(--color-text-light); margin-top: 2px; }

@media (max-width: 900px) {
  .store-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .store-stats { gap: 20px; flex-wrap: wrap; }
  .store-stats__num { font-size: 1.625rem; }
}

/* ================= 底部 CTA ================= */
.cta-banner {
  position: relative;
  background:
    radial-gradient(600px 300px at 88% 12%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(120deg, #004E9E 0%, #0086F6 55%, #1FA6FF 100%);
  border-radius: 24px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(0, 92, 184, 0.7);
}

.cta-banner::before,
.cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.cta-banner::before { width: 320px; height: 320px; top: -140px; right: -80px; }
.cta-banner::after { width: 220px; height: 220px; bottom: -110px; left: -50px; }

.cta-banner h2 {
  color: #fff;
  margin-bottom: 14px;
  position: relative;
  letter-spacing: -0.02em;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  position: relative;
  font-size: 1.0625rem;
}

.cta-banner__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

@media (max-width: 640px) {
  .cta-banner { padding: 52px 24px; border-radius: 18px; }
  .cta-banner__actions { flex-direction: column; }
}

/* ================= 内页头图 ================= */
.page-hero {
  position: relative;
  color: #fff;
  padding: 72px 0 76px;
  padding-top: calc(72px + var(--header-height));
  margin-top: calc(-1 * var(--header-height));
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 18% 0%, rgba(76, 186, 255, 0.55), transparent 62%),
    radial-gradient(700px 320px at 88% 100%, rgba(255, 122, 0, 0.22), transparent 62%),
    linear-gradient(135deg, #00447F 0%, #0068C8 55%, #0086F6 100%);
}

/* 细点阵纹理，增加旅行地图感 */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
  font-size: clamp(1.875rem, 3.8vw, 2.75rem);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* ================= 详情页 ================= */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 328px;
  gap: 32px;
  align-items: start;
}

.detail-section {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(12, 27, 42, 0.055);
  box-shadow: var(--shadow-card);
  padding: 34px;
  margin-bottom: 24px;
}

.detail-section h2 {
  font-size: 1.3125rem;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
}

.detail-section h2::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 3px;
  background: var(--gradient-primary);
  flex-shrink: 0;
}

.detail-section h2 svg { width: 22px; height: 22px; color: var(--color-primary); }

.highlight-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
}

.highlight-list li:last-child { margin-bottom: 0; }

.highlight-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 5px;
  padding: 2px;
  border-radius: 50%;
  background: var(--color-accent-tint);
}

.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fee-box {
  border-radius: 12px;
  padding: 22px;
  border: 1px solid transparent;
}

.fee-box--include {
  background: rgba(16, 152, 92, 0.05);
  border-color: rgba(16, 152, 92, 0.12);
}

.fee-box--exclude {
  background: rgba(229, 72, 77, 0.04);
  border-color: rgba(229, 72, 77, 0.1);
}

.fee-box h4 { margin-bottom: 14px; }
.fee-box--include h4 { color: #0F8C55; }
.fee-box--exclude h4 { color: #D43B40; }

.fee-box li {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 9px;
  line-height: 1.7;
}

.fee-box li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  flex-shrink: 0;
  margin-top: 11px;
}

.notice-list li {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
  line-height: 1.8;
}

.notice-list li::before {
  content: counter(notice) ".";
  counter-increment: notice;
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.notice-list { counter-reset: notice; }

.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.detail-head__tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.detail-head h1 { font-size: clamp(1.5rem, 3vw, 2.125rem); margin-bottom: 12px; letter-spacing: -0.02em; }
.detail-head__meta { display: flex; gap: 20px; color: var(--color-text-light); font-size: 0.875rem; flex-wrap: wrap; }

.detail-head__price { text-align: right; }
.detail-head__price .price__num { font-size: 2.25rem; }

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .consult-card { position: static; }
}

@media (max-width: 640px) {
  .fee-grid { grid-template-columns: 1fr; }
  .detail-section { padding: 24px 20px; }
  .detail-head__price { text-align: left; }
}

/* ================= 关于我们 ================= */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-intro__media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px -30px rgba(12, 27, 42, 0.45);
  aspect-ratio: 4 / 3;
}

.about-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.about-intro__media:hover img { transform: scale(1.04); }

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(12, 27, 42, 0.055);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 134, 246, 0.16);
}

.cert-card__img {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #EAF3FF, #F7F9FC);
  overflow: hidden;
}

.cert-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.cert-card:hover .cert-card__img img { transform: scale(1.05); }

.cert-card__body {
  padding: 14px 16px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-heading);
}

@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cert-grid { grid-template-columns: 1fr; } }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(12, 27, 42, 0.055);
  box-shadow: var(--shadow-card);
  padding: 34px 20px 30px;
  transition: transform var(--transition-base), box-shadow var(--transition-base),
              border-color var(--transition-base);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 134, 246, 0.16);
}

.team-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  box-shadow: 0 14px 30px -14px rgba(0, 134, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.team-card h4 { margin-bottom: 6px; }

.team-card__role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-deep);
  background: var(--color-primary-tint);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.team-card__desc { font-size: 0.8125rem; color: var(--color-text-light); line-height: 1.8; }

@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

.map-placeholder {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    radial-gradient(400px 260px at 50% 40%, rgba(0, 134, 246, 0.12), transparent 65%),
    linear-gradient(160deg, #EEF5FD, #E3ECF6);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--color-text-secondary);
  border: 1px solid rgba(12, 27, 42, 0.06);
  box-shadow: var(--shadow-card);
}

.map-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 134, 246, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 134, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  pointer-events: none;
}

.map-placeholder > * { position: relative; }

.map-placeholder svg {
  width: 52px;
  height: 52px;
  color: var(--color-primary);
  padding: 12px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 28px -12px rgba(0, 84, 170, 0.55);
}

.map-placeholder p { font-size: 0.875rem; }

/* ================= 联系我们 ================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--color-line);
}

.contact-info__item:first-child { padding-top: 0; }

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 134, 246, 0.12), rgba(0, 134, 246, 0.04));
  border: 1px solid rgba(0, 134, 246, 0.14);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg { width: 21px; height: 21px; }

.contact-info__item h4 { margin-bottom: 4px; }
.contact-info__item p { font-size: 0.9375rem; line-height: 1.8; }

.contact-form-card {
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(12, 27, 42, 0.055);
  box-shadow: var(--shadow-card);
  padding: 38px;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand-line);
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-card { padding: 30px 22px; }
}
