:root {
  --scholar-gold: #D4AF37;
  --base-green: #006400;
  --text-navy: #001F3F;
  --deep-green: #0b5f2d;
  --mist: #eef5ee;
  --line: rgba(0, 31, 63, 0.14);
  --bg-white: #FFFFFF;
  --muted: #5a6675;
  --panel: #f7f9f6;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text-navy);
  background:
    radial-gradient(circle at 10% 0%, rgba(212, 175, 55, 0.18), transparent 28%),
    radial-gradient(circle at 100% 80%, rgba(0, 100, 0, 0.14), transparent 34%),
    #f4f7f2;
}

a { color: inherit; text-decoration: none; }
.wrapper { width: min(1120px, 92vw); margin: 0 auto; }

.btn {
  border: 1px solid var(--line);
  background: var(--bg-white);
  color: var(--text-navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.68rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: var(--base-green);
}

.btn-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--base-green), var(--deep-green));
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 31, 63, 0.08);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img { width: 38px; height: 38px; }
.brand-name { font-weight: 800; letter-spacing: -0.02em; }
.brand-name .gold { color: var(--scholar-gold); }
.brand-name .green { color: var(--base-green); }

.site-nav-toggle,
.site-nav-button {
  display: none;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.menu a {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 31, 63, 0.12);
  font-size: 0.86rem;
  font-weight: 600;
}
.menu a:hover { border-color: var(--base-green); }

.hero {
  padding: 4.2rem 0 2.5rem;
}
.hero-panel {
  display: grid;
  gap: 1.4rem;
  background: linear-gradient(135deg, rgba(0, 31, 63, 0.95), rgba(0, 100, 0, 0.94));
  color: #fff;
  border-radius: 26px;
  padding: clamp(1.2rem, 2.6vw, 2.2rem);
  box-shadow: 0 24px 64px rgba(0, 31, 63, 0.24);
}
.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
}
.hero p { margin: 0; color: rgba(255,255,255,0.84); }
.logo-duo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.logo-duo img { width: 76px; height: auto; }

.logo-duo.logo-single img {
  width: clamp(112px, 18vw, 180px);
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pill {
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
}

.section {
  padding: 1rem 0 2.7rem;
}

.section-tight {
  padding-top: 0;
  padding-bottom: 0;
}

.section-card {
  background: var(--bg-white);
  border-radius: 22px;
  border: 1px solid rgba(0, 31, 63, 0.08);
  padding: clamp(1rem, 2.3vw, 1.8rem);
  box-shadow: 0 12px 34px rgba(0, 31, 63, 0.08);
}
.section h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
.lead { color: var(--muted); line-height: 1.7; margin: 0; }

.grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.metric {
  padding: 0.9rem;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid rgba(0, 31, 63, 0.08);
}
.metric strong {
  display: block;
  color: var(--base-green);
  font-size: 1.4rem;
}
.metric span { color: var(--muted); font-size: 0.88rem; }

.cards-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 0.9rem;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #f9fcf8);
}

.service-card h3 {
  margin: 0;
  color: var(--base-green);
  font-size: 1.03rem;
}

.service-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.feature-list {
  margin: 1rem 0 0;
  padding-left: 1rem;
  line-height: 1.8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.flash {
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  margin: 0.35rem 0;
  border: 1px solid var(--line);
  background: #fff;
}

.flash-success {
  border-color: rgba(0, 100, 0, 0.22);
  background: rgba(0, 100, 0, 0.08);
}

.flash-error {
  border-color: rgba(184, 62, 45, 0.25);
  background: rgba(184, 62, 45, 0.08);
}

.web-form {
  margin-top: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

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

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-navy);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.63rem 0.74rem;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-navy);
  background: #fff;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-field ul.errorlist {
  margin: 0;
  padding-left: 1rem;
  color: #b83e2d;
  font-size: 0.8rem;
}

.form-checks {
  gap: 0.4rem;
  justify-content: center;
}

.form-checks label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.form-checks input {
  width: auto;
}

.footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 31, 63, 0.1);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-grid p {
  margin: 0.55rem 0 0;
  line-height: 1.7;
}

.footer-grid h4 {
  margin: 0;
  color: var(--text-navy);
}

.footer-grid a {
  display: block;
  margin-top: 0.4rem;
}

.footer-meta {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0, 31, 63, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.75rem;
}

.powered-by a {
  color: var(--text-navy);
  font-weight: 700;
}

@media (max-width: 780px) {
  .nav-row {
    align-items: center;
    flex-wrap: wrap;
  }

  .site-nav-button {
    display: inline-flex;
    width: 42px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
  }

  .site-nav-button span {
    width: 20px;
    height: 2px;
    background: var(--text-navy);
  }

  .menu {
    display: none;
    width: 100%;
    margin-top: 0.8rem;
  }

  .site-nav-toggle:checked ~ .menu {
    display: flex;
  }

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

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

  .powered-by {
    display: flex;
    margin-left: 0;
    margin-top: 0;
  }
}
