:root {
  --green: #14532d;
  --green-2: #1f7a43;
  --gold: #d4a32a;
  --gold-soft: #f6ead0;
  --ink: #17231b;
  --muted: #56645b;
  --bg: #fbfaf6;
  --card: #ffffff;
  --line: #e6e2d6;
  --wa: #1fa855;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 40, 25, .06), 0 6px 20px rgba(20, 40, 25, .06);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.lang-fa { --font: "Vazirmatn", "Inter", system-ui, sans-serif; }
.lang-ar { --font: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9efe9; --muted: #a8b5ab; --bg: #0f1712; --card: #16211a; --line: #26352b;
    --gold-soft: #2a2412; --shadow: 0 1px 2px rgba(0,0,0,.3);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; }
a { color: var(--green-2); }
@media (prefers-color-scheme: dark) { a { color: #7fd39b; } }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.section { padding: 40px 16px; }
.wrap.section { padding-left: 16px; padding-right: 16px; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--gold); margin-bottom: .6em; }
.lang-fa .eyebrow, .lang-ar .eyebrow { text-transform: none; letter-spacing: 0; font-size: .92rem; }
.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; inset-inline-start: 16px; top: 8px; z-index: 100; background: #fff; color: #14532d; padding: 8px 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand strong { display: block; font-size: 1.05rem; line-height: 1.1; }
.brand small { display: block; white-space: nowrap; font-size: .72rem; color: var(--muted); font-family: "Inter", sans-serif; }
.brand.light, .brand.light small { color: #fff; }
.logo-mark { width: 38px; height: 38px; flex: none; }
.main-nav { display: flex; gap: 2px; margin-inline-start: auto; flex-wrap: nowrap; white-space: nowrap; }
.main-nav a, .langs a { text-decoration: none; color: var(--ink); padding: 6px 10px; border-radius: 8px; font-size: .93rem; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--gold-soft); }
.langs { display: flex; gap: 2px; border-inline-start: 1px solid var(--line); padding-inline-start: 10px; }
.langs a { font-size: .85rem; color: var(--muted); padding: 4px 7px; }
.langs a[aria-current="true"] { color: var(--green-2); background: var(--gold-soft); }
.mnav { display: none; margin-inline-start: auto; }
.mnav summary { list-style: none; cursor: pointer; padding: 10px; display: grid; gap: 5px; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 24px; height: 2px; background: var(--ink); }
.mnav-panel { position: absolute; inset-inline: 0; top: 64px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: grid; gap: 2px; box-shadow: var(--shadow); }
.mnav-panel a { padding: 10px 6px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.langs-m { display: flex; gap: 8px; padding-top: 8px; }
.langs-m a { border: 0; color: var(--muted); }
@media (max-width: 1180px) { .main-nav, .langs { display: none; } .mnav { display: block; } }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-ghost.light { color: #fff; border-color: rgba(255,255,255,.5); }
.ico { width: 20px; height: 20px; flex: none; }
.more { font-weight: 700; text-decoration: none; }
.lang-fa .more, .lang-ar .more { unicode-bidi: plaintext; }

/* hero */
.hero { padding: 48px 0 36px; background: radial-gradient(1200px 400px at 10% -10%, var(--gold-soft), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-img { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-img { aspect-ratio: 16/9; } }

.trust { background: var(--green); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; font-weight: 600; font-size: .95rem; }
.trust li::before { content: "✓ "; color: var(--gold); }

/* cards */
.cards2, .cards3 { display: grid; gap: 16px; }
.cards2 { grid-template-columns: repeat(2, 1fr); }
.cards3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cards2, .cards3 { grid-template-columns: 1fr; } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.box p:last-child { margin: 0; }
.band { background: var(--gold-soft); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 10px; }
.lang-fa .steps li::before { content: counter(s, persian); }
.lang-ar .steps li::before { content: counter(s, arabic-indic); }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 18px 0; }
.pcard { display: grid; justify-items: center; gap: 6px; padding: 16px 10px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; transition: transform .15s, border-color .15s; }
.pcard:hover { transform: translateY(-2px); border-color: var(--gold); }
.pcard img { width: 80px; height: 80px; object-fit: contain; }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px; font-size: .93rem; }

/* inner pages */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 14px 0 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-inline-end: 6px; }
.lang-fa .crumbs li + li::before, .lang-ar .crumbs li + li::before { content: "‹"; }
.crumbs a { color: var(--muted); }
.page-head { padding-top: 24px; padding-bottom: 12px; }
.prod-head { display: flex; gap: 28px; align-items: center; }
.prod-head > img { width: 140px; height: 140px; object-fit: contain; flex: none; background: var(--card); border-radius: 24px; padding: 12px; border: 1px solid var(--line); }
@media (max-width: 640px) { .prod-head { flex-direction: column; align-items: flex-start; } .prod-head > img { width: 104px; height: 104px; } }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-inline-start: 28px; position: relative; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 14px; height: 8px; border-inline-start: 3px solid var(--green-2); border-bottom: 3px solid var(--green-2); transform: rotate(-45deg); }
.lang-fa .ticks li::before, .lang-ar .ticks li::before { transform: rotate(45deg) scaleX(-1); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; }
.facts dt { font-weight: 700; color: var(--muted); }
.facts dd { margin: 0; }
.facts small { color: var(--muted); }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } .facts dd { margin-bottom: 8px; } }
.prose { max-width: 820px; }
.prose h2 { margin-top: 1.4em; }
blockquote { margin: 1em 0; padding: 16px 20px; border-inline-start: 4px solid var(--gold); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; min-width: 520px; }
th, td { padding: 11px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--green); color: #fff; }
tbody tr:last-child > * { border-bottom: 0; }

/* faq */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 700; list-style: none; position: relative; padding-inline-end: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 18px; top: 12px; font-size: 1.4rem; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

/* forms */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } .form-card { padding: 18px; } }
form label { display: grid; gap: 4px; font-size: .93rem; font-weight: 600; margin-bottom: 4px; }
form input:not([type=radio]), form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
form input:focus, form textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 14px 0; padding: 10px 14px; }
legend { font-weight: 700; font-size: .93rem; padding: 0 6px; }
label.radio { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 4px 0; }
.form-error { color: #c0392b; font-weight: 600; }

/* cta + footer */
.cta-band { background: var(--green); color: #fff; padding: 44px 0; margin-top: 30px; }
.cta-band p { color: #d7e8dc; max-width: 46em; }
.site-footer { background: #0c2416; color: #cfdcd2; padding: 40px 0 0; }
.site-footer a { color: #fff; }
.fgrid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.fgrid p { font-size: .92rem; margin-top: 12px; }
.flinks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; align-content: start; }
.flinks a { text-decoration: none; font-size: .95rem; }
.fcontact { display: grid; gap: 8px; align-content: start; font-size: .95rem; }
.fcontact a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding: 16px; font-size: .82rem; color: #9fb3a5; }
@media (max-width: 760px) { .fgrid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 60; }
.wa-float .ico { width: 30px; height: 30px; }
