@charset "utf-8";

/* =========================================================
   常宏法律事務所 — 深海軍藍 × 金色 + 米白導覽列
   ========================================================= */

:root {
  --navy: #0d1b2e;
  --navy-mid: #152640;
  --navy-light: #1e3a5f;
  --navy-darker: #080f1a;
  --gold: #b8963e;
  --gold-light: #d4af6a;
  --cream: #f4f0e8;
  --gray-light: #e8e4dc;
  --gray-mid: #8a8a8a;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #cbd2dc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
  font-family: 'Noto Sans TC', 'Microsoft JhengHei', sans-serif;
  color: var(--white);
  background: var(--navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(244, 240, 232, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,150,62,0.4);
  box-shadow: 0 2px 12px rgba(13,27,46,0.06);
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: 'Noto Serif TC', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.12em;
}
.nav-seal {
  width: 38px; height: auto;
  display: block;
}
.nav-logo .nav-zh em { font-style: normal; color: var(--gold); }
.nav-logo-img {
  height: 58px; width: auto;
  display: block;
}
.nav-links {
  display: flex; gap: 0; list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: block;
  padding: 0.6rem 1.1rem;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 1.1rem; right: 1.1rem;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.25s;
  transform-origin: left;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--navy);
  font-size: 1.5rem; cursor: pointer;
}

/* ----- Dropdown menu ----- */
.nav-links li.has-dropdown { position: relative; }
.nav-links .caret {
  font-size: 0.7em;
  margin-left: 4px;
  color: var(--gold);
  transition: transform 0.2s;
  display: inline-block;
}
.nav-links .has-dropdown:hover .caret { transform: rotate(180deg); }
.nav-links .dropdown {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 160px;
  background: rgba(244,240,232,0.98);
  border: 1px solid rgba(184,150,62,0.4);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(13,27,46,0.15);
  list-style: none;
  margin: 0; padding: 0.4rem 0;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1100;
}
.nav-links .has-dropdown:hover .dropdown {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .dropdown li { width: 100%; }
.nav-links .dropdown a {
  display: block;
  padding: 0.7rem 1.4rem;
  color: var(--navy);
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: all 0.18s;
}
.nav-links .dropdown a::after { display: none; }
.nav-links .dropdown a:hover {
  background: rgba(184,150,62,0.12);
  color: var(--gold);
  padding-left: 1.6rem;
}

/* ===================== SECTIONS ===================== */
section { padding: 6rem 6rem; }
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.section-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.title-rule {
  width: 48px; height: 2px;
  background: var(--gold);
  margin-bottom: 2.5rem;
}

/* ===================== HERO ===================== */
#home {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy) 55%, var(--navy-light) 100%);
  display: flex; align-items: center;
  padding: 8rem 6rem 4rem;
  position: relative; overflow: hidden;
}
#home::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 75% at 82% 42%, rgba(184,150,62,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 620px; }
.hero-line {
  width: 48px; height: 2px;
  background: var(--gold);
  margin-bottom: 2rem;
  animation: expandLine 1s ease forwards;
}
@keyframes expandLine { from { width: 0; } to { width: 48px; } }
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  opacity: 0; animation: fadeUp 0.8s 0.3s ease forwards;
}
.hero-title {
  font-family: 'Noto Serif TC', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  opacity: 0; animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero-title em { font-style: normal; color: var(--gold); }
.hero-desc {
  max-width: 540px;
  font-size: 1rem;
  line-height: 2;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
  margin-bottom: 2.5rem;
  opacity: 0; animation: fadeUp 0.8s 0.7s ease forwards;
}
.hero-cta {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: all 0.3s;
  opacity: 0; animation: fadeUp 0.8s 0.9s ease forwards;
}
.hero-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  letter-spacing: 0.2em;
}
.hero-seal-bg {
  position: absolute;
  right: -2rem; bottom: -3rem;
  width: 580px;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  filter: brightness(1.2);
  animation: sealFade 1.5s 0.5s ease forwards;
}
@keyframes sealFade { from { opacity: 0; } to { opacity: 0.10; } }
.hero-services-grid {
  position: absolute;
  right: 6rem; top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(13,27,46,0.72);
  border: 1px solid rgba(184,150,62,0.35);
  z-index: 2;
  opacity: 0; animation: fadeIn 1s 1s ease forwards;
}
.hero-service-item {
  padding: 1.4rem 2.4rem;
  border: 1px solid rgba(184,150,62,0.2);
  font-family: 'Noto Serif TC', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.12em;
  text-align: center;
  transition: all 0.25s;
}
.hero-service-item:hover {
  background: rgba(184,150,62,0.12);
  color: var(--gold-light);
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===================== ABOUT ===================== */
#about {
  background: var(--navy-mid);
  color: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem;
  align-items: center;
}
#about .section-title { color: var(--white); }
.about-text p {
  font-size: 0.98rem;
  line-height: 2;
  color: rgba(255,255,255,0.78);
  margin-bottom: 1.2rem;
  font-weight: 300;
}
.about-side { display: flex; flex-direction: column; gap: 2rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.about-quote {
  position: relative;
  padding: 2.2rem 2rem 1.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.25);
  border-left: 3px solid var(--gold);
}
.about-quote .quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.6;
  position: absolute;
  top: 1.2rem; left: 1.5rem;
  opacity: 0.8;
}
.about-quote p {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 2;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.06em;
  margin-left: 1.6rem;
}
.about-quote .quote-attr {
  margin-top: 1.2rem;
  margin-left: 1.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.82rem;
  font-style: italic;
  color: var(--gold-light);
  letter-spacing: 0.25em;
}
.stat-box {
  padding: 2rem 1.8rem;
  background: rgba(255,255,255,0.04);
  border-top: 2px solid var(--gold);
  border-left: 1px solid rgba(184,150,62,0.2);
  border-right: 1px solid rgba(184,150,62,0.2);
  border-bottom: 1px solid rgba(184,150,62,0.2);
  transition: all 0.25s;
}
.stat-box:hover {
  transform: translateY(-4px);
  background: rgba(184,150,62,0.08);
  border-color: var(--gold);
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1;
}
.stat-num span { color: var(--gold); font-size: 1.8rem; }
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  margin-top: 0.4rem;
}

/* ===================== TEAM ===================== */
#team {
  background: var(--navy-darker);
  color: var(--white);
}
#team .section-title { color: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.team-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.25);
  border-top: 3px solid var(--gold);
  padding: 0 0 1.6rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.team-card:hover {
  background: rgba(184,150,62,0.08);
  border-color: var(--gold);
  border-top-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}
.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  background: linear-gradient(160deg, #1e3a5f, #0d1b2e);
  filter: saturate(1.05);
  transition: transform 0.6s ease;
}
.team-card:hover .team-photo { transform: scale(1.04); }
.team-photo-wrap {
  position: relative;
  width: 100%;
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
}
.team-photo-wrap::after {
  content: '';
  position: absolute; inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(13,27,46,0.55) 0%, transparent 100%);
  pointer-events: none;
}
.team-avatar {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--navy-light), var(--gold));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif TC', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin: 1.6rem 1.5rem 1.2rem;
  font-weight: 700;
}
.team-info { padding: 1.4rem 1.5rem 0.4rem; }
.team-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 1.5rem 0.3rem;
}
.team-card > .team-name { margin-top: 1.4rem; }
.team-title-badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  border: 1px solid rgba(184,150,62,0.55);
  padding: 0.15rem 0.7rem;
  margin: 0 1.5rem 1rem;
}
.team-detail {
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  padding: 0 1.2rem 0 1.5rem;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(184,150,62,0.55) transparent;
}
.team-detail::-webkit-scrollbar {
  width: 5px;
}
.team-detail::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
}
.team-detail::-webkit-scrollbar-thumb {
  background: rgba(184,150,62,0.45);
  border-radius: 3px;
}
.team-detail::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
/* 漸層提示底部還有可滾動內容 */
.team-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28px;
  background: linear-gradient(to top, rgba(13,27,46,0.9), transparent);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.team-card.has-scroll::after { opacity: 1; }
.team-card.has-scroll:hover::after { opacity: 0; }
.team-detail strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.8rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.team-detail ul { list-style: none; padding: 0; margin: 0; }
.team-detail li {
  padding-left: 0.9rem; position: relative;
  margin-bottom: 0.15rem;
}
.team-detail li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--gold); font-size: 0.65rem; top: 0.2rem;
  opacity: 0.6;
}

/* ===================== SERVICES ===================== */
#services {
  background: var(--navy);
  color: var(--white);
}
#services .section-title { color: var(--white); }
.services-intro {
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.75);
  margin-bottom: 3rem;
  font-weight: 300;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  border: 1px solid rgba(184,150,62,0.25);
  padding: 2rem;
  transition: all 0.3s;
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.03);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transition: transform 0.3s;
  transform-origin: left;
}
.service-card:hover {
  border-color: var(--gold);
  background: rgba(184,150,62,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  transform: translateY(-3px);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  font-family: 'Cormorant Garamond', 'Noto Serif TC', serif;
  font-size: 2rem;
  font-weight: 600;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
  display: inline-block;
  position: relative;
  line-height: 1;
  padding-bottom: 0.7rem;
  background: transparent;
  width: auto; height: auto;
}
.service-icon::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.service-card:hover .service-icon::after { width: 56px; }
.service-card:hover .service-icon { color: var(--gold-light); }
.service-name {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.service-desc {
  font-size: 0.86rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}

/* ===================== FAQ ===================== */
#faq {
  background: var(--navy-darker);
  color: var(--white);
}
#faq .section-title { color: var(--white); }
.faq-list { max-width: 880px; }
.faq-item { border-bottom: 1px solid rgba(184,150,62,0.2); }
.faq-q {
  width: 100%; padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.98rem;
  color: var(--white);
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--gold-light); }
.faq-q .arrow {
  font-size: 1.1rem; color: var(--gold);
  transition: transform 0.3s;
  flex-shrink: 0; margin-left: 1rem;
}
.faq-q.open .arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner {
  padding: 0 0 1.4rem;
  font-size: 0.9rem;
  line-height: 2;
  color: rgba(255,255,255,0.72);
  font-weight: 400;
}

/* ===================== NEWS（工程法律專欄） ===================== */
#news {
  background: var(--navy);
  color: var(--white);
}
#news .section-title { color: var(--white); }
.news-intro {
  max-width: 720px;
  font-size: 0.98rem;
  line-height: 1.95;
  color: rgba(255,255,255,0.75);
  margin-bottom: 3rem;
  font-weight: 300;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.news-column {
  position: relative;
  transition: background 0.6s;
}
.news-column.highlight {
  background: rgba(184,150,62,0.06);
  margin: -1rem; padding: 1rem;
}
.news-col-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(184,150,62,0.3);
}
.news-col-line {
  width: 32px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.news-col-header h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  margin: 0;
}
.news-card {
  display: block;
  padding: 1.4rem 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
  position: relative;
}
.news-card:hover {
  border-bottom-color: var(--gold);
  padding-left: 0.6rem;
}
.news-card::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s;
  transform: translateY(-50%);
  opacity: 0;
}
.news-card:hover::before { width: 0.4rem; opacity: 1; }
.news-card-date {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.news-card h4 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  margin: 0 0 0.5rem;
  line-height: 1.6;
  transition: color 0.25s;
}
.news-card:hover h4 { color: var(--gold-light); }
.news-card p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  font-weight: 300;
  margin: 0;
}

/* ===================== CONTACT ===================== */
#contact {
  background: var(--navy);
  color: var(--white);
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: start;
}
#contact .section-title { color: var(--white); }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(184,150,62,0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  margin-top: 2px;
  transition: all 0.25s;
}
.contact-icon svg {
  width: 20px; height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-detail:hover .contact-icon {
  background: rgba(184,150,62,0.12);
  border-color: var(--gold);
  color: var(--gold-light);
}
.contact-detail-text strong {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-detail-text span,
.contact-detail-text a {
  font-size: 0.94rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}
.contact-detail-text a:hover { color: var(--gold-light); }
.line-box {
  margin-top: 2rem;
  padding: 1.4rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184,150,62,0.3);
  border-left: 3px solid #06C755;
  display: flex;
  gap: 1.4rem;
  align-items: center;
}
.line-qr {
  width: 120px; height: 120px;
  flex-shrink: 0;
  background: var(--white);
  padding: 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184,150,62,0.25);
}
.line-qr img {
  width: 100%; height: 100%;
  display: block;
  object-fit: contain;
}
.qr-placeholder {
  font-size: 0.75rem;
  color: var(--gray-mid);
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.line-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #06C755;
  margin-bottom: 0.6rem;
}
.line-text p {
  font-size: 0.86rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
}
.transit-box {
  margin-top: 2rem;
  padding: 1.5rem 1.6rem;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--gold);
}
.transit-box h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.transit-box p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
}

.contact-form-wrap h3 {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(184,150,62,0.3);
}
.form-intro {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(184,150,62,0.3);
  background: rgba(255,255,255,0.05);
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: 0;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,150,62,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  padding: 1rem 2.8rem;
  background: var(--gold);
  color: var(--navy);
  border: none; cursor: pointer;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: all 0.3s;
}
.btn-submit:hover {
  background: var(--gold-light);
  color: var(--navy);
  letter-spacing: 0.2em;
}
.form-msg {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--gold-light);
  display: none;
}

/* ===================== FOOTER ===================== */
footer {
  background: var(--navy-darker);
  padding: 2rem 6rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(184,150,62,0.25);
  gap: 1rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--cream);
  padding: 8px 14px;
  border-radius: 4px;
}
.footer-seal {
  width: 32px; height: auto;
}
.footer-logo {
  font-family: 'Noto Serif TC', serif;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0.1em;
}
.footer-logo em { font-style: normal; color: var(--gold); }
.footer-logo-img {
  height: 50px; width: auto;
  display: block;
}
.footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1200px) {
  .hero-services-grid { right: 3rem; }
}
@media (max-width: 1000px) {
  section { padding: 5rem 3rem; }
  nav { padding: 0 1.5rem; }
  #home { padding: 7rem 3rem 4rem; }
  .hero-services-grid { display: none; }
  #about { grid-template-columns: 1fr; gap: 3rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; gap: 3rem; }
  #contact { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  section { padding: 4rem 1.5rem; }
  #home { padding: 6.5rem 1.5rem 3rem; }
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(244,240,232,0.98);
    border-top: 1px solid rgba(184,150,62,0.3);
    box-shadow: 0 4px 12px rgba(13,27,46,0.08);
    padding: 1rem 0;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { padding: 0.9rem 1.5rem; }
  .nav-links.open .dropdown {
    position: static;
    transform: none;
    opacity: 1; visibility: visible;
    background: rgba(184,150,62,0.06);
    border: none; box-shadow: none;
    border-top: 0.5px solid rgba(184,150,62,0.2);
    border-bottom: 0.5px solid rgba(184,150,62,0.2);
    width: 100%;
    padding: 0;
  }
  .nav-links.open .dropdown a {
    padding: 0.7rem 2.4rem;
    font-size: 0.82rem;
    color: var(--navy);
  }
  .nav-links.open .caret { display: none; }
  .nav-toggle { display: block; }
  .nav-logo { font-size: 1rem; }
  .nav-seal { width: 32px; }
  .nav-logo-img { height: 46px; }
  .footer-logo-img { height: 50px; }
  .team-grid, .services-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 2.4rem; }
  .line-box { flex-direction: column; align-items: flex-start; }
  .line-qr { width: 140px; height: 140px; }
  footer { padding: 1.8rem 1.2rem; }
}
