:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --text: #1b1d1f;
  --muted: #5d6166;
  --line: #e4e0d8;
  --accent: #1f5c4a;
  --accent-soft: #e3eee9;
  --radius: 14px;
  --max: 1080px;
  font-size: 17px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121413;
    --surface: #1a1d1c;
    --text: #eceae5;
    --muted: #a3a7a5;
    --line: #2c312f;
    --accent: #7cc4aa;
    --accent-soft: #1f2c27;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}
html[dir="rtl"] body { font-family: "Rubik", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--text); text-decoration: none; direction: ltr; }
.logo span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px; font-size: 0.85rem; }

/* Sections */
.hero { padding: 88px 0 72px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 18ch; }
html[dir="rtl"] .hero h1 { letter-spacing: 0; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin: 0 0 32px; }
.eyebrow { display: inline-block; color: var(--accent); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.btn { display: inline-block; background: var(--accent); color: var(--bg); padding: 13px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 64px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 0 0 12px; }
html[dir="rtl"] section h2 { letter-spacing: 0; }
.lead { color: var(--muted); max-width: 60ch; margin: 0 0 36px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .num { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }

.prose { max-width: 66ch; }
.prose p { margin: 0 0 18px; }
.prose h2 { margin-top: 40px; }

.cta { text-align: center; }
.cta .lead { margin-left: auto; margin-right: auto; }
.cta .actions { justify-content: center; }

/* Contact */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.channels { display: grid; gap: 12px; align-content: start; }
.channel { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--text); }
.channel small { color: var(--muted); }
.channel strong { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .channel strong { text-align: right; }
form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 500; }
input, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.status { margin: 0; font-size: 0.95rem; min-height: 1.4em; }
.status.ok { color: var(--accent); }
.status.err { color: #c0392b; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.88rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--text); }
.prose ul { margin: 0 0 18px; padding-inline-start: 22px; }
.prose li { margin-bottom: 8px; }
