/* =========================================================
   樂行租賃 JoyGo Shuttle — 手帳貼紙風格 / 暖色系（白、橘）
   重點：字大、字粗、清楚、簡單；不使用持續性動畫
   ========================================================= */
:root {
  --cream: #FFF7EA;
  --paper: #FFFFFF;
  --butter: #FDE7BD;
  --amber: #F5A623;
  --orange: #D9560B;
  --orange-deep: #B84407;
  --ink: #3A2718;
  --ink-soft: #6B4E3A;
  --line: #06A94A;
  --line-deep: #04893B;
  --radius: 26px;
  --border: 3px solid var(--ink);
  --nav-h: 76px;
  --font: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "微軟正黑體", "Heiti TC", system-ui, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--cream);
  /* 手帳點點方格紙 */
  background-image: radial-gradient(#F3D9AE 1.6px, transparent 1.6px);
  background-size: 26px 26px;
}

img { max-width: 100%; height: auto; display: block; -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }
a { color: var(--orange-deep); }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px;
}
.skip:focus { top: 12px; }

/* ---------- 導覽列（Sticky） ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: var(--border);
}
.nav__in {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink); margin-right: auto;
}
.brand img { height: 54px; width: auto; }
.brand b { display: block; font-size: 26px; font-weight: 900; line-height: 1.15; letter-spacing: .04em; }
.brand small { display: block; font-size: 13px; font-weight: 700; color: var(--orange-deep); letter-spacing: .03em; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu a {
  display: block; padding: 8px 13px; border-radius: 14px;
  font-size: 20px; font-weight: 900; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.menu a:hover { background: var(--butter); }
.menu a.is-active { background: var(--butter); box-shadow: inset 0 -5px 0 var(--amber); }

.nav__tel {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--orange); color: #fff; text-decoration: none;
  font-size: 21px; font-weight: 900; white-space: nowrap;
  border: var(--border);
}
.nav__tel:hover { background: var(--orange-deep); }

.burger {
  display: none; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 14px; border: var(--border);
  background: var(--butter); color: var(--ink);
  font: inherit; font-size: 20px; font-weight: 900; cursor: pointer;
}
.burger i { display: block; width: 24px; height: 3px; background: var(--ink); border-radius: 2px; box-shadow: 0 7px 0 var(--ink), 0 -7px 0 var(--ink); }

/* ---------- 按鈕 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 68px; padding: 12px 30px;
  border: var(--border); border-radius: 999px;
  font-size: 24px; font-weight: 900; line-height: 1.25; text-decoration: none; text-align: center;
  box-shadow: 0 6px 0 var(--ink);
}
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn--line { background: var(--line); color: #fff; }
.btn--line:hover { background: var(--line-deep); }
.btn--tel { background: var(--orange); color: #fff; }
.btn--tel:hover { background: var(--orange-deep); }
.btn--ghost { background: var(--paper); color: var(--ink); }
.btn--ghost:hover { background: var(--butter); }
.ico { width: 30px; height: 30px; flex: none; fill: currentColor; }
.line-badge {
  flex: none; display: inline-block; padding: 2px 9px; border-radius: 10px;
  background: #fff; color: var(--line-deep); font-size: 16px; font-weight: 900; letter-spacing: .02em; line-height: 1.5;
}

/* ---------- 區塊共用 ---------- */
section { padding: 84px 0; }
.sec--white { background: var(--paper); border-block: var(--border); }

.sec-head { text-align: center; margin-bottom: 48px; }
.tag {
  display: inline-block; padding: 4px 20px; margin-bottom: 16px;
  background: var(--amber); color: var(--ink);
  border: var(--border); border-radius: 999px;
  font-size: 19px; font-weight: 900; letter-spacing: .12em;
  transform: rotate(-2deg);
}
h2 {
  font-size: clamp(34px, 5.2vw, 50px); font-weight: 900; line-height: 1.3; letter-spacing: .02em;
}
mark {
  color: inherit; background: linear-gradient(transparent 62%, #FFD27A 62%); padding: 0 4px;
}
.sec-head p { margin-top: 14px; font-size: 23px; color: var(--ink-soft); }

/* 貼紙卡片 */
.card {
  position: relative;
  background: var(--paper);
  border: var(--border); border-radius: var(--radius);
  box-shadow: 7px 7px 0 var(--butter), 7px 7px 0 3px var(--ink);
  padding: 30px;
}
.sec--white .card { background: #FFFBF4; }

/* 紙膠帶 */
.tape::before {
  content: ""; position: absolute; z-index: 2;
  top: -16px; left: 50%; width: 130px; height: 32px; margin-left: -65px;
  background: repeating-linear-gradient(135deg, rgba(245,166,35,.85) 0 10px, rgba(253,231,189,.9) 10px 20px);
  border-left: 2px dashed rgba(58,39,24,.35); border-right: 2px dashed rgba(58,39,24,.35);
  transform: rotate(-3deg);
}

/* 照片貼紙 */
.photo {
  position: relative; background: #fff; padding: 10px;
  border: var(--border); border-radius: 22px;
  box-shadow: 7px 7px 0 var(--butter), 7px 7px 0 3px var(--ink);
}
.photo img { border-radius: 14px; width: 100%; }
.tilt-l { transform: rotate(-1.5deg); }
.tilt-r { transform: rotate(1.5deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; }
.hero__in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 52px; align-items: center; }
.hero h1 {
  font-size: clamp(44px, 5.4vw, 66px); font-weight: 900; line-height: 1.25; letter-spacing: .02em;
}
.hero h1 span { color: var(--orange); white-space: nowrap; }
.hero h1 { white-space: nowrap; }
.hero__sub { margin-top: 20px; font-size: clamp(23px, 2.6vw, 28px); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips li {
  padding: 6px 18px; background: var(--paper); border: var(--border); border-radius: 999px;
  font-size: 21px; font-weight: 900;
}
.chips li::before { content: "✔ "; color: var(--orange); }
.cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: 19px; color: var(--ink-soft); }

/* ---------- 服務項目 ---------- */
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.svc .card { padding: 0; overflow: visible; display: flex; flex-direction: column; }
.svc__img { border-bottom: var(--border); border-radius: 23px 23px 0 0; overflow: hidden; }
.svc__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc__body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.svc h3 { font-size: 34px; font-weight: 900; line-height: 1.3; }
.svc__body > p { margin-top: 8px; font-size: 22px; color: var(--ink-soft); }

.price { margin-top: 20px; border: 3px dashed var(--ink); border-radius: 18px; overflow: hidden; background: #fff; }
.price li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 14px 20px; font-size: 25px; font-weight: 900;
}
.price li + li { border-top: 3px dashed #E9CFA4; }
.price b { font-size: 34px; font-weight: 900; color: var(--orange); white-space: nowrap; }
.price b small { font-size: 22px; color: var(--ink); margin-left: 4px; }
.price .txt { font-size: 24px; color: var(--orange-deep); text-align: right; white-space: normal; }
.uses { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.uses li { padding: 4px 16px; background: var(--butter); border: 2px solid var(--ink); border-radius: 999px; font-size: 21px; font-weight: 900; }
.uses-t { font-size: 21px; margin: 0 0 10px !important; color: var(--ink) !important; }
.svc__body .btn { margin-top: auto; }
.svc__body .price { margin-bottom: 26px; }

.more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.more .card { text-align: center; padding: 30px 22px; }
.more .emoji {
  width: 92px; height: 92px; margin: 0 auto 14px; display: grid; place-items: center;
  font-size: 48px; line-height: 1; background: var(--butter); border: var(--border); border-radius: 50%;
}
.more h3 { font-size: 30px; font-weight: 900; }
.more p { margin-top: 6px; font-size: 21px; color: var(--ink-soft); }
.more .ask { display: inline-block; margin-top: 12px; padding: 2px 16px; background: var(--amber); border: var(--border); border-radius: 999px; font-size: 19px; font-weight: 900; }

.notice {
  margin-top: 44px; padding: 20px 26px; text-align: center;
  background: var(--butter); border: 3px dashed var(--ink); border-radius: 20px; font-size: 21px;
}

/* ---------- 預約流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: s; }
.steps li { counter-increment: s; padding: 0; }
.steps li::after {
  content: counter(s); position: absolute; top: -26px; left: -14px; z-index: 3;
  width: 68px; height: 68px; display: grid; place-items: center;
  background: var(--orange); color: #fff; border: var(--border); border-radius: 50%;
  font-size: 36px; font-weight: 900; line-height: 1;
}
.steps img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 23px 23px 0 0; border-bottom: var(--border); }
.steps div { padding: 22px 26px 28px; }
.steps h3 { font-size: 30px; font-weight: 900; line-height: 1.35; }
.steps p { margin-top: 8px; font-size: 21px; color: var(--ink-soft); }

.prep { margin-top: 56px; }
.prep h3 { font-size: 30px; font-weight: 900; text-align: center; margin-bottom: 18px; }
.prep ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.prep li { font-size: 23px; padding-left: 40px; position: relative; }
.prep li::before {
  content: "✔"; position: absolute; left: 0; top: 5px; width: 30px; height: 30px; display: grid; place-items: center;
  background: var(--amber); border: 2px solid var(--ink); border-radius: 8px; font-size: 18px;
}

/* ---------- 客戶回饋 ---------- */
.voices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.voices .card:nth-child(odd) { transform: rotate(-.6deg); }
.voices .card:nth-child(even) { transform: rotate(.6deg); }
.voices .card:last-child { grid-column: 1 / -1; max-width: 760px; margin-inline: auto; }
.voices h3 { font-size: 26px; font-weight: 900; color: var(--orange-deep); }
.voices blockquote { margin: 10px 0 0; font-size: 22px; line-height: 1.8; }
.who { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 21px; font-weight: 900; }
.who i {
  font-style: normal; width: 52px; height: 52px; flex: none; display: grid; place-items: center;
  background: var(--amber); border: var(--border); border-radius: 50%; font-size: 24px;
}
.stars { color: var(--amber); font-size: 26px; letter-spacing: 3px; -webkit-text-stroke: 1.2px var(--ink); }

/* ---------- 關於樂行 ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
.about .photo { padding: 18px; }
.about p + p { margin-top: 16px; }
.about p { font-size: 23px; }
.about h3 { font-size: 34px; font-weight: 900; line-height: 1.35; margin-bottom: 16px; }

.logo-idea { margin-top: 72px; }
.logo-idea > h3 { text-align: center; font-size: clamp(30px, 4.4vw, 40px); font-weight: 900; }
.logo-idea > p { text-align: center; font-size: 23px; color: var(--ink-soft); margin: 10px auto 40px; max-width: 760px; }
.idea { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.idea .card { padding: 26px 22px; text-align: center; }
.idea .dot {
  width: 78px; height: 78px; margin: 0 auto 12px; display: grid; place-items: center;
  border: var(--border); border-radius: 50%; font-size: 38px; line-height: 1; background: var(--butter);
}
.idea h4 { margin: 0; font-size: 26px; font-weight: 900; }
.idea p { margin-top: 6px; font-size: 20px; color: var(--ink-soft); line-height: 1.65; }
.swatch { display: flex; justify-content: center; gap: 6px; }
.swatch span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ink); }

/* ---------- Q&A ---------- */
.faq { max-width: 900px; margin-inline: auto; display: grid; gap: 22px; }
.faq details { padding: 0; }
.faq summary {
  display: flex; align-items: center; gap: 16px; cursor: pointer; list-style: none;
  padding: 22px 26px; font-size: 26px; font-weight: 900; line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "Q"; flex: none; width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--orange); color: #fff; border: var(--border); border-radius: 50%; font-size: 24px;
}
.faq summary::after { content: "＋"; margin-left: auto; font-size: 30px; color: var(--orange); }
.faq details[open] summary::after { content: "－"; }
.faq .ans { padding: 4px 26px 26px 90px; font-size: 23px; }
.faq .ans b { color: var(--orange-deep); }

/* ---------- 聯絡我們 ---------- */
.contact { background: var(--butter); border-top: var(--border); }
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.contact .card { text-align: center; padding: 34px 22px 30px; display: flex; flex-direction: column; align-items: center; }
.contact .card h3 { font-size: 27px; font-weight: 900; }
.contact .num { display: block; white-space: nowrap; margin: 6px 0 4px; font-size: clamp(32px, 2.9vw, 38px); font-weight: 900; color: var(--orange); letter-spacing: .02em; line-height: 1.3; text-decoration: none; }
.contact .card p { font-size: 20px; color: var(--ink-soft); margin-bottom: 20px; }
.contact .btn { margin-top: auto; width: 100%; }

/* ---------- 頁尾 ---------- */
footer { background: var(--ink); color: #FFF3DF; padding: 52px 0 44px; font-size: 20px; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.foot__brand { display: flex; align-items: center; gap: 16px; }
.foot__brand img { width: 96px; background: #fff; border-radius: 20px; padding: 8px; }
.foot__brand b { display: block; font-size: 27px; font-weight: 900; line-height: 1.3; }
.foot__brand span { font-size: 17px; color: #F8C987; }
.foot h3 { font-size: 22px; font-weight: 900; color: var(--amber); margin-bottom: 8px; }
.foot a { color: #fff; text-decoration: none; font-weight: 900; }
.foot a:hover { text-decoration: underline; }
.foot li { padding: 2px 0; }
.foot .big { font-size: 26px; }
.legal { margin-top: 36px; padding-top: 22px; border-top: 2px dashed rgba(255,243,223,.35); font-size: 17px; color: #E8D3B4; font-weight: 500; }

/* ---------- 手機底部固定列（LINE／撥號） ---------- */
.dock { display: none; }

/* ---------- Scroll-triggered 顯示（只淡入一次，無持續動畫） ---------- */
.js .reveal { opacity: 0; transition: opacity .45s ease-out; }
.js .reveal.is-in { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transition: none; }
}

/* =========================================================
   平板與手機
   ========================================================= */
@media (max-width: 1140px) {
  .burger { display: inline-flex; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: var(--border); padding: 8px 20px 16px;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .menu.is-open { display: flex; }
  .menu a { font-size: 25px; padding: 15px 12px; border-radius: 0; border-bottom: 3px dashed #EBD3AB; }
  .menu li:last-child a { border-bottom: 0; }
  .idea { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  body { font-size: 20px; padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  :root { --nav-h: 68px; }
  section { padding: 60px 0; }
  .nav__tel { display: none; }
  .brand img { height: 46px; }
  .brand b { font-size: 23px; }

  .hero { padding: 34px 0 54px; }
  .hero__in, .svc, .about, .voices, .steps, .contact__grid, .foot { grid-template-columns: 1fr; }
  .hero__in { gap: 34px; }
  .hero__art { order: -1; }
  .cta .btn { width: 100%; }
  .steps { gap: 54px; }
  .more { grid-template-columns: 1fr; gap: 26px; }
  .more .card { display: grid; grid-template-columns: 92px 1fr; gap: 4px 18px; text-align: left; align-items: center; padding: 22px; }
  .more .emoji { margin: 0; grid-row: span 3; }
  .more .ask { justify-self: start; }
  .prep ul { grid-template-columns: 1fr; }
  .voices .card { transform: none !important; }
  .about .photo { max-width: 360px; margin-inline: auto; }
  .faq summary { font-size: 23px; padding: 18px; gap: 12px; }
  .faq .ans { padding: 0 20px 22px; font-size: 22px; }
  .card { box-shadow: 5px 5px 0 var(--butter), 5px 5px 0 3px var(--ink); }
  .price li { font-size: 23px; padding: 12px 16px; }
  .price b { font-size: 31px; }

  /* 底部固定列：滑動頁面也不會消失 */
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); border-top: var(--border);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 66px; border: var(--border); border-radius: 18px;
    color: #fff; font-size: 24px; font-weight: 900; text-decoration: none; line-height: 1.2;
  }
  .dock .d-line { background: var(--line); }
  .dock .d-tel { background: var(--orange); }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .brand small { display: none; }
  .burger span { display: none; }
  .dock a { font-size: 22px; }
  .svc__body { padding: 22px 18px 26px; }
  .card { padding: 24px 20px; }
  .svc .card, .steps li { padding: 0; }
  .idea { grid-template-columns: 1fr; }
}

@media print { .nav, .dock { position: static; } .js .reveal { opacity: 1; } }
