/* Variables */
:root {
  --navy:       #0d2416;
  --blue:       #2d7a52;
  --blue-light: #52c490;
  --text:       #0f2318;
  --text-muted: #5a7a66;
  --bg:         #ffffff;
  --bg-subtle:  #f2f8f5;
  --border:     #d4e8db;
  --radius:     12px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.nav-brand img {
  height: 126px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.925rem;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: var(--bg-subtle);
}

.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 8px;
}

.nav-cta:hover {
  background: #1a4030 !important;
}

/* Main */
main { flex: 1; }

/* Hero (home) */
.hero {
  padding: 7rem 2rem 6rem;
  text-align: center;
  background: linear-gradient(160deg, #edf7f1 0%, #ffffff 60%);
  border-bottom: 1px solid var(--border);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: #edf7f1;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--navy);
  max-width: 780px;
  margin: 0 auto 1.25rem;
}

.hero h1 span { color: var(--blue); }

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-primary {
  background: var(--navy);
  color: white;
}

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  margin-left: 0.75rem;
}

/* Home intro strip */
.intro-strip {
  padding: 4.5rem 2rem;
  background: var(--bg);
}

.intro-strip .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-strip h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.intro-strip p { color: var(--text-muted); margin-bottom: 0.75rem; }

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
}

.stat h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.04em;
}

.stat p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 2rem 4rem;
  background: linear-gradient(160deg, #edf7f1 0%, #ffffff 70%);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

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

/* Sections */
.section {
  padding: 5rem 2rem;
}

.section-alt { background: var(--bg-subtle); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

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

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

.card:hover {
  box-shadow: 0 8px 30px rgba(13,36,22,0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: #edf7f1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  background: #edf7f1;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  margin-top: 1.25rem;
}

/* Training cards (wider) */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 1.5rem;
}

.training-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  transition: box-shadow 0.2s;
}

.training-card:hover { box-shadow: 0 6px 24px rgba(13,36,22,0.08); }

.training-card .card-icon { margin-bottom: 0; flex-shrink: 0; }

.training-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.training-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.training-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

/* About — mission / values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.value-card .value-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* About — team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.75rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4eedd, #a8d5be);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
}

.team-card h3 {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* About — story */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.story-layout h2 {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1rem;
}

.story-layout p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

/* Connect — inquiry form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,122,82,0.12);
}

.form-field textarea { resize: vertical; }

.inquiry-form .btn-primary {
  align-self: flex-start;
  border: none;
}

/* CTA banner */
.cta-banner {
  padding: 5rem 2rem;
  background: var(--navy);
  text-align: center;
}

.cta-banner h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #7aab90;
  margin-bottom: 2rem;
}

.cta-banner .btn-primary {
  background: var(--blue);
}

/* Footer */
footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.footer-brand img { height: 48px; width: auto; mix-blend-mode: multiply; }

footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--navy); }

/* Responsive */
@media (max-width: 768px) {
  .intro-strip .container,
  .story-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .training-grid {
    grid-template-columns: 1fr;
  }

  .nav-links { display: none; }

  .hero { padding: 5rem 1.25rem 4rem; }
}
