/* CENTRAL POINT · sitio corporativo
   Paleta heredada literalmente de app/globals.css del ERP (no reinventar). */

:root {
  --cp-brand-navy: #0b2b5f;
  --cp-brand-navy-deep: #071e45;
  --cp-brand-cream: #f7f3ee;
  --cp-brand-ink: #15131f;
  --cp-brand-muted: #5f6b78;
  --cp-brand-line: #e7ded2;
  --cp-brand-line-strong: #d8cdbd;
  --cp-brand-orange: #f5913b;
  --cp-brand-green: #00a651;
  --cp-brand-blue: #00a8e8;
  --cp-brand-accent: linear-gradient(90deg, #00a651 0%, #00a8e8 100%);

  --cp-white: #ffffff;
  --cp-radius: 16px;
  --cp-radius-sm: 10px;
  --cp-shadow-sm: 0 1px 2px rgba(7, 30, 69, 0.06);
  --cp-shadow: 0 10px 30px rgba(7, 30, 69, 0.08);
  --cp-shadow-lg: 0 24px 60px rgba(7, 30, 69, 0.16);
  --cp-max: 1120px;
  --cp-header-h: 72px;
  --cp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--cp-header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cp-white);
  color: var(--cp-brand-ink);
  font-family: var(--cp-font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--cp-brand-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--cp-brand-blue);
}

:focus-visible {
  outline: 3px solid var(--cp-brand-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  color: var(--cp-brand-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}

h1 {
  font-size: clamp(2rem, 5.2vw, 3.5rem);
}

h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--cp-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.section--cream {
  background: var(--cp-brand-cream);
}

.section--navy {
  background: var(--cp-brand-navy);
  color: #eef2f8;
}

.section--navy h2,
.section--navy h3 {
  color: var(--cp-white);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cp-brand-muted);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--cp-brand-accent);
}

.eyebrow--light {
  color: #8fa1bd;
}

.section-head--center .eyebrow::before {
  display: none;
}

.lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--cp-brand-muted);
  line-height: 1.7;
}

.section--navy .lead {
  color: #c2cfe3;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--cp-brand-navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- 站头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--cp-brand-line);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--cp-header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cp-brand-navy);
}

.brand img {
  width: 34px;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-weight: 900;
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  color: var(--cp-brand-navy);
}

.brand__claim {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cp-brand-green);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--cp-brand-line-strong);
  border-radius: 10px;
  background: var(--cp-white);
  color: var(--cp-brand-navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle__bars::before {
  top: -5px;
}

.nav-toggle__bars::after {
  top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cp-brand-navy);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--cp-brand-cream);
}

.site-nav a.is-cta {
  margin-left: 8px;
  background: var(--cp-brand-navy);
  color: #fff;
  font-weight: 700;
}

.site-nav a.is-cta:hover {
  background: var(--cp-brand-navy-deep);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cp-brand-navy-deep);
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(7, 30, 69, 0.94) 0%,
      rgba(7, 30, 69, 0.82) 42%,
      rgba(7, 30, 69, 0.45) 72%,
      rgba(7, 30, 69, 0.3) 100%
    ),
    linear-gradient(180deg, rgba(7, 30, 69, 0.35) 0%, rgba(7, 30, 69, 0) 40%);
}

.hero__inner {
  position: relative;
  padding: clamp(64px, 11vw, 132px) 0 clamp(56px, 9vw, 108px);
  max-width: 660px;
}

.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}

.hero h1 .accent {
  background: var(--cp-brand-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: #d8e2f0;
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--cp-brand-green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(0, 166, 81, 0.28);
}

.btn--primary:hover {
  background: #009148;
  color: #fff;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.btn--navy {
  background: var(--cp-brand-navy);
  color: #fff;
}

.btn--navy:hover {
  background: var(--cp-brand-navy-deep);
  color: #fff;
}

/* ---------- 快速信息条 ---------- */
.facts {
  border-bottom: 1px solid var(--cp-brand-line);
  background: var(--cp-white);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--cp-brand-line);
}

.facts__item {
  background: var(--cp-white);
  padding: 26px 22px;
}

.facts__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cp-brand-muted);
  margin-bottom: 6px;
}

.facts__value {
  font-weight: 700;
  color: var(--cp-brand-navy);
  font-size: 1rem;
  line-height: 1.4;
}

/* ---------- 两栏：关于 ---------- */
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.split--reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.media-card {
  position: relative;
  border-radius: var(--cp-radius);
  overflow: hidden;
  background: var(--cp-brand-cream);
  border: 1px solid var(--cp-brand-line);
  box-shadow: var(--cp-shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card--mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, var(--cp-brand-cream) 70%);
}

.media-card--mascot img {
  max-width: 340px;
  width: 100%;
  object-fit: contain;
}

.checklist {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--cp-brand-ink);
}

.checklist li::before {
  content: "";
  flex: 0 0 22px;
  height: 22px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--cp-brand-accent);
  -webkit-mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 17.6 4.4 12.5l1.7-1.7 3.4 3.4 8.4-8.4 1.7 1.7z'/%3E%3C/svg%3E")
    center / 16px no-repeat;
  mask: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 17.6 4.4 12.5l1.7-1.7 3.4 3.4 8.4-8.4 1.7 1.7z'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

/* ---------- 品类卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--cp-white);
  border: 1px solid var(--cp-brand-line);
  border-radius: var(--cp-radius);
  padding: 26px 24px;
  box-shadow: var(--cp-shadow-sm);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cp-shadow);
  border-color: var(--cp-brand-line-strong);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--cp-brand-muted);
  font-size: 0.96rem;
  margin: 0;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--cp-brand-cream);
  color: var(--cp-brand-navy);
  margin-bottom: 16px;
}

.card__icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 即将上线 ---------- */
.soon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.soon {
  border: 1px dashed rgba(194, 207, 227, 0.55);
  border-radius: var(--cp-radius);
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.04);
}

.soon h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.soon p {
  color: #c2cfe3;
  font-size: 0.95rem;
  margin: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(245, 145, 59, 0.18);
  color: #ffc38a;
  border: 1px solid rgba(245, 145, 59, 0.45);
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: var(--cp-radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(194, 207, 227, 0.3);
  font-size: 0.92rem;
  color: #d8e2f0;
}

.notice svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  fill: none;
  stroke: #7fd4a8;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 到店 / 联系 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.info-card {
  border: 1px solid var(--cp-brand-line);
  border-radius: var(--cp-radius);
  background: var(--cp-white);
  padding: 30px 28px;
  box-shadow: var(--cp-shadow-sm);
}

.info-card h3 {
  margin-bottom: 18px;
}

.info-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--cp-brand-line);
}

.info-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.info-row__icon {
  flex: 0 0 20px;
  color: var(--cp-brand-green);
  margin-top: 3px;
}

.info-row__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.info-row__label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cp-brand-muted);
  margin-bottom: 2px;
}

.info-row__value {
  font-weight: 600;
  color: var(--cp-brand-ink);
  word-break: break-word;
}

.info-row__value a {
  color: var(--cp-brand-navy);
}

.hint {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--cp-brand-muted);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.hours-table th,
.hours-table td {
  text-align: left;
  padding: 10px 0;
  border-top: 1px solid var(--cp-brand-line);
  font-weight: 500;
  color: var(--cp-brand-ink);
}

.hours-table tr:first-child th,
.hours-table tr:first-child td {
  border-top: 0;
}

.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--cp-brand-navy);
  white-space: nowrap;
}

.map-embed {
  border-radius: var(--cp-radius);
  overflow: hidden;
  border: 1px solid var(--cp-brand-line);
  box-shadow: var(--cp-shadow-sm);
  background: var(--cp-brand-cream);
}

.map-embed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--cp-brand-navy-deep);
  color: #b9c7dc;
  padding: clamp(48px, 6vw, 72px) 0 28px;
  font-size: 0.94rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.site-footer img.footer-logo {
  width: 210px;
  margin-bottom: 18px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer a {
  color: #d8e2f0;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__legal {
  border-top: 1px solid rgba(194, 207, 227, 0.22);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #8fa1bd;
}

/* ---------- 法律页 ---------- */
.page-head {
  background: var(--cp-brand-cream);
  border-bottom: 1px solid var(--cp-brand-line);
  padding: clamp(44px, 6vw, 76px) 0 clamp(36px, 5vw, 56px);
}

.page-head h1 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-bottom: 10px;
}

.page-head .meta {
  color: var(--cp-brand-muted);
  font-size: 0.9rem;
}

.prose {
  max-width: 780px;
  padding: clamp(40px, 5vw, 64px) 0 clamp(56px, 7vw, 88px);
}

.prose h2 {
  font-size: 1.28rem;
  margin-top: 2.1em;
  margin-bottom: 0.6em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.05rem;
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
  margin: 0 0 1.1em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose ul li::marker {
  color: var(--cp-brand-green);
}

.callout {
  border-left: 3px solid var(--cp-brand-green);
  background: var(--cp-brand-cream);
  border-radius: 0 var(--cp-radius-sm) var(--cp-radius-sm) 0;
  padding: 18px 20px;
  margin: 1.6em 0;
  font-size: 0.96rem;
}

.callout p:last-child {
  margin-bottom: 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.94rem;
}

.prose th,
.prose td {
  border: 1px solid var(--cp-brand-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--cp-brand-cream);
  font-weight: 700;
  color: var(--cp-brand-navy);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  text-decoration: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .split,
  .split--reverse,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .media-card {
    order: -1;
  }

  .cards,
  .soon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--cp-header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--cp-brand-line);
    box-shadow: var(--cp-shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
    padding: 0 12px;
    font-size: 1rem;
  }

  .site-nav a.is-cta {
    margin: 8px 0 0;
    justify-content: center;
  }

  .site-header__bar {
    position: relative;
  }

  .facts__grid {
    grid-template-columns: 1fr;
  }

  .cards,
  .soon-grid {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    padding-top: 56px;
    padding-bottom: 52px;
  }

  /* 手机端文字压在玻璃幕墙上，需要更实的蒙版保证对比度 */
  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(7, 30, 69, 0.93) 0%,
      rgba(7, 30, 69, 0.88) 55%,
      rgba(7, 30, 69, 0.74) 100%
    );
  }

  .btn {
    width: 100%;
  }

  .hero__actions {
    gap: 10px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer__legal {
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .site-nav,
  .nav-toggle,
  .hero__media,
  .hero__actions,
  .site-footer {
    display: none !important;
  }

  body {
    color: #000;
  }
}
