/* =========================================================
   SOC 速洗智能洗車 · style.css
   配色：深藍 #12223B × 琥珀黃 #FFB703 × 天藍 #E9F7FE
   結構順序：reset/vars → fonts → header → hamburger → hero
   → section → feature → plan → form → modal/toast → footer
   → page-hero → @media（全部置底）
   ========================================================= */

/* ---------- 1. reset + variables ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy:        #12223B;   /* 主色 / 深底 */
  --navy-deep:   #0b1626;   /* 更深 */
  --navy-soft:   #1c3357;   /* 卡片深底 */
  --amber:       #FFB703;   /* 強調色 */
  --amber-dark:  #e0a000;
  --sky:         #E9F7FE;   /* 淺底區塊 */
  --sky-line:    #d3ecf7;
  --text:        #667282;   /* 內文灰 */
  --text-light:  #8b96a5;
  --ink:         #12223B;   /* 深色標題 */
  --line:        #e3e8ef;   /* 分隔線 */
  --white:       #ffffff;

  --sb-thumb:       #c7d2dd;
  --sb-thumb-hover: #94a3b2;

  --radius:    16px;
  --radius-sm: 10px;
  --pad-x:     32px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--sb-thumb) transparent;
}
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--sb-thumb); border-radius: 999px;
  border: 2px solid #fff; transition: background .2s ease;
}
::-webkit-scrollbar-thumb:hover { background: var(--sb-thumb-hover); }

/* ---------- 2. fonts + body base ---------- */
body {
  font-family: "DM Sans", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5,
.section-title, .hero-title, .plan-name, .brand-text h1 {
  font-family: "Manrope", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .5px;
}

.section-kicker, .hero-tag, .btn, .plan-badge {
  font-family: "Manrope", "Noto Sans TC", sans-serif;
}

/* ---------- 3. header / nav / brand / menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.nav {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 12px var(--pad-x);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 52px; width: auto; display: block; background: #000; border-radius: 8px; }
.brand-text h1 {
  color: #fff; font-size: 19px; letter-spacing: 1px; line-height: 1.1;
}
.brand-text p {
  color: var(--amber); font-size: 11px; letter-spacing: 2px;
  font-family: "Manrope", sans-serif; margin-top: 2px;
}

.menu {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin-left: auto;
}
.menu > li > a {
  display: block; padding: 10px 16px;
  color: #d6deea; font-size: 15px; font-weight: 500;
  border-radius: 999px; letter-spacing: 1px;
  transition: color .2s, background .2s;
}
.menu > li > a:hover { color: #fff; }
.menu a.active { background: var(--amber); color: var(--navy); }

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px !important;
  background: var(--amber); color: var(--navy) !important;
  font-weight: 700; border-radius: 999px;
}
.nav-cta:hover { background: var(--amber-dark); }

/* ---------- 4. hamburger + drawer triggers ---------- */
.nav-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  background: transparent; border: none; cursor: pointer;
  position: relative; z-index: 110; flex-shrink: 0;
}
.nav-toggle span {
  display: block; position: absolute; left: 10px; right: 10px;
  height: 2px; background: #fff; border-radius: 2px; transition: all .3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(11,22,38,.55);
  opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 99;
}
.nav-backdrop.show { opacity: 1; pointer-events: auto; }
body.menu-open { overflow: hidden; }

.drawer-only { display: none; }

/* ---------- 5. hero ---------- */
.hero {
  position: relative; min-height: 600px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--navy);
}
.hero-large { min-height: 90vh; max-height: 880px; }
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.45);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,38,.35) 0%, rgba(11,22,38,.85) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 80px var(--pad-x); color: #fff;
}
.hero-tag {
  display: inline-block; padding: 7px 18px;
  background: rgba(255,183,3,.16); color: var(--amber);
  border: 1px solid rgba(255,183,3,.45);
  border-radius: 999px; font-size: 13px; letter-spacing: 3px;
  margin-bottom: 22px;
}
.hero-title {
  color: #fff; font-size: clamp(36px, 6vw, 70px);
  letter-spacing: 1px; text-shadow: 0 4px 24px rgba(0,0,0,.4);
  max-width: 16em;
}
.hero-title em { color: var(--amber); font-style: normal; }
.hero-sub {
  margin-top: 22px; max-width: 34em;
  color: #d6deea; font-size: clamp(16px, 2vw, 19px);
}
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-price-chip {
  margin-top: 30px; display: inline-flex; align-items: baseline; gap: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  padding: 14px 24px; border-radius: 14px;
}
.hero-price-chip .lbl { color: #d6deea; font-size: 14px; }
.hero-price-chip .amt { color: var(--amber); font-size: 34px; font-weight: 800;
  font-family: "Manrope", sans-serif; }
.hero-price-chip .unit { color: #d6deea; font-size: 14px; }

/* ---------- 6. buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 34px; background: var(--amber); color: var(--navy);
  border: none; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: 1.5px;
  transition: all .25s var(--ease);
}
.btn:hover { background: var(--amber-dark); transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255,183,3,.35); }
.btn-outline {
  background: transparent; border: 1.5px solid rgba(255,255,255,.6); color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--navy); box-shadow: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); box-shadow: 0 10px 24px rgba(18,34,59,.3); }
.btn-lg { padding: 17px 44px; font-size: 16px; }
.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ---------- 7. section base ---------- */
.section { padding: 96px var(--pad-x); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-sky { background: var(--sky); }
.section-navy { background: var(--navy); color: #d6deea; }
.section-navy .section-title { color: #fff; }
.section-navy .section-desc { color: #aebccd; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-kicker {
  display: inline-block; color: var(--amber);
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  font-weight: 700; margin-bottom: 14px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); }
.section-desc { margin-top: 16px; font-size: 17px; color: var(--text); }
.section-navy .section-kicker { color: var(--amber); }

/* ---------- 8. feature cards (賣點) ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.feature-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; transition: all .3s var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(18,34,59,.12);
  border-color: var(--sky-line); }
.feature-ic {
  width: 64px; height: 64px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky); border-radius: 16px; color: var(--navy);
}
.feature-ic svg { width: 32px; height: 32px; }
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--text); }

/* ---------- 9. plan cards (會員方案) ---------- */
.plan-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  align-items: stretch;
}
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 38px 32px; transition: all .3s var(--ease);
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 20px 46px rgba(18,34,59,.13); }
.plan-card.featured {
  background: var(--navy); color: #cdd8e6; border-color: var(--navy);
  box-shadow: 0 24px 60px rgba(18,34,59,.3); transform: scale(1.03);
}
.plan-card.featured:hover { transform: scale(1.03) translateY(-6px); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--navy);
  padding: 6px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: 1px; white-space: nowrap;
}
.plan-name { font-size: 24px; margin-bottom: 6px; }
.plan-card.featured .plan-name { color: #fff; }
.plan-tag { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.plan-card.featured .plan-tag { color: #9fb1c6; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan-price .cur { font-size: 20px; font-weight: 700; color: var(--ink); }
.plan-price .amt {
  font-size: 52px; font-weight: 800; line-height: 1;
  color: var(--navy); font-family: "Manrope", sans-serif;
}
.plan-card.featured .plan-price .cur,
.plan-card.featured .plan-price .amt { color: var(--amber); }
.plan-price .per { font-size: 15px; color: var(--text-light); }
.plan-card.featured .plan-price .per { color: #9fb1c6; }
.plan-sub { font-size: 14px; color: var(--text-light); margin-bottom: 26px; }
.plan-card.featured .plan-sub { color: #9fb1c6; }
.plan-feats { list-style: none; margin-bottom: 30px; flex: 1; }
.plan-feats li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: 15px; border-bottom: 1px solid var(--line);
}
.plan-card.featured .plan-feats li { border-color: rgba(255,255,255,.1); }
.plan-feats li::before {
  content: ""; flex-shrink: 0; margin-top: 6px;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--amber); border-bottom: 2.5px solid var(--amber);
  transform: rotate(-45deg);
}
.plan-card .btn { width: 100%; justify-content: center; }
.plan-card.featured .btn { background: var(--amber); color: var(--navy); }

/* ---------- 10. split / about blocks ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split-img img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover;
  box-shadow: 0 20px 50px rgba(18,34,59,.15);
}
.split-body h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.split-body p { margin-bottom: 16px; }
.split-body .section-kicker { margin-bottom: 14px; }

/* ---------- 11. process steps (流程) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; position: relative;
}
.step-no {
  font-family: "Manrope", sans-serif; font-size: 40px; font-weight: 800;
  color: var(--sky-line); line-height: 1; margin-bottom: 14px;
}
.section-sky .step { background: #fff; }
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text); }

/* ---------- 12. service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all .3s var(--ease); display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(18,34,59,.13); }
.svc-card .svc-img { aspect-ratio: 16/10; overflow: hidden; }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 28px 28px 32px; }
.svc-body h3 { font-size: 22px; margin-bottom: 10px; }
.svc-body p { font-size: 15px; }
.svc-body .btn { margin-top: 18px; }

/* ---------- 13. project / gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.08); }
.gal-item .gal-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(11,22,38,.85));
  color: #fff; font-weight: 700; font-size: 16px;
}

/* ---------- 14. stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num {
  font-family: "Manrope", sans-serif; font-size: clamp(40px, 5vw, 58px);
  font-weight: 800; color: var(--amber); line-height: 1;
}
.stat .lbl { margin-top: 10px; color: #aebccd; font-size: 15px; letter-spacing: 1px; }

/* ---------- 15. forms ---------- */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ctrl {
  width: 100%; padding: 13px 15px; font-size: 15px; font-family: inherit;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.ctrl:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,183,3,.16); }
textarea.ctrl { resize: vertical; min-height: 130px; }

/* ---------- 16. contact info cards ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; text-align: center; }
.info-card .ic { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 14px;
  background: var(--sky); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.info-card .ic svg { width: 26px; height: 26px; }
.info-card h4 { font-size: 17px; margin-bottom: 6px; }
.info-card a, .info-card p { color: var(--text); font-size: 15px; }
.info-card a:hover { color: var(--amber-dark); }

/* ---------- 17. FAQ accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm);
  margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 17px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit;
}
.faq-q .pm { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform .3s; }
.faq-q .pm::before, .faq-q .pm::after {
  content: ""; position: absolute; background: var(--amber); border-radius: 2px;
}
.faq-q .pm::before { top: 10px; left: 0; right: 0; height: 2px; }
.faq-q .pm::after { left: 10px; top: 0; bottom: 0; width: 2px; transition: opacity .3s; }
.faq-item.open .pm::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 24px 22px; color: var(--text); font-size: 15px; }

/* ---------- 18. news list ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: all .3s var(--ease); }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(18,34,59,.12); }
.news-card .n-img { aspect-ratio: 16/10; overflow: hidden; }
.news-card .n-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 24px; }
.news-date { font-size: 13px; color: var(--amber-dark); font-weight: 700; letter-spacing: 1px; }
.news-body h3 { font-size: 18px; margin: 8px 0 10px; }
.news-body p { font-size: 14px; }

/* ---------- 19. CTA band ---------- */
.cta {
  position: relative; text-align: center; padding: 90px var(--pad-x);
  background: linear-gradient(120deg, var(--navy), var(--navy-soft)); color: #fff; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,183,3,.22), transparent 70%);
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.cta p { color: #cdd8e6; font-size: 17px; margin-bottom: 30px; }
.cta .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 20. policy / article text ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 24px; margin: 36px 0 14px; color: var(--ink); }
.prose h3 { font-size: 19px; margin: 26px 0 10px; color: var(--ink); }
.prose p, .prose li { font-size: 16px; margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 16px; }

/* ---------- 21. modal + toast ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 500; background: rgba(11,22,38,.6);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 50px 20px; overflow-y: auto;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.modal-backdrop.show { opacity: 1; pointer-events: auto; }
.modal {
  background: #fff; border-radius: 18px; max-width: 520px; width: 100%;
  padding: 34px; transform: scale(.96); transition: transform .2s;
}
.modal-backdrop.show .modal { transform: scale(1); }
.modal h3 { font-size: 22px; margin-bottom: 10px; }
.modal p { margin-bottom: 18px; }
.modal-close { float: right; background: none; border: none; font-size: 26px; line-height: 1;
  cursor: pointer; color: var(--text-light); }

.soc-toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; padding: 14px 28px; border-radius: 999px;
  letter-spacing: 1px; font-size: 15px; opacity: 0; pointer-events: none;
  transition: all .3s; z-index: 9999; box-shadow: 0 12px 32px rgba(0,0,0,.25);
}
.soc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 22. footer ---------- */
.site-footer { background: #000; color: #aebccd; padding: 70px var(--pad-x) 0; }
.footer-main {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px;
}
.footer-brand img.brand-logo { height: 56px; margin-bottom: 16px; }
.footer-brand p { color: #aebccd; font-size: 14px; margin-bottom: 8px; max-width: 30em; }
.footer-brand .ft-link { color: #e0d2ab; font-weight: 600; }
.footer-brand .ft-link:hover { color: var(--amber); }
.footer-col h5 { color: #fff; font-size: 15px; letter-spacing: 2px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #aebccd; font-size: 14px; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-size: 13px; color: #8497ad;
}
.footer-bottom .links a { color: #8497ad; }
.footer-bottom .links a:hover { color: var(--amber); }

/* ---------- 23. page-hero (內頁) ---------- */
.page-hero {
  position: relative; min-height: 320px; display: flex; align-items: center;
  text-align: center; overflow: hidden; background: var(--navy);
}
.page-hero .hero-bg { filter: brightness(0.4); }
.page-hero .ph-inner { position: relative; z-index: 2; width: 100%; padding: 70px var(--pad-x); color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 5vw, 50px); }
.page-hero .ph-eng { color: var(--amber); letter-spacing: 4px; font-size: 14px;
  text-transform: uppercase; margin-top: 10px; font-family: "Manrope", sans-serif; }
.breadcrumb { margin-top: 16px; font-size: 13px; color: #aebccd; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ====================================================
   24. @media — 全部置底（依規範）
   ==================================================== */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  /* 漢堡選單啟動 */
  .nav { padding: 12px 16px; gap: 8px; }
  .brand { margin-right: auto; }
  .brand-logo { height: 44px; }
  .nav-toggle { display: block; }

  .menu {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: #000; flex-direction: column; flex-wrap: nowrap;
    align-items: stretch; gap: 4px; padding: 90px 22px 40px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    box-shadow: -20px 0 40px rgba(0,0,0,.3);
    overflow-x: hidden; overflow-y: auto; z-index: 105; margin-left: 0;
  }
  .menu.open { transform: translateX(0); }
  .menu > li > a { color: #d6deea; padding: 13px 16px; border-radius: 10px; }
  .menu > li > a:hover { background: rgba(255,255,255,.06); }
  .nav-cta { margin-left: 0; text-align: center; }

  .drawer-only { display: block; }
  .drawer-heading {
    color: var(--amber); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
    padding: 18px 16px 6px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 10px;
  }
  .drawer-contact { padding: 8px 16px; color: #aebccd; font-size: 14px; line-height: 2; }
  .drawer-contact a { color: #e0d2ab; }
}

@media (max-width: 820px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan-card.featured { transform: none; order: -1; }
  .plan-card.featured:hover { transform: translateY(-6px); }
  .svc-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split-img { order: -1; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 20px; }
  .section { padding: 64px 20px; }
  .hero-inner { padding: 60px 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

@media (max-width: 540px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-brand img.brand-logo { margin: 0 auto 14px; }
  .footer-brand p { max-width: none; }
  .footer-col a, .footer-col li { font-size: 14px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .brand-text h1 { font-size: 16px; }
  .brand-text p { font-size: 10px; }
}
