/* ===========================================================
   虾行旅行规划 · 全站外链样式
   配色：主色 #0E4D64 / 辅助 #F28C55 / 背景 #F7F9FA / 正文 #333333
   字体：PingFang SC / Microsoft YaHei / sans-serif
   布局：12 栅格，内容最大宽度 1200px
   =========================================================== */

:root {
  --navy: #0E4D64;
  --navy-deep: #093746;
  --coral: #F28C55;
  --coral-deep: #DD7642;
  --bg: #F7F9FA;
  --text: #333333;
  --muted: #5D6B71;
  --line: #E4ECEF;
  --card: #FFFFFF;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(14, 77, 100, 0.07);
  --shadow-hover: 0 10px 26px rgba(14, 77, 100, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); font-weight: 700; }
h1 { font-size: 44px; line-height: 1.25; }
h2 { font-size: 34px; line-height: 1.3; }
h3 { font-size: 21px; line-height: 1.4; }
p { margin: 0 0 12px; }

.container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 860px; margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 18px;
}
.site-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: inline-block;
  font-size: 15px;
  color: #44545B;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.site-nav a.active, .site-nav a:hover { color: var(--navy); }
.nav-toggle { display: none; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: #FFFFFF;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 48, 64, 0.84) 0%, rgba(7, 48, 64, 0.45) 58%, rgba(7, 48, 64, 0.18) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 96px 0; }
.hero h1 { color: #FFFFFF; font-size: 48px; margin: 0 0 20px; letter-spacing: 1px; }
.hero p { font-size: 19px; max-width: 620px; margin: 0 0 28px; color: #EAF3F6; }

.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  font-size: 15px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-coral { background: var(--coral); color: #FFFFFF; }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }

/* ---------- 内页页头 ---------- */
.page-hero { background: var(--navy); color: #FFFFFF; padding: 64px 0; }
.page-hero h1 { color: #FFFFFF; font-size: 44px; margin: 0 0 10px; }
.page-hero p { margin: 0; color: #DCEBF0; font-size: 17px; }

/* ---------- 区块通用 ---------- */
.section { padding: 76px 0; }
.section-alt { background: #EFF4F6; }
.section-head { margin-bottom: 36px; }
.section-head h2 { margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--muted); }

/* ---------- 12 栅格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.grid > * { grid-column: span 12; }
.grid-2 > * { grid-column: span 6; }
.grid-3 > * { grid-column: span 4; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #DCE7EB;
}
.card-body { padding: 20px 22px 24px; }
.card-body h3 { margin: 0 0 8px; }
.card-body p { margin: 0; color: var(--muted); font-size: 15px; }

.card-horizontal { display: flex; align-items: stretch; }
.card-horizontal img {
  width: 40%;
  flex: 0 0 40%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  align-self: center;
}
.card-horizontal .card-body { display: flex; flex-direction: column; justify-content: center; }

/* ---------- 服务流程 ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform 0.2s ease;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 700;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 理由 / 评价 ---------- */
.reason {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  transition: transform 0.2s ease;
}
.reason:hover { transform: translateY(-4px); }
.reason-icon {
  display: inline-block;
  color: var(--coral);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.reason h3 { margin: 0 0 8px; font-size: 19px; }
.reason p { margin: 0; color: var(--muted); font-size: 15px; }

.quote {
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.quote p { margin: 0 0 12px; color: var(--text); }
.quote footer { color: var(--muted); font-size: 14px; }

/* ---------- 列表 ---------- */
.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.info-list {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 0;
  margin: 0;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-list dt, .info-list dd { margin: 0; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--navy); font-weight: 700; background: #F1F6F8; }
.info-list dd { color: var(--text); }
.info-list dt:last-of-type, .info-list dd:last-of-type { border-bottom: 0; }

/* ---------- 服务分项 ---------- */
.service-item {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 40px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 24px;
  transition: transform 0.2s ease;
}
.service-item:hover { transform: translateY(-3px); }
.service-item img {
  grid-column: span 5;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #DCE7EB;
}
.service-text { grid-column: span 7; }
.service-item-reverse img { grid-column: 8 / span 5; grid-row: 1; }
.service-item-reverse .service-text { grid-column: 1 / span 6; grid-row: 1; }
.service-text h3 { margin: 0 0 12px; font-size: 24px; }
.service-text p { color: var(--muted); }
.service-text-only { display: block; padding: 32px; }
.service-text-only .service-text { max-width: 860px; }

/* ---------- 目的地精选 ---------- */
.dest-grid { row-gap: 28px; }
.dest-card .card-body h3 { margin-bottom: 6px; }
.dest-highlight { min-height: 48px; }
.dest-days { color: var(--navy) !important; font-weight: 700; font-size: 14px !important; margin-top: 10px !important; }

/* ---------- 联系信息条 ---------- */
.contact-strip { background: var(--navy-deep); color: #FFFFFF; padding: 46px 0; }
.strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.strip-inner h2 { color: #FFFFFF; font-size: 28px; margin: 0 0 8px; }
.strip-inner p { color: #CFE1E7; margin: 0; }
.strip-info { text-align: right; max-width: 460px; }
.strip-info p { margin-bottom: 6px; }

/* ---------- 联系页 ---------- */
.contact-grid { align-items: stretch; }
.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.contact-card h3 { margin: 0 0 14px; }
.contact-card p { color: var(--muted); }
.contact-big { color: var(--navy) !important; font-size: 20px; font-weight: 700; line-height: 1.6; margin-bottom: 14px !important; word-break: break-word; }
.contact-big a { color: var(--navy); }
.contact-big a:hover { color: var(--coral); }
.location-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #EDF3F5;
}
.map-note { margin: 16px 0 0; color: var(--muted); font-size: 15px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0B3A4B; color: #C9DBE1; padding: 44px 0 34px; }
.footer-inner p { margin: 0 0 8px; font-size: 14px; }
.footer-brand { color: #FFFFFF !important; font-size: 17px !important; font-weight: 700; margin-bottom: 16px !important; }
.site-footer a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--coral); }

/* ===========================================================
   响应式：1440 / 1024 / 768 / 375 四档
   =========================================================== */

/* 1024 档 */
@media (max-width: 1100px) {
  .section { padding: 60px 0; }
  .grid { gap: 20px; }
  .card-horizontal img { width: 38%; flex-basis: 38%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .service-item { gap: 26px; padding: 20px; }
  .service-item img { grid-column: span 6; }
  .service-text { grid-column: span 6; }
  .service-item-reverse img { grid-column: 7 / span 6; }
  .service-item-reverse .service-text { grid-column: 1 / span 6; }
}

/* 768 档：导航折叠为汉堡按钮 */
@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    box-shadow: 0 10px 20px rgba(14, 77, 100, 0.08);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; padding: 10px 0; font-size: 16px; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

  .hero { min-height: 460px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 17px; }
  .hero-content { padding: 76px 0; }
  .page-hero h1 { font-size: 32px; }
  h2 { font-size: 29px; }

  .grid-2 > * { grid-column: span 12; }
  .grid-3 > * { grid-column: span 6; }
  .card-horizontal img { width: 36%; flex-basis: 36%; }

  .service-item { grid-template-columns: 1fr; gap: 18px; }
  .service-item img,
  .service-text,
  .service-item-reverse img,
  .service-item-reverse .service-text { grid-column: 1 / -1; grid-row: auto; }
  .service-item-reverse img { order: -1; }

  .strip-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .strip-info { text-align: left; max-width: 100%; }
  .info-list { grid-template-columns: 110px 1fr; }
}

/* 375 档 */
@media (max-width: 480px) {
  .container { width: calc(100% - 32px); }
  .brand { font-size: 17px; }
  .brand-mark { width: 32px; height: 32px; font-size: 16px; }
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 26px; }
  h1 { font-size: 30px; }
  h2 { font-size: 26px; }
  h3 { font-size: 19px; }

  .hero { min-height: 420px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .hero-content { padding: 64px 0; }
  .page-hero { padding: 46px 0; }
  .page-hero h1 { font-size: 29px; }
  .page-hero p { font-size: 15px; }

  .grid-3 > * { grid-column: span 12; }
  .card-horizontal { flex-direction: column; }
  .card-horizontal img { width: 100%; flex-basis: auto; aspect-ratio: 4 / 3; }

  .steps { grid-template-columns: 1fr; }
  .step, .reason, .quote { padding: 22px 20px; }
  .dest-highlight { min-height: 0; }

  .service-text h3 { font-size: 21px; }
  .service-item { padding: 16px; }
  .service-text-only { padding: 24px 20px; }

  .info-list { grid-template-columns: 1fr; }
  .info-list dt { padding-bottom: 6px; border-bottom: 0; }
  .info-list dd { padding-top: 0; }
  .contact-card { padding: 22px 20px; }
  .contact-big { font-size: 18px; }
  .strip-inner h2 { font-size: 24px; }
  .footer-inner p { font-size: 13px; }
}

/* 减少动态效果偏好 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
