@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700&display=swap');

:root {
  --primary: #C9A882;
  --primary-dark: #8B5E3C;
  --secondary: #F5E6D3;
  --accent: #D4836A;
  --text: #3D2B1F;
  --text-light: #7A6558;
  --bg: #FDF8F3;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

p {
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

section {
  padding: 5rem 0;
}

/* ============= HEADER & NAVIGATION ============= */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  height: 100%;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.nav-logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color var(--transition);
}

.nav-links a:hover {
  border-bottom-color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--text);
}

.nav-cta-desktop {
  display: block;
}

/* ============= BUTTONS ============= */

.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-white {
  background: white;
  color: var(--primary-dark);
}

.btn-white:hover {
  background: var(--secondary);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: white;
}

.btn-outline-white:hover {
  border-color: white;
}

/* ============= SECTION HEADING ============= */

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3px;
  background: var(--primary);
}

.section-heading p {
  color: var(--text-light);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
  margin-top: 0.75rem;
}

/* ============= CARDS ============= */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 1.5rem;
}

/* ============= GRIDS ============= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

/* ============= HERO ============= */

.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../images2/hero-bg.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(61, 43, 31, 0.55), rgba(201, 168, 130, 0.35));
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 2rem;
  max-width: 720px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============= SERVICE COMPONENTS ============= */

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}

.price-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ============= PAGE HERO ============= */

.page-hero {
  padding: 5rem 0;
  text-align: center;
  background: var(--secondary);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text);
}

/* ============= STEP CARDS ============= */

.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* ============= TESTIMONIAL CARDS ============= */

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  padding: 1.5rem;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: -0.5rem;
  left: 0.5rem;
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

/* ============= STATS BAR ============= */

.stats-bar {
  background: var(--primary);
  color: white;
  padding: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ============= TEAM CARD ============= */

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.team-card .card-body {
  padding: 1.5rem;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--secondary);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ============= CONTACT INFO ============= */

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--primary-dark);
}

/* ============= MAP PLACEHOLDER ============= */

.map-placeholder {
  height: 400px;
  background: var(--secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-light);
}

/* ============= FAQ ============= */

.faq-item {
  margin-bottom: 1rem;
}

details.faq-item {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

details.faq-item summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  background: white;
  user-select: none;
  transition: all var(--transition);
}

details.faq-item summary:hover {
  background: var(--secondary);
}

details.faq-item[open] summary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.faq-answer {
  padding: 1.25rem 1.5rem;
  background: white;
  line-height: 1.7;
  color: var(--text-light);
}

/* ============= CTA BANNER ============= */

.cta-banner {
  background: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.cta-banner p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============= VALUE CARDS ============= */

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* ============= FORM ============= */

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  background: white;
  transition: border-color var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 168, 130, 0.2);
}

.form-full {
  grid-column: 1 / -1;
}

/* ============= FOOTER ============= */

footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  padding: 4rem 0 2rem;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  display: block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0;
}

/* ============= RESPONSIVE ============= */

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--secondary);
  }

  .nav-toggle {
    display: block;
  }

  .nav-cta-desktop {
    display: none;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 300px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  section {
    padding: 3rem 0;
  }

  .cta-banner {
    padding: 3rem 0;
  }

  .stats-bar {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .nav-wrap {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-btns {
    gap: 0.75rem;
  }

  .section-heading h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .team-avatar {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .map-placeholder {
    height: 250px;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 2rem 0;
  }

  .cta-banner h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-control {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
  }
}
