:root {
  --primary: #1e3a34;
  --primary-light: #2c534b;
  --accent: #c48b56;
  --sand-bg: #f8f6f0;
  --surface: #ffffff;
  --text: #22252a;
  --text-muted: #535862;
  --border: #e4dfd5;
  --radius: 8px;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: var(--sand-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Nav */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 20px;
}

.nav-container {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-menu a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav-menu a:hover {
  color: var(--primary);
}

.nav-menu a.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 2px;
}

.nav-call-btn {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 8px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
  border-bottom: none !important;
  transition: background 0.15s ease;
}

.nav-call-btn:hover {
  background: var(--primary-light);
}

/* Sub-page Banner */
.page-header {
  background: #e9ece6;
  border-bottom: 1px solid var(--border);
  padding: 48px 20px;
  text-align: center;
}

.page-header h1 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

main {
  flex: 1;
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
  padding: 44px 20px 70px;
}

/* Buttons */
.btn {
  display: inline-block;
  width: 100%;
  max-width: 320px;
  padding: 15px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.15s ease-in-out;
}

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

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

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

.btn-secondary:hover {
  background: #e9ece6;
}

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

.btn-solid-white:hover {
  background: #f1ede6;
}

/* Unified Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 40px 20px 32px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-container {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-copyright {
  font-size: 0.85rem;
  color: #888d96;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    align-items: flex-start;
  }
  .footer-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
}