/* Local variable fonts: licenses and source notes are in assets/fonts/. */
@font-face {
  font-family: 'Estedad';
  src: url('assets/fonts/estedad-arabic-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --red: #e90020;
  --ink: #101114;
  --muted: #adaeb5;
  --line: #292b31;
  --panel: #191b20;
  --white: #f5f5f5;
  --font-fa: 'Estedad', 'Manrope', Tahoma, sans-serif;
  --font-latin: 'Manrope', 'Estedad', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-fa);
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; letter-spacing: normal; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}
img { display: block; width: 100%; height: auto; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.latin, [lang='en'], .name, .serial, .num {
  font-family: var(--font-latin);
  direction: ltr;
}
.latin { letter-spacing: .13em; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { letter-spacing: normal; }
h1, h2 { text-wrap: balance; }

/* Navigation */
.topline { background: #070809; border-bottom: 1px solid #222; color: #bcbcc1; font-size: .75rem; }
.topline .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 7px; }
.topline .latin { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; }
.navbar { position: sticky; top: 0; z-index: 10; background: #101114f2; backdrop-filter: blur(14px); border-bottom: 1px solid #ffffff12; }
.navinner { min-height: 88px; display: flex; align-items: center; gap: 28px; justify-content: space-between; }
.brand { width: 155px; flex: none; }
.brand img { mix-blend-mode: screen; }
.navlinks { display: flex; gap: 28px; font-size: .875rem; font-weight: 500; color: #d2d2d7; }
.navlinks a:hover { color: white; }
.btn { min-height: 48px; border: 0; border-radius: 5px; padding: 12px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: .875rem; font-weight: 650; line-height: 1.9; white-space: nowrap; }
.primary { background: var(--red); color: white; }
.primary:hover { background: #cc001c; }
.ghost { background: #10111440; color: white; border: 1px solid #ffffff60; }
.ghost:hover { border-color: white; }
.menuBtn, .mobile-nav { display: none; }

/* The supplied landscape artwork remains untouched. CSS controls framing. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #101114; }
.heroimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(270deg, #101114e8 0%, #101114cb 25%, #1011145c 48%, #10111400 73%), linear-gradient(0deg, #101114 0%, #10111400 23%);
  pointer-events: none;
}
.heroimg { z-index: -2; }
.hero .wrap { position: relative; min-height: clamp(650px, 50vw, 760px); display: flex; align-items: center; }
.herocopy { width: min(100%, 590px); padding: 76px 0 86px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: #d6d6dc; font-size: .75rem; font-weight: 650; line-height: 1.7; }
.eyebrow::before { content: ''; display: block; width: 30px; height: 2px; flex: none; background: var(--red); }
h1 { font-size: clamp(2.5rem, 4.1vw, 3.75rem); font-weight: 780; line-height: 1.75; margin: 22px 0 20px; }
h1 em { color: var(--red); font-style: normal; }
.herocopy p { max-width: 440px; color: #d3d3d9; font-size: 1.0625rem; line-height: 2.1; margin: 0 0 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { color: #c1c1c9; font-size: .75rem; margin-top: 26px; display: flex; gap: 9px; align-items: baseline; }
.dot { width: 6px; height: 6px; background: var(--red); border-radius: 50%; display: inline-block; flex: none; }
.heroindex { position: absolute; left: 40px; bottom: 24px; font-size: .6875rem; color: #d2d2d9; direction: ltr; }

.ribbon { border-block: 1px solid var(--line); background: #15161a; }
.ribbon .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.ribbon-item { padding: 24px 20px; display: flex; gap: 16px; align-items: center; border-left: 1px solid var(--line); }
.ribbon-item:last-child { border: none; }
.ribbon-item svg { width: 30px; height: 30px; stroke: var(--red); fill: none; stroke-width: 1.6; flex: none; }
.ribbon-item b { font-size: .875rem; font-weight: 650; }
.ribbon-item small { display: block; color: var(--muted); font-size: .8125rem; }

/* Catalog: comfortable Persian text and distinct, compact Latin model names. */
.section { padding: 80px 0; scroll-margin-top: 96px; }
.sec-title { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 28px; }
h2 { font-size: clamp(1.75rem, 2.7vw, 2.5rem); line-height: 1.8; margin: 12px 0 0; font-weight: 720; }
.sec-title p, .muted { color: var(--muted); font-size: .9375rem; line-height: 2.05; }
.sec-title p { max-width: 360px; margin-bottom: 6px; }
.tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 8px 0 20px; margin-bottom: 24px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { min-height: 44px; padding: 8px 14px; border-radius: 4px; border: 1px solid var(--line); color: #c8c9cf; background: transparent; font-size: .875rem; line-height: 1.8; }
.filter.active { background: var(--white); color: var(--ink); border-color: var(--white); font-weight: 650; }
.search { display: flex; gap: 10px; align-items: center; min-width: 240px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; color: var(--muted); }
.search input { min-width: 0; width: 100%; background: none; color: white; border: 0; font-size: 1rem; }
.search input:focus-visible { outline-offset: 6px; }
.results { color: var(--muted); font-size: .8125rem; margin: 0 0 16px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product { min-width: 0; border: 1px solid var(--line); background: var(--panel); border-radius: 7px; overflow: hidden; transition: transform .2s, border-color .2s; }
.product:hover { transform: translateY(-3px); border-color: #53545b; }
.photo { position: relative; height: 265px; overflow: hidden; background: #303136; cursor: pointer; }
.photo img { height: 100%; object-fit: cover; object-position: center 42%; transition: transform .35s; }
.product:hover .photo img { transform: scale(1.04); }
.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #0005, transparent 40%); pointer-events: none; }
.tag { position: absolute; right: 12px; top: 12px; z-index: 1; font-size: .75rem; font-weight: 600; background: #101114ee; border: 1px solid #ffffff30; border-radius: 3px; padding: 4px 10px; }
.tag.new { background: var(--red); border-color: var(--red); }
.serial { position: absolute; bottom: 10px; left: 12px; z-index: 1; font-size: .75rem; font-weight: 600; color: white; letter-spacing: .08em; }
.productbody { padding: 22px; }
.category { font-size: .8125rem; color: #a9abb3; }
.name { text-align: right; font-size: 1.5rem; font-weight: 750; line-height: 1.45; letter-spacing: -.025em; margin: 10px 0 6px; text-wrap: balance; }
.fa-name { font-size: .875rem; line-height: 1.9; color: #c6c7cd; }
.specs { display: flex; flex-wrap: wrap; gap: 7px 14px; min-height: 66px; padding: 14px 0; margin: 12px 0 16px; border-block: 1px solid var(--line); font-size: .8125rem; line-height: 2; color: #c8c9cf; }
.specs span { display: inline-flex; align-items: baseline; gap: 6px; }
.specs span::before { content: ''; width: 4px; height: 4px; flex: none; background: var(--red); border-radius: 50%; }
.cardfoot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.cardfoot small { display: block; color: var(--muted); font-size: .75rem; }
.cardfoot strong { font-size: .875rem; font-weight: 600; }
.details { min-height: 44px; border: 1px solid #555860; background: none; color: white; padding: 8px 12px; border-radius: 4px; font-size: .8125rem; font-weight: 600; }
.details:hover { background: #fff; color: #111; }
.empty { border: 1px dashed #444; padding: 40px 20px; text-align: center; color: var(--muted); grid-column: 1 / -1; }

/* Existing services, inquiry form and product dialog. */
.service { background: #16171b; border-block: 1px solid var(--line); }
.servicegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.servicecard { border: 1px solid #303137; border-radius: 5px; padding: 30px; background: #1a1b20; }
.servicecard .num { display: inline-block; font-size: .8125rem; font-weight: 650; color: var(--red); letter-spacing: .13em; }
.servicecard h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.8; margin: 16px 0 10px; }
.servicecard p { font-size: 1rem; line-height: 2.05; color: var(--muted); margin: 0 0 20px; }
.servicecard button { min-height: 44px; color: white; background: none; border: none; padding: 0; font-size: .875rem; font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(1.875rem, 3vw, 2.75rem); }
.contact p { color: var(--muted); font-size: 1rem; line-height: 2.1; }
.contactbox { background: var(--panel); border: 1px solid var(--line); padding: 30px; border-radius: 6px; }
.contactbox > strong { font-size: 1.125rem; font-weight: 650; }
.contactbox label, .dialogbody label { display: block; font-size: .875rem; font-weight: 500; color: #d1d1d9; margin: 16px 0 7px; }
.field { width: 100%; min-width: 0; border: 1px solid #41434a; background: #101114; color: white; border-radius: 4px; padding: 11px 13px; font-size: 1rem; line-height: 1.9; }
textarea.field { resize: vertical; }
input::placeholder, textarea::placeholder { color: #92949f; opacity: 1; }
.contactbox .btn { width: 100%; margin-top: 20px; white-space: normal; }
.formnote, .contact .formnote { font-size: .8125rem; line-height: 2; color: var(--muted); margin: 14px 0 0; }
.footer { border-top: 1px solid var(--line); background: #0c0d10; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 0; }
.footer img { width: 135px; mix-blend-mode: screen; }
.footer p { font-size: .8125rem; color: var(--muted); margin: 0; }
.footer a { font-size: .875rem; color: #ddd; }
.dialog { padding: 0; background: #191b20; color: #fff; border: 1px solid #43444a; border-radius: 10px; width: min(900px, calc(100% - 28px)); max-height: 90vh; max-height: 90svh; overflow: auto; }
.dialog::backdrop { background: #000b; backdrop-filter: blur(6px); }
.dialogwrap { display: grid; grid-template-columns: 1fr 1fr; direction: rtl; position: relative; }
.dialogpic { height: 100%; min-height: 410px; object-fit: contain; background: #101114; }
.dialogbody { padding: 36px 28px; min-width: 0; }
.dialogbody h2 { font-family: var(--font-latin); font-size: 1.875rem; font-weight: 750; line-height: 1.4; letter-spacing: -.025em; text-align: right; direction: ltr; margin: 16px 0; }
.dialogbody .btn { width: 100%; margin-top: 12px; }
.close { position: absolute; left: 10px; top: 10px; z-index: 2; background: #111e; color: white; border: 1px solid #555; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; line-height: 1; }
.original { display: inline-block; margin: 16px 0; color: #c6c6ce; font-size: .8125rem; text-decoration: underline; text-underline-offset: 4px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 30; width: max-content; max-width: 90%; background: #fff; color: #111; padding: 14px 22px; border-radius: 5px; font-size: .875rem; line-height: 1.9; box-shadow: 0 5px 30px #0007; }
.toast[hidden] { display: none; }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 0; z-index: 99; background: #fff; color: #111; padding: 8px; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .navinner { gap: 18px; }
  .navlinks { gap: 18px; font-size: .8125rem; }
  .navinner > .btn { padding-inline: 16px; font-size: .8125rem; }
  .brand { width: 140px; }
  .herocopy { width: min(100%, 540px); }
  .grid { gap: 16px; }
  .productbody { padding: 18px; }
  .cardfoot { align-items: stretch; flex-direction: column; }
  .details { width: 100%; }
  .servicecard { padding: 24px; }
}
@media (max-width: 900px) {
  .navlinks, .navinner > .btn { display: none; }
  .menuBtn { display: block; min-height: 44px; background: none; color: white; border: 1px solid #444; border-radius: 4px; padding: 5px 14px; font-size: .875rem; }
  .mobile-nav.open { display: flex; flex-direction: column; padding: 0 24px 20px; gap: 6px; font-size: .9375rem; }
  .mobile-nav a { padding-block: 7px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo { height: 270px; }
  .ribbon-item { padding: 20px 10px; gap: 10px; }
  .contact { gap: 28px; }
  .servicegrid { grid-template-columns: 1fr; }
  .servicecard { padding: 26px; }
  .servicecard p { max-width: 640px; }
  .sec-title { display: block; }
  .sec-title p { max-width: none; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .topline .wrap { justify-content: center; font-size: .6875rem; padding-block: 6px; }
  .topline .latin { display: none; }
  .navinner { min-height: 72px; }
  .brand { width: 128px; }
  /* Full-width art above the copy keeps the showroom and motorcycles visible. */
  .heroimg { position: relative; inset: auto; z-index: 0; height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
  .hero::after { display: none; }
  .hero .wrap { min-height: 0; display: block; }
  .herocopy { width: 100%; padding: 30px 0 46px; }
  .eyebrow { font-size: .6875rem; gap: 10px; }
  .eyebrow .latin, .eyebrow.latin { letter-spacing: .11em; }
  h1 { font-size: clamp(2rem, 6.5vw, 2.75rem); line-height: 1.8; margin: 18px 0 18px; font-weight: 750; }
  .herocopy p { max-width: 32rem; font-size: 1rem; line-height: 2.05; margin-bottom: 25px; }
  .hero-note { font-size: .75rem; margin-top: 22px; }
  .heroindex { display: none; }
  .actions { gap: 10px; }
  .actions .btn { font-size: .875rem; padding: 12px 17px; }
  .ribbon .wrap { width: 100%; }
  .ribbon-item { padding: 18px 8px; gap: 8px; justify-content: flex-start; text-align: center; flex-direction: column; }
  .ribbon-item svg { width: 25px; height: 25px; }
  .ribbon-item b { display: block; font-size: .75rem; line-height: 1.9; font-weight: 550; }
  .ribbon-item small { display: none; }
  .section { padding: 52px 0; scroll-margin-top: 80px; }
  h2 { font-size: 1.75rem; line-height: 1.8; }
  .tools { gap: 16px; }
  .search { width: 100%; }
  .filter { font-size: .8125rem; padding: 8px 13px; }
  .contact { grid-template-columns: 1fr; gap: 26px; }
  .contactbox { padding: 24px; }
  .footer .wrap { flex-direction: column; text-align: center; gap: 18px; }
  .dialogwrap { grid-template-columns: 1fr; }
  .dialogpic { min-height: 0; max-height: 42vh; }
  .dialogbody { padding: 24px; }
}
@media (max-width: 560px) {
  /* One card per row avoids shrinking specifications and model names. */
  .grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .photo { height: auto; aspect-ratio: 4 / 3; }
  .productbody { padding: 22px; }
  .name { font-size: 1.5rem; }
  .cardfoot { flex-direction: row; align-items: center; }
  .details { width: auto; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  .actions .btn { flex: 1 1 100%; }
  .cardfoot { flex-direction: column; align-items: stretch; }
  .details { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
