:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #1d2433;
  --muted: #5f6b85;
  --primary: #3f5efb;
  --primary-dark: #3248c6;
  --border: #e5e9f3;
  --shadow: 0 10px 30px rgba(28, 40, 76, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fafe 0%, var(--bg) 100%);
  line-height: 1.6;
}

html {
  scroll-padding-top: 18px;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

header {
  padding: 20px 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.4px;
  font-size: 1.05rem;
}

.nav-links {
  display: flex;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.language-select {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.language-select:focus {
  outline: 2px solid #dfe5ff;
  border-color: var(--primary);
}

.hero {
  padding: 40px 0 30px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: center;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  background: #eef1ff;
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 56ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-light {
  background: #f4f6fc;
  color: var(--text);
  border-color: var(--border);
}

.btn-light:hover {
  background: #eef2fb;
}

.hero-side {
  background: linear-gradient(135deg, #3f5efb, #7c83ff);
  color: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-side h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-side p {
  opacity: 0.95;
  margin-bottom: 16px;
}

section {
  margin: 20px 0;
}

.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.section-card h2 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.section-card p {
  color: var(--muted);
  margin-bottom: 8px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.pill {
  background: #f6f8ff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.pill h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.pill p {
  font-size: 0.95rem;
  margin: 0;
}

.showroom-gallery {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.showroom-thumb {
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  width: 100%;
}

.showroom-thumb:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.showroom-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 6px 16px rgba(28, 40, 76, 0.06);
  transition: transform 0.15s ease;
}

.showroom-thumb:hover img {
  transform: scale(1.02);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 14, 28, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(420px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  background: #111;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
  width: 44px;
  height: 44px;
}

.lightbox-close {
  top: 16px;
  right: 16px;
  font-size: 1.8rem;
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

footer {
  text-align: center;
  color: #8a94ae;
  font-size: 0.9rem;
  padding: 26px 0 34px;
}

.floating-donate {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  text-decoration: none;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
}

.floating-donate:hover {
  background: var(--primary-dark);
}

.floating-language {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 40;
  text-decoration: none;
  background: #ffffff;
  color: var(--primary-dark);
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  box-shadow: var(--shadow);
}

.floating-language:hover {
  background: #f3f6ff;
}

.mobile-quick-nav {
  display: none;
}

@media (max-width: 850px) {
  body {
    padding-bottom: 84px;
  }

  header {
    padding-bottom: 6px;
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .hero-card,
  .hero-side,
  .section-card {
    padding: 22px;
  }

  .showroom-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-donate {
    display: none;
  }

  .floating-language {
    display: none;
  }

  .mobile-quick-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 20px rgba(28, 40, 76, 0.08);
  }

  .mobile-quick-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    padding: 12px 8px;
  }

  .mobile-quick-nav a:nth-child(4),
  .mobile-quick-nav a:last-child {
    color: var(--primary-dark);
  }
}

@media (max-width: 520px) {
  .language-label {
    display: none;
  }

  .language-select {
    font-size: 0.85rem;
    padding: 7px 9px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions .btn {
    text-align: center;
  }
}
