/* ==========================================================================
   Concept Collective, Site Stylesheet
   Theme pulled from the logo: teal leaves, brown tree/book, cream background.
   Edit the variables below to tweak colors site-wide.
   ========================================================================== */

:root {
  --teal:        #1B9E96;   /* leaves / primary */
  --teal-dark:   #0E7C75;   /* hover / headings */
  --teal-text:   #1A8C84;   /* "COLLECTIVE" wordmark */
  --brown:       #9A6A3C;   /* tree / "CONCEPT" wordmark */
  --brown-dark:  #7E5430;
  --cream:       #FAFAF6;   /* page background */
  --cream-2:     #F1EFE7;   /* alt section background */
  --ink:         #2C3A36;   /* body text */
  --muted:       #5E6B66;   /* secondary text */
  --line:        #E2DED3;   /* borders */
  --white:       #FFFFFF;
  --radius:      14px;
  --shadow:      0 6px 24px rgba(44, 58, 54, 0.08);
  --max:         1120px;
  --font:        "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { color: var(--teal-dark); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

section { padding: clamp(48px, 8vw, 90px) 0; }
.section-alt { background: var(--cream-2); }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; margin: 0 auto 1.5em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease;
  font-size: 1rem;
}
.btn:hover { background: var(--teal-dark); text-decoration: none; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-brown { background: var(--brown); }
.btn-brown:hover { background: var(--brown-dark); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 246, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 22px; max-width: var(--max); margin: 0 auto;
}
.nav .brand { display: flex; align-items: center; gap: 10px; }
.nav .brand img { height: 66px; width: auto; }
.nav .brand strong {
  color: var(--brown); font-size: 1.05rem; letter-spacing: .5px;
  display: none;
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink); padding: 9px 14px; border-radius: 8px; font-weight: 600;
}
.nav-links a:hover { background: var(--cream-2); text-decoration: none; }
.nav-links a.active { color: var(--teal-dark); }
.nav-links .btn { color: var(--white); }
.nav-links .btn:hover { color: var(--white); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.8rem; color: var(--teal-dark); padding: 4px 8px; line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #F4FBFA 0%, var(--cream) 55%, #F7F2EA 100%);
  text-align: center;
}
.hero .wrap { padding-top: clamp(40px, 7vw, 70px); padding-bottom: clamp(40px, 7vw, 70px); }
.hero img.hero-logo { height: clamp(260px, 42vw, 400px); width: auto; margin: 0 auto 18px; }
.hero h1 { margin-bottom: .25em; }
.hero .tagline { color: var(--brown); font-weight: 700; letter-spacing: 1px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: #E7F4F2; color: var(--teal-dark); font-size: 1.5rem; margin-bottom: 14px;
}
.card h3 { color: var(--brown); }

/* tag/pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }
.pill {
  background: var(--white); border: 1px solid var(--line); color: var(--teal-dark);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem;
}

/* ---------- Forms ---------- */
.form { max-width: 640px; margin: 0 auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--white); color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(27,158,150,.15);
}

.newsletter { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
.newsletter input { flex: 1; min-width: 200px; }

/* ---------- Resource list ---------- */
.resource {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 14px;
}
.resource h3 { margin: 0 0 2px; color: var(--brown); font-size: 1.05rem; }
.resource p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: #143C39; color: #D7E6E4; padding: 56px 0 28px; }
.site-footer a { color: #9FD9D3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); margin: 0 0 14px; font-size: 1rem; letter-spacing: .5px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand strong { color: var(--white); font-size: 1.2rem; }
.social { display: flex; gap: 14px; margin-top: 10px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.1);
  display: grid; place-items: center; color: var(--white); font-size: .85rem; font-weight: 700;
}
.social a:hover { background: var(--teal); text-decoration: none; }
.footer-bottom {
  text-align: center; margin-top: 40px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12); color: #9FB6B3; font-size: .9rem;
}

/* ---------- Responsive: tablet ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive: phone ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 86px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 10px; border-radius: 8px; }
  .nav-links .btn { text-align: center; margin-top: 6px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .resource { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { width: 100%; }
}

/* ---------- Responsive: large desktop / wide screens ---------- */
@media (min-width: 1280px) {
  :root { --max: 1200px; }
  body { font-size: 18px; }
  .hero img.hero-logo { height: clamp(340px, 30vw, 440px); }
  .hero .wrap { padding-top: 84px; padding-bottom: 84px; }
}

