* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #8b7355;
  --primary-dark: #6d5a42;
  --bg: #f7f4f0;
  --bg-alt: #efeae4;
  --text: #2a2a2a;
  --text-muted: #666;
  --border: #e5dfd6;
  --white: #fff;
  --accent: #c9a87c;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", sans-serif;
  line-height: 1.65; color: var(--text); background: var(--bg);
}
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
.header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.97);
}
.header-inner {
  display: flex; justify-content: space-between; align-items: center; height: 70px;
}
.logo { display: flex; align-items: center; line-height: 0; }
.logo-img { height: 42px; width: auto; display: block; object-fit: contain; }
.nav a { margin-left: 22px; font-size: 0.9rem; color: #555; transition: color 0.2s; }
.nav a:hover { color: var(--primary); }
.header-cta {
  background: var(--primary); color: #fff; padding: 9px 18px;
  border-radius: 6px; font-size: 0.88rem; font-weight: 600;
  transition: background 0.25s, transform 0.25s;
}
.header-cta:hover { background: var(--primary-dark); }
.hero {
  position: relative;
  background: linear-gradient(165deg, #ebe4da 0%, #d9cfc3 50%, #cfc4b5 100%);
  padding: 110px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; animation: fadeInUp 0.9s ease-out both; }
.eyebrow {
  font-size: 0.85rem; letter-spacing: 3px; color: var(--primary);
  margin-bottom: 18px; text-transform: uppercase; font-weight: 500;
}
.hero h1 {
  font-size: 3rem; font-weight: 700; line-height: 1.2;
  color: var(--text); margin-bottom: 22px;
}
.hero h1 span { color: var(--primary); }
.hero-desc {
  font-size: 1.1rem; color: #555; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; animation: fadeInUp 0.9s ease-out 0.15s both; }
.btn {
  display: inline-block; padding: 15px 32px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; transition: all 0.25s;
}
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn.ghost {
  background: transparent; color: var(--text); border: 1.5px solid rgba(0,0,0,0.2);
}
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }
.hero-stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; animation: fadeInUp 0.9s ease-out 0.3s both; }
.hero-stats div { text-align: center; }
.hero-stats strong {
  display: block; font-size: 1.4rem; color: var(--primary); font-weight: 700;
}
.hero-stats span { font-size: 0.85rem; color: #666; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  font-size: 0.75rem; letter-spacing: 3px; color: var(--primary);
  margin-bottom: 10px; font-weight: 600;
}
.section-header h2 { font-size: 2rem; margin-bottom: 10px; }
.section-sub { color: var(--text-muted); font-size: 1rem; }
.offers, .why, .quote { background: var(--white); padding: 90px 0; }
.process, .cases, .contact { background: var(--bg-alt); padding: 90px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px 26px; position: relative;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.08); }
.card.featured {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.card.featured h3, .card.featured li { color: #fff; }
.card.featured li::before { color: #fff; }
.card-tag {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.2); color: #fff;
  font-size: 0.72rem; padding: 4px 12px; border-radius: 20px; font-weight: 500;
}
.card h3 { font-size: 1.2rem; margin-bottom: 18px; line-height: 1.35; }
.card ul { list-style: none; margin-bottom: 28px; }
.card li {
  padding: 8px 0 8px 22px; position: relative; font-size: 0.95rem; color: #555;
}
.card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700;
}
.btn-card {
  display: block; text-align: center; padding: 12px;
  background: #fff; color: var(--primary); border-radius: 8px;
  font-weight: 600; font-size: 0.9rem; transition: background 0.25s, color 0.25s;
}
.card.featured .btn-card { background: #fff; color: var(--primary); }
.btn-card.outline {
  background: transparent; border: 1.5px solid var(--primary); color: var(--primary);
}
.btn-card:hover, .btn-card.outline:hover { background: var(--primary-dark); color: #fff; border-color: var(--primary-dark); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--white); border-radius: 14px; padding: 28px 20px; text-align: center;
  border: 1px solid var(--border); transition: transform 0.3s;
}
.step:hover { transform: translateY(-4px); }
.step-num {
  font-size: 1.6rem; font-weight: 700; color: var(--primary); margin-bottom: 12px;
}
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--text-muted); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item {
  background: var(--bg); border-radius: 14px; padding: 28px 22px;
  border: 1px solid var(--border); transition: transform 0.3s;
}
.why-item:hover { transform: translateY(-4px); }
.why-num {
  font-size: 1.4rem; font-weight: 700; color: var(--primary); margin-bottom: 10px;
}
.why-item h4 { font-size: 1.05rem; margin-bottom: 8px; }
.why-item p { font-size: 0.9rem; color: var(--text-muted); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 50px;
}
.case-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
  border: 1px solid var(--border);
}
.case-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 44px rgba(0,0,0,0.12);
}
.case-image {
  height: 220px;
  background: #e8e4df;
  position: relative;
  overflow: hidden;
}
.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-card:hover .case-image img {
  transform: scale(1.05);
}
.case-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(26,26,26,0.82);
  color: white;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.case-content {
  padding: 22px 20px 24px;
}
.case-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}
.case-meta {
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-weight: 500;
}
.case-desc {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}
.case-btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.25s, transform 0.25s;
}
.case-btn:hover {
  background: var(--primary-dark);
}
.social-cta {
  background: #1f1f1f;
  color: white;
  border-radius: 18px;
  padding: 42px 36px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.social-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.social-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.social-cta p {
  opacity: 0.8;
  margin-bottom: 26px;
  font-size: 0.95rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: transform 0.2s, opacity 0.2s;
}
.social-btn:hover {
  transform: translateY(-3px);
  opacity: 0.92;
}
.btn-fb { background: #1877f2; color: white; }
.btn-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.btn-tg { background: #0088cc; color: white; }
.btn-wa { background: #25d366; color: white; }
.quote-form {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg);
  padding: 36px 32px;
  border-radius: 16px;
  border: 1px solid var(--border);
}
.form-section { margin-bottom: 28px; }
.form-section h4 {
  font-size: 1rem;
  color: var(--primary);
  margin: 4px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.88rem; font-weight: 500; color: #444; margin-bottom: 6px;
}
.form-group label small { font-weight: 400; color: #888; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddd;
  border-radius: 8px; font-size: 0.95rem; background: #fff; transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary);
}
.btn-submit {
  width: 100%; padding: 16px; font-size: 1.05rem; margin-top: 12px;
  border: none; cursor: pointer;
}
.form-note {
  text-align: center; font-size: 0.84rem; color: #888; margin-top: 16px; line-height: 1.5;
}
.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-bottom: 32px;
}
.contact-card {
  background: var(--white); padding: 28px 20px; border-radius: 14px;
  text-align: center; border: 1px solid var(--border);
  transition: transform 0.3s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 10px; }
.contact-card p { font-size: 0.95rem; color: #444; }
.contact-btns { display: flex; justify-content: center; }
.footer {
  background: #1f1f1f; color: #999; padding: 48px 0 36px; text-align: center;
}
.footer-brand { margin-bottom: 10px; }
.footer-logo {
  height: 36px; width: auto; display: inline-block; object-fit: contain;
  filter: brightness(0) invert(1); opacity: 0.95;
}
.footer .social { margin: 16px 0; }
.footer .social a { color: #999; margin: 0 14px; font-size: 0.9rem; transition: color 0.2s; }
.footer .social a:hover { color: #fff; }
.copyright { font-size: 0.82rem; margin-top: 12px; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
html { scroll-behavior: smooth; }
.btn:active, .case-btn:active, .social-btn:active { transform: scale(0.97); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 900px) {
  .cards, .steps, .why-grid, .contact-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.3rem; }
  .nav { display: none; }
  .logo-img { height: 36px; }
}
@media (max-width: 640px) {
  .cards, .steps, .why-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 70px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 28px; }
  .quote-form { padding: 28px 20px; }
  .header-cta { display: none; }
  .logo-img { height: 32px; }
  .social-cta { padding: 32px 20px; }
  .social-buttons { flex-direction: column; align-items: center; }
  .social-btn { width: 100%; max-width: 260px; justify-content: center; }
}