/* ===================== TOKENS ===================== */
:root {
  --ink: #1C1F26;
  --ink-soft: #30343d;
  --steel: #4a5260;
  --bone: #F3EFE6;
  --bone-dim: #e8e1d2;
  --signal: #E8A33D;
  --signal-deep: #C77E1E;
  --line: rgba(28, 31, 38, 0.12);

  --font-display: 'Vazirmatn', Tahoma, sans-serif;
  --font-body: 'Vazirmatn', Tahoma, sans-serif;

  --radius: 4px;
  --container: 1100px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

/* ===================== HAZARD STRIP (signature) ===================== */
.hazard-strip {
  height: 8px;
  background: repeating-linear-gradient(
    -45deg,
    var(--signal) 0px,
    var(--signal) 14px,
    var(--ink) 14px,
    var(--ink) 28px
  );
}

/* ===================== HEADER ===================== */
.site-header {
  background: var(--ink);
  color: var(--bone);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 3px solid var(--signal);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--signal);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.85rem;
  color: #b7bcc6;
  margin-top: 2px;
}

.header-call {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--signal);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-call:hover {
  background: var(--signal-deep);
  transform: translateY(-1px);
}

.call-icon { font-size: 1.1rem; }

/* ===================== HERO ===================== */
.hero {
  background: var(--ink);
  color: var(--bone);
  padding: 72px 0 88px;
  position: relative;
}

.hero-inner {
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--signal);
  letter-spacing: 1px;
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.35;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.1rem;
  color: #cfd3da;
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--signal);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--signal-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 2px solid #4a5260;
  color: var(--bone);
}

.btn-ghost:hover {
  border-color: var(--signal);
  color: var(--signal);
}

/* ===================== PRODUCTS ===================== */
.products {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 48px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-weight: 700;
  color: var(--signal-deep);
  border: 1.5px solid var(--signal);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(28,31,38,0.08);
  border-color: var(--signal);
}

.card-img {
  aspect-ratio: 400 / 260;
  background: var(--bone-dim);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 26px 26px 32px;
}

.card-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.8rem;
  -webkit-text-stroke: 1.5px var(--signal);
  color: transparent;
  margin-bottom: 14px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.product-card p {
  color: var(--steel);
  font-size: 0.95rem;
}

.product-card strong {
  color: var(--ink);
}

/* ===================== ABOUT ===================== */
.about {
  background: var(--bone-dim);
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.about-text p {
  color: var(--steel);
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--bone);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid var(--signal);
  flex-shrink: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.4rem;
  color: var(--signal);
}

.stat-label {
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding-top: 48px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
}

.footer-inner h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 6px;
}

.footer-inner p {
  color: #b7bcc6;
  font-size: 0.9rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.footer-contact a {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--signal);
}

.footer-contact span {
  color: #b7bcc6;
  font-size: 0.9rem;
}

.footer-copy {
  text-align: center;
  padding: 18px 0;
  font-size: 0.85rem;
  color: #8a90a0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .header-call { width: 100%; justify-content: center; }
  .product-grid { grid-template-columns: 1fr; }
  .about-inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
}

/* ===================== ACCESSIBILITY ===================== */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
