﻿:root {
  --bg: #ffffff;
  --text: #2f241f;
  --muted: #7a655b;
  --brand: #f27a1a;
  --brand-dark: #d76407;
  --card: #ffffff;
  --line: #f1d6c1;
  --light-orange: #fff5eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--brand);
}

.brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

.brand-text {
  line-height: 1.1;
  color: var(--brand);
  font-weight: 800;
}

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

.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--brand);
  background: var(--light-orange);
}

.lang-switcher {
  display: flex;
  gap: 6px;
}

.lang-btn {
  padding: 6px 12px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.3s;
}

.lang-btn:hover {
  background: var(--light-orange);
  color: var(--brand);
}

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

.hero {
  padding: 60px 0;
  text-align: center;
  background: var(--light-orange);
  border-radius: 16px;
  margin: 24px 0;
}

.hero-content h1 {
  font-size: 36px;
  color: var(--brand);
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 24px;
}

.btn-primary {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--brand-dark);
}

.section {
  margin: 40px 0;
}

.section-title {
  margin-bottom: 20px;
  font-size: 28px;
  color: var(--brand);
  text-align: center;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  margin-top: 0;
  color: var(--brand);
  font-size: 20px;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.translation-images {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.translation-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.business-card-section {
  background: var(--light-orange);
  padding: 40px 0;
  border-radius: 16px;
}

.business-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.business-card-img {
  max-width: 90%;
  max-height: 600px;
  width: auto;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 3px solid #fff;
}

.site-footer {
  margin-top: 40px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .topbar {
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .section-title {
    font-size: 24px;
  }

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

  .card {
    padding: 20px;
  }

  .translation-images {
    grid-template-columns: 1fr;
  }

  .business-card-img {
    max-width: 95%;
    max-height: 400px;
  }

  .lang-switcher {
    order: 3;
  }

  .brand-text {
    font-size: 16px;
  }

  .brand-logo {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 14px;
  }

  .brand-logo {
    height: 36px;
  }

  .nav a {
    padding: 6px 8px;
    font-size: 14px;
  }

  .hero {
    padding: 30px 16px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 20px;
  }

  .business-card-img {
    max-width: 98%;
    max-height: 300px;
  }
}
