/* ===== HEADER, FOOTER & MOBILE OVERLAY ===== */
:root {
  --brand-beige: #F8F5EE;
  --brand-beige-dark: #EAE3D2;
  --brand-blue: #A2C4D1;
  --brand-blue-dark: #7A9CA9;
  --text-main: #2C3539;
  --text-light: #5A636A;
  --bg-body: #FAF9F6;
  --radius-soft: 8px;
  --shadow-soft: 0 4px 10px rgba(0,0,0,0.06);
  --font-main: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
}

.site-header {
  background-color: var(--brand-beige);
  border-bottom: 2px solid var(--brand-beige-dark);
  padding: var(--spacing-sm) var(--spacing-md);
  position: relative;
  z-index: 100;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  color: var(--brand-blue-dark);
  text-decoration: none;
}
.brand-logo svg {
  width: 32px;
  height: 32px;
}
.site-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding-right: var(--spacing-md);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--spacing-md);
}
.nav-list a {
  font-weight: 500;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--text-main);
}
.nav-list a:hover {
  color: var(--brand-blue-dark);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.cta-button {
  background-color: var(--brand-blue);
  color: #fff;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-soft);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  transition: background-color 0.3s, transform 0.2s;
  border: 2px solid transparent;
  text-decoration: none;
}
.cta-button:hover {
  background-color: var(--brand-blue-dark);
  transform: translateY(-2px);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 0.25rem;
}
.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile overlay menu */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--brand-beige);
  border-left: 2px solid var(--brand-blue);
  box-shadow: -4px 0 12px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  padding: var(--spacing-md);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.mobile-nav-overlay.is-active {
  right: 0;
}
.menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}
.menu-close svg {
  width: 30px;
  height: 30px;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: flex-end;
}
.mobile-nav a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: color 0.2s;
}
.mobile-nav a:hover {
  color: var(--brand-blue-dark);
}
.btn-cta-mobile {
  background-color: var(--brand-blue);
  color: #fff;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-soft);
  font-size: 1rem;
  font-weight: 700;
  margin-top: var(--spacing-xs);
}
.btn-cta-mobile:hover {
  background-color: var(--brand-blue-dark);
  color: #fff;
  text-decoration: none;
}

/* Footer */
.site-footer {
  background-color: var(--brand-beige);
  border-top: 2px solid var(--brand-blue);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  margin-top: auto;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}
.footer-brand .footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.5rem;
  color: var(--brand-blue-dark);
  margin-bottom: var(--spacing-sm);
}
.footer-brand svg {
  width: 32px;
  height: 32px;
}
.footer-tagline {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
}
.footer-heading {
  color: var(--brand-blue-dark);
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}
.footer-nav, .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.contact-link {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: none;
}
.contact-link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-blue);
  margin-top: 2px;
}
.contact-link:hover {
  color: var(--text-main);
  text-decoration: underline;
}
.footer-bottom {
  max-width: 1200px;
  margin: var(--spacing-lg) auto 0;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--brand-beige-dark);
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .cta-button {
    display: none;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  .card
  {
    padding: 12px;
  }
  .grid
  {
    grid-template-columns: 1fr;
  }
}