/* چرخونه — دمو | استایل سراسری، موبایل‌اول */
@font-face {
  font-family: 'Estedad';
  src: url('../fonts/Estedad-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand: #c21f3a;
  --brand-deep: #9e0027;
  --brand-soft: rgba(194, 31, 58, 0.08);
  --brand-ring: rgba(194, 31, 58, 0.22);
  --gold: #a9803f;
  --ink: #1b1b1c;
  --ink-2: #5b6561;
  --ink-3: #8b948f;
  --surface: #ffffff;
  --surface-2: #faf7f7;
  --line: #e8eae6;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 27, 28, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Estedad', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--surface-2);
  direction: rtl;
}

img { max-width: 100%; height: auto; }

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* ---------- Header band ---------- */
.hero {
  background: linear-gradient(180deg, #fdf3f4 0%, var(--surface-2) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(28px, 6vw, 64px) 0 clamp(32px, 6vw, 56px);
}

.hero__grid {
  display: grid;
  gap: clamp(24px, 5vw, 48px);
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 5fr 6fr; }
}

.brandline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.brandline svg { width: 44px; height: 49px; flex: none; }

.brandline strong {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: 0.2px;
}

.hero h1 {
  font-size: clamp(24px, 4.4vw, 40px);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 14px;
}

.hero p.lead {
  color: var(--ink-2);
  font-size: clamp(16px, 2vw, 18px);
  margin: 0 0 22px;
}

.hero .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--brand-deep);
  box-shadow: 0 6px 18px var(--brand-ring);
}

.hero .cta:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--brand-ring);
  outline-offset: 2px;
}

.hero__shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.winbar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: #f3eeef;
  border-bottom: 1px solid var(--line);
}

.winbar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e3b7bd;
}

.winbar i:nth-child(1) { background: var(--brand); }
.winbar i:nth-child(2) { background: #e9c26a; }
.winbar i:nth-child(3) { background: #7fb08a; }

.winbar span {
  margin-inline-start: auto;
  font-size: 12px;
  color: var(--ink-3);
}

/* ---------- Sections ---------- */
section { padding: clamp(36px, 7vw, 72px) 0; }

section.alt { background: var(--surface); border-block: 1px solid var(--line); }

.sec-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }

.sec-head h2 {
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 800;
  margin: 0 0 10px;
}

.sec-head .kicker {
  display: inline-block;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-ring);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sec-head p { color: var(--ink-2); margin: 0; }

/* capability cards */
.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-ring);
  display: grid;
  place-items: center;
  color: var(--brand);
  margin-bottom: 14px;
}

.card .ico svg { width: 24px; height: 24px; }

.card h3 { font-size: 18px; font-weight: 800; margin: 0 0 8px; }

.card p { color: var(--ink-2); margin: 0; font-size: 15.5px; }

/* steps */
.steps {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  counter-reset: step;
}

@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow);
}

.step::before {
  counter-increment: step;
  content: counter(step, persian);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* supported list */
.sups { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .sups { grid-template-columns: repeat(2, 1fr); } }

.sup {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

.sup svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 5px; }

.sup b { font-weight: 800; }
.sup span { color: var(--ink-2); font-size: 15px; }

/* gallery */
.gallery {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.shot {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot a { display: block; }

.shot img { display: block; width: 100%; height: auto; }

.shot figcaption {
  padding: 12px 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
}

/* compatibility */
.compat { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .compat { grid-template-columns: repeat(2, 1fr); } }

.compat .item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  font-size: 15.5px;
  color: var(--ink-2);
}

.compat .item svg { width: 22px; height: 22px; color: #3d7a4e; flex: none; margin-top: 3px; }
.compat .item b { color: var(--ink); }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
}

.faq summary {
  cursor: pointer;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  margin-inline-start: auto;
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
}

.faq details[open] summary::after { content: '−'; }

.faq details p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; }

/* performance strip */
.perf {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) { .perf { grid-template-columns: repeat(4, 1fr); } }

.perf .p {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  color: var(--ink-2);
  font-size: 14.5px;
}

.perf .p b {
  display: block;
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
}

/* footer */
footer {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
}

footer svg { width: 30px; height: 34px; vertical-align: middle; margin-inline-end: 8px; }

/* gentle reveal (respect reduced motion) */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
