/* === Variables === */
:root {
  --bg-dark: #0f1923;
  --bg-darker: #0a1118;
  --bg-card: #162330;
  --bg-card-hover: #1d2e3f;
  --red: #c8102e;
  --red-hover: #a00d24;
  --red-light: rgba(200, 16, 46, 0.15);
  --white: #ffffff;
  --gray-100: #f0f0f0;
  --gray-200: #d0d0d0;
  --gray-300: #a0a0a0;
  --gray-400: #707070;
  --text: #e8e8e8;
  --text-muted: #8899aa;
  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
}

/* === Reset === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 25, 35, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 165px;
  width: auto;
}

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

.nav a {
  font-size: 1rem;
  color: var(--gray-200);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 3px;
}

.lang-btn {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: var(--gray-300);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--red);
  color: white;
}

.lang-btn:hover:not(.active) {
  color: white;
}

/* Header language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}

.lang-dropdown-toggle:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}

.lang-flag {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  flex-shrink: 0;
}

.lang-chevron {
  opacity: 0.6;
  transition: transform 0.2s;
}

.lang-dropdown.open .lang-chevron {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-darker, #0a1118);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 4px;
  min-width: 100px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 1000;
}

.lang-dropdown.open .lang-dropdown-menu {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  color: var(--gray-300, #aaa);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
}

.lang-option:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}

.lang-option.active {
  color: var(--red, #c8102e);
}

.btn-cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--red);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta:hover {
  background: var(--red-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 0;
  background: url('../img/background.png') center center / cover no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 17, 24, 0.3) 0%, rgba(10, 17, 24, 0.6) 100%);
}

.hero .container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-200);
  max-width: 600px;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta {
  font-size: 1.1rem;
  padding: 14px 36px;
  margin-bottom: 48px;
}

.hero-benefits {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--gray-100);
  font-weight: 600;
}

.hero-benefit-icon {
  width: 28px;
  height: 28px;
  color: var(--red);
  flex-shrink: 0;
}

/* === Product Cards Section === */
.product-cards-section {
  padding: 80px 0;
  background: var(--bg-darker);
}

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

.product-card {
  background: rgba(22, 35, 48, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 0;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, 0.3);
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #1a2a3a;
  padding: 10px;
}

.product-card-body {
  padding: 20px 24px 24px;
}

.product-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.product-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.product-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card ul li {
  font-size: 1rem;
  color: var(--gray-200);
  padding-left: 16px;
  position: relative;
}

.product-card ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--red);
}

/* === Features Strip === */
.features-strip {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.features-strip .container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--gray-200);
}

.feature-badge .icon {
  width: 20px;
  height: 20px;
  color: var(--red);
}

/* === Solutions === */
.solutions {
  padding: 130px 0 180px;
  background: var(--bg-darker);
}

.solutions .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.solutions h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.solutions-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1.7;
  margin-bottom: 30px;
}

.solutions ul {
  margin-bottom: 30px;
}

.solutions ul li {
  font-size: 1rem;
  color: var(--gray-200);
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
}

.solutions ul li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.6rem;
  top: 10px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--red);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all 0.2s;
  text-transform: uppercase;
}

.btn-outline:hover {
  background: var(--red);
}

/* === Carousel === */
.carousel {
  position: relative;
}

.carousel-track {
  display: grid;
  overflow: hidden;
}

.carousel-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gray-400);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}

.carousel-dot.active {
  background: var(--red);
  border-color: var(--red);
}

.carousel-dot:hover:not(.active) {
  border-color: var(--gray-200);
}

/* === Service Cards (inside carousel) === */
.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: rgba(200, 16, 46, 0.3);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card ul li {
  font-size: 1rem;
  color: var(--gray-200);
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
}

.service-card ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--red);
}

/* === Products Detail === */
/* === Page Hero (subpages) === */
.page-hero {
  padding: 160px 0 60px;
  background: var(--bg-dark);
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-200);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === Tech Advantages === */
.tech-advantages {
  padding: 80px 0;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tech-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.tech-advantage {
  text-align: center;
}

.tech-advantage-icon {
  width: 48px;
  height: 48px;
  color: var(--red);
  margin-bottom: 20px;
}

.tech-advantage h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.tech-advantage p {
  font-size: 0.95rem;
  color: var(--gray-200);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* === Stats === */
.stats-section {
  background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}

.stat-item { padding: 20px; }
.stat-item:not(:first-child) { border-left: 1px solid rgba(255,255,255,0.08); }

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
}

.stat-label {
  font-size: 1rem;
  color: var(--gray-200);
  margin-top: 6px;
}

.products-detail {
  padding: 80px 0 100px;
  background: var(--bg-darker);
}

/* === Products CTA === */
.products-cta {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background: url('../img/background.png') center 40% / cover no-repeat;
  overflow: hidden;
}

.products-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,17,24,0.7);
}

.products-cta .container {
  position: relative;
}

.products-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.products-cta p {
  font-size: 1.1rem;
  color: var(--gray-200);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.products-cta .btn-cta {
  font-size: 1.1rem;
  padding: 18px 44px;
}

.products-cta-phone {
  display: block;
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--gray-300);
}

.products-cta-phone a {
  color: var(--gray-200);
  font-weight: 600;
  transition: color 0.2s;
}

.products-cta-phone a:hover { color: var(--white); }

.product-detail {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 30px;
}

.product-detail:nth-child(1) { background: #162330; }
.product-detail:nth-child(2) { background: #1a2520; }
.product-detail:nth-child(3) { background: #1e1e2e; }

.product-detail-header {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 30px;
}

.product-detail-text {
  flex: 1;
}

.product-detail-img {
  flex-shrink: 0;
  width: 280px;
}

.product-detail-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.product-detail-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.product-detail-header .subtitle {
  color: var(--red);
  font-size: 1rem;
  font-weight: 600;
}

.product-detail-header p.desc {
  margin-top: 16px;
  color: var(--gray-200);
  font-size: 1rem;
  max-width: 800px;
  line-height: 1.7;
}

.btn-datasheet {
  margin-top: 28px;
  font-size: 0.85rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-2px);
  border-color: rgba(200,16,46,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item h4::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-item p {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.6;
  padding-left: 18px;
}

.feature-label-upcoming {
  display: inline-block;
  background: rgba(255, 165, 0, 0.15);
  color: #f0a020;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Specs */
.specs-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

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

.specs-column h5 {
  font-size: 1rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.specs-column ul li {
  font-size: 1rem;
  color: var(--gray-200);
  padding: 4px 0;
}

/* === Use Cases === */
.usecases {
  padding: 110px 0 160px;
}

.usecases .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.usecase-card:hover {
  border-color: rgba(200, 16, 46, 0.3);
}

.usecase-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.usecase-card p {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* === Grants === */
.grants {
  padding: 80px 0 100px;
  background: var(--bg-darker);
}

.grants-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.grants-card {
  display: flex;
  flex-direction: column;
}

.grants-programs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.grants-programs-label {
  font-size: 1rem;
  color: var(--gray-300);
  font-weight: 600;
}

.grants-badge {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 1rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.grants-financing {
  background: var(--bg-card);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 40px;
}

.grants-financing h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.grants-financing p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
}

.grants-cta {
  text-align: center;
}

.grants-cta p {
  color: var(--gray-200);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* === Career === */
.career {
  padding: 80px 0 60px;
  background: var(--bg-darker);
}

.career-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 32px;
  text-align: center;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.career-benefits {
  padding: 60px 0 80px;
  background: var(--bg-dark);
}

.career-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.career-benefits-grid .feature-item:last-child {
  grid-column: 2;
}

.career-who {
  padding: 60px 0 80px;
  background: var(--bg-darker);
}

/* === Reference === */
.reference {
  padding: 130px 0 180px;
  background: var(--bg-darker);
}

.reference > .container > h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Ref intro: text + stat card */
.ref-intro {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.ref-intro-text p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.ref-highlight-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ref-stat-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.ref-stat-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.ref-stat-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Ref experience cards */
.ref-experience-intro {
  color: var(--gray-200);
  font-size: 1rem;
  margin-bottom: 20px;
}

.ref-experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.ref-exp-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.ref-exp-icon svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

/* Ref skills blockquote */
.ref-skills-card {
  background: var(--bg-card);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 40px;
}

.ref-skills-card p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.ref-skills-card p:last-child {
  margin-bottom: 0;
}

/* Ref pillars */
.ref-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 50px;
}

.ref-pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, border-color 0.2s;
}

.ref-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, 0.3);
}

.ref-pillar-card .product-badge {
  margin-bottom: 20px;
}

.ref-pillar-card p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.ref-pillar-card ul {
  padding-left: 4px;
}

.ref-pillar-card ul li {
  font-size: 1rem;
  color: var(--gray-200);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.ref-pillar-card ul li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.6rem;
  top: 8px;
}

/* Gallery section headers */
.ref-gallery h3,
.about-gallery h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,17,24,0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
}

/* Gallery placeholders */
.gallery-placeholder {
  background: var(--bg-card);
  border: 1px dashed rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-placeholder svg {
  width: 40px;
  height: 40px;
  color: var(--gray-400);
  opacity: 0.5;
}

/* === Partners === */
.partners {
  padding: 80px 0 100px;
  background: var(--bg-darker);
}

.partners > .container > h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.partners h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 50px;
  color: var(--white);
}

.partners-lead {
  max-width: 800px;
  margin-bottom: 30px;
}

.partners-lead p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-200);
  margin-bottom: 12px;
}

.partners-highlight {
  background: var(--bg-card);
  border-left: 4px solid var(--red);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-bottom: 20px;
}

.partners-highlight p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.8;
}

.partners-for-whom-intro {
  color: var(--gray-200);
  font-size: 1rem;
  margin-bottom: 20px;
}

.partners-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.partners-areas-grid .feature-item {
  text-align: center;
  padding: 24px 16px;
}

.partners-areas-grid .feature-item h4 {
  margin-bottom: 0;
}

.partners-note {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.partners-note p {
  color: var(--gray-200);
  font-size: 1rem;
  line-height: 1.7;
}

.partners-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.partners-flexible {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 50px;
}

.partners-flexible h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.partners-flexible p {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.7;
}

.partners-cta {
  text-align: center;
}

@media (max-width: 900px) {
  .partners-areas-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .partners-flexible {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .partners-areas-grid {
    grid-template-columns: 1fr;
  }
}

/* === About === */
.about {
  padding: 80px 0 100px;
}

/* About lead */
.about-lead {
  max-width: 800px;
  margin-bottom: 50px;
}

.about-lead p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--gray-100);
}

/* About story grid */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.about-story-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: transform 0.2s, border-color 0.2s;
}

.about-story-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 16, 46, 0.3);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.about-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--red);
}

.about-story-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.about-story-card p {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.7;
}

/* About feature strip */
.about-feature-strip {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 40px;
}

.about-feature-content {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.about-feature-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
}

.about-feature-content p {
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.7;
}

/* About mission */
.about-mission {
  position: relative;
  max-width: none;
  margin: 60px 0 60px;
  padding: 32px 32px 32px 60px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  text-align: left;
}

.about-mission::before {
  content: "\201C";
  position: absolute;
  top: 12px;
  left: 16px;
  font-size: 5rem;
  color: var(--red);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}

.about-mission-accent {
  display: none;
}

.about-mission p {
  font-size: 1.15rem;
  color: var(--gray-100);
  font-style: italic;
  line-height: 1.8;
  text-align: left;
}

/* About hero image */
.about-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 17, 24, 0.95);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 2rem;
  padding: 12px 16px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-200);
  font-size: 1rem;
}

/* === Contact === */
.contact {
  padding: 130px 0 180px;
  background: var(--bg-darker);
}

.contact .contact-container {
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  text-align: left;
}

.contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--gray-200);
  margin-bottom: 30px;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-detail-item strong {
  font-size: 1rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-detail-item span,
.contact-detail-item a {
  font-size: 1rem;
  color: var(--gray-200);
  transition: color 0.2s;
}

.contact-detail-item a:hover {
  color: var(--white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font);
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form .btn-cta {
  align-self: flex-start;
  padding: 14px 50px;
  font-size: 1rem;
}

/* Form feedback messages */
.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* === Footer === */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-logo {
  height: 160px;
  width: auto;
  margin-bottom: 24px;
}

.footer .links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 24px;
}

.footer .links a {
  color: var(--gray-200);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer .links a:hover {
  color: var(--white);
}

.footer p {
  font-size: 0.9rem;
  color: var(--gray-400);
  font-weight: 400;
  margin-bottom: 6px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.footer .lang-switcher {
  width: fit-content;
  margin: 20px auto 12px;
}

/* === Responsive === */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .btn-cta-nav {
    display: none;
  }

  .lang-dropdown-toggle .lang-code {
    display: none;
  }

  .lang-dropdown-toggle {
    padding: 6px 8px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-benefits {
    gap: 20px;
  }

  .product-cards {
    grid-template-columns: 1fr;
  }

  .features-strip .container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .solutions .container {
    grid-template-columns: 1fr;
  }

  .services .container {
    grid-template-columns: 1fr;
  }

  .tech-advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

  .usecases .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail {
    padding: 24px;
  }

  .product-detail-header {
    flex-direction: column;
  }

  .product-detail-img {
    width: 100%;
  }

  .grants-services {
    grid-template-columns: 1fr;
  }

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

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

  .career-benefits-grid .feature-item:last-child {
    grid-column: auto;
  }

  .ref-intro {
    grid-template-columns: 1fr;
  }

  .ref-experience-grid {
    grid-template-columns: 1fr;
  }

  .ref-pillars {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .about-feature-content {
    flex-direction: column;
  }

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

  .contact .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-benefits {
    flex-direction: column;
    gap: 14px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .usecases .container {
    grid-template-columns: 1fr;
  }

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