:root {
  --red: #B3122B;
  --red-dark: #8A0D20;
  --red-soft: #FBEAEC;
  --gold: #F6C343;
  --ink: #2A1F21;
  --muted: #6E6264;
  --line: #EEE3E4;
  --bg: #FFFFFF;
  --bg-warm: #FFF8F6;
  --line-green: #06C755;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(138, 13, 32, .08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 900; font-size: 1.15rem; letter-spacing: .02em; line-height: 1.2; }
.brand-name small { display: block; font-weight: 500; font-size: .72rem; color: var(--red); letter-spacing: .25em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(179,18,43,.25); }
.btn-primary:hover { background: var(--red-dark); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-outline { border-color: var(--red); color: var(--red); background: #fff; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(246,195,67,.18), transparent 40%),
    linear-gradient(160deg, var(--bg-warm) 0%, #fff 60%);
  padding: 72px 0 80px;
  position: relative; z-index: 0; overflow-x: clip;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; background: var(--red-soft); color: var(--red);
  font-weight: 700; font-size: .85rem; letter-spacing: .15em;
  padding: 4px 14px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.3; margin: 0 0 20px; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero p.lead { font-size: 1.1rem; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero photo: white card so the white photo background blends in */
.hero-photo {
  margin: 0; position: relative; justify-self: center; width: min(100%, 400px);
  aspect-ratio: 4/5; background: #fff; border-radius: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-photo::before {
  content: ""; position: absolute; inset: 22px -18px -18px 22px;
  background: var(--red); border-radius: 28px; z-index: -1;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%;
  border-radius: 28px;
}
.hero-photo .badge {
  position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 14px;
  box-shadow: var(--shadow); padding: 10px 16px; font-size: .85rem; color: var(--muted); line-height: 1.5;
  border-left: 4px solid var(--gold);
}
.hero-photo .badge b { display: block; color: var(--ink); font-size: 1.05rem; }
.fallback { display: none; }
.no-photo img { display: none; }
.no-photo .fallback {
  display: grid; place-items: center; text-align: center; height: 100%;
  font-size: 3rem; font-weight: 900; color: var(--red);
}

.stats {
  margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px 24px;
}
.stat { display: flex; gap: 16px; align-items: center; padding: 6px 0; }
.stat-num {
  flex: 0 0 64px; height: 64px; border-radius: 16px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; font-weight: 900; font-size: 1.5rem;
}
.stat strong { display: block; font-size: 1.05rem; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-alt { background: var(--bg-warm); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .tag { color: var(--red); font-weight: 700; letter-spacing: .2em; font-size: .85rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 12px; font-weight: 900; }
.section-head p { color: var(--muted); margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin: 14px 0 8px; font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff;
  display: grid; place-items: center;
}
.icon svg { width: 26px; height: 26px; }

/* why */
.why-item { text-align: center; padding: 8px 12px; }
.why-item .icon { margin: 0 auto; background: var(--red-soft); color: var(--red); }
.why-item h3 { margin: 14px 0 6px; }
.why-item p { margin: 0; color: var(--muted); }

/* about */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.portrait {
  margin: 0; aspect-ratio: 4/5; border-radius: 24px; background: #fff;
  border: 1px solid var(--line); border-bottom: 8px solid var(--red);
  box-shadow: var(--shadow); overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 4%; }
.portrait .fallback b { font-size: 3.4rem; display: block; line-height: 1.1; }
.portrait .fallback small { font-size: 1rem; letter-spacing: .2em; color: var(--muted); }
.about-text h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 6px 0 16px; font-weight: 900; }
.about-text p { color: #4A3F41; }
.quote {
  border-left: 4px solid var(--red); background: var(--red-soft);
  padding: 14px 20px; border-radius: 0 12px 12px 0; font-weight: 700; color: var(--red-dark); margin: 22px 0;
}
.cred { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cred li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-weight: 500; font-size: .92rem;
}
.cred li::before { content: "✓ "; color: var(--red); font-weight: 900; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 2.4rem; font-weight: 900; color: var(--red); opacity: .2; line-height: 1;
}
.step h3 { margin: 6px 0; font-size: 1.15rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* listings & articles */
.placeholder {
  aspect-ratio: 16/10; border-radius: 12px; margin: -8px -8px 16px;
  background: repeating-linear-gradient(45deg, var(--red-soft), var(--red-soft) 12px, #fff 12px, #fff 24px);
  display: grid; place-items: center; color: var(--red); font-weight: 700;
}
.pill {
  display: inline-block; font-size: .78rem; font-weight: 700; color: var(--red);
  background: var(--red-soft); padding: 2px 10px; border-radius: 999px;
}
.soon { color: var(--muted); font-size: .85rem; margin-top: 12px; display: block; }
.center { text-align: center; margin-top: 36px; }

/* contact */
.contact {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; border-radius: 28px; padding: 56px; text-align: center; position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: rgba(246,195,67,.18); left: -100px; top: -120px;
}
.contact h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; font-weight: 900; position: relative; }
.contact p { opacity: .9; margin: 0 0 30px; position: relative; }
.contact-methods { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; position: relative; }
.contact-box {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 20px 28px; min-width: 240px;
  text-decoration: none; transition: transform .15s;
}
.contact-box:hover { transform: translateY(-3px); }
.contact-box small { display: block; color: var(--muted); font-size: .85rem; }
.contact-box strong { font-size: 1.35rem; color: var(--red); }
.contact-box.line strong { color: var(--line-green); }
.contact-box.qr { min-width: 0; padding: 14px; text-align: center; }
.contact-box.qr img { width: 140px; height: 140px; margin: 0 auto 4px; }
@media (max-width: 760px) { .contact-box.qr { display: none; } }

/* footer */
.site-footer { padding: 36px 0 100px; color: var(--muted); font-size: .9rem; text-align: center; border-top: 1px solid var(--line); margin-top: 84px; }
.site-footer strong { color: var(--ink); }
.site-footer .company {
  display: inline-block; text-align: left; background: var(--bg-warm); border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: 12px; padding: 12px 22px; margin-bottom: 16px;
}
.site-footer .company p { margin: 2px 0; }

/* mobile sticky bar */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .about-grid .portrait { max-width: 300px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .stats { margin-top: 40px; }
  .hero-photo { width: min(82%, 340px); }
  .hero-photo .badge { left: -10px; }
  section { padding: 60px 0; }
  .hero { padding: 48px 0 56px; }
  .contact { padding: 40px 20px; border-radius: 20px; }
  .contact-box { min-width: 0; width: 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .mobile-bar a { padding: 14px; text-align: center; font-weight: 700; color: #fff; text-decoration: none; }
  .mobile-bar .call { background: var(--red); }
  .mobile-bar .line { background: var(--line-green); }
}
