:root {
  --bg: #0f1115;
  --card: #161920;
  --primary: #0f6a55;
  --primary-strong: #0c5645;
  --text: #f8fafc;
  --muted: #c8d0dd;
  --border: #212633;
  --gradient: linear-gradient(135deg, #0f6a55, #158063);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(15, 17, 21, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav { display: flex; gap: 20px; }
.nav a { padding: 8px 0; font-weight: 600; }

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  width: 44px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.lang-btn:not(.is-active) {
  box-shadow: 0 0 0 1px var(--border), 0 0 14px rgba(15, 106, 85, 0.35);
}

.lang-btn.is-active {
  background: var(--primary);
  color: #0b1d1c;
  border-color: var(--primary-strong);
  box-shadow: 0 10px 30px rgba(15, 106, 85, 0.4);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lang-btn:hover { transform: translateY(-1px); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.burger {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}

.burger span { display: block; width: 22px; height: 2px; background: var(--text); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 12px 16px 20px;
  border-top: 1px solid var(--border);
  background: rgba(15,17,21,0.95);
}

.hero {
  padding: 80px 0 64px;
  background: radial-gradient(circle at 20% 20%, rgba(15, 106, 85, 0.25), transparent 40%),
              radial-gradient(circle at 70% 0%, rgba(27, 163, 127, 0.12), transparent 35%),
              var(--bg);
}

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

.hero-copy h1 { font-size: clamp(48px, 6vw, 72px); letter-spacing: 0.08em; margin: 0 0 12px; }
.lead { color: var(--muted); max-width: 640px; }
.eyebrow { color: #9ae6d6; text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; margin-bottom: 8px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn.primary { background: var(--gradient); color: #0b1d1c; box-shadow: 0 10px 35px rgba(15, 106, 85, 0.35); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px rgba(15, 106, 85, 0.45); }
.btn.ghost { border: 1px solid var(--border); color: var(--text); }
.btn.ghost:hover { border-color: var(--primary); color: var(--primary); }

.hero-card {
  background: var(--card);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.fh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 106, 85, 0.18);
  border: 1px solid rgba(15, 106, 85, 0.35);
  color: #c6fff1;
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 12px;
}

.section {
  padding: 64px 0;
}

.section.dark { background: #0c0e12; }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head h2 { margin: 6px 0 8px; font-size: clamp(28px, 4vw, 40px); }
.section-head .muted { color: var(--muted); }

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  min-height: 150px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.card h3 { margin-top: 0; margin-bottom: 8px; }
.card p { color: var(--muted); }

.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tech-card { padding: 20px; border-radius: 14px; background: linear-gradient(145deg, rgba(15,106,85,0.12), rgba(15,106,85,0.05)); border: 1px solid var(--border); }
.tech-title { font-weight: 700; margin-bottom: 8px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.tags span { background: rgba(15,106,85,0.2); color: #b9fff0; padding: 6px 10px; border-radius: 999px; font-size: 13px; border: 1px solid rgba(15,106,85,0.4); }

.slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.slider-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.case-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  min-height: 150px;
}

.case-card h3 { margin: 0 0 8px; }
.case-card p { color: var(--muted); margin: 0 0 10px; }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.case-meta span { background: rgba(255,255,255,0.06); padding: 6px 10px; border-radius: 999px; font-size: 13px; }

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 22px;
}

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.contact-highlight { margin-top: 12px; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(15,106,85,0.08); }
.contact-highlight span { color: var(--muted); font-weight: 600; margin-right: 6px; }
.contact-highlight a { color: var(--text); font-weight: 700; }

.contact-form {
  background: var(--card);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: grid;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.contact-form h3 { margin: 0; }

.stacked-form { display: grid; gap: 12px; }

.field { display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.field input,
.field textarea,
.field input[type="file"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0d0f14;
  color: var(--text);
  padding: 10px 12px;
  font-size: 15px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field.file input { padding: 12px; background: rgba(255,255,255,0.02); }

.form-status { min-height: 20px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--border); padding: 18px 0 20px; background: #0c0e12; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 14px; color: var(--muted); font-size: 14px; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .slider { grid-template-columns: 1fr; }
  .slider-btn { justify-self: center; }
  .slider-track { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .burger { display: flex; }
  .mobile-menu.show { display: flex; }
  .header-inner { padding: 12px 0; }
  .hero { padding: 60px 0 40px; }
}
