@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-alt: #eef5ff;
  --text: #10243f;
  --muted: #5d6f89;
  --stroke: #d8e4f3;
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --accent-soft: #e6f7ff;
  --positive: #0d9488;
  --shadow: 0 16px 36px rgba(16, 36, 63, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.15), transparent 36%),
    radial-gradient(circle at top left, rgba(13, 148, 136, 0.12), transparent 30%),
    var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(216, 228, 243, 0.9);
  backdrop-filter: blur(10px);
  background: rgba(244, 248, 255, 0.88);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: #334862;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: #0b3a59;
  background: var(--accent-soft);
}

.lang-switch {
  display: flex;
  gap: 6px;
  margin-left: 4px;
}

.lang-switch a {
  border: 1px solid #c8d8ec;
  color: #4d5f79;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
}

.lang-switch a.active {
  border-color: #85c8eb;
  background: #dff2ff;
  color: #0e4a6d;
}

.menu-toggle {
  display: none;
  border: 1px solid #bfd1e7;
  border-radius: 10px;
  background: #ffffff;
  padding: 6px 10px;
  color: #213958;
  font-weight: 600;
}

.hero {
  min-height: 84vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(8, 18, 34, 0.85) 18%, rgba(8, 18, 34, 0.58) 52%, rgba(8, 18, 34, 0.22) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1509021436665-8f07dbf5bf1d?auto=format&fit=crop&w=2200&q=80');
  background-size: cover;
  background-position: center 35%;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #eef7ff;
  padding: 72px 0 90px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(158, 221, 255, 0.45);
  background: rgba(10, 90, 132, 0.35);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 16px 0 12px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1;
  font-size: clamp(2.8rem, 6.2vw, 5.8rem);
}

.hero p {
  max-width: 640px;
  color: rgba(238, 247, 255, 0.88);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  border-color: #c4d7eb;
  background: #ffffff;
  color: #1d3554;
}

.btn-ghost:hover {
  background: #f4f9ff;
}

.section {
  padding: 74px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.03em;
}

.section-title span {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.card img {
  border-radius: 12px;
  margin-bottom: 14px;
  width: 100%;
  height: 188px;
  object-fit: cover;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0 0 14px;
  color: #3f5572;
  line-height: 1.5;
}

.meta {
  color: var(--muted);
  font-size: 0.84rem;
  margin-bottom: 8px;
}

.pill {
  display: inline-flex;
  border: 1px solid #bde5f8;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  color: #0d5c84;
  background: #ecf8ff;
}

.record-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.record-value {
  font-size: 1.52rem;
  color: var(--positive);
  font-weight: 700;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  align-items: center;
}

.partner-strip img {
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #ffffff;
  padding: 10px;
  max-height: 84px;
  object-fit: contain;
}

.timeline {
  position: relative;
  margin-left: 8px;
  display: grid;
  gap: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: #b8d5ea;
}

.timeline-item {
  position: relative;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #8ecbe8;
  background: #ffffff;
}

.timeline-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.table-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 10px;
}

.table-grid strong {
  font-size: 1.2rem;
}

.form {
  display: grid;
  gap: 12px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #c9d9ec;
  border-radius: 12px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #ffffff;
}

.form textarea {
  min-height: 150px;
  resize: vertical;
}

.form label {
  color: #294764;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
}

.alert {
  border: 1px solid #aee8c8;
  background: #e9fff2;
  color: #13653f;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.alert.error {
  border-color: #ffc8c8;
  background: #fff0f0;
  color: #9d2020;
}

.alert ul {
  margin: 0;
  padding-left: 18px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.pagination a,
.pagination span {
  border: 1px solid #c6d8ec;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.84rem;
}

.pagination span {
  background: #f3f9ff;
}

.footer {
  margin-top: 30px;
  border-top: 1px solid #d6e2f1;
  background: #10243f;
  color: #ecf4ff;
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.footer p,
.footer h4,
.footer span,
.footer label {
  color: rgba(236, 244, 255, 0.92);
}

.footer a {
  color: #b2d7ff;
}

.footer .logo {
  font-size: 1.5rem;
}

.footer .partner-strip img {
  border-color: rgba(147, 182, 220, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.footer .form input,
.footer .form select,
.footer .form textarea {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(147, 182, 220, 0.4);
  color: #ffffff;
}

.footer .btn-primary {
  background: #ffffff;
  color: #10243f;
}

@media (max-width: 930px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(244, 248, 255, 0.98);
    border-bottom: 1px solid var(--stroke);
    padding: 12px 6vw 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    display: grid;
    gap: 8px;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .lang-switch {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: clamp(2.3rem, 13vw, 3.6rem);
  }

  .hero-content {
    padding-bottom: 66px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 56px 0;
  }
}
