@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --petrol: #2a5e56;
  --petrol-dark: #10473e;
  --green: #168437;
  --green-2: #469335;
  --lime: #93a224;
  --lime-2: #adb915;
  --yellow: #dccb1b;

  --ink: #1d3a35;
  --muted: #4f6a64;
  --bg: #f5f7ef;
  --surface: #ffffff;
  --line: #e2e8dc;

  --gradient: linear-gradient(100deg, var(--green) 0%, var(--green-2) 30%, var(--lime) 60%, var(--lime-2) 78%, var(--yellow) 100%);
  --radius: 28px;
  --shadow: 0 30px 60px -30px rgba(16, 71, 62, .35), 0 8px 24px -12px rgba(16, 71, 62, .18);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  animation: float 18s ease-in-out infinite alternate;
}
.blob--1 { width: 46vmax; height: 46vmax; top: -18vmax; left: -14vmax; background: #b9dcc0; }
.blob--2 { width: 38vmax; height: 38vmax; bottom: -16vmax; right: -10vmax; background: #efe58a; animation-delay: -6s; }
.blob--3 { width: 26vmax; height: 26vmax; top: 40%; right: 18%; background: #d4e39a; opacity: .35; animation-delay: -12s; }

@keyframes float {
  to { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); }
}

.page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(24px, 6vw, 72px) 16px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 760px;
  padding: clamp(28px, 6vw, 64px);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: rise .7s cubic-bezier(.2, .8, .2, 1) both;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--gradient);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
}

.card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 5vw, 44px);
}

.logo { display: block; width: min(280px, 70vw); height: auto; }


h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--petrol);
  text-wrap: balance;
}

h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 650;
  color: var(--petrol);
}

p { margin: 0 0 14px; }

.lead { font-size: 1.25rem; color: var(--ink); }
.card > p:not(.lead) { color: var(--muted); }

.social {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.social__intro { color: var(--muted); }
.social__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.social__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.social__link svg {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  color: #fff;
  border-radius: 14px;
}
.social__link--ig svg { background: var(--green); }
.social__link--fb svg { background: var(--petrol); }
.social__link span { display: flex; flex-direction: column; line-height: 1.3; }
.social__link strong { font-weight: 650; }
.social__link small { font-size: .9rem; color: var(--muted); }
.social__link:hover,
.social__link:focus-visible {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--lime-2);
  box-shadow: 0 14px 28px -16px rgba(16, 71, 62, .45);
}

.member {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: 28px;
  padding: 24px 26px;
  color: #fff;
  background: var(--petrol);
  background-image: radial-gradient(circle at 100% 0%, rgba(220, 203, 27, .35), transparent 55%);
  border-radius: 20px;
}
.member h2 { color: #fff; }
.member p { margin: 0; color: rgba(255, 255, 255, .85); }
.member > div { flex: 1 1 260px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-weight: 650;
  color: var(--petrol-dark);
  text-decoration: none;
  background: var(--yellow);
  border-radius: 999px;
  transition: transform .2s, background .2s;
}
.btn svg { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover, .btn:focus-visible { background: #e8d83a; transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.sign { margin-top: 36px; }
.sign p { color: var(--muted); }
.sign__name { margin: 0; color: var(--ink); }
.sign__name strong { color: var(--petrol); font-weight: 650; }

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  padding: 0 16px 28px;
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
}
.footer nav { display: flex; gap: 20px; }
.footer a {
  color: var(--petrol);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.footer a:hover, .footer a:focus-visible { border-color: var(--lime-2); }

:focus-visible { outline: 3px solid var(--lime-2); outline-offset: 3px; }

.modal {
  width: min(760px, calc(100% - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 0;
  border-radius: 22px;
  box-shadow: 0 40px 80px -20px rgba(16, 71, 62, .5);
  overflow: hidden;
}
.modal[open] { display: flex; flex-direction: column; }
.modal::backdrop {
  background: rgba(16, 71, 62, .55);
  backdrop-filter: blur(4px);
}
.modal[open] { animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
}

.modal[open]:not(:modal) {
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 10;
  box-shadow: 0 0 0 100vmax rgba(16, 71, 62, .55), 0 40px 80px -20px rgba(16, 71, 62, .5);
}

.modal__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 16px 28px;
  border-bottom: 1px solid var(--line);
}
.modal__bar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--gradient);
}
.modal__title { font-weight: 650; color: var(--petrol); }
.modal__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--petrol);
  text-decoration: none;
  background: var(--bg);
  border-radius: 50%;
  transition: background .2s, transform .2s;
}
.modal__close:hover { background: #eef4d6; transform: rotate(90deg); }

.modal__body {
  padding: 8px 28px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.legal { font-size: 1rem; overflow-wrap: break-word; hyphens: auto; }
.legal h1 { margin: 20px 0 16px; font-size: clamp(1.6rem, 5vw, 2.1rem); }
.legal h2 { margin: 28px 0 8px; font-size: 1.25rem; }
.legal h3 { margin: 22px 0 6px; font-size: 1.05rem; color: var(--petrol-dark); }
.legal h4 { margin: 16px 0 4px; font-size: 1rem; color: var(--ink); }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.25em; }
.legal a { color: var(--green); }

@media (max-width: 560px) {
  .card__head { flex-direction: column-reverse; }
  .member { padding: 22px; }
  .btn { width: 100%; justify-content: center; }
  .modal__body { padding: 4px 20px 28px; }
  .modal__bar { padding-left: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
