/* 方記清拆有限公司 — 工業感橙／藍灰底，易讀層次 */
:root {
  --orange: #ea6f12;
  --orange-dark: #c45a0d;
  --orange-soft: rgba(234, 111, 18, 0.14);
  --orange-glow: rgba(234, 111, 18, 0.28);
  /* 带蓝调的深灰，避免纯黑压迫 */
  --slate-900: #121822;
  --slate-850: #161d28;
  --slate-800: #1c2634;
  --slate-700: #2a3545;
  --slate-600: #3e4d63;
  --white: #f4f6f9;
  --white-pure: #ffffff;
  --text-muted: #aab9ca;
  --font-body: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-display: var(--font-body);
  --header-h: 4.25rem;
  --radius: 3px;
  --radius-sm: 2px;
  --shadow-hard: 3px 3px 0 rgba(8, 12, 18, 0.55);
  --shadow-card: 0 14px 36px rgba(8, 12, 22, 0.14), 0 2px 10px rgba(8, 12, 22, 0.06);
  --shadow-inquiry: 0 20px 50px rgba(8, 12, 22, 0.12), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--white);
  background-color: var(--slate-900);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -15%, var(--orange-soft) 0%, transparent 52%),
    linear-gradient(180deg, var(--slate-850) 0%, var(--slate-900) 42%, #0e131a 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.018) 8px,
      rgba(255, 255, 255, 0.018) 9px
    );
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--orange);
  color: var(--slate-900);
  font-weight: 700;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--orange);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* 頂部查詢列 */
.top-bar {
  background: linear-gradient(180deg, #1e2938 0%, var(--slate-800) 100%);
  border-bottom: 2px solid var(--orange);
  padding: 0.5rem 1rem;
  font-size: 1rem;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
}
.top-bar-label {
  color: var(--text-muted);
}
.top-bar-phone {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange);
  text-decoration: none;
}
.top-bar-phone:hover {
  text-decoration: underline;
  color: var(--orange-dark);
}
.top-bar-wa {
  font-weight: 800;
  color: var(--white-pure);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(234, 111, 18, 0.5);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.top-bar-wa:hover {
  background: var(--orange-soft);
  color: var(--orange);
}
.top-bar-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 24, 34, 0.94);
  border-bottom: 3px solid var(--orange);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0.15rem 0;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}
.logo:hover {
  text-decoration: none;
  opacity: 0.94;
}
.logo-img {
  display: block;
  width: clamp(360px, 42vw, 440px);
  height: auto;
  object-fit: contain;
  object-position: left center;
}
.logo-img--footer {
  width: min(400px, 90vw);
  max-height: none;
  height: auto;
  opacity: 1;
}
.site-nav {
  margin-left: auto;
}
@media (max-width: 420px) {
  .logo-img {
    width: min(360px, 92vw);
  }
  .logo-img--footer {
    width: min(300px, 88vw);
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 2px solid var(--slate-600);
  padding: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white-pure);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.site-nav a:hover {
  color: var(--orange);
  text-decoration: none;
}
.nav-cta {
  padding: 0.45rem 1rem;
  background: var(--orange);
  color: var(--slate-900) !important;
  clip-path: polygon(4px 0, 100% 0, 100% calc(100% - 4px), calc(100% - 4px) 100%, 0 100%, 0 4px);
}
.nav-cta:hover {
  background: var(--orange-dark);
  color: var(--slate-900) !important;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--slate-800);
    border-bottom: 3px solid var(--orange);
    display: none;
  }
  .site-nav.is-open {
    display: flex;
  }
  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}

/* Hero（專用背景圖，cover 填滿區域） */
.hero {
  position: relative;
  min-height: min(88vh, 900px);
  display: flex;
  align-items: center;
  padding: 4rem 1.25rem 3rem;
  overflow: hidden;
}

@media (max-width: 600px) {
  .hero {
    min-height: min(80vh, 820px);
    padding: 3rem 1.25rem 2.5rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #0c1016;
  background-image:
    linear-gradient(
      105deg,
      var(--slate-900) 0%,
      rgba(18, 24, 34, 0.72) 38%,
      rgba(18, 24, 34, 0.28) 68%,
      transparent 88%
    ),
    image-set(url("images/hero-bg.webp?v=6") type("image/webp"), url("images/hero-bg.png?v=6") type("image/png"));
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 100%, cover;
  background-position: 0 0, center center;
  opacity: 0.6;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 111, 18, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 111, 18, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  max-width: 720px;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.85rem;
  background: var(--slate-800);
  border-left: 4px solid var(--orange);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(1.85rem, 5.5vw, 2.85rem);
  line-height: 1.28;
  letter-spacing: 0.02em;
  font-weight: 800;
  color: var(--white-pure);
}

.hero .highlight {
  color: #f07828;
  text-shadow: 0 0 32px rgba(234, 111, 18, 0.35);
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 36em;
}
.hero-lead strong {
  color: var(--white-pure);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border-radius: var(--radius);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: none !important;
}

.btn-primary {
  background: linear-gradient(180deg, #f07828 0%, var(--orange) 55%, var(--orange-dark) 100%);
  color: #0c0f14;
  box-shadow: var(--shadow-hard), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.btn-primary:hover {
  background: linear-gradient(180deg, #f58535 0%, #eb7214 100%);
  color: #0c0f14;
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white-pure);
  border: 2px solid rgba(170, 185, 202, 0.35);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: #ffc8a0;
  background: rgba(234, 111, 18, 0.08);
  text-decoration: none;
}
.btn-wa {
  border-color: rgba(110, 231, 183, 0.45);
  color: #d1fae5;
}
.btn-wa:hover {
  border-color: #6ee7b7;
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.12);
}

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4.5rem 0;
}
.section-alt {
  background: linear-gradient(180deg, #1a2432 0%, var(--slate-800) 50%, #18202c 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.055);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.02em;
  font-weight: 800;
  color: var(--white-pure);
}
.section-head p {
  margin: 0;
  color: var(--text-muted);
}
.section-head--light h2,
.section-head--light p {
  color: var(--slate-900);
}
.section-head--light p {
  opacity: 0.85;
}

/* 清拆工法：分頁輪轉 */
.method-rotator {
  /* 包住分頁與內容，便於偵測暫留暫停 */
  margin-bottom: 0;
}

.method-panels-wrap {
  position: relative;
  margin-bottom: 3rem;
}

.method-nav-btn {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(234, 111, 18, 0.55);
  border-radius: 50%;
  background: linear-gradient(180deg, #2a3648 0%, var(--slate-800) 100%);
  color: var(--orange);
  font: inherit;
  line-height: 0;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(8, 12, 20, 0.45);
  transition: color 0.15s, border-color 0.15s, background 0.15s, transform 0.12s;
}
.method-nav-btn:hover {
  color: #ffc8a0;
  border-color: var(--orange);
  background: var(--slate-700);
}
.method-nav-btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.method-nav-btn:active {
  transform: translateY(calc(-50% + 1px));
}
.method-nav-btn--prev {
  left: 0.2rem;
}
.method-nav-btn--next {
  right: 0.2rem;
}
.method-nav-ico {
  display: block;
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1;
  margin-top: -0.1em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
@media (max-width: 520px) {
  .method-nav-btn {
    width: 2.15rem;
    height: 2.15rem;
  }
  .method-nav-ico {
    font-size: 1.5rem;
  }
  .method-nav-btn--prev {
    left: 0;
  }
  .method-nav-btn--next {
    right: 0;
  }
}

/* Method comparison */
.method-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.method-tab {
  flex: 1 1 auto;
  min-width: 120px;
  padding: 0.65rem 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  background: var(--slate-700);
  color: var(--text-muted);
  border: 2px solid var(--slate-600);
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.method-tab:hover {
  color: var(--white-pure);
  border-color: var(--orange);
}
.method-tab.is-active {
  background: var(--orange);
  color: var(--slate-900);
  border-color: var(--orange);
}

.method-panels {
  margin: 0 2.4rem 0;
  max-width: 100%;
  box-sizing: border-box;
}

.method-panel {
  display: none;
  background: linear-gradient(145deg, var(--slate-850) 0%, var(--slate-900) 100%);
  border: 1px solid rgba(170, 185, 202, 0.12);
  box-shadow: 0 8px 28px rgba(8, 12, 20, 0.35), var(--shadow-hard);
  border-radius: var(--radius);
  overflow: hidden;
}
.method-panel.is-active {
  display: block;
}
.method-panel-inner {
  display: none;
  gap: 2rem;
  align-items: stretch;
}
.method-panel.is-active .method-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.method-panels-wrap:not([data-user-switched]) .method-panel.is-active .method-panel-inner {
  animation: none !important;
}

@media (max-width: 860px) {
  .method-panels {
    margin: 0 2rem 0;
  }
  .method-panel.is-active .method-panel-inner {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 521px) and (max-width: 860px) {
  .method-panels {
    margin: 0 2.25rem 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .method-panels-wrap[data-method-dir="fwd"] .method-panel.is-active .method-panel-inner {
    animation: methodLayerInFwd 0.52s cubic-bezier(0.22, 0.9, 0.32, 1) both;
  }
  .method-panels-wrap[data-method-dir="back"] .method-panel.is-active .method-panel-inner {
    animation: methodLayerInBack 0.52s cubic-bezier(0.22, 0.9, 0.32, 1) both;
  }
}
@keyframes methodLayerInFwd {
  from {
    opacity: 0.25;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes methodLayerInBack {
  from {
    opacity: 0.25;
    transform: translateX(-24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .method-panels-wrap[data-method-dir] .method-panel.is-active .method-panel-inner {
    animation: none;
  }
}

.method-visual {
  min-height: 220px;
  background:
    linear-gradient(160deg, rgba(18, 24, 34, 0.25), var(--slate-900)),
    url("images/project-03.png") center/cover no-repeat;
  position: relative;
}
.method-visual::after {
  content: attr(data-method-label);
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white-pure);
  text-shadow: 0 2px 14px rgba(8, 12, 18, 0.9);
}
.method-visual--manual {
  background-image:
    linear-gradient(160deg, rgba(18, 24, 34, 0.38), var(--slate-900)),
    url("images/project-02.png");
}
.method-visual--controlled {
  background-image:
    linear-gradient(160deg, rgba(18, 24, 34, 0.38), var(--slate-900)),
    url("images/project-08.png");
}
.method-visual--interior {
  background-image:
    linear-gradient(160deg, rgba(18, 24, 34, 0.38), var(--slate-900)),
    url("images/project-05.png");
}

.method-body {
  padding: 1.75rem 1.75rem 2rem;
}
.method-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.method-body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.check-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--white-pure);
}
.check-list li {
  margin-bottom: 0.35rem;
}

.callout-simple {
  margin-top: 2rem;
  padding: 1.35rem 1.6rem;
  background: linear-gradient(135deg, rgba(234, 111, 18, 0.09) 0%, var(--slate-850) 100%);
  border: 1px solid rgba(234, 111, 18, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(8, 12, 20, 0.28);
}
.callout-simple p {
  margin: 0;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.7;
}
.callout-simple strong {
  color: #f59a4a;
}

/* 內文區塊捲入時，避免被頂欄及 sticky 頁首遮蓋 */
main section[id] {
  scroll-margin-top: 5.5rem;
}
@media (max-width: 768px) {
  main section[id] {
    scroll-margin-top: 4.75rem;
  }
}

/* 站內錨點 #whatsapp（廣告站內連結用） */
main #whatsapp {
  scroll-margin-top: 5.5rem;
}
@media (max-width: 768px) {
  main #whatsapp {
    scroll-margin-top: 4.75rem;
  }
}

/* 地點／服務一覽 */
.areas-note {
  margin: -1.25rem 0 1.5rem;
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  opacity: 0.9;
}

.area-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .area-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.area-card {
  padding: 1.4rem 1.5rem 1.5rem;
  background: linear-gradient(145deg, var(--slate-850) 0%, #141b26 100%);
  border: 1px solid rgba(170, 185, 202, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(8, 12, 20, 0.28);
}
.area-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.02em;
}
.area-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.area-card p strong,
main section:not(.section-inquiry) .section-head p strong {
  color: #cbd6e2;
  font-weight: 700;
}

.service-overview {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(170, 185, 202, 0.14);
}
.service-overview h3 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white-pure);
  letter-spacing: 0.02em;
}
.service-overview-lead {
  margin: 0 0 0.9rem;
  color: var(--text-muted);
}
.service-overview-list {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  color: var(--white);
  line-height: 1.7;
}
.service-overview-list li {
  margin-bottom: 0.45rem;
}
.service-overview-list li strong {
  color: #e8edf4;
  font-weight: 700;
}
.service-overview-bridge {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.service-overview-bridge strong {
  color: #d8e0ea;
  font-weight: 700;
}
.service-overview-foot {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.service-overview-foot a {
  font-weight: 700;
}
.service-overview .wa-cta-prefill {
  color: #a7f3d0;
}
.service-overview .wa-cta-prefill:hover {
  color: #ecfdf5;
}

.comparison-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  font-weight: 400;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  border: 2px solid var(--slate-600);
  box-shadow: var(--shadow-hard);
  border-radius: var(--radius);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.comparison-table th,
.comparison-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--slate-600);
}
.comparison-table thead th {
  background: var(--slate-900);
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
}
.comparison-table tbody th {
  background: var(--slate-700);
  color: var(--white-pure);
  font-weight: 600;
}
.comparison-table td {
  background: var(--slate-900);
  color: var(--text-muted);
}
.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.fleet-grid,
#projectTrack {
  --fleet-media-h: 220px;
}

.fleet-card {
  background: linear-gradient(180deg, #212b38 0%, var(--slate-800) 100%);
  border: 1px solid rgba(170, 185, 202, 0.1);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(8, 12, 20, 0.3), var(--shadow-hard);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fleet-card:hover {
  border-color: rgba(234, 111, 18, 0.25);
  box-shadow: 0 12px 32px rgba(8, 12, 20, 0.38), var(--shadow-hard);
}

.fleet-card-media {
  height: var(--fleet-media-h, 220px);
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--orange);
}

/* 曾承接工程：圖片以 cover 填滿固定框，避免留邊（些微四邊裁切屬正常） */
.fleet-card-media--project {
  height: var(--fleet-media-h, 220px);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #0c1016;
  background-image: none !important;
  padding: 0;
  box-sizing: border-box;
}
.fleet-card-media--project picture {
  display: block;
  width: 100%;
  height: 100%;
}
.fleet-card-media--project .fleet-card-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 480px) {
  .fleet-grid,
  #projectTrack {
    --fleet-media-h: 190px;
  }
}

.fleet-card-body {
  padding: 1.25rem;
}
.fleet-card-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 800;
}
.fleet-card-body h3:last-child {
  margin-bottom: 0;
}
.fleet-card-body .meta {
  font-size: 0.85rem;
  color: var(--orange);
  margin-bottom: 0.5rem;
}
.fleet-card-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Inquiry */
.section-inquiry {
  background: linear-gradient(160deg, #f0f3f8 0%, #e4e9f1 40%, #dbe2eb 100%);
  color: var(--slate-900);
  border-top: 4px solid var(--orange);
}

.section-inquiry .section-head--light h2 {
  color: #0f172a;
}
.section-inquiry .inquiry-lead {
  margin: 0 0 1.75rem;
  max-width: 38rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 1;
}
.section-inquiry .inquiry-lead strong {
  color: #0f172a;
  font-weight: 800;
}

.inquiry-form {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 2.25rem 2.5rem;
  background: var(--white-pure);
  border: 1px solid rgba(62, 77, 99, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-inquiry);
}

.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form-row.two {
    grid-template-columns: 1fr;
  }
}

.inquiry-form label span {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  letter-spacing: 0.03em;
  color: var(--slate-700);
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 2px solid var(--slate-600);
  background: var(--white-pure);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: var(--radius);
  color: var(--slate-900);
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.inquiry-form label {
  display: block;
  margin-bottom: 1rem;
}

.upload-block {
  margin: 1rem 0;
  padding: 1.25rem;
  background: rgba(234, 111, 18, 0.04);
  border: 2px dashed rgba(62, 77, 99, 0.35);
  border-radius: var(--radius-sm);
}
.upload-label span {
  margin-bottom: 0.75rem;
}
.upload-input {
  padding: 0.5rem 0 !important;
  border: none !important;
}

.upload-hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--slate-600);
}

.upload-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--slate-800);
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  margin: 1rem 0 1.25rem;
  color: var(--slate-700);
}
.consent input {
  width: auto;
  margin-top: 0.25rem;
}

.form-hp {
  position: absolute;
  left: -8000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-hp-input {
  max-width: 1px;
}

.form-foot {
  margin: 1rem 0 0;
  font-weight: 600;
  min-height: 1.5em;
}
.form-foot.is-ok {
  color: #166534;
}
.form-foot.is-err {
  color: #b91c1c;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: linear-gradient(180deg, #0e141c 0%, var(--slate-900) 100%);
  border-top: 3px solid rgba(234, 111, 18, 0.35);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.footer-contact {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--white-pure);
}
.footer-contact p {
  margin: 0.35rem 0;
}
.footer-contact a {
  color: var(--orange);
  font-weight: 700;
}
.footer-addr-hint {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9em;
  line-height: 1.5;
  opacity: 0.92;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* 手機底部快速聯絡（引流／轉化） */
.sticky-cta {
  display: none;
}
@media (max-width: 900px) {
  body {
    padding-bottom: 3.75rem;
  }
  .sticky-cta {
    display: flex;
    position: fixed;
    z-index: 95;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 0;
    background: rgba(18, 24, 34, 0.97);
    border-top: 2px solid var(--orange);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
  }
  .sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.5rem 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--slate-900);
    background: var(--orange);
    text-decoration: none;
    border-right: 1px solid rgba(8, 12, 18, 0.2);
  }
  .sticky-cta-btn:last-child {
    border-right: none;
  }
  .sticky-cta-btn:hover {
    background: var(--orange-dark);
    color: var(--slate-900);
  }
  .sticky-cta-btn--wa {
    background: #25d366;
    color: #fff;
  }
  .sticky-cta-btn--wa:hover {
    background: #1fb256;
    color: #fff;
  }
  .sticky-cta-btn--form {
    background: var(--slate-700);
    color: var(--white-pure);
  }
  .sticky-cta-btn--form:hover {
    background: var(--slate-600);
    color: var(--white-pure);
  }
}
