:root {
  --blue-950: #001b3d;
  --blue-900: #002650;
  --blue-800: #004692;
  --blue-700: #005bb7;
  --red-600: #e70f2c;
  --slate-50: #f3f6fa;
  --slate-100: #e6edf5;
  --slate-300: #bdd0e4;
  --slate-700: #334e68;
  --text: #11253d;
  --white: #ffffff;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 8px 24px rgba(0, 38, 80, 0.08);
  --shadow-md: 0 18px 40px rgba(0, 38, 80, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Open Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

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

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

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

.topbar {
  background: var(--blue-900);
  color: var(--white);
  font-size: 0.85rem;
}

.topbar-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.lang-switch a {
  opacity: 0.8;
}

.lang-switch a.active {
  opacity: 1;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--slate-100);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.2s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand img {
  width: 188px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue-900);
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-bottom-color: var(--red-600);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--blue-900);
  font-size: 1.65rem;
  line-height: 1;
}

.hero {
  background:
    radial-gradient(circle at 15% 25%, rgba(255, 255, 255, 0.12), transparent 48%),
    linear-gradient(135deg, var(--blue-950), var(--blue-900) 45%, var(--blue-800));
  color: var(--white);
  padding: clamp(62px, 10vw, 120px) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero-text p {
  margin: 0;
}

.hero-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.hero-subline {
  margin-top: 16px;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
}

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

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-panel h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.hero-panel p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-panel ul {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.95);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 10px 20px rgba(231, 15, 44, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #ca0d27;
}

.btn-light {
  background: var(--white);
  color: var(--blue-900);
}

.btn-light:hover,
.btn-light:focus-visible {
  background: #e9f0f8;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: clamp(56px, 8vw, 92px) 0;
}

.intro {
  text-align: center;
}

.intro .icon {
  width: 52px;
  margin: 0 auto 16px;
}

.intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--blue-900);
}

.intro p {
  margin: 16px auto 0;
  max-width: 760px;
  color: var(--slate-700);
  font-size: 1.03rem;
}

.services-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  border: 2px solid var(--blue-800);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  min-height: 210px;
  background: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.service-card img {
  width: 68px;
  height: 68px;
  margin-bottom: 14px;
}

.service-card p {
  margin: 0;
  font-size: 1.03rem;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-2px);
  background: var(--blue-800);
  color: var(--white);
}

.service-card:hover img,
.service-card:focus-visible img {
  filter: invert(1) brightness(10);
}

.quick-links {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.quick-links h3 {
  margin: 0 0 14px;
  color: var(--blue-800);
  font-size: 1.5rem;
}

.quick-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-links li {
  border-top: 1px solid var(--slate-300);
}

.quick-links li:first-child {
  border-top: 0;
}

.quick-links a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--blue-900);
}

.quick-links a:hover,
.quick-links a:focus-visible {
  color: var(--red-600);
}

.quick-links .btn {
  margin-top: 14px;
  width: 100%;
}

.project {
  background:
    linear-gradient(145deg, rgba(0, 27, 61, 0.95), rgba(0, 70, 146, 0.92));
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}

.project-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.project-meta img {
  width: 28px;
}

.project h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.2;
}

.project-card {
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

.project-card p {
  margin: 0 0 14px;
}

.project-card a {
  color: var(--red-600);
  font-weight: 700;
}

.benefits {
  background: var(--slate-50);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.benefits h3 {
  margin: 0 0 16px;
  color: var(--blue-900);
  font-size: 1.85rem;
  line-height: 1.2;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 26px;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red-600);
  font-weight: 700;
}

.footer {
  background: linear-gradient(180deg, var(--blue-900), #032f63);
  color: var(--white);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.footer-contact p {
  margin: 0;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  flex-wrap: wrap;
}

.socials {
  display: inline-flex;
  gap: 16px;
}

.socials a {
  font-weight: 700;
}

@media (max-width: 1040px) {
  .services-layout {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .topbar-inner {
    justify-content: center;
  }

  .topbar-left {
    justify-content: center;
  }

  .navbar {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--slate-100);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 4%;
    box-shadow: var(--shadow-sm);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--slate-100);
  }

  .hero-inner,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn {
    width: 100%;
  }

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