﻿:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-soft: #edf4fb;
  --text: #1f2a37;
  --muted: #5d6b7a;
  --border: #dbe6f2;
  --primary: #2e6ea8;
  --primary-strong: #1f5687;
  --shadow: 0 10px 32px rgba(35, 72, 111, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 95% 0%, rgba(158, 204, 245, 0.2), transparent 34%),
    radial-gradient(circle at 4% 20%, rgba(216, 232, 247, 0.55), transparent 32%),
    var(--bg);
  line-height: 1.6;
}

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

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

.section {
  padding: 88px 0;
}

.section-intro {
  margin: -8px 0 22px;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 249, 253, 0.92);
  border-bottom: 1px solid rgba(219, 230, 242, 0.9);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  font-size: clamp(0.92rem, 1.6vw, 1rem);
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: var(--muted);
  font-weight: 600;
}

.nav a:hover {
  color: var(--primary);
}

.lang-switch {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--primary);
  color: #fff;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 3.3rem);
  line-height: 1.16;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 64ch;
}

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

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

.highlight-card li {
  margin: 8px 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

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

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

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

.btn-ghost {
  background: #fff;
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: #b9cee1;
  background: #f7fbff;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.projects-grid .card {
  border-left: 4px solid #b9d4ec;
}

.testimonial-card {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.testimonial-meta {
  margin: -4px 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.testimonial-text {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

.cert-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.training-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.card p,
.about p,
.contact-wrap p {
  margin: 0;
  color: var(--muted);
}

.section-soft {
  background: linear-gradient(180deg, rgba(237, 244, 251, 0.76), rgba(246, 249, 253, 0.55));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about {
  max-width: 82ch;
}

.about p + p {
  margin-top: 14px;
}

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

.mail {
  display: inline-block;
  margin-top: 8px;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-weight: 800;
  color: var(--primary);
}

.mail:hover {
  color: var(--primary-strong);
}

.phone {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: var(--muted);
}

.phone:hover {
  color: var(--primary);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.hero,
.card,
.highlight-card,
.about,
.contact-wrap {
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .cards,
  .cert-grid,
  .training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .nav {
    display: none;
  }

  .nav-wrap {
    min-height: 70px;
  }
}

@media (max-width: 700px) {
  .section {
    padding: 64px 0;
  }

  .cards,
  .cert-grid,
  .training-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    min-height: 64px;
    gap: 16px;
  }
}
