:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #e9eef3;
  --text: #1b2a38;
  --muted: #5a6b7b;
  --primary: #0f3554;
  --primary-strong: #0a2941;
  --accent: #a57d3a;
  --border: #d3dde7;
  --shadow: 0 14px 30px rgba(10, 35, 58, 0.08);
  --radius: 14px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, #dce6ef 0, transparent 34%),
    radial-gradient(circle at 100% 8%, #e6ddd0 0, transparent 26%), var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.section-text {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(8px);
  background: rgba(244, 246, 248, 0.92);
  border-bottom: 1px solid rgba(15, 53, 84, 0.1);
}

.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition:
    border-color 180ms ease,
    color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary);
  border-color: rgba(15, 53, 84, 0.35);
}

.lang-select {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  background: var(--surface);
  color: var(--primary);
  font-weight: 600;
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

.kicker {
  margin: 0 0 0.85rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.1;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-strong);
}

.button-ghost {
  border-color: var(--border);
  color: var(--primary);
  background: var(--surface);
}

.hero-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 53, 84, 0.16);
  animation: fade-up 0.7s ease both;
}

.stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.95rem;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.25rem;
}

.card-grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  animation: fade-up 0.65s ease both;
}

.card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.12rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.process-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.process-item {
  background: linear-gradient(180deg, #ffffff 0%, #eef3f7 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.process-item span {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 700;
}

.tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
}

.highlight {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

.highlight .text {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.highlight ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.highlight li {
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.notice {
  margin-top: 1rem;
  border-left: 4px solid var(--accent);
  padding: 0.65rem 0.85rem;
  background: #f8f4ec;
  color: #4e3b1f;
}

.cta {
  border-radius: 16px;
  background: linear-gradient(135deg, #0f3554 0%, #1d557f 100%);
  color: #ffffff;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.cta p {
  margin: 0.4rem 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.cta .button {
  background: #ffffff;
  color: var(--primary);
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid rgba(15, 53, 84, 0.15);
  padding: 1.3rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.6s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 120ms;
}

.reveal:nth-child(3) {
  animation-delay: 200ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .main-nav {
    display: none;
  }

  .hero-grid,
  .highlight {
    grid-template-columns: 1fr;
  }

  .stats,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .header-row {
    min-height: 66px;
  }

  .hero {
    padding-top: 4.2rem;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }
}
