:root {
  --green: #2f6b3c;
  --green-dark: #1f4d2b;
  --green-soft: #eef5f0;
  --green-lime: #b9e274;
  --text: #102118;
  --muted: #506358;
  --line: #d8e3dc;
  --bg: #ffffff;
  --card: #ffffff;
  --footer: #132a1d;
  --shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --max-width: 1240px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.wrap {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.title-font {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: -0.01em;
}

.page-main {
  min-height: 100vh;
}

section {
  padding: 88px 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(31, 77, 43, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.01em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.desktop-nav > a,
.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  padding: 10px 0;
}

.desktop-nav > a:hover,
.desktop-nav > a.active,
.nav-dropdown:hover .nav-dropdown-toggle {
  color: #daf7a7;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.caret {
  font-size: 12px;
  line-height: 1;
}

.nav-dropdown-menu {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  transform: translateX(-50%);
  width: 360px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.nav-dropdown-menu a:hover {
  background: #f3f9f4;
  color: var(--green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  position: relative;
}

.lang-switch-toggle {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 190px;
  list-style: none;
  padding: 10px;
  margin: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}

.lang-switch:hover .lang-dropdown,
.lang-switch:focus-within .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.lang-dropdown li {
  margin: 0;
  padding: 0;
}

.lang-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.lang-dropdown a:hover,
.lang-dropdown a.active-lang {
  background: #f3f9f4;
  color: var(--green);
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  background: var(--green-lime);
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  padding-bottom: 18px;
}

.mobile-panel.open {
  display: block;
}

.mobile-box {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.mobile-link,
.mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 0;
  background: transparent;
  color: #ffffff;
  text-align: left;
  padding: 12px 8px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-submenu {
  display: none;
  margin-top: 4px;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 10px 8px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.quote-link {
  color: #daf7a7;
}

.mobile-language-block {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-language-title {
  color: #daf7a7;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

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

.mobile-language-links a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 0;
}

.mobile-language-links a.active-lang {
  color: #daf7a7;
}

/* Common */
.soft-bg {
  background: var(--green-soft);
}

.card-grid-3,
.card-grid-4 {
  display: grid;
  gap: 24px;
}

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

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

.card,
.project-card,
.series-card,
.info-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.card,
.project-card,
.info-card {
  padding: 26px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green);
  font-size: 15px;
  font-weight: 900;
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #ffffff;
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 18px;
}

/* Footer */
.site-footer {
  background: var(--footer);
  color: #ffffff;
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 48px;
}

.footer-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 18px;
}

.footer-text,
.footer-links a,
.footer-contact-item {
  color: #d5dde4;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 600;
}

.footer-heading {
  color: #daf7a7;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
  font-family: Arial, Helvetica, sans-serif;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
  color: #d5dde4;
  font-size: 14px;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
  .desktop-nav {
    gap: 24px;
  }
}

@media (max-width: 1100px) {
  .desktop-nav,
  .lang-switch,
  .quote-btn {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

@media (max-width: 780px) {
  :root {
    --header-height: 74px;
  }

  section {
    padding: 72px 0;
  }

  .wrap {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 22px;
  }

  .header-inner {
    min-height: var(--header-height);
  }

  .card-grid-4,
  .card-grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    font-size: 26px;
  }
}