/* ==========================================================================
   GreatSea · 全站页脚 + 服务承诺区  |  由 gs-global-footer.php 全站加载

   页脚为独立响应式重写（.gsf-* 命名空间），不再依赖 1-gscss.css 的
   .footer-main / .footer-cols 四列栅格：
     PC  ≥1200   品牌 / 两列导航（WAYS TO TRAVEL + FOLLOW US）/ GET IN TOUCH 三栏并排
     平板 768-1199  品牌 + 导航一行，GET IN TOUCH 整行横向铺开、二维码靠右
     移动 ≤767   单列堆叠，导航两列并排，二维码整行并排，底部居中
   基础样式（.footer / .footer-wave-* 等）来自整站 CSS 1-gscss.css，
   这里只做满屏补丁、Kadence 去重与覆盖。
   ========================================================================== */

/* 主题自带页脚与设计稿页脚重复，全站隐藏（要恢复就删这一行） */
body .site-footer{display:none;}
/* 主内容与全局页脚之间 Kadence 默认留 5rem，去掉避免断层 */
body .content-area{margin-bottom:0;}

/* 满屏：抵消主题限宽容器；wp_footer 在 #wrapper 之外，父级即 body */
.gs-global-footer, #gs-tail, #gs-promise{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
@supports (overflow:clip){ html:has(.gs-global-footer), body:has(.gs-global-footer){overflow-x:clip;} }

.gs-global-footer, #gs-tail{
  font-family:var(--cn);color:var(--ink);font-size:15px;line-height:1.7;
}
.gs-global-footer :where(*), #gs-pre-footer :where(*){box-sizing:border-box;}
.gs-global-footer :where(p,h2,h3,h4,ul,li,figure),
#gs-pre-footer :where(p,h2,h3,h4,ul,li,figure){margin:0;padding:0;}
.gs-global-footer :where(ul), #gs-pre-footer :where(ul){list-style:none;}
#gs-pre-footer :where(h2,h3,h4,button){font-family:var(--cn);}

/* 全站 CTA → 评价（原首页尾部区块，已上移到页脚；基础样式仍由整站 CSS 提供） */
#gs-pre-footer .btn-cta-main{padding:16px 40px;}
#gs-pre-footer .cta-band h2{font-weight:700;}
#gs-pre-footer .cta-band .sub{margin-top:14px;}
#gs-pre-footer .cta-btns{margin-top:34px;}
#gs-pre-footer .section-head h2{margin-top:10px;font-weight:700;}
#gs-pre-footer .section-head .en{margin-top:8px;}
#gs-pre-footer .section-head p{margin-top:12px;}
#gs-pre-footer .review-text{margin-top:16px;}
#gs-pre-footer .review-person{margin-top:22px;}
/* 评价卡片改由后台文章管理；原「示例声明」review-note 已删除。
   后台上传头像照片后盖在字母圆上，任意尺寸都居中裁切不变形。 */
#gs-pre-footer .review-av--photo{padding:0;overflow:hidden;background:none;}
#gs-pre-footer .review-av--photo img{
  display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 50%;
}

/* ==========================================================================
   评价卡片内部 · 评价文字下方的 4 张缩略图（点击放大）
   后台：Traveler Reviews → All Reviews → 编辑某条评价 → Travel photo 1–4
   注意：小图属于「每一条评价」，不是评价区下方的公共照片带。
   ========================================================================== */
/* 同行三张卡等高：正文区自动撑开，让各卡的小图带与姓名落在同一水平线 */
#gs-pre-footer .review-text{flex:1 1 auto;}
#gs-pre-footer .review-card__photos{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;
  margin-top:20px;
}
/* 有照片时，与下方姓名区的距离略收紧，保持卡片内部呼吸感 */
#gs-pre-footer .review-card__photos + .review-person{margin-top:16px;padding-top:14px;}
#gs-pre-footer .review-thumb{
  display:block;position:relative;width:100%;padding:0;
  border:1px solid var(--hairline);border-radius:8px;background:var(--bg);
  overflow:hidden;cursor:zoom-in;aspect-ratio:1/1;
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
#gs-pre-footer .review-thumb img{
  display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;
  transition:transform .4s ease;
}
#gs-pre-footer .review-thumb::after{
  content:"+";position:absolute;right:5px;bottom:5px;
  width:19px;height:19px;border-radius:50%;
  background:rgba(255,255,255,.94);color:var(--deep);
  font:400 14px/18px var(--cn);text-align:center;
  box-shadow:0 2px 8px rgba(6,50,55,.18);
  opacity:0;transform:scale(.8);transition:opacity .22s ease,transform .22s ease;
}
#gs-pre-footer .review-thumb:hover,
#gs-pre-footer .review-thumb:focus-visible{
  transform:translateY(-2px);border-color:var(--primary);box-shadow:0 8px 18px rgba(10,95,102,.14);
}
#gs-pre-footer .review-thumb:hover img,
#gs-pre-footer .review-thumb:focus-visible img{transform:scale(1.08);}
#gs-pre-footer .review-thumb:hover::after,
#gs-pre-footer .review-thumb:focus-visible::after{opacity:1;transform:scale(1);}

/* 灯箱节点由 gs-reviews.js 挂到 body，避免父级层叠上下文影响 fixed 定位 */
.gs-rv-lightbox{
  position:fixed;inset:0;z-index:100000;
  display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(6,32,36,.97);
  opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease;
}
.gs-rv-lightbox.is-open{opacity:1;visibility:visible;}
.gs-rv-lightbox .gs-rv-figure{
  display:flex;flex-direction:column;align-items:center;gap:12px;margin:0;max-width:100%;
}
.gs-rv-lightbox img{
  display:block;max-width:min(1100px,88vw);max-height:76vh;width:auto;height:auto;
  object-fit:contain;border-radius:8px;background:var(--deep);
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}
.gs-rv-lightbox figcaption{font-size:12px;letter-spacing:.08em;color:rgba(255,255,255,.82);text-align:center;}
.gs-rv-lightbox .gs-rv-count{
  position:absolute;bottom:22px;left:50%;transform:translateX(-50%);
  font-size:11px;letter-spacing:.18em;color:rgba(255,255,255,.65);
}
.gs-rv-lightbox button{
  position:absolute;display:flex;align-items:center;justify-content:center;
  border:1px solid rgba(255,255,255,.35);color:#fff;
  background-color:rgba(255,255,255,.09)!important; /* 覆盖主题 button:focus 的蓝色填充 */
  box-shadow:none!important;outline:none;
  cursor:pointer;transition:background-color .2s ease,border-color .2s ease,transform .2s ease;
}
.gs-rv-lightbox button:hover,
.gs-rv-lightbox button:focus-visible{
  background-color:rgba(255,255,255,.2)!important;border-color:#fff;
}
.gs-rv-lightbox button:focus{outline:2px solid rgba(255,255,255,.75);outline-offset:3px;}
.gs-rv-lightbox .gs-rv-close{top:22px;right:24px;width:42px;height:42px;border-radius:50%;font-size:28px;line-height:1;}
.gs-rv-lightbox .gs-rv-nav{
  top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;font-size:32px;line-height:1;
}
.gs-rv-lightbox .gs-rv-nav:hover{transform:translateY(-50%) scale(1.06);}
.gs-rv-lightbox .gs-rv-prev{left:24px;}
.gs-rv-lightbox .gs-rv-next{right:24px;}

@media (max-width:767px){
  #gs-pre-footer .review-card__photos{gap:6px;margin-top:18px;}
  #gs-pre-footer .review-thumb::after{opacity:.9;transform:none;width:17px;height:17px;font-size:13px;line-height:16px;}
  .gs-rv-lightbox{padding:16px;}
  .gs-rv-lightbox img{max-width:92vw;max-height:68vh;}
  .gs-rv-lightbox .gs-rv-nav{width:38px;height:38px;font-size:26px;}
  .gs-rv-lightbox .gs-rv-prev{left:10px;}
  .gs-rv-lightbox .gs-rv-next{right:10px;}
  .gs-rv-lightbox .gs-rv-close{top:14px;right:14px;width:36px;height:36px;}
  .gs-rv-lightbox .gs-rv-count{bottom:14px;}
}
@media (prefers-reduced-motion:reduce){
  #gs-pre-footer .review-thumb,#gs-pre-footer .review-thumb img,.gs-rv-lightbox{transition:none;}
}

/* ==========================================================================
   #gs-footer · 响应式页脚
   ========================================================================== */
.gs-global-footer #gs-footer.footer{background:var(--bg);padding:0;}
.gsf-inner{width:min(1240px, calc(100% - 64px));margin:0 auto;padding:76px 0 0;}

.gsf-grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1.75fr) minmax(0,1.18fr);
  gap:56px;align-items:start;
}

/* 品牌 */
.gsf-brand img{display:block;height:48px;width:auto;max-width:100%;object-fit:contain;}
.gsf-brand p{margin-top:22px;max-width:290px;font-size:14px;line-height:1.85;color:var(--muted);}

/* 标题统一样式：小绿条沿用原页脚设计语言 */
.gsf-h4{
  position:relative;display:block;
  font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--ink);font-family:var(--cn);
  line-height:1.3;white-space:nowrap;
  padding-bottom:10px;margin-bottom:16px;
}
.gsf-h4::after{
  content:"";position:absolute;left:0;bottom:0;
  width:22px;height:3px;border-radius:2px;background:var(--grad);
}

/* 两列导航（ABOUT US 已删除） */
.gsf-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:48px;}
.gsf-col ul{list-style:none;}
.gsf-col li{margin-bottom:11px;}
.gsf-col a,.gsf-col span{
  display:inline-block;font-size:13.5px;line-height:1.55;color:var(--muted);
  text-decoration:none;transition:color .2s;
}
.gsf-col a:hover{color:var(--primary);}

/* FOLLOW US：图标 + 文字 + 外链箭头，与页眉右上角图标共用链接 */
.gsf-col .gsf-social__link{
  display:inline-flex;align-items:center;gap:10px;
  font-size:13.5px;line-height:1.5;color:var(--muted);
}
.gsf-social__link svg{width:17px;height:17px;flex:none;color:var(--deep);transition:color .2s,transform .2s;}
.gsf-social__link b{margin-left:2px;font-size:11px;font-weight:400;color:var(--primary);}
.gsf-col a.gsf-social__link:hover,.gsf-col a.gsf-social__link:hover svg{color:var(--primary);}
.gsf-col a.gsf-social__link:hover svg{transform:translateY(-1px);}
.gsf-social__link.is-empty{opacity:.6;cursor:default;}
.gsf-social__link.is-empty b{display:none;}

/* GET IN TOUCH：PC 竖排 */
.gsf-contact{
  display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-areas:"head" "rows" "qrs" "hint";
}
.gsf-contact > .gsf-h4{grid-area:head;align-self:start;}
.gsf-contact__rows{grid-area:rows;display:flex;flex-direction:column;gap:8px;align-items:flex-start;}
/* 公司地址：定位图标 + 英文地址，替代原 ABOUT US 里的 Contact 链接 */
.gsf-addr{
  display:flex;align-items:flex-start;gap:9px;
  max-width:100%;margin:0 0 4px;
  font-size:12.8px;line-height:1.7;font-style:normal;color:var(--muted);
}
.gsf-addr svg{width:16px;height:16px;flex:none;margin-top:3px;color:var(--primary);}
.gsf-addr span{min-width:0;overflow-wrap:break-word;}
.gsf-mail{
  display:inline-flex;align-items:center;gap:9px;
  font-size:13.5px;font-weight:600;color:var(--deep);
  text-decoration:none;word-break:break-word;transition:color .2s;
}
.gsf-mail svg{width:16px;height:16px;flex:none;color:var(--primary);}
a.gsf-mail:hover{color:var(--primary);}

/* WhatsApp 咨询按钮：GET IN TOUCH 区里最显眼的可点 CTA */
.gsf-wa{
  display:inline-flex;align-items:center;gap:9px;
  margin-top:6px;padding:11px 18px;border-radius:999px;
  background:#25D366;color:#fff;font-size:13.5px;font-weight:600;
  text-decoration:none;box-shadow:0 6px 16px rgba(37,211,102,.28);
  transition:background .2s,transform .2s,box-shadow .2s;
}
.gsf-wa svg{width:18px;height:18px;flex:none;}
.gsf-wa span{white-space:nowrap;}
.gsf-wa:hover{background:#1DAF5A;color:#fff;transform:translateY(-1px);box-shadow:0 10px 22px rgba(37,211,102,.34);}

.gsf-qrs{grid-area:qrs;display:flex;gap:12px;margin-top:24px;}
.gsf-qr{flex:1 1 0;min-width:0;max-width:150px;}
.gsf-qr__img{
  display:block;background:#FFF;border:1px solid var(--hairline);
  border-radius:12px;padding:7px;box-shadow:0 5px 16px rgba(10,95,102,.07);
  transition:box-shadow .25s,transform .25s;
}
.gsf-qr:hover .gsf-qr__img{box-shadow:0 8px 22px rgba(10,95,102,.14);transform:translateY(-2px);}
.gsf-qr img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;}
.gsf-qr figcaption{
  display:flex;align-items:center;justify-content:center;gap:6px;
  margin-top:9px;font-size:11.5px;font-weight:700;letter-spacing:.04em;color:var(--deep);
}
.gsf-qr figcaption i{display:block;width:6px;height:6px;border-radius:50%;background:var(--grad);flex:none;}
.gsf-hint{grid-area:hint;margin-top:16px;font-size:11.5px;line-height:1.6;color:var(--muted);}

/* 底部版权 + 手写体 */
.gsf-bottom{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  margin-top:56px;padding:24px 0 30px;border-top:1px solid var(--hairline);
}
.gsf-copy{font-size:12px;color:var(--muted);}
.gsf-hand{font-family:var(--hand);font-size:28px;line-height:1.2;color:var(--primary);transform:rotate(-3deg);}
.gs-global-footer .footer-wave-bottom{line-height:0;margin-top:0;}
.gs-global-footer .footer-wave-bottom svg{width:100%;height:52px;display:block;}

/* ---------- 平板 768–1199：联系列整行横向铺开 ---------- */
@media (max-width:1199px){
  .gsf-inner{width:min(1040px, calc(100% - 56px));padding-top:64px;}
  .gsf-grid{grid-template-columns:minmax(0,.9fr) minmax(0,2fr);gap:44px;}
  .gsf-brand{grid-column:1;grid-row:1;}
  .gsf-links{grid-column:2;grid-row:1;gap:36px;}
  .gsf-contact{
    grid-column:1 / -1;grid-row:2;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"head qrs" "rows qrs" "hint qrs";
    column-gap:36px;align-content:center;
    border-top:1px solid var(--hairline);padding-top:30px;
  }
  .gsf-contact > .gsf-h4{margin-bottom:14px;}
  .gsf-contact .gsf-qrs{margin-top:0;align-self:center;}
  .gsf-contact .gsf-hint{margin-top:14px;}
  .gsf-bottom{margin-top:44px;}
}

/* ---------- 移动 ≤767：单列堆叠 ---------- */
@media (max-width:767px){
  .gsf-inner{width:calc(100% - 40px);padding-top:52px;}
  .gsf-grid{display:flex;flex-direction:column;gap:34px;}
  .gsf-brand img{height:44px;}
  .gsf-brand p{margin-top:16px;max-width:100%;}
  /* 删掉 ABOUT US 后导航恰好两列并排，FOLLOW US 不必再独占整行 */
  .gsf-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;}
  .gsf-contact{
    display:flex;flex-direction:column;align-items:flex-start;
    border-top:1px solid var(--hairline);padding-top:28px;
  }
  .gsf-contact > .gsf-h4{margin-bottom:14px;}
  .gsf-contact .gsf-qrs{width:100%;margin-top:20px;gap:14px;}
  .gsf-qr{max-width:150px;}
  .gsf-contact .gsf-hint{margin-top:14px;}
  .gsf-bottom{
    flex-direction:column;align-items:center;text-align:center;gap:8px;
    margin-top:40px;padding:22px 0 26px;
  }
  .gsf-hand{font-size:26px;transform:none;}
  .gs-global-footer .footer-wave-bottom svg{height:38px;}
}
@media (max-width:420px){
  .gsf-inner{width:calc(100% - 32px);}
  .gsf-links{gap:24px 14px;}
  .gsf-qr{max-width:142px;}
  .gsf-mail{font-size:13px;}
  .gsf-addr{font-size:12.3px;gap:8px;}
}

/* ==========================================================================
   #gs-promise · 全站服务承诺区（wp_footer 输出，所有页面可见）
   版式参考 OUR PROMISE：深青底 + 右上标题组 + 四张米白竖卡
   插画为 01 精致青线稿（透明 WebP）
   ========================================================================== */
#gs-promise{
  background:var(--deep);color:var(--white);font-family:var(--cn);
  padding:70px 0 78px;
}
#gs-promise :where(*){box-sizing:border-box;}
#gs-promise :where(p,h2,h3){margin:0;padding:0;}
#gs-promise .pm-inner{width:min(1240px,92vw);margin:0 auto;}
#gs-promise .pm-head{display:flex;align-items:center;justify-content:flex-end;gap:32px;margin-bottom:46px;}
#gs-promise .pm-titles{text-align:right;}
#gs-promise .pm-kicker{font-size:12px;letter-spacing:.22em;color:#9FE1CB;font-weight:500;margin-bottom:10px;}
#gs-promise .pm-title{font-size:clamp(38px,5.2vw,68px);font-weight:900;line-height:1.06;letter-spacing:.06em;color:#F2FAF7;}
#gs-promise .pm-sub{font-family:var(--hand);font-size:24px;color:#9FE1CB;margin-top:12px;font-style:italic;}
#gs-promise .pm-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
#gs-promise .pm-card{
  background:#FBFDFC;border-radius:14px;padding:26px 22px 28px;
  display:flex;flex-direction:column;text-align:center;min-height:414px;
}
#gs-promise .pm-your{font-size:10px;letter-spacing:.28em;color:var(--primary);font-weight:700;}
#gs-promise .pm-role{
  min-height:52px;display:flex;align-items:center;justify-content:center;
  font-size:15px;font-weight:900;line-height:1.45;letter-spacing:.05em;
  color:var(--deep);text-transform:uppercase;margin-top:10px;
}
#gs-promise .pm-tag{font-size:12px;color:var(--primary);font-weight:500;margin-top:8px;}
#gs-promise .pm-quote{font-size:13px;line-height:1.65;color:#3E6B70;font-style:italic;margin-top:12px;min-height:44px;}
#gs-promise .pm-art{
  height:130px;margin:8px 0 16px;color:rgba(10,95,102,.60);
  display:flex;align-items:center;justify-content:center;
}
#gs-promise .pm-art svg{width:100%;height:100%;display:block;}
#gs-promise .pm-art img{width:100%;height:100%;object-fit:contain;display:block;}
#gs-promise .pm-desc{font-size:12.5px;line-height:1.8;color:var(--muted);margin-top:auto;}

@media (max-width:1199px){
  #gs-promise .pm-grid{grid-template-columns:repeat(2,1fr);}
  #gs-promise .pm-card{min-height:414px;}
}
@media (max-width:767px){
  #gs-promise{padding:52px 0 56px;}
  #gs-promise .pm-head{flex-direction:column;align-items:flex-start;gap:18px;margin-bottom:32px;}
  #gs-promise .pm-titles{text-align:left;}
  #gs-promise .pm-title{font-size:38px;}
  #gs-promise .pm-sub{font-size:20px;}
  #gs-promise .pm-grid{grid-template-columns:1fr;gap:16px;}
  #gs-promise .pm-card{min-height:384px;padding:24px 22px 26px;}
  #gs-promise .pm-role{min-height:44px;}
  #gs-promise .pm-quote{min-height:0;}
  #gs-promise .pm-art{height:112px;}
}
