:root {
  --bg-cream: #FAF6F0;
  --bg-card: #FFFFFF;
  --surface-alt: #F4ECE1;
  --pine-green: #1C3829;
  --pine-hover: #14281D;
  --pine-soft: #E8EFEA;
  --copper-rose: #BD7B66;
  --copper-light: #DFB2A4;
  --text-dark: #1E2822;
  --text-muted: #5E6962;
  --border-subtle: #E8DDCF;
  --shadow-sm: 0 4px 14px rgba(28, 56, 41, 0.05);
  --shadow-md: 0 10px 25px rgba(28, 56, 41, 0.09);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  color: var(--pine-green);
  font-weight: 600;
  letter-spacing: 0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Nav */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-link img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.brand-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pine-green);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--copper-rose);
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-item a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  padding: 6px 0;
  position: relative;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--pine-green);
  font-weight: 600;
}

.nav-item.active a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--copper-rose);
}

.nav-cta {
  background: var(--pine-green);
  color: #FFF !important;
  padding: 9px 20px !important;
  border-radius: 30px;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--copper-rose) !important;
}

/* Layout */
.main-wrapper {
  max-width: 1160px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
  flex: 1;
  width: 100%;
}

.page-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.page-header .subtitle {
  color: var(--copper-rose);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-header h1 {
  font-size: 2.4rem;
}

/* Hero Section */
.hero-card {
  background: #FFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3.5rem;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
}

.tagline-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.25rem 0 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--copper-rose);
  text-transform: uppercase;
  font-weight: 700;
  flex-wrap: wrap;
}

.hero-lead {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto 2.2rem;
  color: var(--text-muted);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: var(--pine-green);
  color: #FFF;
}

.btn-primary:hover {
  background: var(--pine-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--surface-alt);
  color: var(--pine-green);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #E6D9C8;
}

/* Feature Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.info-card {
  background: #FFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.info-card .card-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.info-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-green {
  background: var(--pine-soft);
  color: var(--pine-green);
}

.badge-copper {
  background: #F8EDE9;
  color: var(--copper-rose);
}

/* Footer */
footer {
  background: var(--pine-green);
  color: #E2ECE5;
  padding: 3rem 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.footer-content p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

/* Bean Chatbot */
.bean-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.bean-bubble-btn {
  background: var(--pine-green);
  color: #FFF;
  border: 2px solid var(--copper-light);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.bean-bubble-btn:hover {
  background: var(--copper-rose);
  transform: translateY(-2px);
}

.bean-chatbox {
  display: none;
  position: fixed;
  bottom: 85px;
  right: 24px;
  width: 350px;
  height: 480px;
  background: #FFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  flex-direction: column;
  overflow: hidden;
}

.bean-header {
  background: var(--pine-green);
  color: #FFF;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bean-header h4 {
  color: #FFF;
  font-size: 1rem;
}

.bean-close {
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 1.2rem;
  cursor: pointer;
}

.bean-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  background: #FCFAF7;
}

.msg {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 82%;
  line-height: 1.45;
}

.msg-bot {
  background: #EEE7DD;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.msg-user {
  background: var(--pine-green);
  color: #FFF;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.bean-quick-replies {
  padding: 10px;
  background: #FFF;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bean-chip {
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  font-size: 0.75rem;
  padding: 5px 10px;
  cursor: pointer;
  color: var(--pine-green);
  font-weight: 500;
}

.bean-chip:hover {
  background: var(--copper-light);
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 1rem;
  }
  .brand-sub {
    display: none;
  }
  .bean-chatbox {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 80px;
  }
}