
:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --text: #17202a;
  --muted: #667085;
  --line: #dde3ea;
  --dark: #111827;
  --accent: #2864dc;
  --accent-dark: #1747a6;
  --radius: 18px;
  --shadow: 0 16px 42px rgba(17, 24, 39, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--dark);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.menu a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.menu a:hover {
  border-bottom-color: var(--accent);
}

.language-switcher {
  display: flex;
  gap: 6px;
  margin-left: 8px;
}

.language-switcher a {
  min-width: 34px;
  padding: 7px 8px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher a.active {
  color: white;
  background: var(--dark);
  border-color: var(--dark);
}

.hero {
  padding: 88px 0 58px;
  background:
    radial-gradient(circle at 85% 15%, rgba(40,100,220,0.14), transparent 28%),
    linear-gradient(180deg, #ffffff, #f4f6f8);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 940px;
  margin: 0;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: -2.5px;
}

.hero p {
  max-width: 820px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--dark);
  background: var(--dark);
  color: white;
  font-weight: 800;
}

.button.secondary {
  background: transparent;
  color: var(--dark);
}

.section {
  padding: 74px 0;
}

.section.white {
  background: white;
}

.section-title {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.2px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.direction-card {
  min-height: 390px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.direction-card .number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--dark);
  color: white;
  font-weight: 800;
}

.direction-card h3 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.2;
}

.direction-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.direction-card ul {
  margin: 0 0 26px;
  padding-left: 20px;
}

.direction-card .card-link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.service-card h3 {
  margin: 0 0 9px;
  font-size: 21px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  padding: 72px 0 44px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -2px;
}

.page-hero p {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
}

.content-box,
.sidebar-box {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.content-box h2:first-child,
.sidebar-box h3:first-child {
  margin-top: 0;
}

.content-box h2 {
  margin-top: 34px;
  font-size: 28px;
}

.content-box p,
.content-box li {
  color: #475467;
}

.sidebar-box {
  height: fit-content;
  position: sticky;
  top: 98px;
}

.sidebar-box .button {
  width: 100%;
  margin-top: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cfd7e1;
  border-radius: 10px;
  background: white;
  font: inherit;
}

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

.notice {
  padding: 16px 18px;
  border-left: 4px solid var(--accent);
  background: #edf4ff;
  border-radius: 8px;
  color: #344054;
}

.site-footer {
  padding: 52px 0 28px;
  background: var(--dark);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.site-footer h3 {
  margin-top: 0;
}

.site-footer p,
.site-footer a {
  color: #c7cfdb;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: #98a2b3;
  font-size: 13px;
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  font-weight: 800;
}

@media (max-width: 960px) {
  .mobile-menu-button {
    display: block;
  }

  .menu {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    background: white;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .language-switcher {
    margin-left: 0;
  }

  .direction-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-box {
    position: static;
  }

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

@media (max-width: 640px) {
  .hero {
    padding-top: 58px;
  }

  .hero h1,
  .page-hero h1 {
    letter-spacing: -1px;
  }

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

  .form-field.full {
    grid-column: auto;
  }
}
