:root {
  --bg: #f5f7fb;
  --blue: #0d1d34;
  --blue-2: #162e4b;
  --blue-3: #dce7f4;
  --text: #172335;
  --muted: #5b687b;
  --white: #ffffff;
  --border: rgba(22, 35, 53, 0.1);
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  padding-top: 14px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: 22px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #c6ddf8, #8eb3df);
  color: #12243b;
  font-weight: 800;
  font-size: 11px;
}

.brand-mark.small { width: 40px; height: 40px; }
.brand-text { color: white; }
.brand-legal {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.75);
}
.brand-name {
  font-size: 14px;
  font-weight: 700;
}

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

.desktop-nav a {
  padding: 12px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  color: white;
  font-weight: 600;
  box-shadow: var(--shadow);
}

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

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  padding: 4px;
  box-shadow: var(--shadow);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: white;
  padding: 8px 12px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 700;
}

.lang-btn.active {
  background: rgba(255,255,255,0.2);
  color: #ffd56b;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: white;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px;
  background: rgba(6,16,30,0.88);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.mobile-menu.open { display: grid; gap: 8px; }
.mobile-menu a {
  color: white;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-image: linear-gradient(to right, rgba(8,20,34,0.74) 0%, rgba(8,20,34,0.5) 28%, rgba(8,20,34,0.2) 58%, rgba(8,20,34,0.08) 100%), linear-gradient(to bottom, rgba(20,53,92,0.16), rgba(14,32,44,0.04) 42%, rgba(11,33,25,0.12) 100%), url('./hero-bg.png');
  background-size: cover;
  background-position: center center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 26%, rgba(255,255,255,0.13), transparent 22%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: 58px;
}

.hero-panel {
  max-width: 620px;
  color: white;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 18px 0 0;
  font-size: 45px;
  line-height: 0.98;
  max-width: 14ch;
}

.hero-panel p {
  margin: 16px 0 0;
  max-width: 54ch;
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.12);
  color: white;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.section {
  padding: 72px 0;
}

.section-light { background: white; }
.section-blue { background: var(--blue-3); }
.section-offwhite { background: #f4f7fb; }

.narrow-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.card {
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.card-light {
  background: white;
  border: 1px solid var(--border);
}

.card-dark {
  background: var(--blue);
  color: white;
}

.section-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #1b5f99;
}

h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.lead, .section-text {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.78;
  color: var(--muted);
}

.card-dark .lead { color: rgba(255,255,255,0.9); }

.company-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.1);
  font-size: 20px;
}

.company-badge-text {
  font-size: 18px;
  font-weight: 700;
}

.feature-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
}

.feature-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 0;
  color: #8dc2ff;
  font-weight: 900;
}

.section-head { margin-bottom: 24px; }
.center-head { text-align: center; }
.underline {
  width: 84px;
  height: 4px;
  border-radius: 999px;
  background: #2d82ff;
  margin: 14px auto 0;
}

.cards-wrap { margin-top: 24px; }
.cards-grid {
  display: grid;
  gap: 24px;
}

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

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

.hidden { display: none !important; }

.project-card,
.news-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card-top {
  min-height: 180px;
  padding: 26px;
  background: linear-gradient(135deg, #0d1d34, #214b78);
  color: white;
}

.project-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.project-card-top h3 {
  margin: 18px 0 0;
  font-size: 28px;
  line-height: 1.05;
}

.project-subtitle {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

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

.project-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.news-card-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  padding: 26px;
  background: linear-gradient(135deg, #e9eef5, #dde6f1);
}

.news-card-title {
  margin: 0;
  font-size: 34px;
  line-height: 0.98;
  text-transform: uppercase;
  color: #31435a;
}

.news-icon-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.news-icon-box {
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  border: 1px solid rgba(49,67,90,0.12);
  background: rgba(255,255,255,0.7);
}

.news-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(49,67,90,0.15);
  background: #f8fbff;
  font-size: 32px;
}

.news-card-body {
  padding: 22px 24px 24px;
  background: white;
  border-top: 1px solid var(--border);
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.news-excerpt {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.news-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.news-badge {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #d8e8fb;
  color: #0d1d34;
  font-size: 12px;
  font-weight: 800;
}

.placeholder-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: white;
  border: 1px solid var(--border);
  padding: 52px 32px;
  text-align: center;
  font-size: 22px;
  line-height: 1.6;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.contacts-single { max-width: 920px; }
.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f7f9fc;
  border-radius: 18px;
  padding: 16px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #d8e8fb;
  color: #0d1d34;
  font-size: 18px;
  font-weight: 700;
}

.contact-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6d798a;
  font-weight: 700;
}

.contact-value {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.55;
}

.site-footer {
  background: var(--blue);
  color: white;
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
}

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

.footer-text {
  margin: 14px 0 0;
  color: rgba(255,255,255,0.78);
  max-width: 44ch;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.footer-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.65);
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links a,
.footer-links div div {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.88);
}

.footer-copy {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 14px;
}

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

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .narrow-grid, .footer-inner, .footer-links { grid-template-columns: 1fr; }
  .hero-panel h1 { font-size: 38px; }
  .section { padding: 58px 0; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1180px); }
  .lang-switcher { display: none; }
  .hero-content { padding-top: 126px; padding-bottom: 34px; }
  .hero-panel h1 { font-size: 31px; max-width: 16ch; }
  .hero-panel p { font-size: 15px; line-height: 1.65; }
  .hero-button { width: 100%; }
  h2 { font-size: 34px; }
  .lead, .section-text { font-size: 16px; }
  .card { padding: 24px; }
  .placeholder-card { padding: 38px 24px; font-size: 18px; }
  .brand-text { display: none; }
  .cards-grid-projects,
  .cards-grid-news { grid-template-columns: 1fr; }
  .news-card-visual { min-height: 260px; }
  .news-card-title { font-size: 30px; }
  .project-card-top h3 { font-size: 24px; }
}
