/* === TZM SITE — OPTION 1 GREEN STYLE === */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500&family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;1,9..144,300&display=swap');

:root {
  --green: #2d6a4f;
  --green-mid: #52b788;
  --green-light: #b7e4c7;
  --green-pale: #f0faf4;
  --white: #ffffff;
  --off: #f8f8f6;
  --ink: #111111;
  --mid: #666666;
  --rule: #e0e0e0;
  --nav-h: 64px;
  --max-w: 860px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* HEADER */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.logo img { height: 32px; width: auto; }
nav { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 0 0.9rem;
  height: var(--nav-h); line-height: var(--nav-h);
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.03em;
  color: var(--ink); cursor: pointer; transition: color 0.2s; white-space: nowrap;
}
.nav-link:hover { color: var(--green); }
.dropdown {
  display: none; position: absolute; top: var(--nav-h); left: 0;
  background: var(--white); border: 1px solid var(--rule);
  min-width: 175px; padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 200;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.6rem 1.2rem;
  font-size: 0.82rem; font-weight: 400; color: var(--ink);
  transition: color 0.15s, background 0.15s;
}
.dropdown a:hover { color: var(--green); background: var(--off); }
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; padding: 0.5rem; color: var(--ink);
}

/* PAGE LAYOUT */
main { max-width: var(--max-w); margin: 0 auto; padding: 4rem 2rem 6rem; }

/* TYPOGRAPHY */
h1 {
  font-family: 'Fraunces', serif; font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--ink); margin-bottom: 1.75rem;
}
h2 {
  font-family: 'Fraunces', serif; font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300; line-height: 1.25; margin: 3rem 0 1rem; color: var(--ink);
}
h3 { font-family: 'Fraunces', serif; font-size: 1.3rem; font-weight: 300; margin: 2.5rem 0 0.75rem; }
h4 { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin: 2rem 0 0.6rem; }
p { margin-bottom: 1.25rem; color: #2a2a2a; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
li { margin-bottom: 0.5rem; }
strong { font-weight: 500; }
em { font-style: italic; }
hr { border: none; border-top: 1px solid var(--rule); margin: 3rem 0; }

/* PAGE HERO */
.page-hero-img {
  width: 100%; max-height: 320px; object-fit: cover;
  margin-bottom: 3rem; border-bottom: 3px solid var(--green);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em; border: 1px solid var(--ink);
  color: var(--ink); background: transparent; cursor: pointer;
  transition: all 0.2s; margin-right: 0.75rem; margin-bottom: 0.5rem;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn-solid { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-solid:hover { background: #235a40; border-color: #235a40; color: var(--white); }

/* IMAGE GRID */
.img-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 2rem 0;
}
.img-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.img-grid a { display: block; overflow: hidden; }
.img-grid a:hover img { opacity: 0.8; }

/* SOCIAL GRID */
.social-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 2rem 0;
}
.social-grid a {
  background: var(--white); display: flex; align-items: center;
  justify-content: center; padding: 2.5rem 1rem; transition: background 0.15s;
}
.social-grid a:hover { background: var(--green-pale); }
.social-grid img { height: 44px; width: auto; object-fit: contain; }

/* FAQ */
.faq-item { border-top: 1px solid var(--rule); padding: 2rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--rule); }
.faq-q { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 300; margin-bottom: 1rem; line-height: 1.4; color: var(--green); }

/* STAT GRID */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: 2rem; }
.stat { background: var(--white); padding: 1.5rem 1.25rem; }
.stat-num { font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 600; color: var(--green); line-height: 1; margin-bottom: 0.35rem; }
.stat-label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mid); }

/* NAV PILLS */
.nav-pills { display: flex; flex-direction: column; gap: 0.5rem; }
.nav-pill {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border: 1px solid var(--rule);
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
  background: var(--white); transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.nav-pill:hover { border-color: var(--green); background: var(--green-pale); color: var(--green); }
.nav-pill svg { opacity: 0.35; transition: opacity 0.2s, transform 0.2s; }
.nav-pill:hover svg { opacity: 1; transform: translateX(3px); }

/* FOOTER */
footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--mid);
  letter-spacing: 0.03em;
  flex-wrap: wrap;
}
footer a { color: var(--mid); transition: color 0.2s; }
footer a:hover { color: var(--green); opacity: 1; }

/* MOBILE */
@media (max-width: 820px) {
  nav { display: none; }
  .menu-toggle { display: block; }
  nav.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--white); overflow-y: auto; padding: 1rem 0 3rem;
    border-top: 1px solid var(--rule); z-index: 99;
  }
  .nav-link { height: auto; line-height: 1; padding: 0.9rem 1.5rem; width: 100%; }
  .dropdown { display: block; position: static; border: none; border-top: 1px solid var(--rule); padding: 0; background: var(--off); box-shadow: none; }
  .dropdown a { padding-left: 2.5rem; }
  .hero { grid-template-columns: 1fr !important; }
  .hero-left, .hero-right { padding: 3rem 1.75rem !important; min-height: auto !important; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
