:root {
  --bg: #f2f0e9;
  --surface: #fcfaf5;
  --text: #162126;
  --muted: #4d5a5f;
  --brand: #007a5a;
  --brand-strong: #005740;
  --accent: #f89f1b;
  --stroke: #d7d4c7;
  --shadow: 0 14px 40px rgba(16, 32, 31, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 90% 10%, #ffe5bd 0%, transparent 35%),
    radial-gradient(circle at 6% 34%, #d8f1e5 0%, transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.bg-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(120deg, rgba(0, 122, 90, 0.1), rgba(248, 159, 27, 0.05));
  z-index: -1;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(252, 250, 245, 0.83);
  border-bottom: 1px solid rgba(215, 212, 199, 0.65);
  z-index: 10;
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--brand), var(--accent));
}

.desktop-nav {
  display: none;
  gap: 1rem;
  color: var(--muted);
}

.desktop-nav a {
  text-decoration: none;
  padding: 0.25rem 0.45rem;
}

.desktop-nav a:hover {
  color: var(--text);
}

.desktop-nav a:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.hero {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.19em;
  font-weight: 700;
  color: var(--brand-strong);
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.1rem, 7vw, 4.2rem);
  margin: 0.5rem 0 1rem;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 1rem;
}

.lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.3rem;
}

.btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.78rem 1.25rem;
  background: var(--brand);
  color: #f7fff9;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--brand-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--stroke);
  color: var(--text);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.hero-card ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.hero-card li {
  margin-bottom: 0.7rem;
}

.microcopy {
  font-size: 0.92rem;
  color: var(--muted);
}

.grid.cards {
  display: grid;
  gap: 1rem;
}

.card {
  padding: 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fffefb;
}

.card p {
  color: var(--muted);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.timeline li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  background: #fffdf8;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 1rem;
}

.timeline span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-strong));
}

.timeline h3 {
  margin: 0;
}

.timeline p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.ticks {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.ticks li {
  margin-bottom: 0.75rem;
}

.cta-band {
  background: linear-gradient(135deg, #073d31 0%, #0f5f4c 54%, #147e64 100%);
  color: #e9fff6;
}

.cta-band p {
  color: #d6f8e8;
}

.cta-band .btn {
  background: #f6bc62;
  color: #15211e;
}

.cta-band .btn:hover,
.cta-band .btn:focus-visible {
  background: #f3ac3d;
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #f5fffa;
}

.site-footer {
  padding: 1.5rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.modal[hidden] {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 33, 38, 0.5);
}

.modal-content {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  width: min(520px, 90vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text);
}

.modal h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.modal-subtitle {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--stroke);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(0, 122, 90, 0.02);
}

.modal-form .btn {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.form-note a {
  color: var(--brand);
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

.form-success {
  background: rgba(0, 122, 90, 0.08);
  border: 1px solid rgba(0, 122, 90, 0.3);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}

.form-error-global {
  background: rgba(200, 30, 30, 0.08);
  border: 1px solid rgba(200, 30, 30, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  font-size: 0.9rem;
  color: #c81e1e;
  margin-bottom: 1rem;
}

.field-error {
  font-size: 0.8rem;
  color: #c81e1e;
  min-height: 1rem;
}

[data-fs-submit-btn]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.reveal {
  opacity: 1;
  transform: none;
  transition: transform 0.7s ease, opacity 0.7s ease;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 780px) {
  .desktop-nav {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.7rem;
  }

  .grid.cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: 1.2fr 1fr;
  }

  .modal-content {
    width: 520px;
  }
}
