:root {
  --color-primary: #1b365d;
  --color-primary-dark: #0f2341;
  --color-accent: #d4af37;
  --color-accent-hover: #b89528;
  --color-ink: #0f172a;
  --color-muted: #64748b;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-success: #16a34a;
  --color-error: #dc2626;
  --radius: 10px;
  --radius-lg: 14px;
  --max-width: 1160px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.12);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  transition: all 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 24px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 280px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27, 54, 93, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--color-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
  position: relative;
  padding: 4px 0;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.lang-switch {
  display: flex;
  gap: 3px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-muted);
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--color-ink);
}

.lang-btn.active {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(27, 54, 93, 0.3);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b1d3a 0%, #1b365d 60%, #162e52 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.25;
}

.hero p {
  margin: 0 auto 32px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-size: 0.96rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #c29b2b 100%);
  color: #1a1608;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  background: linear-gradient(135deg, #e5be42 0%, var(--color-accent) 100%);
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--color-bg-alt); }

.section h2 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.01em;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section h2::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 24px;
  background: var(--color-accent);
  border-radius: 4px;
}

.section-note {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin-top: -14px;
  margin-bottom: 28px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}

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

#aboutText {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}

.about-facts {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 0;
  box-shadow: var(--shadow-md);
}

.about-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}

.about-facts div:last-child { border-bottom: none; }
.about-facts dt { color: var(--color-muted); font-weight: 500; }
.about-facts dd { margin: 0; font-weight: 700; color: var(--color-primary); text-align: right; }

/* Products */
.categories {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.category-block h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}

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

.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: var(--color-bg);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 54, 93, 0.25);
}

.product-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
}

.product-card p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--color-muted);
  flex-grow: 1;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-top: 12px;
  border-top: 1px dashed var(--color-border);
}

.price-badge {
  background: rgba(27, 54, 93, 0.08);
  color: var(--color-primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
}

/* Company info table */
.info-table {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.info-item {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: all 0.2s ease;
}

.info-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.info-item .label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.info-item .value {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-primary);
  word-break: break-word;
}

/* Distributors */
.distributors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.distributor-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.distributor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.distributor-card .distributor-country {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(27, 54, 93, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.distributor-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
}

.distributor-card .distributor-legal-form {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0 0 16px;
}

.distributor-card dl {
  margin: 0;
}

.distributor-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.88rem;
}

.distributor-card dl div:last-child { border-bottom: none; }
.distributor-card dt { color: var(--color-muted); flex-shrink: 0; }
.distributor-card dd { margin: 0; font-weight: 600; text-align: right; color: var(--color-ink); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

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

.contact-details div {
  margin-bottom: 18px;
  font-size: 0.96rem;
}

.contact-details .label {
  display: block;
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-details a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-ink);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  resize: vertical;
  transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.12);
}

.form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
  font-weight: 600;

.form-status.success { color: var(--color-success); }
.form-status.error { color: var(--color-error); }
.form-status.sending { color: var(--color-muted); }

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 36px 0;
  text-align: center;
  font-size: 0.88rem;
}

.site-footer p { margin: 4px 0; }

.footer-concept-note {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 8px !important;
}

.footer-concept-link {
  margin-top: 12px !important;
}

.footer-concept-link a {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-concept-link a:hover {
  color: #e5be42;
  text-decoration: underline;
}
