html {
  scroll-behavior: smooth;
}

body {
  color: #26322f;
  background: #fffaf2;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}

.font-display {
  font-family: "Fraunces", Georgia, serif;
}

.font-zh {
  font-family: "Noto Serif SC", "Noto Sans SC", serif;
}

.section-pad {
  padding-block: clamp(4rem, 8vw, 7.5rem);
}

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.soft-shadow {
  box-shadow: 0 24px 60px rgba(60, 48, 35, 0.14);
}

.btn {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.82rem 1.18rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #b95b3a;
  color: #fffaf2;
  box-shadow: 0 14px 32px rgba(185, 91, 58, 0.28);
}

.btn-primary:hover {
  background: #9e482b;
}

.btn-secondary {
  background: #26322f;
  color: #fffaf2;
}

.btn-ghost {
  border: 1px solid rgba(38, 50, 47, 0.2);
  color: #26322f;
  background: rgba(255, 255, 255, 0.48);
}

.eyebrow {
  color: #7c5f3d;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #e6d9c6;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.path-card,
.service-card,
.testimonial-card {
  border: 1px solid rgba(38, 50, 47, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.card-link:hover {
  border-color: rgba(185, 91, 58, 0.45);
  box-shadow: 0 18px 42px rgba(60, 48, 35, 0.12);
  transform: translateY(-2px);
}

.card-link:focus-visible {
  outline: 3px solid rgba(185, 91, 58, 0.45);
  outline-offset: 4px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
}

.service-card.featured {
  border-color: rgba(185, 91, 58, 0.55);
  box-shadow: 0 18px 44px rgba(185, 91, 58, 0.13);
}

.nav-link {
  color: rgba(38, 50, 47, 0.78);
  font-size: 0.95rem;
  font-weight: 800;
}

.nav-link:hover {
  color: #b95b3a;
}

.input {
  width: 100%;
  border: 1px solid rgba(38, 50, 47, 0.18);
  border-radius: 8px;
  background: #fffefb;
  padding: 0.85rem 0.95rem;
  color: #26322f;
  outline: none;
}

.input:focus {
  border-color: #b95b3a;
  box-shadow: 0 0 0 3px rgba(185, 91, 58, 0.14);
}

.whatsapp-popup {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: min(360px, calc(100vw - 2rem));
  transform: translateX(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.whatsapp-popup.is-visible {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-150%);
  background: #26322f;
  color: #fffaf2;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  transform: translateY(0);
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none !important;
  }
}

@media (min-width: 861px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  }
}
