/* =========================================================
   辰瑒道路救援 官網 2026 - Bootstrap 5 客製化樣式
   品牌色：黃 #FFB800 ｜ 黑 #111 ｜ 紅 #D6001C
   ========================================================= */

:root {
  --yellow: #FFB800;
  --yellow-dark: #E6A600;
  --yellow-soft: #FFF4D6;
  --black: #111111;
  --black-soft: #1c1c1c;
  --red: #D6001C;
  --red-dark: #A80015;
  --line: #06C755;
  --line-dark: #05A047;

  --font: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.18);

  --nav-h: 72px;
}

/* ---------- Base ---------- */
* { font-display: swap; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: #fff;
  font-weight: 400;
  line-height: 1.75;
  background: #0a0a0a;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-weight: 900; letter-spacing: 0.01em; line-height: 1.3; }
a { text-decoration: none; transition: color .2s; }
img { max-width: 100%; height: auto; }
.fw-black { font-weight: 900 !important; }

.skip-link { position: absolute; top: -40px; left: 0; background: #000; color: var(--yellow); padding: 8px 16px; z-index: 9999; }
.skip-link:focus { top: 0; }

.hl { color: var(--red); padding: 0 4px; background: linear-gradient(180deg, transparent 62%, var(--yellow-soft) 62%); border-radius: 2px; }
.hl-yellow { color: var(--yellow); }

.section-head { margin-bottom: 1rem; }
.section-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--red);
  background: var(--yellow-soft);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin-bottom: 4px;
  text-align: center;
  color: #fff;
}
.section-lead {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  margin-bottom: 0;
  text-align: center;
}
.section-head { text-align: center; }

/* ---------- Navbar ---------- */
.navbar {
  min-height: var(--nav-h);
  background: rgba(17,17,17,.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
  transition: background .3s, padding .3s;
  padding: 8px 0;
}
.navbar.nav-scrolled {
  background: rgba(17,17,17,.98) !important;
  border-bottom: 2px solid var(--yellow);
}
.navbar-brand { color: #fff !important; display: flex; align-items: center; }
.brand-mark {
  display: inline-grid; place-items: center;
  min-width: 60px; height: 44px;
  padding: 0 10px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900; font-size: 18px;
  letter-spacing: 1px;
  border-radius: 8px;
  border: 2px solid #000;
  box-shadow: 0 2px 0 rgba(0,0,0,.3);
  line-height: 1;
}
.brand-text strong { display: block; font-size: 17px; line-height: 1.1; color: #fff; }
.brand-text small { display: block; font-size: 11px; color: var(--yellow); margin-top: 2px; letter-spacing: .5px; }

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: all .2s;
}
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--yellow);
  background: rgba(255,184,0,.1);
}

.btn-hero-cta {
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 99px;
  box-shadow: 0 4px 14px rgba(214,0,28,.4);
  transition: all .2s;
  white-space: nowrap;
}
.btn-hero-cta:hover { background: var(--red-dark); color: #fff !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(214,0,28,.5); }

.navbar-toggler { border: 2px solid rgba(255,255,255,.3); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(255,184,0,.3); }

/* ---------- Buttons ---------- */
.btn-cta-red {
  background: var(--red); color: #fff;
  font-weight: 700; border-radius: 99px; padding: 12px 26px;
  border: 0; transition: all .2s; font-size: 16px;
  box-shadow: 0 4px 14px rgba(214,0,28,.35);
}
.btn-cta-red:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(214,0,28,.5); }

.btn-cta-yellow {
  background: var(--yellow); color: var(--black);
  font-weight: 800; border-radius: 99px; padding: 12px 26px;
  border: 0; transition: all .2s; font-size: 16px;
  box-shadow: 0 4px 14px rgba(255,184,0,.4);
}
.btn-cta-yellow:hover { background: var(--yellow-dark); color: var(--black); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255,184,0,.55); }

.btn-cta-line {
  background: var(--line); color: #fff;
  font-weight: 700; border-radius: 99px; padding: 12px 26px;
  border: 0; transition: all .2s; font-size: 16px;
}
.btn-cta-line:hover { background: var(--line-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(6,199,85,.4); }

.btn-dark { background: var(--black); color: var(--yellow); }
.btn-dark:hover { background: #000; color: var(--yellow); }

/* ---------- HERO Carousel (split layout: image top, content bottom) ---------- */
#hero { margin-top: 0; }
#heroCarousel { height: auto; background: #0a0a0a; }
.carousel-inner, .carousel-item { height: auto; }

.hero-layout {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-img {
  position: relative;
  width: 100%;
  height: 280px;
  flex-shrink: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero-img-1 {
  background:
    radial-gradient(circle at 30% 40%, rgba(255,184,0,.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(214,0,28,.25) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a, #3a1a1a 100%);
}
.hero-img-2 {
  background:
    radial-gradient(circle at 30% 40%, rgba(255,184,0,.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,184,0,.10) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a, #554216 100%);
}
.hero-img-3 {
  background:
    radial-gradient(circle at 30% 40%, rgba(214,0,28,.22) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,184,0,.15) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a, #401a1a 100%);
}
.hero-img::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,184,0,.04) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero-img::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
  pointer-events: none;
}
.hero-img-icon {
  font-size: 140px;
  color: rgba(255,184,0,.55);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.5));
  z-index: 1;
}
.hero-img-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--yellow);
  color: var(--black);
  padding: 6px 14px;
  border-radius: 99px;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(0,0,0,.4);
  z-index: 2;
}

.hero-text {
  flex: 1;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  min-height: 420px;
  position: relative;
}
.hero-text::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 10% 10%, rgba(255,184,0,.05) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(214,0,28,.06) 0%, transparent 45%);
  pointer-events: none;
}
.caption-inner {
  width: 100%;
  max-width: 580px;
  text-align: center;
  animation-duration: .8s;
  position: relative;
  z-index: 1;
}

.hero-cta-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px;
  max-width: 400px;
  margin: 24px auto 0;
  justify-content: center;
}
.hero-cta-group .btn {
  width: 100%;
  padding: 14px 22px;
  font-size: 16px;
  justify-content: center;
}

@media (min-width: 992px) {
  .hero-layout { flex-direction: row; min-height: 560px; height: 72vh; max-height: 680px; }
  .hero-img { flex: 1; height: auto; }
  .hero-img::after {
    left: auto; top: 0; bottom: 0; right: 0;
    width: 60px; height: auto;
    background: linear-gradient(90deg, transparent 0%, #0a0a0a 100%);
  }
  .hero-img-icon { font-size: 200px; }
  .hero-text { flex: 1; padding: 50px 40px; min-height: 0; }
  .caption-inner { max-width: 500px; }
}
.carousel-caption h1, .carousel-caption h2 {
  font-size: clamp(28px, 5.5vw, 56px);
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,.5);
  color: #fff;
}
.carousel-caption .lead {
  font-size: clamp(16px, 2.2vw, 22px);
  margin-bottom: 28px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.badge-24h {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 99px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(255,184,0,.4);
}
.hero-cta-group {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
}
.carousel-indicators { margin-bottom: 2rem; }
.carousel-indicators [data-bs-target] {
  width: 36px; height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.4);
  border: 0;
}
.carousel-indicators .active { background: var(--yellow); }
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(0,0,0,.3);
  border-radius: 50%;
  padding: 20px; background-size: 50% 50%;
}

/* ---------- Full-width Banner ---------- */
.hero-banner {
  width: 100%;
  padding: 0;
  background: #0a0a0a;
  line-height: 0;
}
.hero-banner-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 1;
  min-height: 220px;
  max-height: 500px;
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 16px, rgba(255,255,255,.06) 16px 32px),
    linear-gradient(135deg, #1a1a1a 0%, #2a1a1a 100%);
  border-top: 2px solid rgba(255,184,0,.15);
  border-bottom: 2px solid rgba(255,184,0,.15);
  display: grid;
  place-items: center;
}
.hero-banner-frame::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,184,0,.10) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(214,0,28,.12) 0%, transparent 40%);
  pointer-events: none;
}
.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-banner-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.6;
  padding: 20px;
}
.hero-banner-icon {
  font-size: 64px;
  color: rgba(255,184,0,.45);
  display: block;
  margin-bottom: 12px;
}
.hero-banner-label {
  color: rgba(255,255,255,.75);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.hero-banner-hint {
  color: rgba(255,255,255,.4);
  font-size: 13px;
  letter-spacing: .5px;
}
@media (max-width: 767.98px) {
  .hero-banner-frame { aspect-ratio: 16 / 9; min-height: 180px; }
  .hero-banner-icon { font-size: 44px; }
  .hero-banner-label { font-size: 15px; }
  .hero-banner-hint { font-size: 12px; }
}

/* ---------- Promise 3 Cards ---------- */
.promise-section { padding: 0; background: #fafafa; }
.promise-card {
  position: relative;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  padding: 40px 32px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  transition: transform .3s, box-shadow .3s;
  box-shadow: var(--shadow-sm);
}
.promise-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.promise-card-1 { background: linear-gradient(135deg, #111 0%, #2a1a1a 70%, var(--red) 130%); }
.promise-card-2 { background: linear-gradient(135deg, #1a1a1a 0%, #2e2a14 70%, var(--yellow) 130%); color: #fff; }
.promise-card-2 .promise-icon, .promise-card-2 h3 { color: var(--yellow); }
.promise-card-3 { background: linear-gradient(135deg, #111 0%, #2e1212 70%, #7a0010 130%); }

.promise-card::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 18px);
  pointer-events: none;
}
.promise-content { position: relative; z-index: 1; }
.promise-icon {
  font-size: 52px;
  color: var(--yellow);
  margin-bottom: 16px;
  display: block;
  text-shadow: 0 4px 18px rgba(0,0,0,.4);
}
.promise-card-1 .promise-icon { color: var(--yellow); }
.promise-card-3 .promise-icon { color: var(--yellow); }
.promise-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  color: #fff;
  font-weight: 900;
}
.promise-card p {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  margin: 0;
  line-height: 1.7;
}

/* ---------- Dispatch ---------- */
.dispatch-section {
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  color: #fff;
  padding: 0;
  position: relative;
  overflow: hidden;
}
.dispatch-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 90% 10%, rgba(255,184,0,.1) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(214,0,28,.1) 0%, transparent 40%);
  pointer-events: none;
}
.dispatch-section .section-title { color: #fff; }
.dispatch-section .section-title .hl { color: var(--yellow); background: none; }
.dispatch-section .section-lead { color: rgba(255,255,255,.7); }
.dispatch-section .section-kicker { background: rgba(255,184,0,.15); color: var(--yellow); }

.step-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,184,0,.25);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  position: relative;
  transition: all .3s;
  height: 100%;
}
.step-card:hover { background: rgba(255,255,255,.10); border-color: var(--yellow); transform: translateY(-4px); }
.step-num {
  position: absolute;
  top: -20px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 48px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 900; font-size: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 4px solid #111;
  box-shadow: 0 4px 14px rgba(255,184,0,.4);
}
.step-ico {
  font-size: 48px;
  color: var(--yellow);
  display: block;
  margin: 12px 0 16px;
}
.step-card h4 { font-size: 20px; color: #fff; margin-bottom: 8px; }
.step-card p { color: rgba(255,255,255,.7); margin: 0; font-size: 14px; }

.dispatch-form {
  background: #fff;
  color: var(--black);
  padding: 40px 32px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.dispatch-form .form-label { font-weight: 700; color: #333; font-size: 14px; }
.dispatch-form .req { color: var(--red); }
.dispatch-form .form-control,
.dispatch-form .form-select {
  border: 2px solid #e5e5e5;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: inherit;
  transition: all .2s;
}
.dispatch-form .form-control:focus,
.dispatch-form .form-select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255,184,0,.15);
}
.geo-box {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px;
  background: #fafafa;
  border: 2px dashed #d0d0d0;
  border-radius: 10px;
}
.geo-output { font-size: 14px; color: #888; flex: 1; min-width: 180px; font-weight: 500; }
.geo-output.ok { color: var(--line-dark); font-weight: 700; }
.geo-output.err { color: var(--red); font-weight: 700; }

/* ---------- Features (image top, card below) ---------- */
.features-section { padding: 0; background: #0a0a0a; }

.feature-block { position: relative; width: 100%; }

.feature-image {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 7;
  min-height: 200px;
  max-height: 380px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.feature-image-1 {
  background:
    radial-gradient(circle at 30% 40%, rgba(214,0,28,.25) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255,184,0,.18) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a, #2a1a1a 100%);
}
.feature-image-2 {
  background:
    radial-gradient(circle at 70% 40%, rgba(255,184,0,.25) 0%, transparent 50%),
    radial-gradient(circle at 30% 60%, rgba(255,184,0,.12) 0%, transparent 50%),
    linear-gradient(135deg, #1a1a1a, #3a2a14 100%);
}
.feature-image::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,184,0,.04) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.feature-image::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 40px;
  background: linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
  pointer-events: none;
}
.feature-image-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.feature-image-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(255,255,255,.32);
}
.feature-image-placeholder i { font-size: 48px; display: block; margin-bottom: 8px; color: rgba(255,184,0,.45); }
.feature-image-placeholder div { font-size: 14px; font-weight: 700; letter-spacing: 3px; }

.feature-content-wrap {
  padding: 18px 0 24px;
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}

.feature-card {
  max-width: 780px;
  margin: 0 auto;
  background: rgba(20,20,20,.88);
  border-left: 6px solid var(--yellow);
  padding: 30px 28px;
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
}
.feature-card .feature-tag {
  display: inline-block;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.feature-card-title {
  color: #fff;
  font-size: clamp(22px, 3.2vw, 30px);
  margin-bottom: 14px;
  line-height: 1.35;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.feature-card-title i {
  color: var(--yellow);
  font-size: 28px;
  flex-shrink: 0;
}
.feature-card-desc {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 16px;
}
.feature-card-desc strong { color: var(--yellow); font-weight: 700; }

.feature-check-tight {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.feature-check-tight li {
  padding: 3px 0;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-check-tight li i { color: var(--line); font-size: 16px; flex-shrink: 0; }

@media (max-width: 767.98px) {
  .feature-image { aspect-ratio: 16/9; min-height: 170px; max-height: 260px; }
  .feature-image-placeholder i { font-size: 36px; }
  .feature-image-placeholder div { font-size: 12px; letter-spacing: 2px; }
  .feature-content-wrap { padding: 20px 0 36px; }
  .feature-card { padding: 24px 20px; margin: 0 auto; max-width: 100%; }
  .feature-card-title { font-size: 19px; }
  .feature-card-title i { font-size: 22px; }
  .feature-card-desc { font-size: 14px; }
}

/* ---------- Services (Dark Theme) ---------- */
.services-section {
  padding: 0;
  background: linear-gradient(180deg, #141414 0%, #1c1c1c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,184,0,.06) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(214,0,28,.08) 0%, transparent 45%);
  pointer-events: none;
}
.services-section .section-title { color: #fff; }
.services-section .section-title .hl { color: var(--yellow); background: none; }
.services-section .section-lead { color: rgba(255,255,255,.65); }
.services-section .section-kicker { background: rgba(255,184,0,.15); color: var(--yellow); }

.service-card {
  background: rgba(255,255,255,.04);
  border: 2px solid rgba(255,255,255,.08);
  padding: 28px 22px;
  border-radius: 16px;
  transition: all .25s;
  height: 100%;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.service-card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s;
}
.service-card:hover {
  border-color: var(--yellow);
  background: rgba(255,255,255,.07);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(255,184,0,.12);
}
.service-card:hover::before { transform: scaleX(1); }
.service-ico {
  width: 100%;
  height: 86px;
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
  color: var(--black);
  font-size: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(255,184,0,.35);
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.service-card p { color: rgba(255,255,255,.72); font-size: 14px; margin-bottom: 14px; line-height: 1.7; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags span {
  background: rgba(255,184,0,.12);
  color: var(--yellow);
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,184,0,.25);
}

/* ---------- Cases (Dark Theme: main + sub photos) ---------- */
.cases-section {
  padding: 0;
  background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cases-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 85% 15%, rgba(255,184,0,.06) 0%, transparent 40%),
    radial-gradient(circle at 15% 85%, rgba(214,0,28,.06) 0%, transparent 40%);
  pointer-events: none;
}
.cases-section .section-title { color: #fff; }
.cases-section .section-title .hl { color: var(--yellow); background: none; }
.cases-section .section-lead { color: rgba(255,255,255,.65); }
.cases-section .section-kicker { background: rgba(255,184,0,.15); color: var(--yellow); }

.case-block {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 30px 26px;
  margin-bottom: 28px;
  transition: all .3s;
  position: relative;
}
.case-block:hover {
  border-color: rgba(255,184,0,.35);
  background: rgba(255,255,255,.06);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.case-title {
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.case-title i {
  color: var(--yellow);
  font-size: 22px;
}
.case-subtitle {
  display: inline-block;
  font-size: 15px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  margin-left: 6px;
  letter-spacing: 1px;
}
.case-main {
  margin-bottom: 14px;
}
.photo-slot-main {
  aspect-ratio: 16 / 9;
  width: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 14px, rgba(255,255,255,.06) 14px 28px);
  border: 2px dashed rgba(255,255,255,.18);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  transition: all .25s;
}
.photo-slot-main:hover { border-color: var(--yellow); }
.photo-slot-main::after {
  content: "📷 " attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 14px; color: rgba(255,255,255,.45);
  font-weight: 600; text-align: center;
  padding: 8px;
}
.case-subs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.photo-slot-sub {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 10px, rgba(255,255,255,.06) 10px 20px);
  border: 2px dashed rgba(255,255,255,.15);
  border-radius: 10px;
  position: relative;
  transition: all .25s;
}
.photo-slot-sub:hover {
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.photo-slot-sub::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 11px; color: rgba(255,255,255,.4);
  font-weight: 500; text-align: center;
  padding: 4px;
}

/* ---------- Area (Dark) ---------- */
.area-section {
  padding: 0;
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.area-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,184,0,.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, rgba(214,0,28,.06) 0%, transparent 45%);
  pointer-events: none;
}
.area-section > .container { position: relative; z-index: 1; }
.area-section .section-title .hl { color: var(--yellow); background: none; }
.area-section .section-kicker { background: rgba(255,184,0,.15); color: var(--yellow); }

.area-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: 28px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  height: 100%;
  color: #fff;
}
.area-card-dark {
  background: rgba(0,0,0,.5);
  color: #fff;
}
.area-heading {
  color: var(--yellow);
  font-size: 20px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--yellow);
}
.area-chip {
  display: block;
  background: rgba(255,184,0,.10);
  color: #fff;
  border: 1px solid rgba(255,184,0,.25);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: all .2s;
}
.area-chip:hover { background: var(--yellow); color: var(--black); transform: translateY(-2px); }
.area-list-vertical { list-style: none; padding: 0; margin: 0; }
.area-list-vertical li {
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 15px;
}
.area-list-vertical li i { color: var(--yellow); margin-right: 8px; }

/* 特殊救援場景 Banner + 場景框 */
.scene-banner {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 5;
  min-height: 200px;
  max-height: 480px;
  overflow: hidden;
  border-radius: 16px;
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,.05) 0 14px, rgba(0,0,0,.08) 14px 28px),
    linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.scene-banner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 50%, rgba(255,184,0,.12) 0%, transparent 40%),
    radial-gradient(circle at 75% 50%, rgba(214,0,28,.12) 0%, transparent 40%);
  pointer-events: none;
}
.scene-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.scene-banner-placeholder {
  position: relative;
  z-index: 1;
  text-align: center;
  color: rgba(255,255,255,.65);
}
.scene-banner-placeholder i { font-size: 56px; display: block; margin-bottom: 10px; color: rgba(255,184,0,.45); }
.scene-banner-placeholder > div { font-size: 16px; font-weight: 700; letter-spacing: 2px; }
.scene-banner-hint { font-size: 12px !important; font-weight: 500 !important; color: rgba(255,255,255,.35) !important; margin-top: 4px; letter-spacing: 1px !important; }

.scene-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.scene-chip {
  background: rgba(255,255,255,.04);
  border: 2px solid var(--yellow);
  color: #fff;
  padding: 18px 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  transition: all .2s;
  cursor: default;
}
.scene-chip:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(255,184,0,.3);
}
@media (max-width: 480px) {
  .scene-chips { gap: 8px; }
  .scene-chip { font-size: 14px; padding: 14px 6px; }
  .scene-banner { aspect-ratio: 4 / 3; min-height: 180px; }
  .scene-banner-placeholder i { font-size: 40px; }
  .scene-banner-placeholder > div { font-size: 14px; }
}

/* 隱藏 Featurable widget 的 Load More / Powered By / 各種按鈕 */
.reviews-widget [class*="load-more"],
.reviews-widget [class*="loadMore"],
.reviews-widget [class*="powered"],
.reviews-widget [class*="Powered"],
.reviews-widget a[href*="featurable"],
.reviews-widget button[class*="more"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 把 Load More 按鈕套成黃色品牌風格（文字由 JS 改成中文） */
.reviews-widget button,
.reviews-widget [class*="load-more"],
.reviews-widget [class*="loadMore"] {
  background: var(--yellow) !important;
  color: var(--black) !important;
  border: 0 !important;
  padding: 10px 26px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  box-shadow: 0 4px 14px rgba(255,184,0,.35) !important;
  transition: all .2s !important;
}
.reviews-widget button:hover,
.reviews-widget [class*="load-more"]:hover,
.reviews-widget [class*="loadMore"]:hover {
  background: var(--yellow-dark) !important;
  transform: translateY(-2px);
}

/* ---------- Reviews (Dark) ---------- */
.reviews-section {
  padding: 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  color: #fff;
}
.reviews-section .section-head { margin-bottom: 0.3rem !important; }
.reviews-section .section-lead { margin-bottom: 0 !important; }
.reviews-section .row { margin-top: 0 !important; }
.reviews-section .reviews-widget { margin-top: -6px; }
.reviews-section .container.py-4 { padding-bottom: 0 !important; }

/* 縮窄 Featurable widget 上下內距 */
.reviews-widget > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.reviews-widget > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.reviews-widget > div > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
.reviews-widget > div > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.reviews-section .section-title .hl { color: var(--yellow); background: none; }
.reviews-section .section-kicker { background: rgba(255,184,0,.15); color: var(--yellow); }
.reviews-placeholder {
  background: rgba(255,255,255,.04);
  border: 2px dashed rgba(255,184,0,.35);
  padding: 50px 24px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
}
.reviews-stars { font-size: 32px; margin-bottom: 14px; letter-spacing: 4px; }
.reviews-placeholder h4 { margin-bottom: 14px; color: var(--yellow); }
.reviews-placeholder p { color: rgba(255,255,255,.7); }
.reviews-placeholder code { background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--yellow); }
.reviews-placeholder a { color: var(--yellow); text-decoration: underline; }

/* ---------- FAQ (Dark) ---------- */
.faq-section {
  padding: 0;
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  color: #fff;
}
.faq-section .section-title .hl { color: var(--yellow); background: none; }
.faq-section .section-kicker { background: rgba(255,184,0,.15); color: var(--yellow); }
.accordion {
  --bs-accordion-bg: transparent;
}
.accordion-item {
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(255,255,255,.03);
}
.accordion-item:has(> .accordion-header .accordion-button:not(.collapsed)) {
  border-color: rgba(255,184,0,.5) !important;
  background: rgba(255,184,0,.06);
}
.accordion-button {
  font-weight: 700;
  font-size: 16px;
  padding: 18px 22px;
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
  background: rgba(255,184,0,.10) !important;
  color: var(--yellow) !important;
}
.accordion-button::after {
  filter: invert(85%) sepia(40%) saturate(600%) hue-rotate(5deg);
  transition: transform .25s;
}
.accordion-button:not(.collapsed)::after {
  filter: invert(85%) sepia(90%) saturate(1000%) hue-rotate(5deg);
}
.accordion-body {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  line-height: 1.9;
  padding: 18px 22px;
  background: transparent;
}

/* ---------- Contact ---------- */
.contact-section {
  padding: 0;
  background: linear-gradient(135deg, #111 0%, #2a1a1a 100%) !important;
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(255,184,0,.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(214,0,28,.12) 0%, transparent 40%);
  pointer-events: none;
}
.contact-section .section-kicker { background: rgba(255,184,0,.15); color: var(--yellow); }
.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,.06);
  border-left: 4px solid var(--yellow);
  padding: 14px 20px;
  border-radius: 10px;
  transition: all .2s;
}
.contact-row:hover { background: rgba(255,255,255,.10); transform: translateX(4px); }
.contact-row > i {
  font-size: 24px;
  color: var(--yellow);
  width: 28px; text-align: center;
}
.contact-row > div { display: flex; flex-direction: column; flex: 1; }
.c-label { font-size: 12px; color: var(--yellow); font-weight: 700; letter-spacing: 1px; }
.c-value { color: #fff; font-size: 15px; word-break: break-all; }
.c-phone { font-size: 22px !important; font-weight: 900; color: var(--yellow) !important; letter-spacing: .5px; }
a.c-value:hover { color: var(--yellow); }

.qr-frame {
  background: #fff;
  padding: 16px;
  border-radius: 20px;
  display: inline-block;
  box-shadow: var(--shadow-lg);
}
.qr-caption { color: var(--yellow); font-weight: 700; font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.footer-h { color: var(--yellow); font-size: 16px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid rgba(255,184,0,.3); }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--yellow); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ---------- Floating Buttons ---------- */
.call-button, .Line-button {
  position: fixed;
  right: 16px;
  z-index: 95;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: all .25s;
  text-decoration: none;
}
.call-button span, .Line-button span {
  position: absolute; bottom: -6px;
  font-size: 10px; font-weight: 800;
  background: #000; color: var(--yellow);
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.call-button { bottom: 96px; background: var(--red); animation: pulse 2s infinite; }
.Line-button { bottom: 26px; background: var(--line); }

.call-button:hover, .Line-button:hover {
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0,0,0,.4);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 0 rgba(214,0,28,.55); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 0 14px rgba(214,0,28,0); }
}

/* ---------- Modal ---------- */
.modal-content { border: 0; border-radius: 20px; overflow: hidden; }
.modal-header { background: var(--yellow-soft); border-bottom: 2px solid var(--yellow); }
.modal-title { color: var(--red); font-weight: 900; }
#modalMsg { background: #fafafa; font-size: 13px; }

/* ---------- RWD ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(17,17,17,.98);
    padding: 16px;
    margin-top: 10px;
    border-radius: 12px;
    max-height: 80vh;
    overflow-y: auto;
  }
  .navbar-collapse .nav-link { padding: 14px 16px !important; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .navbar-collapse .btn-hero-cta { margin-top: 12px; width: 100%; text-align: center; }
}

@media (max-width: 767.98px) {
  :root { --nav-h: 64px; }

  /* 統一所有標題區置中（保險起見） */
  .section-head { text-align: center !important; margin-bottom: 0.8rem; }
  .section-title { text-align: center !important; }
  .section-lead { text-align: center !important; }

  /* 一般 section 上下內距縮小，但排除特殊版面 */
  section { padding: 0; }
  .features-section { padding: 0; }
  #hero, header#hero { padding: 0 !important; }
  .hero-banner { padding: 0; }
  .container.py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }

  /* Hero 輪播 */
  .hero-img { height: 240px; }
  .hero-img-icon { font-size: 96px; }
  .hero-img-badge { font-size: 12px; padding: 4px 12px; top: 14px; right: 14px; }
  .hero-text { padding: 32px 18px 50px; min-height: 400px; text-align: center; }
  .caption-inner { max-width: 100%; margin: 0 auto; text-align: center; }
  .caption-inner h1, .caption-inner h2 { font-size: 28px !important; text-align: center; }
  .caption-inner .lead { font-size: 15px; text-align: center; }
  .hero-cta-group { max-width: 340px; margin: 20px auto 0; }
  .hero-cta-group .btn { padding: 12px 18px; font-size: 15px; }
  .badge-24h { font-size: 12px; padding: 5px 14px; letter-spacing: 1px; margin-bottom: 14px; }
  .carousel-control-prev, .carousel-control-next { display: none; }

  /* Navbar */
  .brand-text small { display: none; }

  /* Dispatch 表單 */
  .dispatch-form { padding: 28px 20px; }

  /* Step 三步驟 */
  .step-card { padding: 22px 10px; text-align: center; }
  .step-card h4 { font-size: 15px; }
  .step-card p { font-size: 12px; }
  .step-ico { font-size: 32px; margin: 8px 0 10px; }
  .step-num { width: 36px; height: 36px; font-size: 16px; top: -16px; }

  /* Feature 滿版 Banner */
  .feature-banner { min-height: 0; padding: 60px 0; }
  .feature-banner-right .container { justify-content: flex-start; }
  .feature-card { padding: 28px 22px; max-width: 100%; margin: 0 auto; }
  .feature-card-title { font-size: 20px; justify-content: flex-start; }
  .feature-card-title i { font-size: 22px; }
  .feature-card-desc { font-size: 14px; }
  .feature-banner-overlay,
  .feature-banner-right .feature-banner-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.85) 100%);
  }

  /* 救援案例 */
  .case-block { padding: 22px 18px; }
  .case-title { font-size: 19px; gap: 6px; text-align: center; justify-content: center; }
  .case-title i { font-size: 18px; }
  .case-subtitle { font-size: 13px; display: block; width: 100%; margin-left: 0; margin-top: 2px; text-align: center; }
  .photo-slot-main::after { font-size: 12px; }
  .case-subs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .photo-slot-sub::after { font-size: 9px; padding: 2px; }

  /* 聯絡資訊保持左對齊，但按鈕區置中 */
  .contact-row > div { flex: 1; }

  /* Footer 品牌區置中 */
  .site-footer .footer-inner { text-align: center; }
  .site-footer .d-flex.align-items-center { justify-content: center; }

  /* 浮動按鈕 */
  .call-button, .Line-button { width: 52px; height: 52px; font-size: 20px; }
  .call-button { bottom: 90px; }
  .Line-button { bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
