:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --border: #e6e6e3;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #2D6A4F;
  --accent-hover: #214f3a;
  --accent-soft: #e8f0eb;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.brand { font-size: 18px; font-weight: 700; color: var(--text); text-decoration: none; }
.brand span { color: var(--accent); }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a { font-size: 14px; color: var(--muted); text-decoration: none; font-weight: 500; }
.topbar-links a:hover { color: var(--accent); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.effective {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 32px;
}

h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}

p, li {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
}

ul {
  padding-left: 20px;
  margin: 12px 0;
}
li { margin-bottom: 6px; }

a { color: var(--accent); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-block { display: flex; width: 100%; }

.contact-info {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: #333;
  margin-top: 16px;
}
.contact-info i { color: var(--accent); width: 18px; }

.note {
  font-size: 13px;
  color: var(--muted);
  margin: 12px 0 0;
}

.form-banner {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}
.form-banner.success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
}
.form-banner.error {
  background: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6c0;
}
.success-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 10px 30px rgba(0,0,0,0.06);
}
.success-icon {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 16px;
}
.success-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
}
.success-card p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 24px;
}
.send-another {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.send-another:hover { text-decoration: underline; }

.hidden { display: none !important; }

.footer {
  background: #fff;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand { margin: 0; font-weight: 600; font-size: 14px; color: var(--muted); }
.footer-brand span { color: var(--accent); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }

@media (max-width: 600px) {
  .topbar { padding: 14px 20px; }
  main { padding: 32px 20px 60px; }
  h1 { font-size: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
}
