
:root {
  --green-900: #0f5132;
  --green-700: #1f7a4d;
  --green-600: #2c9a62;
  --green-500: #40b678;
  --green-100: #e9f8ef;
  --white: #ffffff;
  --ink: #1f2a24;
  --muted: #4b5f55;
  --shadow: 0 18px 40px rgba(15, 81, 50, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 8%, rgba(64, 182, 120, 0.26), transparent 35%),
    radial-gradient(circle at 10% 24%, rgba(44, 154, 98, 0.12), transparent 35%),
    linear-gradient(180deg, #f6fff9, #ffffff 38%, #f3fbf6);
  line-height: 1.5;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(15, 81, 50, 0.08);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--green-900);
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--green-700), var(--green-500));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.03em;
}

.site-nav {
  display: flex;
  gap: 0.5rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--green-900);
  font-weight: 700;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  transition: background-color 220ms ease, color 220ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--green-100);
  color: var(--green-700);
}

.hero,
.page-hero {
  padding: 4.4rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  font-family: "Outfit", sans-serif;
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  margin-bottom: 0.9rem;
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 56ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.btn {
  border: 0;
  border-radius: 12px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  padding: 0.82rem 1.2rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(140deg, var(--green-700), var(--green-500));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(31, 122, 77, 0.28);
}

.btn-light {
  color: var(--green-900);
  background: var(--white);
  border: 1px solid rgba(31, 122, 77, 0.24);
}

.btn-block {
  width: 100%;
  text-align: center;
}

.hero-card,
.panel,
.feature {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 81, 50, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.35rem 1.2rem 1.1rem;
}

.hero-card ul,
.clean-list {
  padding-left: 1.2rem;
  margin: 0.6rem 0 0;
}

.hero-card li,
.clean-list li {
  margin-bottom: 0.45rem;
}

.hero-note {
  margin-top: 0.75rem;
  color: var(--green-700);
  font-weight: 700;
}

.section {
  padding: 1rem 0 3.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 1.3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature {
  padding: 1.1rem;
}

.card-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(15, 81, 50, 0.12);
  margin-bottom: 0.8rem;
  background: #f5fcf8;
  padding: 0.35rem;
}

.vacancy-card .card-image {
  height: 180px;
}

.feature p,
.panel p {
  color: var(--muted);
}

.jobs-head {
  text-align: center;
  margin-bottom: 1rem;
}

.jobs-head p {
  color: var(--muted);
}

.vacancy-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.jobs-cta {
  justify-content: center;
  margin-top: 1.1rem;
}

.jobs-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1rem;
}

.jobs-panel {
  padding: 1.3rem;
}

.vacancy-filters {
  display: grid;
  gap: 0.55rem;
}

.vacancy-filters label {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--green-900);
}

.vacancy-filters input,
.vacancy-filters select {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 81, 50, 0.18);
  font: inherit;
  background: #fff;
}

.jobs-results-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.jobs-results-head p {
  margin: 0;
  font-weight: 700;
  color: var(--green-700);
}

.vacancy-list {
  display: grid;
  gap: 0.8rem;
}

.vacancy-card {
  border: 1px solid rgba(15, 81, 50, 0.15);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(180deg, #ffffff, #fbfffc);
}

.vacancy-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.vacancy-card-head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.vacancy-meta {
  font-weight: 700;
  color: var(--green-700);
  font-size: 0.95rem;
}

.badge {
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.pill-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin: 0.65rem 0;
}

.pill {
  border: 1px solid rgba(15, 81, 50, 0.2);
  color: var(--green-700);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.22rem 0.62rem;
}

.empty-state {
  color: var(--muted);
  font-weight: 700;
}

.apply-dialog {
  width: min(560px, 92%);
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0;
}

.apply-dialog::backdrop {
  background: rgba(6, 31, 19, 0.52);
}

.apply-dialog-body {
  padding: 1.2rem;
}

.apply-dialog-body h3 {
  margin-bottom: 0.3rem;
}

.apply-dialog-body p {
  color: var(--muted);
}

.auth-section {
  min-height: calc(100vh - 180px);
  display: grid;
  align-items: center;
}

.auth-card {
  max-width: 520px;
  margin: 0 auto;
}

.auth-form {
  display: grid;
  gap: 0.55rem;
}

.auth-form label {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--green-900);
}

.auth-form input {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 81, 50, 0.18);
  font: inherit;
}

.auth-hint {
  margin-top: 0.9rem;
  color: var(--muted);
  font-weight: 700;
}

.admin-head p {
  color: var(--muted);
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.admin-panel {
  padding: 1.3rem;
}

.analytics-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}

.analytics-card {
  border: 1px solid rgba(15, 81, 50, 0.15);
  border-radius: 12px;
  padding: 0.8rem;
  background: #fbfffc;
}

.analytics-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.analytics-card p {
  margin: 0;
  color: var(--green-700);
  font-size: 1.45rem;
  font-weight: 800;
}

.analytics-table-wrap {
  overflow-x: auto;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
}

.analytics-table th,
.analytics-table td {
  border-bottom: 1px solid rgba(15, 81, 50, 0.12);
  padding: 0.62rem 0.45rem;
  text-align: left;
  vertical-align: top;
}

.analytics-table th {
  font-family: "Outfit", sans-serif;
  color: var(--green-900);
}

.admin-vacancy-table-wrap {
  margin-top: 1rem;
}

.table-btn {
  border: 1px solid rgba(15, 81, 50, 0.2);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--green-900);
  background: #fff;
  margin-right: 0.35rem;
}

.table-btn.danger {
  border-color: rgba(180, 35, 24, 0.3);
  color: #b42318;
}

.status-pill {
  padding: 0.22rem 0.56rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.status-open {
  background: var(--green-100);
  color: var(--green-900);
}

.status-closed {
  background: #fee4e2;
  color: #912018;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.panel {
  padding: 1.3rem;
}

.highlight-panel {
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    linear-gradient(140deg, rgba(64, 182, 120, 0.23), rgba(233, 248, 239, 0.7));
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: var(--green-900);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(15, 81, 50, 0.18);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(64, 182, 120, 0.4);
  border-color: var(--green-500);
}

.form-status {
  min-height: 1.5em;
  margin-top: 0.8rem;
  font-weight: 700;
}

.form-status.success {
  color: var(--green-700);
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  border-top: 1px solid rgba(15, 81, 50, 0.1);
  background: #f6fff9;
  margin-top: 1rem;
}

.footer-wrap {
  min-height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-wa {
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
}

.reveal-up {
  opacity: 0;
  animation: revealUp 700ms ease forwards;
}

.delay-1 {
  animation-delay: 130ms;
}

.delay-2 {
  animation-delay: 240ms;
}

@keyframes revealUp {
  from {
    transform: translateY(14px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .feature-grid,
  .vacancy-preview-grid,
  .about-grid,
  .contact-grid,
  .jobs-shell,
  .admin-grid,
  .analytics-cards {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 3.2rem;
  }
}

@media (max-width: 620px) {
  .card-image,
  .vacancy-card .card-image {
    height: 170px;
  }

  .nav-wrap {
    flex-direction: column;
    justify-content: center;
    padding: 0.8rem 0;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-wrap {
    justify-content: center;
    text-align: center;
  }
}