:root {
  --bg: #f5ecdf;
  --bg-soft: #fff8f0;
  --surface: rgba(255, 249, 241, 0.78);
  --surface-strong: #fff8f1;
  --text: #23160f;
  --muted: #7d6658;
  --line: rgba(76, 43, 26, 0.12);
  --brand: #9d4d20;
  --brand-deep: #6d3110;
  --accent: #f1c48b;
  --shadow: 0 22px 48px rgba(83, 45, 20, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Noto Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 188, 115, 0.25), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(166, 84, 33, 0.18), transparent 22%),
    linear-gradient(180deg, #f7ecdf 0%, #fbf7f2 48%, #fffdfb 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 236, 223, 0.72);
  border-bottom: 1px solid rgba(76, 43, 26, 0.08);
}

.site-header .shell,
.hero-grid,
.metrics,
.section-grid,
.footer-grid,
.legal-shell {
  display: grid;
  gap: 24px;
}

.site-header .shell {
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: linear-gradient(135deg, #b45e26, #f2c58d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.nav-wrap {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.nav .cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.56);
  border: 1px solid var(--line);
}

.lang-switch button {
  min-width: 58px;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(83, 45, 20, 0.14);
}

.hero {
  padding: 56px 0 26px;
}

.hero-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  color: var(--brand);
}

.hero p {
  max-width: 560px;
  margin: 20px 0 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: rgba(255,255,255,0.52);
  border-color: var(--line);
}

.hero-card,
.metric-card,
.feature-card,
.legal-card {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 22px;
  border-radius: var(--radius-xl);
}

.hero-card .visual {
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255,248,241,0.9), rgba(243,214,182,0.76));
}

.metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 58px;
}

.metric-card {
  padding: 22px;
  border-radius: var(--radius-lg);
}

.metric-card strong {
  display: block;
  font-size: 13px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.metric-card span {
  display: block;
  font-size: 17px;
  line-height: 1.7;
  color: var(--muted);
}

.section {
  padding: 10px 0 22px;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-head h2,
.legal-shell h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-head p,
.legal-shell .lead {
  margin: 0;
  max-width: 740px;
  color: var(--muted);
  line-height: 1.8;
  font-size: 17px;
}

.section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-card h3,
.legal-card h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.feature-card p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.82;
}

.feature-card ul,
.legal-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.showcase {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.showcase-panel {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: linear-gradient(160deg, #2a170e, #5b2b12);
  color: #fff7ef;
  box-shadow: var(--shadow);
}

.showcase-panel p {
  color: rgba(255, 244, 233, 0.8);
  line-height: 1.8;
}

.contact-strip {
  margin: 44px 0 64px;
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,249,241,0.92), rgba(251,240,225,0.88));
  box-shadow: var(--shadow);
}

.contact-strip strong {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brand);
}

.contact-strip .links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 42px;
}

.footer-grid {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
}

.legal-shell {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  padding: 50px 0 72px;
}

.legal-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.legal-card + .legal-card {
  margin-top: 18px;
}

.breadcrumbs {
  display: inline-flex;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.back-link {
  color: var(--brand);
  font-weight: 600;
}

@media (max-width: 980px) {
  .hero-grid,
  .showcase,
  .section-grid,
  .metrics,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }
}
