
/* ========================================================
   HKSEV — 24小時急症著落頁
   Aesthetic: 深藍夜空 #0b1840 / 急症紅 #e4152b / 白 + 金邊
   Inspired by the provided banner image (night sky skyline)
   ======================================================== */

:root {
  /* Theme: emergency (default) */
  --navy-900: #0a1638;
  --navy-800: #11224e;
  --navy-700: #1a3273;
  --navy-600: #24488e;
  --navy-50:  #eef3ff;

  --red-600: #e4152b;
  --red-700: #b80f22;
  --red-500: #ff2a3b;

  --teal-600: #2c7a73;
  --teal-500: #3a9992;

  --cream: #f5efe4;
  --paper: #ffffff;
  --ink:   #0e1630;
  --ink-2: #3a4466;
  --muted: #6b7390;
  --line:  #e5e7f0;

  --shadow-sm: 0 2px 8px rgba(10, 22, 56, .08);
  --shadow-md: 0 10px 30px rgba(10, 22, 56, .12);
  --shadow-lg: 0 24px 60px rgba(10, 22, 56, .18);
  --shadow-red: 0 12px 30px rgba(228, 21, 43, .35);

  --font-zh: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', system-ui, sans-serif;
  --font-dis: 'Oswald', 'Bebas Neue', 'Noto Sans TC', sans-serif;

  --container: 1200px;
}

/* Theme variants */
[data-theme="professional"] {
  --red-600: #1d4ed8;
  --red-700: #1e40af;
  --red-500: #2563eb;
}
[data-theme="warm"] {
  --navy-900: #2a1e16;
  --navy-800: #3a2b1f;
  --red-600: #c2410c;
  --red-700: #9a3412;
  --red-500: #ea580c;
  --cream: #faf5e9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-zh);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}
h1, h2, h3, h4 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; color: var(--red-600); }

/* ========= Utility top bar ========= */
.utility-bar {
  background: linear-gradient(90deg, var(--red-600), var(--red-700));
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.utility-bar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 20px;
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.utility-bar__sep { opacity: .5; }
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.8);
  animation: pulse 1.6s infinite;
  display: inline-block;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
  70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ========= Header ========= */
.site-header {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  height: 54px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand__logo--light {
  height: 64px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 22px;
  font-size: 14px; font-weight: 500;
  color: var(--ink-2);
}
.nav a:hover { color: var(--red-600); }
.nav-cta {
  background: var(--red-600);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-red);
  transition: transform .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); }

@media (max-width: 900px) {
  .nav { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ========= Floating CTA (right side sticky) ========= */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex; flex-direction: column; gap: 10px;
  z-index: 50;
}
.fcta {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: transform .15s ease;
}
.fcta:hover { transform: translateY(-2px); }
.fcta--call { background: var(--red-600); }
.fcta--call::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 var(--red-500);
  animation: ring 2s infinite;
  pointer-events: none;
}
.fcta--call { position: relative; }
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(228, 21, 43, .6); }
  70% { box-shadow: 0 0 0 14px rgba(228, 21, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(228, 21, 43, 0); }
}
.fcta--wa { background: #25d366; }
.fcta__txt { display: flex; flex-direction: column; line-height: 1.1; }
.fcta__label { font-size: 10px; font-weight: 500; opacity: .9; }
.fcta__num { font-family: var(--font-dis); font-size: 16px; letter-spacing: .02em; }

@media (max-width: 700px) {
  .floating-cta {
    flex-direction: row;
    right: 0; left: 0; bottom: 0;
    border-radius: 0;
    padding: 8px;
    background: rgba(10, 22, 56, .92);
    backdrop-filter: blur(10px);
    justify-content: stretch;
  }
  .fcta { flex: 1; justify-content: center; }
}

/* ========= HERO ========= */
.hero {
  position: relative;
  background: radial-gradient(ellipse at 30% 0%, var(--navy-700), var(--navy-900) 70%);
  color: #fff;
  overflow: hidden;
  padding: 60px 20px 80px;
  isolation: isolate;
}
.hero__banner {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
  background: #0a1638;
  aspect-ratio: 1 / 1;
  align-self: start;
}
.hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero__inner--split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.hero__content { display: flex; flex-direction: column; }
.hero__h1 {
  font-weight: 900;
  margin: 10px 0 14px;
  line-height: 1;
  color: #fff;
}
.hero__h1-big {
  display: block;
  font-size: clamp(44px, 5.5vw, 78px);
  letter-spacing: -.02em;
}
.hero__h1-red {
  display: inline-block;
  font-size: clamp(44px, 5.5vw, 78px);
  background: var(--red-600);
  padding: 2px 18px;
  border-radius: 8px;
  margin-top: 8px;
  letter-spacing: -.01em;
}
.hero__h1-en {
  display: block;
  font-family: var(--font-dis);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: .22em;
  color: var(--red-500);
  margin-top: 14px;
  font-weight: 600;
}
.hero__lede {
  color: #cfd8f0;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 22px;
  max-width: 520px;
}
@media (max-width: 900px) {
  .hero__inner--split { grid-template-columns: 1fr; gap: 28px; }
  .hero__banner { max-width: 520px; margin: 0 auto; width: 100%; }
}
.hero__sky {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}
.stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent),
    radial-gradient(1px 1px at 30% 40%, #fff, transparent),
    radial-gradient(1px 1px at 50% 10%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 30%, #fff, transparent),
    radial-gradient(1px 1px at 85% 15%, #fff, transparent),
    radial-gradient(1px 1px at 20% 70%, #fff, transparent),
    radial-gradient(1px 1px at 90% 55%, #fff, transparent),
    radial-gradient(2px 2px at 60% 60%, #fff, transparent);
  opacity: .4;
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .3; } to { opacity: .65; } }
.hero__skyline {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 180px;
  background:
    linear-gradient(to top, rgba(26, 50, 115, .55), transparent),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='180' viewBox='0 0 1200 180'><g fill='%230a1638' opacity='.7'><rect x='0' y='90' width='60' height='90'/><rect x='55' y='60' width='40' height='120'/><rect x='90' y='100' width='30' height='80'/><rect x='115' y='40' width='50' height='140'/><rect x='160' y='80' width='35' height='100'/><rect x='190' y='20' width='45' height='160'/><rect x='230' y='70' width='40' height='110'/><rect x='265' y='55' width='55' height='125'/><rect x='315' y='90' width='30' height='90'/><rect x='340' y='30' width='60' height='150'/><rect x='395' y='75' width='45' height='105'/><rect x='435' y='50' width='50' height='130'/><rect x='480' y='85' width='40' height='95'/><rect x='515' y='15' width='70' height='165'/><rect x='580' y='65' width='35' height='115'/><rect x='610' y='95' width='45' height='85'/><rect x='650' y='45' width='55' height='135'/><rect x='700' y='80' width='40' height='100'/><rect x='735' y='25' width='60' height='155'/><rect x='790' y='70' width='45' height='110'/><rect x='830' y='55' width='50' height='125'/><rect x='875' y='90' width='35' height='90'/><rect x='905' y='35' width='65' height='145'/><rect x='965' y='75' width='40' height='105'/><rect x='1000' y='50' width='55' height='130'/><rect x='1050' y='85' width='45' height='95'/><rect x='1090' y='20' width='60' height='160'/><rect x='1145' y='70' width='55' height='110'/></g></svg>") bottom/cover no-repeat;
  opacity: .8;
}
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero__badge {
  position: absolute;
  top: 0; right: 20px;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 3px solid var(--red-500);
  display: grid; place-items: center;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 0 40px rgba(255, 42, 59, .4);
  background: rgba(10, 22, 56, .6);
}
.hero__badge strong {
  display: block;
  font-family: var(--font-dis);
  font-size: 44px;
  color: #fff;
  line-height: 1;
}
.hero__badge span { font-size: 13px; letter-spacing: .18em; color: var(--red-500); }
.hero__badge-sub {
  font-size: 11px;
  color: #fff;
  margin-top: 6px;
  line-height: 1.4;
}
.hero__badge-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 42, 59, .3);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

[data-urgency-badge="false"] .hero__badge { display: none; }

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-dis);
  font-size: 13px;
  letter-spacing: .24em;
  color: var(--red-500);
  margin-bottom: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 42, 59, .4);
  border-radius: 999px;
  background: rgba(255, 42, 59, .08);
}
.hero__title {
  font-weight: 900;
  margin-bottom: 28px;
  max-width: 780px;
}
.hero__title-row {
  display: flex; align-items: flex-start; gap: 20px;
  margin: 12px 0 16px;
}
.big24 {
  font-family: var(--font-dis);
  font-size: clamp(110px, 16vw, 200px);
  line-height: .85;
  font-weight: 700;
  color: var(--red-500);
  text-shadow: 0 0 30px rgba(255, 42, 59, .5), 4px 4px 0 rgba(0,0,0,.4);
  letter-spacing: -.03em;
}
.hero__title-words { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.hero__title-lg {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hero__title-en {
  display: inline-block;
  font-family: var(--font-dis);
  font-size: clamp(14px, 1.4vw, 18px);
  letter-spacing: .18em;
  color: #fff;
  padding: 6px 14px;
  background: var(--red-600);
  border-radius: 4px;
  align-self: flex-start;
}
.hero__sub {
  display: block;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #cfd8f0;
  font-weight: 400;
  margin-top: 10px;
}

.hero__pills {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.pill__ico {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-size: 14px;
}
.pill__ico--siren { background: var(--red-600); }
.pill__ico--steth { background: var(--navy-600); }
.pill__ico--plus  { background: var(--red-600); }
.pill__ico--paw   { background: var(--teal-600); }

.hero__ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.cta {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 26px;
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .15s ease, box-shadow .15s ease;
  min-width: 280px;
}
.cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.cta__ico { font-size: 26px; }
.cta__label { display: block; font-size: 12px; font-weight: 500; opacity: .88; letter-spacing: .08em; }
.cta__num   { display: block; font-family: var(--font-dis); font-size: 24px; letter-spacing: .02em; white-space: nowrap; }
.cta--call  { background: linear-gradient(135deg, var(--red-500), var(--red-700)); }
.cta--wa    { background: linear-gradient(135deg, #25d366, #128c7e); }
.cta--xl    { padding: 20px 34px; }
.cta--xl .cta__num { font-size: 30px; }

.hero__locations {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  max-width: 700px;
  margin-bottom: 18px;
}
.loc {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,.94);
  color: var(--navy-800);
  border-radius: 12px;
  font-weight: 700;
  transition: transform .15s ease;
}
.loc:hover { transform: translateY(-2px); }
.loc__pin {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--navy-800); color: #fff;
  border-radius: 50%;
  font-size: 20px;
  flex-shrink: 0;
}
.loc__area {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  background: #e9f1ee;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 4px;
  width: fit-content;
}
.loc strong { font-family: var(--font-dis); font-size: 22px; letter-spacing: .02em; }

.hero__motto {
  display: inline-block;
  padding: 12px 24px;
  background: var(--teal-600);
  color: #fff;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
}

.hero__ecg {
  position: absolute;
  bottom: 28px; left: 0; right: 0;
  width: 100%; height: 40px;
  z-index: 1;
  opacity: .5;
}
.hero__ecg path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: ecg 3s ease-in-out infinite;
}
@keyframes ecg { to { stroke-dashoffset: 0; } }

@media (max-width: 800px) {
  .hero { padding-top: 40px; }
  .hero__badge { top: 0; right: 10px; width: 110px; height: 110px; }
  .hero__badge strong { font-size: 30px; }
  .hero__badge span { font-size: 10px; }
  .hero__badge-sub { font-size: 9px; }
  .hero__title-row { flex-direction: column; gap: 0; }
  .hero__title-words { padding-top: 0; }
  .hero__locations { grid-template-columns: 1fr; }
  .cta { min-width: 0; width: 100%; }
}

/* ========= TRUST STRIP ========= */
.trust {
  background: var(--navy-900);
  color: #fff;
  border-top: 3px solid var(--red-600);
}
.trust__grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.trust__item { display: flex; flex-direction: column; gap: 4px; }
.trust__num {
  font-family: var(--font-dis);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700;
  color: var(--red-500);
  letter-spacing: -.02em;
  line-height: 1;
}
.trust__num small { font-size: .55em; color: #fff; }
.trust__lbl {
  font-size: 13px;
  color: #cfd8f0;
  font-weight: 500;
}
@media (max-width: 800px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .trust__item:last-child { grid-column: 1 / -1; }
}

/* ========= Section shared ========= */
.section-head {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
  padding: 0 20px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-dis);
  font-size: 13px;
  letter-spacing: .22em;
  color: var(--red-600);
  padding: 6px 14px;
  border: 1px solid var(--red-600);
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--red { background: var(--red-600); color: #fff; }
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.section-head--light h2 { color: var(--navy-900); }
.section-lede {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 640px;
  margin: 10px auto 0;
}

/* ========= SYMPTOMS ========= */
.symptoms {
  padding: 80px 20px;
  background: linear-gradient(180deg, #fff, #fef5f6);
}
.symptom-grid {
  max-width: var(--container);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.scard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.scard--critical { border-top: 4px solid var(--red-600); }
.scard:not(.scard--critical) { border-top: 4px solid #f59e0b; }
.scard header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.scard__tag {
  font-family: var(--font-dis);
  font-size: 11px;
  letter-spacing: .1em;
  padding: 3px 10px;
  background: var(--red-600);
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
}
.scard__tag--orange { background: #f59e0b; }
.scard h3 { font-size: 18px; color: var(--navy-900); }
.scard ul li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px dashed #eef0f6;
}
.scard ul li:last-child { border-bottom: 0; }
.scard ul li::before {
  content: "›";
  position: absolute; left: 4px; top: 6px;
  color: var(--red-600);
  font-weight: 700;
}

.symptoms__cta {
  max-width: 760px;
  margin: 0 auto;
  background: var(--navy-900);
  color: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.symptoms__cta p { margin: 0; font-size: 15px; color: #cfd8f0; }
.symptoms__cta strong { color: #fff; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red-600); color: #fff !important; box-shadow: var(--shadow-red); }
.btn--outline {
  border: 2px solid var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}

/* ========= PROCESS ========= */
.process {
  padding: 80px 20px;
  background: var(--navy-900);
  color: #fff;
}
.process .section-head h2,
.process .eyebrow { color: #fff; }
.process .eyebrow { border-color: rgba(255,255,255,.3); }
.steps {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 40px; left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-500), transparent);
  z-index: 0;
}
.step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 22px 18px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
}
.step__num {
  display: inline-block;
  font-family: var(--font-dis);
  font-size: 40px;
  font-weight: 700;
  color: var(--red-500);
  line-height: 1;
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.step p { font-size: 13px; color: #cfd8f0; line-height: 1.5; margin-bottom: 12px; }
.step__time {
  display: inline-block;
  font-family: var(--font-dis);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--red-500);
  background: rgba(255, 42, 59, .1);
  padding: 4px 10px;
  border-radius: 4px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 500px) {
  .steps { grid-template-columns: 1fr; }
}

/* ========= TEAM ========= */
.team { padding: 80px 20px; background: #fff; }
.team__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.tcard {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f8faff);
  transition: transform .2s ease;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tcard__ico {
  font-size: 36px;
  margin-bottom: 14px;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--navy-50);
  border-radius: 12px;
}
.tcard h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 8px; }
.tcard p { font-size: 14px; color: var(--ink-2); }
.tcard strong { color: var(--red-600); }

/* ========= CASES ========= */
.cases { padding: 80px 20px; background: #f4f7fc; }
.cases__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.ccard {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--red-600);
  transition: transform .2s ease;
}
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ccard__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  gap: 10px; flex-wrap: wrap;
}
.ccard__chip {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-800);
  background: var(--navy-50);
  padding: 5px 12px;
  border-radius: 999px;
}
.ccard__time {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}
.ccard h3 { font-size: 18px; color: var(--navy-900); margin-bottom: 10px; }
.ccard p { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.ccard__result {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #0e7545;
  background: #dcf5e3;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ========= PRICING ========= */
.pricing { padding: 80px 20px; background: #fff; }
.price-grid {
  max-width: var(--container);
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.pcard {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  transition: transform .2s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pcard h3 { font-size: 15px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.pcard__range {
  font-family: var(--font-dis);
  font-size: 34px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 16px;
  letter-spacing: .01em;
}
.pcard--featured {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.pcard--featured h3, .pcard--featured ul li { color: #cfd8f0; }
.pcard--featured .pcard__range { color: var(--red-500); }
.pcard__badge {
  position: absolute;
  top: -10px; right: 16px;
  background: var(--red-600);
  color: #fff;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: .05em;
}
.pcard ul li {
  padding: 6px 0 6px 18px;
  position: relative;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px dashed var(--line);
}
.pcard ul li:first-child { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; }
.pcard ul li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--red-600); font-weight: 700;
}
.pcard--featured ul li { border-color: rgba(255,255,255,.15); }
.pricing__note {
  max-width: 640px; margin: 24px auto 0;
  text-align: center; font-size: 14px; color: var(--ink-2);
}
.pricing__note a { color: var(--red-600); font-weight: 700; }

/* ========= REVIEWS ========= */
.reviews { padding: 80px 20px; background: #fffaf0; }
.reviews__grid {
  max-width: var(--container);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.rcard {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  margin: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.rcard__stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; margin-bottom: 10px; }
.rcard p { font-size: 15px; color: var(--ink); line-height: 1.6; margin: 0 0 12px; }
.rcard footer { font-size: 13px; color: var(--muted); font-weight: 500; }

.reviews__partners {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding: 28px;
  background: rgba(255,255,255,.7);
  border-radius: 16px;
  border: 1px dashed var(--line);
}
.partners__lbl { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.partners__list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.partners__list span {
  font-size: 13px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-800);
  font-weight: 500;
}

/* ========= LOCATIONS ========= */
.locations { padding: 80px 20px; background: var(--navy-50); }
.loc-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.lcard {
  background: #fff;
  padding: 32px;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--navy-800);
}
.lcard__head { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.lcard__pin {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--navy-800); color: #fff;
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}
.lcard__area {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--teal-600);
  background: #e9f5f3;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 4px;
}
.lcard h3 {
  font-family: var(--font-dis);
  font-size: 28px;
  color: var(--navy-900);
  letter-spacing: .01em;
}
.lcard dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 16px;
  margin: 0 0 20px;
  font-size: 14px;
}
.lcard dt { font-weight: 700; color: var(--navy-800); }
.lcard dd { margin: 0; color: var(--ink-2); }

@media (max-width: 700px) {
  .loc-grid { grid-template-columns: 1fr; }
}

/* ========= FAQ ========= */
.faq { padding: 80px 20px; background: #fff; }
.faq__list {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-dis);
  font-size: 26px;
  color: var(--red-600);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.7;
}
.faq a { color: var(--red-600); font-weight: 700; }

/* ========= FINAL CTA ========= */
.final-cta {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.1), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08), transparent 50%);
}
.final-cta__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.final-cta__eyebrow {
  display: inline-block;
  font-family: var(--font-dis);
  font-size: 13px;
  letter-spacing: .22em;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px;
  margin-bottom: 18px;
}
.final-cta h2 {
  font-size: clamp(34px, 5vw, 60px);
  margin-bottom: 14px;
}
.final-cta > .final-cta__inner > p {
  font-size: 17px;
  margin-bottom: 28px;
  opacity: .95;
}
.final-cta__btns {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.final-cta .cta--call {
  background: #fff;
  color: var(--red-700);
}
.final-cta .cta--call .cta__label { color: var(--red-700); }
.final-cta__motto {
  font-size: 15px;
  opacity: .9;
  margin: 0;
}

/* ========= FOOTER ========= */
.site-footer {
  background: var(--navy-900);
  color: #cfd8f0;
  padding: 60px 20px 24px;
}
.foot__grid {
  max-width: var(--container);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.brand--light .brand__logo { height: 60px; }
.foot__copy { font-size: 14px; margin-top: 14px; line-height: 1.6; max-width: 400px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; }
.site-footer p { font-size: 13px; line-height: 1.8; margin: 0; }
.site-footer a:hover { color: var(--red-500); }
.foot__base {
  max-width: var(--container);
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; font-size: 12px; opacity: .7;
  flex-wrap: wrap; gap: 10px;
}

@media (max-width: 800px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

/* ========= TWEAKS PANEL ========= */
.tweaks-panel {
  position: fixed;
  bottom: 100px; right: 20px;
  width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
  font-family: var(--font-zh);
}
.tweaks-panel__head {
  background: var(--navy-900);
  color: #fff;
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700;
  font-family: var(--font-dis);
  letter-spacing: .1em;
}
.tweaks-panel__close {
  background: none; border: none;
  color: #fff; font-size: 22px; cursor: pointer;
  line-height: 1; padding: 0;
}
.tweaks-panel__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.tw-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.tw-row select {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
  font-family: var(--font-zh);
}
.tw-row--toggle input { width: 18px; height: 18px; }

/* ========= Hero variants ========= */
[data-hero-layout="centered"] .hero__inner { text-align: center; }
[data-hero-layout="centered"] .hero__title,
[data-hero-layout="centered"] .hero__pills,
[data-hero-layout="centered"] .hero__ctas,
[data-hero-layout="centered"] .hero__locations { margin-left: auto; margin-right: auto; }
[data-hero-layout="centered"] .hero__pills,
[data-hero-layout="centered"] .hero__ctas { justify-content: center; }
[data-hero-layout="centered"] .hero__badge { position: static; margin: 0 auto 20px; }
[data-hero-layout="centered"] .hero__title-row { justify-content: center; }

[data-hero-layout="split"] .hero__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}
[data-hero-layout="split"] .hero__badge { position: static; margin: 0; }
@media (max-width: 900px) {
  [data-hero-layout="split"] .hero__inner { grid-template-columns: 1fr; }
}

/* ========= CTA variants ========= */
[data-cta-style="stacked"] .hero__ctas { flex-direction: column; align-items: flex-start; }
[data-cta-style="stacked"] .cta--wa { opacity: .85; transform: scale(.95); transform-origin: left; }

[data-cta-style="pill"] .cta {
  border-radius: 999px;
  padding: 14px 24px;
}
[data-cta-style="pill"] .cta__num { font-size: 20px; }

/* ========= Hide live counter ========= */
[data-show-live-counter="false"] .live-counter,
[data-show-live-counter="false"] .utility-bar__sep + span { display: none; }

