:root {
  --ink: #152028;
  --ink-soft: #3a4a56;
  --paper: #f6f3ee;
  --paper-2: #efeae2;
  --line: #d7d0c5;
  --accent: #0f5c4c;
  --accent-2: #147a66;
  --accent-soft: #d9ebe6;
  --warn: #8a5a12;
  --warn-bg: #f7edd9;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(21, 32, 40, 0.08);
  --radius: 16px;
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(20, 122, 102, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf9f6 0%, var(--paper) 42%, #f3efe8 100%);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-2); }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto; }

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 100;
  background: var(--white); padding: .6rem 1rem; border-radius: 8px;
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(246, 243, 238, 0.88);
  border-bottom: 1px solid rgba(215, 208, 197, 0.8);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .95rem 0;
}
.brand {
  display: flex; align-items: center; gap: .8rem;
  color: inherit; text-decoration: none;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(145deg, #0f5c4c, #1f8f78);
  color: white; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
}
.brand-text strong { display: block; font-size: 1rem; letter-spacing: .01em; }
.brand-text span { display: block; color: var(--ink-soft); font-size: .82rem; }

.nav {
  display: flex; align-items: center; gap: .35rem 1rem; flex-wrap: wrap;
}
.nav a {
  color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .35rem .2rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .cta {
  background: var(--accent); color: white !important;
  padding: .55rem 1rem; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 92, 76, 0.22);
}
.nav .cta:hover { background: var(--accent-2); }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px;
  overflow: hidden; background: var(--white);
}
.lang-switch button, .lang-switch a {
  border: 0; background: transparent; color: var(--ink-soft);
  padding: .35rem .7rem; font: inherit; font-weight: 700; font-size: .8rem;
  cursor: pointer; text-decoration: none;
}
.lang-switch .active { background: var(--ink); color: white; }

.menu-toggle {
  display: none; border: 1px solid var(--line); background: white;
  border-radius: 10px; padding: .55rem .7rem; font: inherit; font-weight: 700;
}

.hero {
  padding: 3.6rem 0 2.4rem;
  display: grid; grid-template-columns: 1.2fr .9fr; gap: 2rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--accent); font-weight: 700; font-size: .9rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: .65rem; height: .65rem; border-radius: 50%;
  background: var(--accent);
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650; line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 .8rem;
}
h1 { font-size: clamp(2.3rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  border-radius: 999px; padding: .8rem 1.25rem; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer; font: inherit;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-2); color: white; }
.btn-secondary { background: white; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 24px;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.hero-card .stat {
  display: grid; gap: .2rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.hero-card .stat:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card .stat strong { font-family: var(--font-display); font-size: 1.35rem; }
.hero-card .stat span { color: var(--ink-soft); font-size: .95rem; }

.section { padding: 2.8rem 0; }
.section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.muted { color: var(--ink-soft); }

.grid-3, .grid-2, .grid-4 {
  display: grid; gap: 1rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.3rem;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: .9rem;
  background: var(--accent-soft); color: var(--accent); font-weight: 800;
}
.list-clean { list-style: none; padding: 0; margin: 0; }
.list-clean li {
  padding: .55rem 0 .55rem 1.3rem; position: relative;
  border-bottom: 1px solid var(--line);
}
.list-clean li:last-child { border-bottom: 0; }
.list-clean li::before {
  content: ""; position: absolute; left: 0; top: 1rem;
  width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent);
}

.band {
  background: linear-gradient(135deg, #103f36, #0f5c4c 55%, #176b5a);
  color: white; border-radius: 28px; padding: 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  box-shadow: var(--shadow);
}
.band p { color: rgba(255,255,255,.86); margin: .4rem 0 0; max-width: 38rem; }
.band .btn-primary { background: white; color: var(--accent); }
.band .btn-primary:hover { background: var(--paper); color: var(--accent); }

.page-hero {
  padding: 2.6rem 0 1.2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.form {
  background: white; border: 1px solid var(--line); border-radius: 24px;
  padding: 1.5rem; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: grid; gap: .4rem; font-weight: 700; font-size: .92rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem; font: inherit; background: #fcfbf9; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(15,92,76,.25); border-color: var(--accent);
  background: white;
}
textarea { min-height: 150px; resize: vertical; }
.help { font-weight: 500; color: var(--ink-soft); font-size: .88rem; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: .4rem; }
.notice {
  border-radius: 14px; padding: 1rem 1.1rem; margin: 1rem 0;
  border: 1px solid var(--line); background: var(--paper-2);
}
.notice.warn { background: var(--warn-bg); border-color: #e4d0a6; color: #5d3d0c; }
.notice.ok { background: #e7f5ef; border-color: #b7decc; color: #14523f; }
.notice.err { background: #fdeceb; border-color: #f0c2bd; color: #8a2a22; }
.placeholder-tag {
  display: inline-block; margin-left: .35rem;
  background: var(--warn-bg); color: var(--warn);
  border: 1px solid #e4d0a6; border-radius: 999px;
  padding: .1rem .55rem; font-size: .78rem; font-weight: 700;
}

.legal h2 { margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal strong { color: var(--ink); }

.site-footer {
  margin-top: 3rem; border-top: 1px solid var(--line);
  background: #ece7df; padding: 2.2rem 0 2.6rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem;
}
.site-footer h3 { font-size: 1rem; margin-bottom: .7rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-meta {
  margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: .9rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero, .grid-3, .grid-4, .footer-grid, .band { grid-template-columns: 1fr; display: grid; }
  .band { display: grid; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    padding-bottom: 1rem;
  }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
