/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #5d493a;
  --primary-light:  #8a6b57;
  --accent:         #ffef00;
  --accent-soft:    #f4ffd6;
  --teal:           #b79999;
  --teal-light:     #cdb5b5;
  --bg:             #f8f8f5;
  --surface:        #ffffff;
  --text:           #070705;
  --text-muted:     #4a3728;
  --border:         #e0d8cf;
  --radius:         10px;
  --shadow:         0 2px 12px rgba(93,73,58,.10);
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

/* ─── Navigation ─── */
.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.navbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
}

.navbar__brand svg { flex-shrink: 0; }

.navbar__links {
  list-style: none;
  display: flex;
  gap: .25rem;
}

.navbar__links a {
  color: rgba(255,255,255,.85);
  padding: .45rem .9rem;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 500;
  transition: background .2s, color .2s;
  text-decoration: none;
}

.navbar__links a:hover,
.navbar__links a.active {
  background: var(--accent);
  color: var(--text);
}

/* ─── Hero ─── */
.hero {
  background: #ffffff;
  color: var(--text);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto .8rem;
}

.hero p {
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.btn {
  display: inline-block;
  padding: .75rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); background: var(--accent); color: var(--text); border-color: var(--accent); text-decoration: none; }

.btn--white  { background: #fff; color: var(--primary); }
.btn--outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn--primary { background: var(--primary); color: #fff; }

.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── Section Wrappers ─── */
.section { padding: 4rem 1.5rem; }
.section--alt { background: var(--accent-soft); }

.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .6rem;
}

.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

/* ─── Cards ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(93,73,58,.14); }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.card p  { color: var(--text-muted); font-size: .93rem; }

/* ─── Stats Strip ─── */
.stats { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 3rem; }

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 2rem;
  text-align: center;
  min-width: 160px;
}

.stat__num  { font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat__label { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }

/* ─── Two-column layout ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 680px) { .two-col { grid-template-columns: 1fr; } }

/* ─── Team ─── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
}

.team-card h4  { font-weight: 700; margin-bottom: .2rem; }
.team-card span { font-size: .85rem; color: var(--primary); font-weight: 600; }
.team-card p   { margin-top: .5rem; font-size: .88rem; color: var(--text-muted); }

/* ─── Resource cards ─── */
.resource-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.resource-card__tag {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--accent-soft);
  color: var(--primary);
  width: fit-content;
}

.resource-card h3 { font-size: 1rem; font-weight: 700; }
.resource-card p  { font-size: .9rem; color: var(--text-muted); flex: 1; }
.resource-card a  { font-size: .88rem; font-weight: 600; }

/* ─── Contact Form ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 680px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; }

.contact-info__item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-info__item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info__item strong { display: block; font-weight: 600; font-size: .9rem; }
.contact-info__item span   { font-size: .88rem; color: var(--text-muted); }

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color .2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  background: #ffffff;
  color: var(--text);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: .5rem; }
.page-hero p  { color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ─── Values ─── */
.values-list { list-style: none; display: flex; flex-direction: column; gap: .8rem; }

.values-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
}

.values-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ─── Accordion (FAQ) ─── */
details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}

summary {
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform .2s;
}

details[open] summary::after { transform: rotate(45deg); }

details p {
  padding: 0 1.4rem 1.2rem;
  color: var(--text-muted);
  font-size: .93rem;
}

/* ─── Footer ─── */
footer {
  background: var(--text);
  color: rgba(255,255,255,.75);
  margin-top: auto;
  padding: 2.5rem 1.5rem;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__brand { color: #fff; font-weight: 700; font-size: 1rem; }
.footer__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer__links a { color: rgba(255,255,255,.65); font-size: .88rem; }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: .82rem; }

/* ─── Legal Pages ─── */
.legal { max-width: 720px; }
.legal h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin: 2.2rem 0 .7rem;
}
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); line-height: 1.75; }
.legal p { margin-bottom: .9rem; }
.legal ul { margin: 0 0 .9rem 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal__updated {
  font-size: .85rem;
  color: var(--text-muted);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ─── Responsive Nav ─── */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}

.navbar__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .navbar__toggle { display: flex; }

  .navbar__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: .5rem 1.5rem 1rem;
    background: var(--primary);
    box-shadow: 0 6px 12px rgba(0,0,0,.18);
  }

  .navbar__links.is-open { display: flex; }

  .navbar__links a {
    display: block;
    padding: .75rem .9rem;
    font-size: 1rem;
  }
}
