:root {
  --green: #0b3d2e;
  --green-2: #14523f;
  --gold: #a9782b;
  --gold-2: #d4ad62;
  --cream: #f8f4ec;
  --paper: #fffdf8;
  --ink: #111111;
  --muted: #6e6a61;
  --line: #e6dccb;
  --soft: #eee5d6;
  --success: #1f7a55;
  --danger: #9d3d35;
  --shadow: 0 18px 42px rgba(17, 17, 17, .12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 236, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

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

.brand-mark {
  width: 118px;
  height: 46px;
  border-radius: 6px;
  object-fit: contain;
  background: #f5efe3;
  border: 1px solid rgba(169, 120, 43, .22);
  padding: 4px 7px;
  box-shadow: 0 6px 16px rgba(17,17,17,.06);
  flex: 0 0 auto;
}

.brand-text strong {
  display: block;
  color: var(--green);
  font-size: 16px;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #36342f;
  font-size: 14px;
}

.nav-links a {
  padding: 9px 10px;
  border-radius: 6px;
}

.nav-links a:hover { background: var(--soft); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 语言切换：EN / 中文 / ES */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.lang-btn {
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  transition: background .2s ease, color .2s ease;
}

.lang-btn:hover { color: var(--green); }

.lang-btn.lang-active {
  background: var(--green);
  color: var(--paper);
}

/* 中文行高比拉丁字母紧，正文稍微放开一点，避免显得挤 */
[data-lang="zh"] body { line-height: 1.75; }

/* 窄屏优先保住 CTA：语言切换收窄，必要时让导航链接先换行 */
@media (max-width: 640px) {
  .lang-btn { padding: 4px 8px; font-size: 12px; }
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 24px rgba(11, 61, 46, .18);
}

.btn-gold {
  color: #17130c;
  background: var(--gold-2);
  border-color: rgba(169, 120, 43, .35);
}

.btn-light {
  color: var(--green);
  background: var(--paper);
  border-color: var(--line);
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px 70px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(310px, .96fr);
  gap: 26px;
  align-items: center;
  padding: 38px 0 28px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: clamp(42px, 7vw, 78px);
  line-height: .98;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 0 0 18px;
  color: #36342f;
  font-size: clamp(17px, 2.5vw, 24px);
  line-height: 1.55;
}

.brand-lockup {
  width: min(360px, 86vw);
  margin: 0 0 18px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #f5efe3;
  border: 1px solid rgba(169, 120, 43, .26);
  box-shadow: 0 12px 28px rgba(17,17,17,.08);
}

.brand-lockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-media {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff;
  /* 原为 228-partner-poster.png，2.4MB —— 一张背景图占了全站体积的六成。
     转成 JPEG q78 后 560KB，尺寸未变（1122x1402）。上面压着一层深色渐变，
     JPEG 的有损压缩在这里看不出来。原 PNG 保留未删，需要时可回退。 */
  background:
    linear-gradient(180deg, rgba(17,17,17,.06), rgba(17,17,17,.76)),
    url("../228-partner-poster.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 61, 46, .24), transparent 42%),
    linear-gradient(180deg, rgba(17,17,17,0), rgba(17,17,17,.3));
  pointer-events: none;
}

.hero-media-card {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 15px;
  border-radius: var(--radius);
  background: rgba(11, 61, 46, .86);
  border: 1px solid rgba(255,255,255,.14);
}

.hero-media-card strong {
  color: var(--gold-2);
  font-size: 22px;
}

.hero-media-card span { color: rgba(255,255,255,.86); line-height: 1.5; }

.hero-home { background-image: linear-gradient(180deg, rgba(17,17,17,.05), rgba(17,17,17,.72)), url("images/cafe-counter.jpg"); }
.hero-party { background-image: linear-gradient(180deg, rgba(17,17,17,.04), rgba(17,17,17,.74)), url("images/rooftop-party.jpg"); }
.hero-room { background-image: linear-gradient(180deg, rgba(17,17,17,.05), rgba(17,17,17,.74)), url("images/hotel-lounge.jpg"); }
.hero-food { background-image: linear-gradient(180deg, rgba(17,17,17,.05), rgba(17,17,17,.74)), url("images/fish-platter.jpg"); }
.hero-catering { background-image: linear-gradient(180deg, rgba(17,17,17,.05), rgba(17,17,17,.74)), url("images/special-roll.jpg"); }
.hero-events { background-image: linear-gradient(180deg, rgba(17,17,17,.05), rgba(17,17,17,.74)), url("images/lounge-bar.jpg"); }
.hero-partner { background-image: linear-gradient(180deg, rgba(17,17,17,.05), rgba(17,17,17,.74)), url("images/sheraton-exterior.jpg"); }

.section {
  padding: 34px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 0;
  color: var(--green);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}

.section-head p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.card {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(17,17,17,.07);
  padding: 18px;
}

.card-media {
  width: calc(100% + 36px);
  margin: -18px -18px 16px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.product-photo {
  width: calc(100% + 36px);
  margin: -18px -18px 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.image-card {
  min-height: 280px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff;
  background: var(--green);
  isolation: isolate;
}

.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--image) center / cover no-repeat;
  transform: scale(1.01);
}

.image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17,17,17,.06), rgba(17,17,17,.78));
}

.image-card h3 {
  color: var(--gold-2);
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

.image-card p { color: rgba(255,255,255,.84); }

.photo-strip {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: stretch;
}

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

.photo-collage img,
.wide-photo {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(17,17,17,.08);
}

.wide-photo { min-height: 380px; }

.card h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 22px;
}

.card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.62;
}

.channel-card {
  min-height: 190px;
  display: grid;
  align-content: space-between;
}

.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: #efe2cb;
  font-size: 21px;
  margin-bottom: 14px;
}

.product-card {
  display: grid;
  gap: 12px;
}

.product-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.price {
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--green);
  background: #efe2cb;
  border: 1px solid rgba(169, 120, 43, .22);
  font-size: 12px;
  font-weight: 900;
}

.offer-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--green);
}

.offer-strip strong {
  color: var(--gold-2);
  font-size: 32px;
  line-height: 1;
}

.form {
  display: grid;
  gap: 12px;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: #4c4840;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 120, 43, .14);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
}

.checkbox input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.success {
  display: none;
  padding: 13px;
  border-radius: var(--radius);
  color: #0c3c2c;
  background: rgba(31, 122, 85, .13);
  border: 1px solid rgba(31, 122, 85, .26);
  line-height: 1.5;
}

.success.show { display: block; }

.faq {
  display: grid;
  gap: 10px;
}

.faq details {
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
}

.faq summary {
  color: var(--green);
  font-weight: 900;
  cursor: pointer;
}

.faq p {
  color: var(--muted);
  line-height: 1.6;
}

.map-placeholder {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--green);
  background:
    linear-gradient(135deg, rgba(11,61,46,.08), rgba(169,120,43,.12)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(230,220,203,.65) 18px 19px);
  border: 1px solid var(--line);
  text-align: center;
  padding: 18px;
}

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  display: none;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(248,244,236,.95);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.sticky-cta .btn { flex: 1; }

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.metric small {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.metric strong {
  display: block;
  color: var(--green);
  font-size: 28px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--green);
  background: #efe6d8;
  font-size: 13px;
}

.qr-placeholder {
  width: 154px;
  aspect-ratio: 1;
  border: 10px solid #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, var(--green) 12px, transparent 12px 24px, var(--green) 24px 36px, transparent 36px 48px),
    linear-gradient(var(--green) 12px, transparent 12px 24px, var(--green) 24px 36px, transparent 36px 48px),
    #efe6d8;
  background-size: 48px 48px;
  box-shadow: var(--shadow);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--green);
  color: #fff;
}

.footer-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 28px 18px;
}

.footer-wrap strong { color: var(--gold-2); }
.footer-wrap p { color: rgba(255,255,255,.78); line-height: 1.6; margin: 8px 0 0; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero, .grid-2, .grid-3, .grid-4, .grid-5, .dashboard-metrics, .footer-wrap, .photo-strip {
    grid-template-columns: 1fr;
  }
  .hero-media { min-height: 300px; }
}

@media (max-width: 640px) {
  body { padding-bottom: 74px; }
  .nav-wrap { padding-inline: 14px; }
  .brand { gap: 8px; }
  .brand-mark { width: 92px; height: 38px; padding: 3px 5px; }
  .brand-text span { display: none; }
  .nav-cta .btn-light { display: none; }
  .page-shell { padding-inline: 14px; }
  .hero { padding-top: 26px; gap: 18px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy p { font-size: 17px; }
  .btn-row .btn, .offer-strip .btn { width: 100%; }
  .section { padding: 26px 0; }
  .section-head { display: grid; align-items: start; }
  .form-row { grid-template-columns: 1fr; }
  .offer-strip { grid-template-columns: 1fr; }
  .photo-collage { grid-template-columns: 1fr 1fr; }
  .wide-photo { min-height: 260px; }
  .sticky-cta { display: flex; }
  table { min-width: 680px; }
  .table-scroll { overflow-x: auto; }
}

/* ------------------------------------------------------------------ *
 * 228Fuji 后端对接新增
 * ------------------------------------------------------------------ */

/*
 * 蜜罐字段：真实用户看不见，只有自动填表的脚本会填它。
 * 后端 FujiLeadDto.website 一旦非空就静默丢弃该次提交。
 *
 * 不用 display:none / visibility:hidden —— 部分脚本会跳过这两种，
 * 也有屏幕阅读器仍会读出来。用 absolute + clip 移出视口，
 * 配合 aria-hidden 和 tabindex=-1，键盘和读屏都不会碰到。
 */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  pointer-events: none;
}

/* 表单提交失败提示。成功走 .success.show，失败复用同一个盒子加 .error */
.success.error {
  color: #b3261e;
  border-color: #f2b8b5;
  background: #fcefee;
}

/* 售罄标记 */
.product-card .badge + .badge {
  margin-left: 6px;
}

/* 页脚法务链接。TCPA 同意话术引用了这两页，链接必须常驻可达 */
.footer-legal {
  margin: 8px 0 0;
  font-size: 13px;
  opacity: .75;
}
.footer-legal a { color: inherit; }
