/* ============================================
   Sweet Home Residential — Base Styles
   ============================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
.hidden { display: none !important; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--navy); }
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-title--left { text-align: left; }
.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  max-width: 600px;
  margin: 0 auto 48px;
}
.text-accent { color: var(--gold); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--cta {
  background: var(--cta);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(196, 93, 62, 0.4);
}
.btn--cta:hover {
  background: var(--cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 93, 62, 0.5);
}
.btn--accent {
  background: var(--gold);
  color: var(--white);
}
.btn--accent:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline-dark:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--full { width: 100%; }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.section-cta { text-align: center; margin-top: 40px; }

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PRINT ---------- */
@media print {
  .announcement-bar, .nav, .mobile-cta-bar, .final-cta { display: none; }
  .hero { background: var(--white); color: var(--dark); }
  .hero__title { color: var(--navy); }
}
