:root {
  --primary: #1f9e7a;
  --accent: #f6b800;
  --dark: #0f172a;
  --text: #0b1724;
  --muted: #4b5563;
  --bg: #f8fafc;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  border-radius: 12px;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  color: var(--dark);
}

p {
  margin: 0 0 10px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.logo {
  font-weight: 800;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  color: var(--dark);
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  font-weight: 600;
}

.nav a:hover,
.nav a.active {
  background: rgba(31, 158, 122, 0.12);
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  padding: 60px 6vw;
}

.hero__content h1 {
  font-size: clamp(28px, 3vw + 12px, 44px);
}

.hero__content .lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.lead {
  margin: 0 0 18px;
}

.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 14px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), #15c39a);
  color: white;
  box-shadow: 0 12px 30px rgba(21, 195, 154, 0.25);
}

.btn.ghost {
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--dark);
  background: white;
}

.btn:hover {
  transform: translateY(-1px);
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.badges span {
  padding: 8px 12px;
  background: rgba(31, 158, 122, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-weight: 600;
}

.section {
  padding: 50px 6vw;
}

.section--alt {
  background: white;
}

.section__header {
  max-width: 780px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.cards .card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.cards .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.card h3 {
  margin-top: 12px;
  margin-bottom: 6px;
}

.card .tag {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(246, 184, 0, 0.15);
  color: #aa7a00;
  font-weight: 700;
  margin-top: 8px;
}

.news-list {
  display: grid;
  gap: 14px;
}

.news {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.news__date {
  font-weight: 700;
  color: var(--muted);
}

.news__cta {
  color: var(--primary);
  font-weight: 700;
}

.footer {
  padding: 26px 6vw 32px;
  background: var(--dark);
  color: #e2e8f0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links a {
  color: #cbd5e1;
}

.footer__meta {
  align-self: end;
  color: #94a3b8;
}

.page {
  padding: 40px 6vw 60px;
}

.page__hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: white;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease;
}

.chip.active {
  background: rgba(31, 158, 122, 0.12);
  color: var(--primary);
  border-color: rgba(31, 158, 122, 0.3);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline__item {
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.timeline__year {
  display: inline-block;
  background: rgba(31, 158, 122, 0.1);
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 700;
}

.team .card img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.form {
  background: white;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.05);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

label {
  font-weight: 700;
}

input,
select,
textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font: inherit;
  background: #fdfdfd;
}

.form__status {
  color: var(--primary);
  font-weight: 700;
  min-height: 20px;
}

.map img {
  width: 100%;
  height: auto;
}

.hero__thumb {
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.news,
.card,
.timeline__item {
  transform: translateY(0);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news:hover,
.timeline__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

@media (max-width: 960px) {
  .nav {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 58px;
    right: 16px;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  }

  .nav.show {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

