/* ===== 分分鐘客製化手機殼 — 異業合作提案 ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&family=Noto+Serif+TC:wght@500;700;900&display=swap');

:root {
  --ink: #1d1d22;
  --ink-soft: #54545e;
  --line: rgba(0, 0, 0, .08);
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .28);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  background: #faf7f2;
  overflow-x: hidden;
}

/* ---------- 主題色 ---------- */
.theme-restaurant {
  --brand: #e0843f;
  --brand-2: #1f8a82;
  --wash: linear-gradient(160deg, #fff4e6 0%, #f3ede0 55%, #e6f1ee 100%);
  --hero: linear-gradient(135deg, #f6a45a 0%, #e0843f 38%, #2a8f86 100%);
}
.theme-wedding {
  --brand: #b8895f;
  --brand-2: #9d6f7d;
  --wash: linear-gradient(160deg, #fbf3ee 0%, #f6ece6 55%, #f3e9ef 100%);
  --hero: linear-gradient(135deg, #e7c79f 0%, #c79c79 40%, #9d6f7d 100%);
}
.theme-home { --brand:#e0843f; --brand-2:#9d6f7d; --wash: linear-gradient(160deg,#1d1d22,#2a2730 60%,#3a2f33); }

/* ---------- 導覽列 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 44px);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.05rem; letter-spacing: .02em; color: var(--ink); text-decoration: none; }
.brand .dot { width: 30px; height: 30px; border-radius: 9px; background: var(--hero); display: grid; place-items: center; color: #fff; font-size: 15px; box-shadow: var(--shadow); }
.nav-links { display: flex; gap: 8px; }
.nav-links a { font-size: .86rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 7px 13px; border-radius: 999px; transition: .2s; }
.nav-links a:hover { background: rgba(0,0,0,.05); color: var(--ink); }

/* ---------- 區塊通用 ---------- */
section { padding: clamp(56px, 9vw, 104px) clamp(20px, 6vw, 48px); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em; color: var(--brand); text-transform: uppercase; margin-bottom: 14px; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -.01em; }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 900; margin-bottom: 16px; }
.lead { font-size: clamp(1rem, 1.7vw, 1.18rem); color: var(--ink-soft); max-width: 640px; }

/* ---------- HERO ---------- */
.hero { background: var(--wash); position: relative; overflow: hidden; padding: clamp(64px, 11vw, 128px) clamp(20px, 6vw, 48px); }
.hero::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; height: 60vw; background: var(--hero); opacity: .14; filter: blur(60px); border-radius: 50%; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 900; max-width: 16ch; }
.theme-wedding .hero h1 { font-family: 'Noto Serif TC', serif; }
.hero .sub { margin-top: 20px; font-size: clamp(1.05rem, 2.1vw, 1.35rem); color: var(--ink-soft); max-width: 32ch; }
.hero .pill { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700; color: var(--brand); margin-bottom: 26px; box-shadow: var(--shadow); }
.cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .98rem; transition: .22s; border: none; cursor: pointer; }
.btn-primary { background: var(--hero); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: rgba(0,0,0,.03); }

/* ---------- 痛點/機會 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.quote-card { background: var(--card); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.quote-card .q { font-size: 1.15rem; font-weight: 700; line-height: 1.7; }
.quote-card .q span { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--brand) 28%, transparent) 0); }
.quote-card .who { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); }

/* ---------- 價值卡 ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 50px; height: 50px; border-radius: 14px; background: var(--wash); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.card h3 { font-size: 1.18rem; font-weight: 900; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -16px; left: 22px; width: 36px; height: 36px; border-radius: 50%; background: var(--hero); color: #fff; font-weight: 900; display: grid; place-items: center; box-shadow: var(--shadow); }
.step h4 { margin: 10px 0 6px; font-size: 1.05rem; font-weight: 900; }
.step p { font-size: .88rem; color: var(--ink-soft); }

/* ---------- 成品實拍相簿 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.shot { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); border: 1px solid var(--line); background: #1d1d22; }
.shot.feature { grid-column: span 2; aspect-ratio: 16 / 10; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: .5s ease; }
.shot:hover img { transform: scale(1.06); }
.shot .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font-size: .85rem; font-weight: 700; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.72)); }
.gallery-note { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); }

/* ---------- 方案 / 價格 ---------- */
.plan { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(34px, 6vw, 60px); position: relative; overflow: hidden; box-shadow: var(--shadow); }
.plan::after { content: ""; position: absolute; right: -15%; top: -30%; width: 50%; height: 120%; background: var(--hero); opacity: .35; filter: blur(50px); border-radius: 50%; }
.plan .inner { position: relative; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.plan-line { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.plan-line .k { color: rgba(255,255,255,.7); font-size: .95rem; }
.plan-line .v { font-weight: 900; font-size: 1.15rem; }
.plan-line .v small { font-weight: 500; font-size: .8rem; color: rgba(255,255,255,.6); }
.big-num { font-size: clamp(2.6rem, 7vw, 4rem); font-weight: 900; line-height: 1; }
.big-num small { font-size: 1rem; font-weight: 500; opacity: .7; }
.tag-free { display: inline-block; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-bottom: 18px; }

/* ---------- 規格 ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.spec { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); padding: 18px; border-radius: 16px; }
.spec .s-ico { font-size: 20px; }
.spec b { display: block; font-size: .98rem; }
.spec span { font-size: .85rem; color: var(--ink-soft); }

/* ---------- 預約表單 ---------- */
.resv { max-width: 560px; margin: 34px auto 0; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 32px); box-shadow: var(--shadow); }
.resv h3 { font-size: 1.15rem; font-weight: 900; margin-bottom: 4px; }
.resv .hint { font-size: .86rem; color: var(--ink-soft); margin-bottom: 8px; }
.resv .row { display: flex; gap: 12px; }
.resv .field { flex: 1; }
.resv label { display: block; font-size: .82rem; font-weight: 700; margin: 14px 0 6px; }
.resv input, .resv textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink); }
.resv input:focus, .resv textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.resv textarea { resize: vertical; min-height: 68px; }
.resv .btn { margin-top: 20px; width: 100%; justify-content: center; }
.resv-msg { margin-top: 14px; text-align: center; font-weight: 700; min-height: 1.4em; }
.resv-msg.ok { color: var(--brand-2); }
.resv-msg.err { color: #c0392b; }
@media (max-width: 520px) { .resv .row { flex-direction: column; } }

/* ---------- CTA / footer ---------- */
.final { background: var(--wash); text-align: center; }
.final h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; margin-bottom: 18px; }
.theme-wedding .final h2 { font-family:'Noto Serif TC', serif; }
.contact-row { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 28px; font-weight: 700; }
.contact-row a { color: var(--ink); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
footer { padding: 36px 24px; text-align: center; font-size: .82rem; color: var(--ink-soft); background: #1d1d22; color: rgba(255,255,255,.6); }
footer b { color: #fff; }

/* ---------- 首頁分流 ---------- */
.home { min-height: 100vh; background: var(--wash); color: #fff; display: grid; place-items: center; padding: 40px 20px; }
.home-inner { max-width: 980px; width: 100%; text-align: center; }
.home h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 900; }
.home .home-sub { color: rgba(255,255,255,.7); max-width: 50ch; margin: 18px auto 0; font-size: 1.05rem; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 50px; }
.choose a { text-decoration: none; color: #fff; border-radius: 26px; padding: 44px 34px; text-align: left; position: relative; overflow: hidden; transition: .25s; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.choose a:hover { transform: translateY(-6px); }
.choose .c-rest { background: linear-gradient(140deg, #f6a45a, #e0843f 45%, #2a8f86); }
.choose .c-wed { background: linear-gradient(140deg, #e7c79f, #c79c79 45%, #9d6f7d); }
.choose .c-tag { font-size: .82rem; font-weight: 700; letter-spacing: .12em; opacity: .85; }
.choose h2 { font-size: 1.7rem; font-weight: 900; margin: 8px 0; }
.choose p { font-size: .95rem; opacity: .9; }
.choose .arrow { position: absolute; top: 32px; right: 32px; font-size: 1.4rem; }

@media (max-width: 760px) {
  .split, .cards, .steps, .plan-grid, .spec-grid, .choose { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .nav-links { display: none; }
}
