:root {
  --ink: #17201d;
  --muted: #5c6b66;
  --line: #d9e1dd;
  --paper: #fbfaf7;
  --white: #ffffff;
  --green: #146351;
  --green-dark: #0d3f36;
  --gold: #b77a2b;
  --blue: #315c86;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(251,250,247,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { min-height: 72px; display: flex; align-items: center; gap: 22px; }
.brand { font-weight: 800; font-size: 1.05rem; margin-right: auto; color: var(--green-dark); }
[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }
.links { display: flex; gap: 18px; align-items: center; font-size: .94rem; color: var(--muted); }
.links a:hover { color: var(--green); }
.lang { position: relative; }
.lang button {
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  height: 40px; padding: 0 12px; border-radius: 8px; cursor: pointer;
}
.lang-menu {
  position: absolute; right: 0; top: 48px; display: none; min-width: 180px;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 8px;
  box-shadow: 0 18px 48px rgba(23,32,29,.14);
}
[dir="rtl"] .lang-menu { right: auto; left: 0; }
.lang.open .lang-menu { display: grid; grid-template-columns: 1fr; }
.lang-menu a { padding: 8px 10px; border-radius: 6px; font-size: .94rem; }
.lang-menu a:hover { background: #eef4f1; color: var(--green); }
.hero { padding: 82px 0 58px; background: linear-gradient(180deg, #f7f4ed 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 44px; align-items: center; }
.kicker { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; }
h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: 0; margin: 14px 0 18px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--muted); max-width: 760px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
  border-radius: 8px; border: 1px solid var(--green); font-weight: 750;
}
.btn.primary { background: var(--green); color: white; }
.btn.secondary { color: var(--green); background: transparent; }
.btn.whatsapp { border-color: #1f9b63; color: #137c4d; background: #eefaf4; }
.note { border-left: 4px solid var(--gold); padding-left: 16px; color: var(--muted); max-width: 840px; }
[dir="rtl"] .note { border-left: 0; border-right: 4px solid var(--gold); padding-left: 0; padding-right: 16px; }
.panel {
  background: var(--green-dark); color: white; border-radius: 8px; padding: 26px;
  box-shadow: 0 24px 70px rgba(13,63,54,.22);
}
.panel h2 { margin-top: 0; font-size: 1.5rem; }
.panel ul { margin: 0; padding-left: 20px; }
[dir="rtl"] .panel ul { padding-left: 0; padding-right: 20px; }
section { padding: 64px 0; }
.anchor-target { display: block; position: relative; top: -96px; height: 0; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.section-head h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.45rem); }
.section-head p { margin: 0; color: var(--muted); }
.grid { display: grid; gap: 16px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
[dir="rtl"] .card ul { padding-left: 0; padding-right: 20px; }
.band { background: #edf3ef; border-block: 1px solid var(--line); }
.steps { counter-reset: step; }
.step h3:before {
  counter-increment: step; content: counter(step) ". "; color: var(--gold);
}
.pricing .card { border-top: 4px solid var(--blue); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); margin-bottom: 0; }
.contact { background: var(--green-dark); color: white; }
.contact p { color: rgba(255,255,255,.82); max-width: 760px; }
.contact .btn.secondary { border-color: rgba(255,255,255,.55); color: white; }
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
  margin: 26px 0 10px;
}
.contact-form label { display: grid; gap: 6px; color: rgba(255,255,255,.84); font-weight: 700; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
.contact-form .form-full,
.contact-form button { grid-column: 1 / -1; }
.compliance { font-size: .9rem; color: rgba(255,255,255,.72); margin-top: 24px; }
footer { padding: 28px 0; color: var(--muted); border-top: 1px solid var(--line); }

@media (max-width: 840px) {
  .nav { flex-wrap: wrap; padding: 12px 0; }
  .links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  html[lang="zh"] .links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 10px; overflow: visible; }
  html[lang="zh"] .links a { white-space: nowrap; text-align: center; }
  .hero { padding-top: 46px; }
  .hero-grid, .cards-3, .cards-2 { grid-template-columns: 1fr; }
  .panel { padding: 22px; }
  .actions .btn { width: 100%; }
  .contact-form { grid-template-columns: 1fr; }
  .lang-menu { right: 0; max-height: 70vh; overflow-y: auto; }
}
