:root {
  --burgundy: #7a2035;
  --burgundy-dark: #5c1828;
  --burgundy-light: #9a3048;
  --cream: #f7f3ed;
  --cream-dark: #ebe4d8;
  --white: #ffffff;
  --text: #3a2f32;
  --text-muted: #6b5d61;
  --font-sans: "Montserrat", Arial, sans-serif;
  --font-serif: "PT Serif", Georgia, serif;
  --shadow: 0 8px 28px rgba(90, 24, 40, 0.1);
  --radius: 8px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--burgundy-light); }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
svg { display: block; width: 100%; height: 100%; }

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
  padding: .75rem 0;
}
.brand { display: flex; align-items: center; gap: .75rem; color: var(--burgundy); }
.brand-logo, .custom-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: .95rem; letter-spacing: .03em; color: var(--burgundy); }
.brand-text small { font-size: .68rem; color: var(--text-muted); }

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}
.primary-menu a { color: var(--text); font-size: .88rem; font-weight: 500; }
.primary-menu a:hover,
.primary-menu .current-menu-item > a { color: var(--burgundy); }

.header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .1rem;
}
.header-phone { color: var(--burgundy); font-weight: 700; font-size: .92rem; }
.header-hours { font-size: .72rem; color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: .2s;
  white-space: nowrap;
}
.btn-sm { padding: .45rem .9rem; font-size: .8rem; }
.btn-header { margin-top: .25rem; }
.btn-primary { background: var(--burgundy); color: var(--white); border-color: var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-dark); color: var(--white); }
.btn-outline { background: var(--white); color: var(--burgundy); border-color: var(--burgundy); }
.btn-outline:hover { background: var(--cream); }
.btn-outline-dark { background: transparent; color: var(--burgundy-dark); border-color: var(--burgundy); }
.btn-light { background: var(--white); color: var(--burgundy); border-color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: .5rem;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--burgundy); }

.hero {
  min-height: 380px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.15) 100%),
    var(--hero-image) center/cover no-repeat;
  display: flex;
  align-items: center;
}
.hero-content { padding: 3rem 0; max-width: 580px; }
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--burgundy-dark);
  line-height: 1.3;
  margin: 0 0 1rem;
}
.hero p { color: var(--text-muted); margin: 0 0 1.5rem; font-size: 1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.features-bar {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  padding: 1.75rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.feature-card { text-align: center; }
.feature-icon { width: 32px; height: 32px; margin: 0 auto .5rem; }
.feature-card h3 { margin: 0 0 .35rem; font-size: .92rem; color: var(--burgundy-dark); }
.feature-card p { margin: 0; font-size: .78rem; color: var(--text-muted); line-height: 1.45; }

.home-section { padding: 2.5rem 0; }
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.section-title { font-size: 1rem; color: var(--burgundy-dark); margin: 0; font-weight: 700; }
.section-title-icon { display: flex; align-items: center; gap: .4rem; }
.section-title-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.section-head a { font-size: .8rem; font-weight: 600; white-space: nowrap; }

.goal-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  min-height: 280px;
  display: flex;
  flex-direction: column;
}
.goal-card p { flex: 1; font-size: .9rem; color: var(--text-muted); }

.founders-list { display: flex; flex-direction: column; gap: 1rem; }
.founder-card {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  background: var(--cream);
  border-radius: var(--radius);
}
.founder-photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.founder-photo.placeholder {
  display: grid;
  place-items: center;
  background: var(--cream-dark);
  padding: 12px;
}
.founder-card h3 { margin: 0; font-size: .88rem; color: var(--burgundy-dark); }
.founder-position, .founder-company { margin: .1rem 0 0; font-size: .75rem; color: var(--text-muted); }

.doc-list { display: flex; flex-direction: column; gap: .65rem; }
.doc-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  background: var(--cream);
  border-radius: var(--radius);
  color: inherit;
}
.doc-item:hover { background: var(--cream-dark); color: inherit; }
.doc-icon {
  background: #c0392b;
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: .35rem .45rem;
  border-radius: 4px;
}
.doc-info strong { display: block; font-size: .82rem; color: var(--burgundy-dark); }
.doc-info small { font-size: .72rem; color: var(--text-muted); }
.doc-dl { color: var(--burgundy); font-weight: 700; }

.anticorr-banner { background: var(--cream); padding: 2rem 0 0; }
.anticorr-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  align-items: stretch;
}
.anticorr-inner > div:first-child { padding: 1.5rem 0 2rem; }
.anticorr-inner h2 { font-family: var(--font-serif); color: var(--burgundy-dark); margin: 0 0 .75rem; }
.anticorr-inner p { color: var(--text-muted); max-width: 520px; margin: 0 0 1rem; }
.contact-cta {
  background: var(--burgundy-dark);
  color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
  text-align: center;
}
.contact-cta h3 { margin: 0 0 1rem; font-size: 1rem; font-weight: 600; }

.muted { color: var(--text-muted); font-size: .9rem; }

.site-footer {
  background: #2a2224;
  color: rgba(255,255,255,.85);
  padding: 1.5rem 0;
  font-size: .82rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu a { color: rgba(255,255,255,.8); }
.footer-contact { display: flex; flex-direction: column; gap: .25rem; text-align: right; }
.footer-contact a { color: rgba(255,255,255,.85); }

.page-hero { background: var(--cream); padding: 2rem 0; border-bottom: 1px solid var(--cream-dark); }
.page-hero h1 { font-family: var(--font-serif); color: var(--burgundy-dark); margin: 0; }
.content-area { padding: 2rem 0 3rem; }
.archive-list { display: flex; flex-direction: column; gap: 1.25rem; }
.link-more { color: var(--burgundy); font-weight: 600; font-size: .85rem; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { grid-column: 1 / -1; order: 3; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .home-grid { grid-template-columns: 1fr; }
  .anticorr-inner { grid-template-columns: 1fr; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .primary-nav { display: none; }
  .primary-nav.is-open { display: block; }
  .primary-menu { flex-direction: column; }
  .header-contact { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-contact { text-align: center; }
}
