:root {
  color-scheme: light;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #f1f5f9;
  --text: #1e293b;
  --muted: #475569;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --accent: #0f766e;
  --border: #e2e8f0;
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--text);
  padding: 12px 8px;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--primary-dark);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: #1e293b;
}

.hero,
.page-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  place-items: center;
  padding: 96px 0;
  background-size: cover;
  background-position: center;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(255, 255, 255, 0.84));
  pointer-events: none;
}

.search-banner {
  padding: 42px 0;
}

.search-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  display: grid;
  gap: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.05);
}

.search-panel h2 {
  margin: 0;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.search-form input {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.search-form button {
  white-space: nowrap;
}

.archive-table-wrapper {
  overflow-x: auto;
}

.archive-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.archive-table th,
.archive-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  text-align: left;
}

.archive-table thead th {
  background: #f8fafc;
  font-weight: 700;
}

.archive-table tbody tr:last-child td {
  border-bottom: none;
}

.archive-table a {
  color: var(--primary);
  font-weight: 600;
}

.service-card {
  display: grid;
  gap: 18px;
}

.event-card {
  display: grid;
  gap: 14px;
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #0f172a;
}

.hero-content h1,
.page-hero-content h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0.6rem 0 1rem;
  line-height: 1.05;
}

.hero-content p,
.page-hero-content p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: white;
}

.button-secondary {
  background: var(--surface-strong);
  color: var(--text);
  border-color: var(--border);
}

.features,
.about-preview,
.news,
.contact,
.section-block {
  padding: 72px 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card,
.news-card,
.event-card,
.service-card,
.timeline-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
}

.feature-card h2,
.news-card h3,
.event-card h3,
.service-card h3,
.timeline-card h3 {
  margin-top: 0;
  margin-bottom: 14px;
}

.feature-card p,
.news-card p,
.event-card p,
.service-card p,
.timeline-card p,
.info-grid p,
.about-preview p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 18px;
}

.about-preview {
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.about-image {
  min-height: 320px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  margin: 0.5rem 0 0;
}

.news-grid,
.event-grid,
.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card time {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 14px;
}

.news-card a,
.service-card a {
  display: inline-flex;
  margin-top: 16px;
  color: var(--primary);
  font-weight: 600;
}

.contact-grid,
.info-grid,
.form-grid {
  display: grid;
  gap: 24px;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  color: var(--muted);
}

.contact-list li {
  margin-bottom: 12px;
}

.content-form,
.content-form label,
.contact-form,
.contact-form label {
  width: 100%;
}

.content-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.steps-list li {
  position: relative;
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.steps-list li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 20px;
  top: 20px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-weight: 700;
}

.steps-list {
  counter-reset: step;
}

.timeline-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  padding: 28px 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .features,
  .news-grid,
  .event-grid,
  .service-grid,
  .timeline-grid,
  .about-grid,
  .contact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    min-height: 60vh;
    padding: 72px 0;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    position: absolute;
    inset: 72px 20px auto;
    flex-direction: column;
    padding: 18px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.96);
    display: none;
    width: calc(100% - 40px);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 14px 6px;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content,
  .page-hero-content {
    max-width: 100%;
  }

  .container {
    width: min(100%, calc(100% - 24px));
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}