/* ════════════════════════════════════════════
   KT 哈特福租車 KENTING HARTFORD RENTAL
   style.css
   ════════════════════════════════════════════ */

:root {
  --teal: #0E6E7D;
  --teal-dark: #093F49;
  --teal-deep: #072F36;
  --coral: #FF6B4A;
  --coral-dark: #E5532F;
  --sand: #FFF9F3;
  --sand-2: #F4EADD;
  --ink: #15282D;
  --ink-soft: #4A5E63;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(9, 63, 73, .08);
  --shadow-md: 0 14px 40px rgba(9, 63, 73, .14);
  --shadow-lg: 0 24px 70px rgba(9, 63, 73, .22);
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: "Noto Serif TC", "Noto Sans TC", serif;
  --ease: cubic-bezier(.22, .8, .28, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container--narrow { width: min(860px, 92%); }

.ic { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }

/* ── 按鈕 ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.9em;
  border: none; border-radius: 999px;
  font-size: 1rem; font-weight: 700; letter-spacing: .06em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(120deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(229, 83, 47, .38);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(229, 83, 47, .48); }
.btn--ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .65);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .24); transform: translateY(-3px); }
.btn--ghost-dark { background: transparent; color: var(--ink); border: 1.5px solid #C9D4D6; }
.btn--ghost-dark:hover { background: var(--sand-2); }
.btn--outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--lg { padding: 1em 2.4em; font-size: 1.06rem; }
.btn--sm { padding: .55em 1.3em; font-size: .9rem; }
.btn--block { width: 100%; }

/* ── 頂部資訊列 ──────────────────────── */
.topbar {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, .88);
  font-size: .84rem;
}
.topbar__inner { display: flex; align-items: center; gap: 2rem; padding: .5em 0; }
.topbar__item { display: inline-flex; align-items: center; gap: .45em; }
.topbar__phone { margin-left: auto; font-weight: 700; letter-spacing: .04em; }
.topbar__phone:hover { color: var(--coral); }

/* ── 主導覽 ─────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 249, 243, .92);
  backdrop-filter: blur(12px);
  transition: box-shadow .35s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { width: 46px; height: 46px; flex: none; filter: drop-shadow(0 4px 8px rgba(14,110,125,.3)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__text strong { font-family: var(--font-display); font-size: 1.22rem; font-weight: 900; color: var(--teal-dark); letter-spacing: .03em; }
.brand__text small { font-size: .6rem; letter-spacing: .24em; color: var(--coral); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav__link { font-weight: 500; font-size: .98rem; color: var(--ink); position: relative; padding: .3em 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2.5px; border-radius: 2px;
  background: var(--coral);
  transition: width .35s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__cta { margin-left: .6rem; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  position: relative; z-index: 96;
  background: none; border: none; padding: 8px;
}
.burger span {
  width: 26px; height: 3px; border-radius: 3px;
  background: var(--teal-dark);
  transition: transform .35s var(--ease), opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── 主視覺 ─────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 5.5rem 0 7rem;
  color: var(--white);
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 62%;
  transform: scale(1.04);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(7, 47, 54, .82) 8%, rgba(7, 47, 54, .45) 46%, rgba(7, 47, 54, .12) 75%),
    linear-gradient(to top, rgba(7, 47, 54, .45), transparent 40%);
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
  gap: 3.5rem; align-items: center;
}
.hero__copy { max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  font-size: .88rem; font-weight: 700; letter-spacing: .28em;
  color: #FFD9CE;
  border-left: 4px solid var(--coral);
  padding-left: .8em; margin-bottom: 1.2rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 900; line-height: 1.35;
  letter-spacing: .04em;
  text-shadow: 0 4px 24px rgba(7, 47, 54, .5);
}
.hero__title em { font-style: normal; color: #FFB29D; }
.hero__sub { margin-top: 1.3rem; font-size: 1.06rem; color: rgba(255, 255, 255, .92); font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2rem; }
.hero__badges li {
  font-size: .88rem; font-weight: 500; letter-spacing: .08em;
  display: inline-flex; align-items: center; gap: .5em;
}
.hero__badges li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, .25);
}
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 3; }

/* ── 快速預約卡 ─────────────────────── */
.booking {
  background: var(--white);
  color: var(--ink);
  border-radius: 22px;
  padding: 1.9rem 1.8rem;
  box-shadow: var(--shadow-lg);
}
.booking__title {
  display: flex; align-items: center; gap: .55em;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 900; color: var(--teal-dark);
  margin-bottom: 1.2rem;
}
.booking__title .ic { color: var(--coral); width: 1.15em; height: 1.15em; }
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: .85rem; font-weight: 700; color: var(--teal-dark); letter-spacing: .05em; }
.field input, .field select {
  width: 100%;
  padding: .72em .9em;
  border: 1.5px solid #D9E2E4; border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--sand);
  transition: border-color .25s, box-shadow .25s;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230E6E7D' d='M12 15l-6-6h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8em center; background-size: .9em;
}
.field input:focus, .field select:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 110, 125, .12);
  background: var(--white);
}
.booking__estimate {
  margin-top: .9rem;
  padding: .6em .9em;
  background: #EAF5F2; border-left: 4px solid var(--teal);
  border-radius: 8px;
  font-size: .92rem; font-weight: 700; color: var(--teal-dark);
}
.booking__error {
  margin-top: .9rem;
  padding: .6em .9em;
  background: #FDECE7; border-left: 4px solid var(--coral-dark);
  border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: var(--coral-dark);
}
.booking .btn--block { margin-top: 1.1rem; }
.booking__note { margin-top: .8rem; font-size: .78rem; color: var(--ink-soft); text-align: center; }

/* ── 數據條 ─────────────────────────── */
.stats { padding: 2.6rem 0 1rem; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.stat {
  text-align: center;
  padding: 1.6rem 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--coral);
  display: flex; flex-direction: column; gap: .2rem;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 2.3rem; font-weight: 900; color: var(--teal);
}
.stat > span { font-size: .92rem; color: var(--ink-soft); letter-spacing: .05em; }

/* ── 通用區塊 ───────────────────────── */
.section { padding: 5.5rem 0; }
.section--alt { background: linear-gradient(180deg, var(--sand-2) 0%, var(--sand) 100%); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section__eyebrow {
  font-size: .8rem; font-weight: 900; letter-spacing: .4em;
  color: var(--coral); margin-bottom: .7rem;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 900; color: var(--teal-dark);
  line-height: 1.4; letter-spacing: .03em;
}
.section__head .section__title::after {
  content: ""; display: block;
  width: 64px; height: 4px; border-radius: 4px;
  margin: 1rem auto 0;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}
.section__desc { margin-top: 1.1rem; color: var(--ink-soft); }

/* ── 服務項目 ───────────────────────── */
.services__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.svc {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 110, 125, .07);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.svc__icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  margin-bottom: 1.2rem;
  transition: transform .4s var(--ease), background .4s;
}
.svc:hover .svc__icon { transform: rotate(-6deg) scale(1.06); background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }
.svc__icon svg { width: 30px; height: 30px; fill: var(--white); }
.svc h3 { font-size: 1.16rem; font-weight: 700; color: var(--teal-dark); margin-bottom: .55rem; }
.svc p { font-size: .93rem; color: var(--ink-soft); }
.svc--wide { grid-column: span 4; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.6rem; align-items: center; }
.svc--wide .svc__icon { margin-bottom: 0; grid-row: span 2; }
.svc__link { color: var(--coral-dark); font-weight: 700; margin-left: .5em; }
.svc__link:hover { text-decoration: underline; }

/* ── 精選車隊 ───────────────────────── */
.fleet__tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem;
  margin-bottom: 2.6rem;
}
.ftab {
  padding: .55em 1.5em;
  border-radius: 999px;
  border: 1.5px solid #CBD8DA;
  background: var(--white);
  font-size: .95rem; font-weight: 700; color: var(--ink-soft);
  letter-spacing: .05em;
  transition: all .3s var(--ease);
}
.ftab:hover { border-color: var(--teal); color: var(--teal); }
.ftab.is-active {
  background: var(--teal); border-color: var(--teal); color: var(--white);
  box-shadow: 0 8px 20px rgba(14, 110, 125, .3);
}
.fleet__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem;
}
.fcard {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 110, 125, .07);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.fcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.fcard.is-hidden { display: none; }
.fcard__media {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(255, 107, 74, .14), transparent 60%),
    linear-gradient(160deg, #EDF6F7 0%, #DCECEE 100%);
  padding: 1.6rem 1.2rem .8rem;
  display: grid; place-items: center;
}
.fcard__media img {
  width: 100%; max-width: 330px;
  filter: drop-shadow(0 16px 18px rgba(9, 63, 73, .22));
  transition: transform .5s var(--ease);
}
.fcard:hover .fcard__media img { transform: translateX(8px) scale(1.03); }
.fcard__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.fcard__tag {
  align-self: flex-start;
  font-size: .74rem; font-weight: 900; letter-spacing: .14em;
  color: var(--coral-dark);
  background: #FDE9E3;
  padding: .3em .9em; border-radius: 999px;
  margin-bottom: .8rem;
}
.fcard__body h3 { font-size: 1.25rem; font-weight: 900; color: var(--teal-dark); }
.fcard__specs {
  display: flex; flex-wrap: wrap; gap: .4rem .5rem;
  margin: .9rem 0 1.2rem;
}
.fcard__specs li {
  font-size: .8rem; color: var(--ink-soft);
  background: var(--sand-2);
  padding: .28em .8em; border-radius: 999px;
}
.fcard__foot {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border-top: 1px dashed #D9E2E4; padding-top: 1.1rem;
}
.fcard__price { font-family: var(--font-display); font-size: 1.55rem; font-weight: 900; color: var(--coral-dark); }
.fcard__price small { font-size: .82rem; font-weight: 500; color: var(--ink-soft); font-family: var(--font-body); }
.fleet__note { margin-top: 2.2rem; text-align: center; font-size: .86rem; color: var(--ink-soft); }

/* ── 租車流程 ───────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.4rem 1.5rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 110, 125, .07);
}
.step__num {
  position: absolute; top: -22px; left: 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 900;
  color: var(--white);
  background: linear-gradient(135deg, var(--coral), var(--coral-dark));
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(229, 83, 47, .4);
}
.step h3 { font-size: 1.12rem; font-weight: 700; color: var(--teal-dark); margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--ink-soft); }

/* ── 關於我們 ───────────────────────── */
.about { padding: 5.5rem 0; }
.about__inner {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.6rem; align-items: center;
}
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; inset: 10% -6% -6% 10%;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--teal), var(--coral));
  opacity: .16; z-index: 0;
}
.about__media img {
  position: relative; z-index: 1;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}
.about__copy > p { margin-top: 1.4rem; color: var(--ink-soft); }
.about__copy .section__title { text-align: left; }
.about__copy .section__eyebrow { margin-bottom: .4rem; }
.about__list { margin: 1.6rem 0 2rem; display: grid; gap: .9rem; }
.about__list li {
  display: flex; gap: .8em; align-items: baseline;
  font-size: .96rem; color: var(--ink-soft);
}
.about__list li::before {
  content: ""; flex: none;
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--coral);
  transform: rotate(45deg) translateY(-1px);
}
.about__list strong { color: var(--teal-dark); min-width: 5.2em; }

/* ── 騎乘路線 ───────────────────────── */
.routes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.route {
  position: relative;
  border-radius: var(--radius);
  padding: 2.4rem 1.8rem 2rem;
  color: var(--white);
  overflow: hidden;
  min-height: 250px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease);
}
.route:hover { transform: translateY(-8px); }
.route::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255,255,255,.22), transparent 55%);
}
.route--east { background: linear-gradient(150deg, #0E6E7D 0%, #093F49 100%); }
.route--west { background: linear-gradient(150deg, #FF6B4A 0%, #C74326 100%); }
.route--town { background: linear-gradient(150deg, #2E8B72 0%, #14503F 100%); }
.route h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; letter-spacing: .06em; }
.route__meta { font-size: .82rem; font-weight: 700; letter-spacing: .12em; opacity: .85; margin: .5rem 0 1rem; }
.route p:last-child { font-size: .95rem; font-weight: 300; }
.route::after {
  content: ""; position: absolute; right: -38px; bottom: -38px;
  width: 130px; height: 130px; border-radius: 50%;
  border: 22px solid rgba(255, 255, 255, .1);
}

/* ── 常見問題 ───────────────────────── */
.faq { display: grid; gap: .9rem; }
.faq__item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 110, 125, .08);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700; color: var(--teal-dark);
  cursor: pointer;
  transition: background .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: #F2F8F9; }
.faq__chev {
  flex: none; width: 12px; height: 12px;
  border-right: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral);
  transform: rotate(45deg);
  transition: transform .35s var(--ease);
}
.faq__item[open] .faq__chev { transform: rotate(225deg); }
.faq__body { padding: 0 1.4rem; }
.faq__body p {
  padding: .2rem 0 1.3rem;
  color: var(--ink-soft); font-size: .95rem;
  border-top: 1px dashed #DCE6E8;
  padding-top: 1rem;
}

/* ── 聯絡我們 ───────────────────────── */
.contact__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.2rem; align-items: stretch;
}
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.ccard {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(14, 110, 125, .08);
  border-left: 5px solid var(--teal);
  display: flex; flex-direction: column; gap: .25rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
a.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ccard--line { border-left-color: #06C755; }
.ccard--addr { border-left-color: var(--coral); }
.ccard__label { font-size: .78rem; font-weight: 900; letter-spacing: .16em; color: var(--coral-dark); }
.ccard strong { font-size: 1.14rem; color: var(--teal-dark); font-weight: 900; letter-spacing: .02em; }
.ccard__hint { font-size: .82rem; color: var(--ink-soft); }
.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 380px;
}
.contact__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ── 頁尾 ───────────────────────────── */
.footer { background: var(--teal-deep); color: rgba(255, 255, 255, .82); }
.footer__inner {
  display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 3rem;
  padding: 4rem 0 3rem;
}
.brand--footer .brand__text strong { color: var(--white); }
.footer__brand p { margin-top: 1.1rem; font-size: .92rem; font-weight: 300; max-width: 34ch; }
.footer h4 { color: var(--white); font-size: 1rem; letter-spacing: .12em; margin-bottom: 1.1rem; }
.footer__nav { display: flex; flex-direction: column; gap: .55rem; }
.footer__nav a { font-size: .93rem; opacity: .85; transition: opacity .25s, padding-left .3s; }
.footer__nav a:hover { opacity: 1; padding-left: 6px; color: #FFB29D; }
.footer__contact p { font-size: .92rem; margin-bottom: .35rem; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0; }
.footer__bar-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 2rem;
  font-size: .8rem; opacity: .65;
}
.footer__legal { display: flex; align-items: center; gap: .35rem 1rem; flex-wrap: wrap; }
.footer__legal a { transition: color .25s, opacity .25s; }
.footer__legal a:hover { color: #FFB29D; opacity: 1; }
.footer__legal span { opacity: .5; }

/* ── 法律內頁（隱私權・服務條款）─────── */
.legal-hero {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal-deep));
  color: var(--white);
  padding: 3.8rem 0 3.2rem;
  text-align: center;
}
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; letter-spacing: .02em; }
.legal-hero p { margin-top: .9rem; opacity: .82; font-size: .95rem; font-weight: 300; }
.legal { padding: 3.4rem 0 4.6rem; }
.legal__body { max-width: none; }
.legal__body h2 {
  font-family: var(--font-display); font-size: 1.32rem; font-weight: 700;
  color: var(--teal-dark); margin: 2.4rem 0 .9rem;
  padding-left: .85rem; border-left: 5px solid var(--coral);
}
.legal__body h2:first-of-type { margin-top: .6rem; }
.legal__body p { margin-bottom: 1rem; color: var(--ink-soft); }
.legal__body strong { color: var(--ink); }
.legal__body ul { margin: 0 0 1.15rem; padding-left: 0; }
.legal__body li {
  position: relative; padding-left: 1.4rem; margin-bottom: .55rem; color: var(--ink-soft);
}
.legal__body li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--coral);
}
.legal__meta {
  margin-top: 2.8rem; padding-top: 1.4rem; border-top: 1px dashed rgba(14, 110, 125, .28);
  font-size: .88rem; color: var(--ink-soft);
}

/* ── 浮動聯絡鈕 / 回頂端 ─────────────── */
.float-contact {
  position: fixed; right: 18px; bottom: 88px; z-index: 80;
  display: flex; flex-direction: column; gap: .7rem;
}
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: transform .3s var(--ease);
}
.float-btn:hover { transform: scale(1.12); }
.float-btn svg { width: 28px; height: 28px; fill: var(--white); }
.float-btn--line { background: #06C755; }
.float-btn--tel { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); }

.totop {
  position: fixed; right: 18px; bottom: 22px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  border: none;
  background: var(--teal-dark);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s var(--ease);
}
.totop.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.totop svg { width: 24px; height: 24px; fill: var(--white); }
.totop:hover { background: var(--teal); }

/* ── 預約成功視窗 ────────────────────── */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1.2rem; }
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 47, 54, .62);
  backdrop-filter: blur(5px);
  animation: fadeIn .3s;
}
.modal__card {
  position: relative;
  width: min(480px, 100%);
  background: var(--white);
  border-radius: 24px;
  padding: 2.6rem 2.2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: popIn .45s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(26px) scale(.96); } }
.modal__x {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  border: none; background: var(--sand-2);
  color: var(--ink-soft); font-size: .95rem;
  transition: background .25s;
}
.modal__x:hover { background: #E7DACB; }
.modal__icon {
  width: 72px; height: 72px; margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: #E4F4EC;
  display: grid; place-items: center;
}
.modal__icon svg { width: 40px; height: 40px; fill: #1E9E6A; }
.modal__card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--teal-dark); }
.modal__summary {
  margin: 1.2rem 0;
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  text-align: left;
  font-size: .93rem;
  display: grid; gap: .35rem;
}
.modal__summary b { color: var(--teal-dark); }
.modal__summary .modal__price { color: var(--coral-dark); font-size: 1.15rem; font-weight: 900; }
.modal__note { font-size: .85rem; color: var(--ink-soft); }
.modal__actions { display: flex; gap: .8rem; justify-content: center; margin-top: 1.5rem; flex-wrap: wrap; }

/* ── 進場動畫 ───────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── RWD ────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.8rem; }
  .booking { max-width: 560px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc--wide { grid-column: span 2; }
  .fleet__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
  .about__inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 78px; }
  .topbar__inner { justify-content: center; gap: 1.2rem; }
  .topbar__item--hide-m { display: none; }
  .topbar__phone { margin-left: 0; }

  .burger { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0;
    width: min(320px, 84vw);
    height: 100vh;
    height: 100dvh;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 1.4rem;
    background: var(--white);
    padding: 5.25rem 2rem 2.4rem;
    box-shadow: -16px 0 50px rgba(9, 63, 73, .2);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(105%);
    transition: transform .45s var(--ease);
    z-index: 95;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.15rem; font-weight: 700; }
  .nav__cta { margin-left: 0; margin-top: .6rem; }

  .hero { min-height: auto; padding: 4.2rem 0 6rem; }
  .hero__sub .br-pc { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .routes__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
  .float-contact { right: 12px; bottom: 82px; }
  .totop { right: 12px; bottom: 16px; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .svc--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .svc--wide .svc__icon { grid-row: auto; margin-bottom: 1rem; }
  .fleet__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .booking__grid { grid-template-columns: 1fr; }
  .contact__cards { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; }
}
