:root {
  --yellow: #ffed00;
  --blue: #1d55a1;
  --blue-dark: #174a8f;
  --navy: #21264f;
  --ink: #1d1d1b;
  --muted: #5b6478;
  --bg: #ffffff;
  --soft: #f6f7fb;
  --border: #e6e8ef;
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yellow);
  box-shadow: 0 2px 12px rgba(16, 24, 43, 0.10);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 46px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.main-nav a:hover {
  border-bottom-color: var(--blue);
}

.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 30px 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231d1d1b' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.lang-switch select:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.hero {
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 237, 0, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(29, 85, 161, 0.08), transparent 40%),
    var(--bg);
}

.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.hero-text {
  margin-top: 22px;
  font-size: 19px;
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(29, 85, 161, 0.28);
}

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

.btn-outline {
  border: 2px solid var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #ffffff;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 17px;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--soft);
}

.section h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 6px;
  border-radius: 3px;
  background: var(--yellow);
  margin-top: 12px;
}

.section-lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
}

.feature-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 24, 43, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(29, 85, 161, 0.10);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
}

.feature-card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.project-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(16, 24, 43, 0.10);
}

.project-logo {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 30px;
}

.project-logo img {
  max-height: 100px;
  max-width: 70%;
  object-fit: contain;
}

.project-body {
  padding: 26px 28px 30px;
}

.project-body h3 {
  font-size: 20px;
  font-weight: 800;
}

.project-body p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

.project-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue);
}

.project-card:hover .project-link {
  text-decoration: underline;
}

.contact-box {
  text-align: center;
}

.contact-box h2::after {
  margin-left: auto;
  margin-right: auto;
}

.contact-box .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.contact-box .btn {
  margin-top: 30px;
}

.site-footer {
  background: var(--navy);
  color: #aab2c8;
  padding: 56px 0 40px;
  text-align: center;
  font-size: 14px;
}

.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.95;
}

.footer-legal {
  margin-top: 26px;
  display: grid;
  gap: 6px;
}

.legal-name {
  font-weight: 600;
  color: #d7dcea;
}

.site-footer a {
  color: var(--yellow);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 13px;
}

@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 64px;
    gap: 14px;
  }

  .brand-logo {
    height: 36px;
  }

  .main-nav {
    display: none;
  }

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

  .hero {
    padding: 64px 0 60px;
  }

  .section {
    padding: 64px 0;
  }
}
