:root {
  --primary: #0f172a;
  --primary-dark: #09111f;
  --accent: #2563eb;
  --text: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #dbe4ee;
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-mark {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.05em;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.4rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  margin: 5px 0;
}

.hero-section {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.25), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #13233f 100%);
  color: #fff;
  padding: 88px 0 96px;
}

.hero-content {
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.9;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-section h1 {
  margin: 0;
  font-size: clamp(2.5rem, 2.3rem + 1vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.92;
}

.story-section,
.values-section,
.team-section {
  padding: 84px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.story-copy h2,
.values-section h2,
.team-content h2 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 1.55rem + 0.8vw, 2.7rem);
  line-height: 1.2;
  color: var(--primary);
}

.story-copy p,
.team-content p,
.value-card p,
.site-footer p,
.site-footer li {
  color: var(--muted);
}

.story-visual .visual-card {
  min-height: 320px;
  border-radius: 12px;
  background: linear-gradient(180deg, #eff6ff, #f8fafc);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.visual-icon {
  font-size: 5rem;
}

.values-section {
  background: #f8fafc;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.value-badge {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.16);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
  color: var(--primary);
}

.team-content {
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

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

.gallery-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef3f8;
  transition: transform 0.25s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.gallery-caption {
  display: block;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  background: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-content {
  max-width: min(880px, 92vw);
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.24);
}

.lightbox-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #f5f7fb;
}

.lightbox-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: #fff;
  border-top: 1px solid var(--border);
}

.lightbox-title,
.lightbox-count {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.7rem;
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
}

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

.contact-info-card,
.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-info-card h2,
.contact-form h2 {
  margin-top: 0;
}

.contact-list p {
  margin: 0 0 8px;
}

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

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f7f9fc;
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.site-footer {
  background: #0b1220;
  color: #fff;
  padding: 44px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 32px;
}

.site-footer h3 {
  margin: 0 0 16px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-bottom {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.legal-layout {
  display: grid;
  gap: 18px;
}

.legal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-card h2,
.legal-card h3 {
  color: var(--primary);
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    position: absolute;
    top: 80px;
    right: 16px;
    left: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .language-switcher {
    margin-left: 0;
    width: fit-content;
  }

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

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

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

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }

  .hero-section {
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .story-section,
  .values-section,
  .team-section {
    padding: 52px 0;
  }
}
