:root {
  --bg:#ffffff;
  --ink:#1f2937;
  --muted:#4b5563;
  --brand:#5a7f7a;
  --brand-strong:#3d615c;
  --accent:#405a8a;
  --border:#e5e7eb;
  --chip:#f3f4f6;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --sage:#9dc9bf;
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--ink);
  background: var(--bg);
}
/* ----- Link styling (updated) ----- */
a {
  color: var(--brand-strong);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover,
a:focus {
  color: var(--brand);
  text-shadow: 0 0 6px rgba(157,201,191,0.6);
  text-decoration: none;
}
a:focus {
  outline: 2px solid rgba(157,201,191,0.4);
  outline-offset: 2px;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand img.brandmark { height: 36px; width: auto; display: block; }
.brand h1 { font-size: 18px; margin: 0; font-weight: 650; letter-spacing: .2px; }
nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.burger { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; font-size: 24px; color: var(--brand); }
@media (max-width: 840px) { nav ul { display: none; } .burger { display: inline-flex; } }

nav a {
  position: relative; padding: 8px 12px; border-radius: 10px;
  color: var(--ink); font-weight: 500; transition: all .3s ease;
}
nav a::before {
  content: ""; position: absolute; inset: 0; border-radius: 10px; background: var(--brand);
  opacity: 0; box-shadow: 0 0 10px var(--brand);
  transition: opacity .3s ease, box-shadow .3s ease; z-index: -1;
}
nav a:hover::before { opacity: .25; box-shadow: 0 0 14px var(--brand); }
nav a:hover { color: var(--brand-strong); background: rgba(157,201,191,.12); text-decoration: none; }

/* ========================================================= */
/* === MOBILE MENU WRAPPER & OVERLAY MENU FIX === */
/* ========================================================= */

.menu-wrapper {
  position: relative;          /* anchors the menu to page flow */
  z-index: 60;
}

/* === Mobile menu: fixed overlay that persists while scrolling === */
.overlay-menu {
  position: fixed;                 /* stays in view on scroll */
  top: 64px;                       /* adjust if your header height differs */
  right: 16px;
  width: 260px;
  max-height: calc(100vh - 80px);  /* scroll within if long */
  overflow: auto;

  background: rgba(153,195,185,0.96);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  padding: 16px;

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  transition: opacity .25s ease, visibility 0s linear .25s;
}

.overlay-menu a {
  color: #222;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease;
}
.overlay-menu a:hover { background: rgba(255,255,255,0.6); }

.overlay-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .25s ease, visibility 0s;
}



/* ========================================================= */
/* === END MOBILE MENU FIX === */
/* ========================================================= */

.hero {
  position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; color: var(--ink);
  background: url('header-lightform.png') center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(153,195,185,.65), rgba(255,255,255,.65)); }
.hero-content {
  position: relative; z-index: 1; max-width: 1100px; width: 100%;
  background: rgba(255,255,255,.42); backdrop-filter: blur(3px);
  border-radius: 16px; padding: 40px; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between;
}
.hero-text { flex: 1; padding-right: 24px; }
.kicker { display: inline-block; background: var(--chip); padding: 6px 10px; border-radius: 999px; color: var(--muted); font-size: 13px; }
.hero h2 { font-size: clamp(26px,5vw,42px); line-height: 1.2; margin: .6em 0 .3em; }
.hero p { font-size: 18px; color: var(--muted); }
.cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.btn { appearance: none; border: 0; border-radius: 12px; padding: 12px 16px; font-weight: 600; cursor: pointer; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-strong); }
.btn.ghost { background: #fff; border: 1px solid var(--border); color: var(--ink); }
.divider { width: 1px; background: var(--sage); height: 180px; margin: 0 24px; }
.hero-img img { height: 160px; width: auto; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); }

section { padding: 56px 0; border-top: 1px solid var(--border); }
section h3 { font-size: 26px; margin: 0 0 8px; color: var(--brand-strong); }
section p.lead { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3,1fr); }
.grid.cols-2 { grid-template-columns: repeat(2,1fr); }
@media (max-width:900px){ .grid.cols-3, .grid.cols-2 { grid-template-columns:1fr; } }
.card { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); padding: 18px; }

footer { padding: 36px 0; background: #fafafa; border-top: 1px solid var(--border); color: #444; }
.footer-grid { display: grid; gap: 16px; grid-template-columns: 1.2fr 1fr 1fr; }
.subtle { color: #6b7280; }
@media(max-width:860px){ .footer-grid{grid-template-columns:1fr;} }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow);
  border-radius: 14px; padding: 16px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.cookie-row p { flex: 1; margin: 0; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; }
.btn.small { padding: 10px 12px; border-radius: 10px; font-size: 14px; }

@media(max-width:800px){
  .hero-content { flex-direction: column; text-align: center; }
  .divider { display: none; }
  .hero-text { padding-right: 0; }
  .hero-img { margin-top: 20px; }
}

.card-thumb {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  margin-bottom: 12px;
  object-fit: cover;
  height: 140px;
}

/* ========================================================= */
/* === HERO BUTTON ALIGNMENT FIX === */
/* ========================================================= */

.cta {
  display: flex;
  justify-content: center;   /* centers the buttons horizontally */
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.cta .btn {
  text-align: center;
  min-width: 140px;          /* optional: keeps even width */
}

/* Ensure mobile also stays centered */
@media (max-width: 750px) {
  .cta {
    justify-content: center;
  }
}

/* ========================================================= */
/* === HAMBURGER MENU VISIBILITY & STYLE FIX === */
/* ========================================================= */

/* Base: hidden on desktop */
.nav-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--brand-strong, #374151);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile breakpoint: show toggle, hide full nav list */
@media (max-width: 800px) {
  .nav-toggle {
    display: flex;        /* now visible */
    z-index: 1100;
  }

  nav ul {
    display: none;        /* hide desktop links */
  }
}


/* ========================================================= */
/* === NAV TOGGLE ALIGNMENT & POSITION FIX === */
/* ========================================================= */

.nav {
  position: relative;
}

.nav-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  box-shadow: none;
  padding: 6px;
}

.nav-toggle span {
  background-color: var(--brand-strong);
}




