@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root{
  --ink:#17161A;
  --ink-soft:#2A282F;
  --paper:#EFEBE2;
  --paper-2:#E3DDCF;
  --card:#F6F3EC;
  --hazard:#F0A93A;
  --rust:#B7472A;
  --steel:#6E6A61;
  --line:#C9C2B2;
  --line-dark:#3A383F;
  --radius:2px;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:'Vazirmatn',sans-serif;
  background:var(--paper);
  color:var(--ink);
  line-height:1.75;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;display:block;}

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

.code, .mono{
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  unicode-bidi:isolate;
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 28px;
}

:focus-visible{
  outline:3px solid var(--rust);
  outline-offset:2px;
}

/* ---------- tread divider (signature motif) ---------- */
.tread{
  height:14px;
  width:100%;
  background-image:repeating-linear-gradient(
    115deg,
    var(--ink) 0 10px,
    transparent 10px 20px
  );
  background-color:var(--paper-2);
  opacity:.9;
}
.tread.on-dark{
  background-color:var(--ink);
  background-image:repeating-linear-gradient(
    115deg,
    var(--hazard) 0 8px,
    transparent 8px 20px
  );
  opacity:.35;
}

/* ---------- header ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--ink);
  color:var(--paper);
  border-bottom:1px solid var(--line-dark);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  font-size:1.15rem;
  letter-spacing:.2px;
}
.brand-badge{flex:none;}
.brand small{
  display:block;
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  font-weight:600;
  font-size:.62rem;
  letter-spacing:.12em;
  color:var(--hazard);
  margin-top:2px;
}
.nav{
  display:flex;
  align-items:center;
  gap:6px;
}
.nav a{
  padding:10px 14px;
  font-weight:600;
  font-size:.95rem;
  border-radius:var(--radius);
  color:var(--paper);
  opacity:.82;
  transition:opacity .15s ease, background .15s ease;
}
.nav a:hover{opacity:1;background:rgba(240,169,58,.1);}
.nav a.current{
  opacity:1;
  color:var(--hazard);
  box-shadow:inset 0 -2px 0 var(--hazard);
}
.header-phone{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  font-size:.82rem;
  color:var(--paper);
  opacity:.85;
}
.header-phone .num{
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  font-weight:700;
  font-size:.95rem;
  color:var(--hazard);
  opacity:1;
}
.nav-toggle{display:none;}

@media (max-width:800px){
  .header-phone{display:none;}
  .nav-toggle{
    display:inline-flex;
    background:none;
    border:1px solid var(--line-dark);
    color:var(--paper);
    padding:8px 12px;
    border-radius:var(--radius);
    font-family:inherit;
    font-size:.85rem;
  }
  .nav{
    position:absolute;
    inset-inline:0;
    top:100%;
    background:var(--ink);
    flex-direction:column;
    align-items:stretch;
    padding:6px 28px 16px;
    border-bottom:1px solid var(--line-dark);
    display:none;
  }
  .nav.open{display:flex;}
  .nav a{padding:12px 6px;}
}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 26px;
  font-weight:700;
  font-size:.95rem;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .12s ease, background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover{transform:translateY(-1px);}
.btn-primary{background:var(--hazard);color:var(--ink);}
.btn-primary:hover{background:#f7b95a;}
.btn-ghost{border-color:var(--paper);color:var(--paper);}
.btn-ghost:hover{background:rgba(239,235,226,.08);}
.btn-dark{background:var(--ink);color:var(--paper);}
.btn-dark:hover{background:var(--ink-soft);}

/* ---------- hero ---------- */
.hero{
  background:var(--ink);
  color:var(--paper);
  position:relative;
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:40px;
  align-items:center;
  padding:76px 0 64px;
}
.eyebrow{
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  display:inline-block;
  font-size:.72rem;
  letter-spacing:.14em;
  color:var(--hazard);
  border:1px solid rgba(240,169,58,.4);
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:22px;
}
.hero h1{
  font-size:clamp(2.1rem,4.4vw,3.4rem);
  font-weight:900;
  line-height:1.28;
  margin-bottom:20px;
}
.hero h1 span{color:var(--hazard);}
.hero p{
  font-size:1.08rem;
  color:#CFCAC0;
  max-width:46ch;
  margin-bottom:32px;
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.hero-badge-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
}

@media (max-width:860px){
  .hero-inner{grid-template-columns:1fr;padding:52px 0 40px;text-align:center;}
  .hero p{margin-inline:auto;}
  .hero-actions{justify-content:center;}
  .hero-badge-wrap{order:-1;}
  .hero-badge-wrap svg{width:150px;height:150px;}
}

/* ---------- sections ---------- */
section{padding:72px 0;}
.section-head{
  max-width:60ch;
  margin-bottom:44px;
}
.section-head .eyebrow{color:var(--rust);border-color:rgba(183,71,42,.35);}
.section-head h2{
  font-size:clamp(1.6rem,2.6vw,2.2rem);
  font-weight:800;
  margin-bottom:12px;
}
.section-head p{color:var(--steel);font-size:1.02rem;}

/* stats */
.stats{
  background:var(--paper-2);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  padding:36px 0;
}
.stat{
  text-align:center;
  padding:12px 10px;
  border-inline-start:1px solid var(--line);
}
.stat:first-child{border-inline-start:none;}
.stat .num{
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  display:block;
  font-size:2.1rem;
  font-weight:700;
  color:var(--rust);
}
.stat .lbl{font-size:.88rem;color:var(--steel);margin-top:6px;}
@media (max-width:700px){
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .stat{border-inline-start:none;border-top:1px solid var(--line);}
  .stat:nth-child(-n+2){border-top:none;}
}

/* feature cards */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 24px;
  transition:border-color .15s ease, transform .15s ease;
}
.card:hover{border-color:var(--rust);transform:translateY(-3px);}
.card .mark{
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  color:var(--hazard);
  background:var(--ink);
  display:inline-flex;
  width:34px;height:34px;
  align-items:center;justify-content:center;
  font-weight:700;
  font-size:.8rem;
  border-radius:var(--radius);
  margin-bottom:16px;
}
.card h3{font-size:1.08rem;font-weight:800;margin-bottom:10px;}
.card p{color:var(--steel);font-size:.95rem;}
@media (max-width:860px){.cards{grid-template-columns:1fr;}}

/* CTA band */
.cta-band{
  background:var(--ink);
  color:var(--paper);
  border-radius:var(--radius);
  padding:48px 40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  position:relative;
  overflow:hidden;
}
.cta-band h2{font-size:1.5rem;font-weight:800;margin-bottom:8px;}
.cta-band p{color:#CFCAC0;}

/* ---------- footer ---------- */
.site-footer{
  background:var(--ink);
  color:#C9C4B8;
  padding:52px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  padding-bottom:36px;
}
.footer-grid h4{
  color:var(--paper);
  font-size:.92rem;
  font-weight:800;
  margin-bottom:16px;
  letter-spacing:.02em;
}
.footer-grid p, .footer-grid li{font-size:.9rem;line-height:2;color:#B9B3A6;}
.footer-grid ul{list-style:none;}
.footer-grid a{transition:color .15s ease;}
.footer-grid a:hover{color:var(--hazard);}
.footer-brand p{max-width:32ch;color:#B9B3A6;font-size:.92rem;}
.footer-bottom{
  border-top:1px solid var(--line-dark);
  padding-top:22px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:.8rem;
  color:#8A857A;
}
.footer-bottom .mono{color:#8A857A;}
@media (max-width:860px){
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:520px){
  .footer-grid{grid-template-columns:1fr;}
}

/* ---------- about page ---------- */
.timeline{
  border-inline-start:2px solid var(--line);
  padding-inline-start:28px;
  display:flex;
  flex-direction:column;
  gap:36px;
}
.timeline-item{position:relative;}
.timeline-item::before{
  content:"";
  position:absolute;
  inset-inline-start:-34px;
  top:4px;
  width:12px;height:12px;
  background:var(--rust);
  border-radius:50%;
  box-shadow:0 0 0 4px var(--paper);
}
.timeline-item .year{
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  display:inline-block;
  color:var(--rust);
  font-weight:700;
  margin-bottom:6px;
}
.timeline-item h3{font-size:1.1rem;font-weight:800;margin-bottom:6px;}
.timeline-item p{color:var(--steel);max-width:60ch;}

.values-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}
@media (max-width:700px){.values-grid{grid-template-columns:1fr;}}

/* ---------- store page ---------- */
.store-toolbar{
  display:flex;
  align-items:center;
  gap:14px;
  justify-content:space-between;
  flex-wrap:wrap;
  margin-bottom:28px;
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
}
.store-search{
  flex:1;
  min-width:220px;
  position:relative;
}
.store-search input{
  width:100%;
  padding:13px 16px;
  border:1px solid var(--line);
  background:var(--card);
  border-radius:var(--radius);
  font-family:inherit;
  font-size:.95rem;
  color:var(--ink);
}
.store-search input:focus{border-color:var(--rust);}
.store-count{
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  font-size:.82rem;
  color:var(--steel);
  white-space:nowrap;
}
.tire-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.tire-box{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:20px;
  transition:border-color .15s ease, transform .15s ease;
}
.tire-box:hover{border-color:var(--rust);transform:translateY(-2px);}
.tire-box .brandline{
  font-size:.78rem;
  font-weight:700;
  color:var(--rust);
  text-transform:uppercase;
  letter-spacing:.03em;
  margin-bottom:6px;
}
.tire-box h3{font-size:1.02rem;font-weight:800;margin-bottom:10px;}
.tire-box .size{
  display:inline-block;
  font-family:'JetBrains Mono',monospace;
  direction:ltr;
  font-size:.82rem;
  background:var(--paper-2);
  padding:4px 9px;
  border-radius:var(--radius);
  color:var(--ink-soft);
  margin-bottom:12px;
}
.tire-box .price{
  font-size:.88rem;
  color:var(--steel);
  border-top:1px dashed var(--line);
  padding-top:10px;
}
.tire-box .price b{color:var(--ink);font-family:'JetBrains Mono',monospace;direction:ltr;display:inline-block;}
.tire-box[hidden]{display:none;}
@media (max-width:900px){.tire-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:560px){.tire-grid{grid-template-columns:1fr;}}

.store-note{
  margin-top:32px;
  font-size:.86rem;
  color:var(--steel);
  border-inline-start:3px solid var(--hazard);
  padding-inline-start:14px;
}

/* page intro (about/store hero, lighter than home) */
.page-intro{
  background:var(--paper-2);
  border-bottom:1px solid var(--line);
  padding:56px 0 44px;
}
.page-intro .eyebrow{color:var(--rust);border-color:rgba(183,71,42,.35);}
.page-intro h1{font-size:clamp(1.9rem,3.6vw,2.6rem);font-weight:900;margin-bottom:14px;}
.page-intro p{color:var(--steel);max-width:62ch;font-size:1.02rem;}
