/* آهن ST — تطبیق با فریم‌های ۱۴۴۰ و ۳۹۰ پیکسلی فیگما */
/* 01. رنگ‌ها، فونت و قواعد پایه */
@font-face {
  font-family: Vazir;
  src: url('assets/fonts/vazir-font-v16.1.0/Farsi-Digits-Without-Latin/Vazir-FD-WOL.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Vazir;
  src: url('assets/fonts/vazir-font-v16.1.0/Farsi-Digits-Without-Latin/Vazir-Bold-FD-WOL.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
:root {
  --blue: #1c3abb;
  --orange: #f05023;
  --pale: #d4d8ed;
  --bg: #eaeaea;
  --text: #1a1a1a;
  --muted: #666464;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.7 Vazir, Tahoma, sans-serif; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; vertical-align: middle; }
h1, h2, h3, p { margin: 0; }
h2 { font-size: 24px; font-weight: 400; line-height: 1.6; }
h3 { font-size: 16px; }
a, button, summary { transition: color .7s, background-color .7s, border-color .7s, box-shadow .7s, transform .7s; }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-top: 76px; }
.section > h2 { margin-bottom: 16px; }
.section > .section-title { margin-bottom: 56px; }
.orange { color: var(--orange); }
.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--orange); border-radius: 12px; padding: 6px 16px; color: white; background: var(--orange); line-height: 1.5; }
.btn:hover { color: white; background: #ce3810; border-color: #ce3810; }
.btn.outline { color: var(--text); background: white; }
.btn.outline:hover { color: var(--orange); background: #fff5f1; }
.btn.blue { background: var(--blue); border-color: var(--blue); }
.spacer-bottom { height: 172px; }
.notice { margin-block: 12px; color: var(--muted); font-size: 12px; }

/* 02. سربرگ، جست‌وجو و منوی محصولات */
.header { background: white; }
.top { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand img { width: 105px; height: 76px; object-fit: contain; }
.top-left { display: flex; align-items: center; gap: 36px; }
.search { width: 350px; height: 40px; display: flex; align-items: center; padding-inline: 12px; border-radius: 15px; background: #f0f0f0; }
.search input { min-width: 0; width: 100%; height: 100%; border: 0; background: none; outline: 0; }
.search button { display: grid; place-items: center; padding: 0; background: none; border: 0; }
.search img { width: 24px; }
.phone { display: flex; direction: ltr; align-items: center; gap: 8px; font-size: 20px; white-space: nowrap; }
.phone img { width: 34px; }
.phone small { display: block; text-align: right; font-size: 13px; line-height: 1.3; }
.phone em, .phone-other-color { font-style: normal; color: var(--orange); }
.navline { border-top: 1px solid #ccc; }
.nav { display: flex; align-items: center; gap: 24px; height: 56px; }
.nav .spacer { flex: 1; }
.mobile-menu-button { display: none; }
.products-link { display: flex; align-items: center; gap: 12px; padding-left: 22px; border-left: 1px solid var(--blue); font-size: 20px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.hamb { width: 20px; height: 16px; display: inline-block; border-block: 2px solid var(--blue); background: linear-gradient(var(--blue),var(--blue)) center/100% 2px no-repeat; }
.product-menu { position: relative; }
.product-popup { position: absolute; right: 0; top: calc(100% + 18px); z-index: 20; width: min(850px, calc(100vw - 64px)); min-height: 280px; display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 16px; background: white; border-radius: 16px; box-shadow: 0 12px 35px #0002; }
.menu-tabs { display: flex; flex-direction: column; border-left: 1px solid #eee; padding-left: 10px; }
.menu-tabs button { border: 0; background: transparent; padding: 10px; text-align: right; border-radius: 5px; }
.menu-tabs button[aria-selected='true'], .menu-tabs button:hover { background: #fff0eb; color: var(--orange); }
.menu-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; align-content: start; }
.menu-panel a { display: block; padding: 8px 4px; font-size: 13px; }
.menu-panel h3 { margin-bottom: 12px; font-size: 14px; }
.banner { display: block; width: min(1440px,100%); margin-inline: auto; }
.banner picture, .banner img { display: block; width: 100%; }
.banner img { height: auto; }

/* 03. کروسل محصولات؛ فلش‌ها در مرکز بدنهٔ کارت */
.products-section { padding-top: 28px; }
.products-section > .section-title { margin-bottom: 72px; }
.product-carousel { position: relative; }
.carousel-window { overflow: hidden; padding-top: 64px; margin-top: -64px; }
.product-grid { display: flex; gap: 32px; }
.product { flex: 0 0 calc((100% - 96px)/4); position: relative; height: 204px; padding: 84px 8px 14px; background: white; border-radius: 16px; text-align: center; }
.product:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--blue); }
.product .round { position: absolute; top: -64px; right: 50%; transform: translateX(50%); width: 128px; height: 128px; display: grid; place-items: center; border: 16px solid var(--bg); border-radius: 50%; background: white; }
.round img { width: 76px; height: 76px; object-fit: contain; }
.product h3 { font-weight: 400; font-size: 30px; line-height: 1.5; margin-bottom: 20px; white-space: nowrap; }
.product p { font-size: 23px; color: #404040; }
.carousel-controls { display: contents; }
.carousel-controls button { position: absolute; top: var(--arrow-center,102px); transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--blue); background: white; color: var(--blue); }
.carousel-controls [data-carousel='previous'] { right: -56px; }
.carousel-controls [data-carousel='next'] { left: -56px; }
.carousel-controls [data-carousel='previous'] svg { transform: rotate(180deg); }
.carousel-controls button:hover { background: var(--blue); color: white; }

/* 04. ستون کنار، جدول دسکتاپ و کارت قیمت موبایل */
.layout { display: grid; grid-template-columns: 256px minmax(0,1fr); gap: 32px; }
.side { display: grid; align-content: start; gap: 24px; }
.box { background: white; border-radius: var(--radius); padding: 20px; }
.categories { padding: 12px 24px 20px; }
.categories details summary { padding-block: 6px; font-size: 16px; list-style: none; }
.categories details a { display: block; padding: 5px 16px; color: var(--muted); }
.categories details a:hover { color: var(--orange); }
.categories summary::after, .faq summary::after { content: ''; float: left; width: 20px; height: 24px; background: var(--orange); mask: url('assets/chevron-left.svg') center/14px no-repeat; transform: rotate(-90deg); }
.categories details[open] summary::after, .faq details[open] summary::after { transform: rotate(90deg); }
.contact-box { text-align: center; padding: 10px 24px 28px; }
.contact-box p { line-height: 1.3; font-size: 16px; margin-bottom: 12px; }
.contact-box > a { display: flex; direction: ltr; align-items: center; gap: 10px; justify-content: center; padding-block: 9px; font-size: 20px; white-space: nowrap; }
.contact-box > a img { width: 34px; }
.social { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.social a { display: grid; place-items: center; }
.social img { width: 40px; height: 40px; }
.contact-box .social { margin-top: 10px; }
.home-pricing > h2 { font-size: 22px; }
.price-categories { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.price-categories button { min-height: 30px; padding: 3px 18px; border: 0; border-radius: 999px; background: white; color: var(--muted); font-size: 14px; }
.price-categories button[aria-pressed='true'] { color: var(--text); box-shadow: inset 0 0 0 1px #1c3abb33; }
.price-categories button:hover { color: var(--blue); background: #f6f7ff; }
.price-category-empty { width: 100%; padding: 28px; background: white; border-radius: 16px; line-height: 1.9; }
.price-category-empty p { margin-bottom: 20px; }
.home-pricing .home-price-column .table-card { min-height: 0; }
.home-pricing .table-stripes { display: none; }
.home-price-column { min-width: 0; display: flex; }
.home-price-column .table-card { flex: 1; display: flex; flex-direction: column; min-height: 616px; }
.table-card { overflow: hidden; border-radius: var(--radius); background: white; }
.price-table { width: 100%; border-collapse: collapse; text-align: center; font-size: 13px; }
.price-table th { height: 56px; background: var(--pale); color: #172b4d; font-weight: 400; padding: 8px; white-space: nowrap; }
.price-table td { height: 56px; padding: 7px; white-space: nowrap; }
.price-table td:first-child { color: var(--orange); }
.price-table tbody tr:nth-child(even) { background: var(--pale); }
.price-table td:last-child { white-space: nowrap; }
.price-actions { display: inline-flex; align-items: center; gap: 10px; }
.small-btn { padding: 9px 10px; border-radius: 10px; }
.chart-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 8px; border: 0; border-radius: 10px; vertical-align: middle; background: var(--pale); }
.chart-btn img { width: 22px; height: 22px; }
.price-table tr:nth-child(even) .chart-btn { background: white; }
.table-stripes { flex: 1; min-height: 336px; background: repeating-linear-gradient(var(--pale) 0 56px,white 56px 112px); }
.empty-results { padding: 28px; background: white; border-radius: 12px; }

/* 05. معرفی و مراحل خرید */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; padding-top: 100px; }
.intro-text { min-height: 344px; display: flex; flex-direction: column; justify-content: space-between; }
.intro h2 { font-size: 22px; font-weight: 700; line-height: 1.6; margin-bottom: 16px; }
.intro p { font-size: 14px; line-height: 1.75; }
.intro p + p { margin-top: 16px; }
.intro > a img { width: 100%; height: 344px; object-fit: cover; border-radius: 16px; }
.benefits { display: flex; justify-content: space-between; gap: 12px; padding-block: 20px; }
.benefits span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.benefits img { width: 40px; height: 40px; object-fit: contain; }
.actions { display: flex; gap: 24px; }
.steps { display: grid; grid-template-columns: repeat(6,1fr); gap: 32px; }
.step { position: relative; min-height: 216px; padding: 52px 14px 16px; text-align: center; background: white; border-radius: 16px; }
.step-icon { position: absolute; top: -40px; right: 50%; transform: translateX(50%); width: 80px; height: 80px; display: grid; place-items: center; border: 10px solid var(--bg); border-radius: 50%; background: var(--orange); }
.step-icon img { width: 34px; height: 34px; filter: brightness(0) invert(1); }
.step h3 { font-size: 15px; margin-bottom: 12px; font-weight: 400; white-space: nowrap; }
.step p { font-size: 13px; line-height: 1.4; color: #404040; }

/* 06. فهرست ورق، کارشناس و تصاویر صنعت */
.page-main { padding-top: 24px; }
.crumb { color: #888; font-size: 12px; margin-bottom: 24px; }
.page-main h1 { display: flex; align-items: center; gap: 16px; font-size: 24px; margin-bottom: 24px; }
.page-title-icon { width: 54px; height: 54px; }
.category-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.category-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 95px; padding: 15px; border-radius: 12px; background: var(--pale); }
.category-link:hover { background: #c0c8ef; color: var(--text); }
.category-arrow { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: white; }
.category-arrow::before { content: ''; width: 14px; height: 14px; background: var(--orange); mask: url('assets/chevron-left.svg') center/contain no-repeat; }
.expert { padding: 12px; text-align: center; }
.expert > p { margin-bottom: 8px; }
.expert-card { padding: 0 10px 8px; text-align: center; }
.expert-card img { width: 100%; height: 142px; object-fit: cover; object-position: top; border-radius: 14px; margin-bottom: 8px; }
.expert-card p { font-weight: 700; }
.expert-card small { color: var(--muted); }
.expert > a { display: block; direction: ltr; margin-top: 8px; font-size: 19px; color: var(--orange); }
.gallery { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 50px 78px 0; background: white; border-radius: 16px; }
.gallery-col { display: flex; flex-direction: column; gap: 16px; }
.gallery img { display: block; width: 100%; object-fit: cover; }
.gallery .tall { height: 720px; }
.gallery .short { height: 320px; }
.gallery .factory { height: 264px; }
.gallery .structure { height: 664px; }
.gallery .gallery-toggle { position: absolute; bottom: -64px; right: calc(50% - 72px); width: 144px; height: 144px; display: grid; place-items: center; border: 14px solid var(--bg); border-radius: 50%; color: var(--orange); background: #f5f5f5; }
.gallery-toggle svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.gallery.is-collapsed .gallery-col { max-height: 420px; overflow: hidden; }
.gallery.is-collapsed .gallery-toggle svg { transform: rotate(90deg); }
.article { padding: 32px; border-radius: 16px; background: white; line-height: 2.1; }
.article h2, .article h3 { margin: 24px 0 8px; color: var(--orange); font-size: 16px; }
.article p { margin-bottom: 12px; font-size: 14px; }
.fold { position: relative; text-align: center; margin-top: -30px; }
.fold button { width: 72px; height: 72px; border: 10px solid var(--bg); border-radius: 50%; background: white; color: var(--orange); }
.fold button svg { width: 32px; height: 32px; transform: rotate(90deg); }
.fold button[aria-expanded='false'] svg { transform: rotate(-90deg); }
.article.is-collapsed { max-height: 600px; overflow: hidden; mask-image: linear-gradient(black 85%,transparent); }

/* 07. قیمت ورق سیاه، فیلتر و محاسبه وزن */
.black-banner { display: block; width: 100%; border-radius: 12px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block: 18px; }
.toolbar strong { font-size: 22px; }
.toolbar-actions { display: flex; gap: 12px; }
.toolbar button { display: flex; align-items: center; gap: 8px; border: 1px solid var(--blue); border-radius: 10px; background: white; padding: 6px 16px; }
.toolbar img { width: 24px; height: 24px; }
.filter h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.filter h3 img { width: 24px; }
.filter label { display: block; margin-block: 12px; }
.filter select { width: 100%; padding: 8px 0; color: var(--muted); background: white; border: 0; border-bottom: 1px solid #ddd; }
.filter input[type='number'] { float: left; width: 90px; padding: 4px; border: 1px solid var(--blue); border-radius: 5px; }
.filter input[type='checkbox'] { accent-color: var(--blue); }
.filter .btn { width: 100%; margin-top: 10px; }
#weight { margin-top: 12px; }
.table-title { padding: 10px 16px; margin-block: 20px 4px; border: 1px solid var(--blue); border-radius: 10px; background: white; color: var(--orange); font-size: 16px; font-weight: 400; }
.faq details { padding: 16px; margin-top: 14px; border-radius: 12px; background: white; }
.faq summary { list-style: none; }
.faq p { padding-top: 16px; color: var(--muted); }
.quick { display: flex; justify-content: space-between; gap: 16px; }
.quick .round { width: 110px; height: 110px; display: grid; place-items: center; border-radius: 50%; background: white; }

/* 08. درباره ما */
.about-hero { height: 425px; display: grid; place-items: center; color: white; background: linear-gradient(#0a194b66,#0a194b66), url('assets/morteza-mohammadi--kWkoUkFyp0-unsplash.jpg') center/cover; }
.about-hero h1 { font-size: 36px; }
.story { padding-top: 32px; line-height: 1.6; }
.story > img { width: 215px; height: 48px; object-fit: contain; object-position: right; }
.story h2 { font-size: 32px; font-weight: 700; margin: 8px 0 12px; }
.story h3 { font-weight: 400; margin-top: 20px; }
.story p { font-size: 16px; }
.why-section { padding-top: 80px; }
.why-section h2 { font-size: 32px; font-weight: 700; margin-bottom: 72px; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 128px; padding-right: 32px; }
.why > div { position: relative; padding: 25px 80px 25px 24px; background: white; border-radius: 12px; }
.why b { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 88px; height: 88px; border: 9px solid var(--bg); border-radius: 50%; background: white; color: var(--orange); font-size: 30px; font-weight: 400; }

/* 09. تماس و مسیر‌یابی */
.contact-layout { display: grid; grid-template-columns: 42% 58%; padding: 10px; background: white; border-radius: 12px; box-shadow: 0 15px 35px #00000008; }
body[data-page='contact'] > .page-main { width: min(1196px,calc(100% - 48px)); padding-top: 20px; }
.contact-blue { position: relative; min-height: 648px; overflow: hidden; background: var(--blue); color: white; border-radius: 10px 10px 0 10px; padding: 40px 20px 120px; }
.contact-blue::before, .contact-blue::after { content: ''; position: absolute; width: 270px; height: 270px; bottom: -84px; left: -90px; border-radius: 50%; background: #526deb; }
.contact-blue::after { width: 140px; height: 140px; left: 70px; bottom: 70px; background: #ffffff29; }
.contact-blue h1 { margin-bottom: 28px; font-size: 28px; }
.contact-blue > a { position: relative; z-index: 1; display: flex; align-items: center; gap: 24px; margin-block: 18px; font-size: 21px; }
.contact-blue > a img { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.contact-blue > a span { direction: ltr; }
.contact-blue > p { position: relative; z-index: 1; margin-top: 36px; font-size: 16px; max-width: 340px; }
.contact-blue > .social { position: absolute; z-index: 1; bottom: 32px; left: 38px; }
.contact-blue .social img { width: 32px; height: 32px; }
.contact-form { padding: 48px 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.contact-form label { display: block; color: #888; font-size: 13px; }
.contact-form input:not([type='radio']), .contact-form textarea { display: block; width: 100%; height: 40px; border: 0; border-bottom: 1px solid #999; background: white; padding: 8px 0; color: var(--text); border-radius: 0; }
.contact-form textarea { height: 74px; resize: vertical; }
.contact-form input:not([type='radio']):focus,
.contact-form textarea:focus,
.contact-form input:not([type='radio']):focus-visible,
.contact-form textarea:focus-visible { outline: none; box-shadow: none; border: 0; border-bottom: 1px solid var(--blue); }
.contact-form fieldset { margin: 36px 0; padding: 0; border: 0; }
.contact-form legend { margin-bottom: 12px; font-size: 16px; }
.contact-form fieldset label { display: inline-flex; align-items: center; gap: 6px; margin-left: 16px; color: var(--text); font-size: 12px; }
.contact-form input[type='radio'] { accent-color: var(--orange); }
.contact-form > .btn { float: left; margin-top: 44px; padding: 16px 46px; border-radius: 5px; }
.form-hint { clear: both; padding-top: 16px; font-size: 12px; color: var(--muted); }
.map-section { width: min(1120px,100%); margin-inline: auto; padding-top: 60px; }
.map-section > h2 { color: var(--orange); margin-bottom: 100px; }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.map-card { position: relative; padding: 136px 40px 24px; background: white; border-radius: 16px; text-align: center; }
.map-icon { position: absolute; right: calc(50% - 140px); top: -104px; width: 280px; height: 240px; display: grid; place-items: center; border: 32px solid var(--bg); border-radius: 50%; background: white; }
.map-icon img { width: 60px; }
.map-card h3 { font-size: 24px; font-weight: 400; margin-bottom: 16px; }
.map-card > a { display: block; }
.map-image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* 10. فوتر مشترک همه صفحه‌ها */
.footer { background: white; }
.footer-top { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #777; }
.footer-top .logo { width: 105px; height: 76px; object-fit: contain; }
.footer-top .social { gap: 28px; }
.footer-top .social img { filter: grayscale(1); }
.footer-grid { display: flex; justify-content: space-between; gap: 64px; padding-block: 28px 36px; }
.footer-grid h3 { color: var(--orange); font-size: 15px; font-weight: 400; margin-bottom: 28px; }
.footer-contact { flex: 0 0 40%; }
.contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.contact-heading h3 { margin: 0; white-space: nowrap; }
.sales { min-width: 260px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 6px 16px; border-radius: 16px; background: var(--pale); font-size: 19px; white-space: nowrap; }
.sales strong { font-weight: 700; }
.footer-address { display: grid; grid-template-columns: 90px 1fr; gap: 16px; margin-bottom: 18px; line-height: 1.4; }
.footer-address dt { color: #555; }
.footer-address dd { margin: 0; color: #888; text-align: center; }
.footer-products { flex: 1; }
.footer-product-links { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; white-space: nowrap; }
.footer-links { display: flex; flex-direction: column; gap: 22px; white-space: nowrap; }
.footer-grid a:not(.sales) { color: #555; }
.footer-grid a:hover { color: var(--orange); }
.footer-services, .footer-company { flex-shrink: 0; }

/* 11. پنجره توضیحات */
.modal { width: min(480px,calc(100% - 32px)); padding: 36px; border: 0; border-radius: 20px; background: white; line-height: 1.9; }
.modal::backdrop { background: #0007; }
.modal-close { position: absolute; top: 8px; left: 12px; border: 0; background: none; font-size: 25px; }
.modal h3 { margin-bottom: 12px; }
.modal p { margin-bottom: 24px; }

/* 12. تبلت */
@media (max-width: 1260px) {
  .product-carousel { margin-inline: 24px; }
  .carousel-controls [data-carousel='previous'] { right: -46px; }
  .carousel-controls [data-carousel='next'] { left: -46px; }
  .footer-grid { gap: 28px; }
  .footer-contact { flex-basis: 38%; }
  .contact-heading { flex-wrap: wrap; }
  .price-table { font-size: 12px; }
  .price-table td { padding-inline: 4px; }
  .price-actions { gap: 5px; }
  .steps { gap: 18px; }
  .step { padding-inline: 10px; }
  .step h3 { font-size: 13px; }
}

/* 13. موبایل — مطابق ترتیب و کارت‌های فریم ۳۹۰ پیکسل */
@media (max-width: 800px) {
  .wrap { width: calc(100% - 32px); }
  h2 { font-size: 22px; font-weight: 700; }
  .section { padding-top: 36px; }
  .section > .section-title { margin-bottom: 24px; }
  .top { height: 56px; width: calc(100% - 16px); border-bottom: 1px solid #888; }
  .brand img { width: 90px; height: 54px; object-fit: cover; object-position: top; }
  .top-left { gap: 0; }
  .phone { gap: 10px; font-size: 16px; }
  .phone img { width: 24px; }
  .phone small { display: none; }
  .header { position: relative; padding-bottom: 57px; }
  .search { position: absolute; right: 124px; left: 13px; top: 68px; width: auto; }
  .navline { border: 0; }
  .nav { position: absolute; height: 57px; right: 16px; top: 56px; width: auto; gap: 0; }
  .nav > a, .nav .spacer { display: none; }
  .products-link { border: 0; padding: 0; font-size: 16px; gap: 10px; }
  .product-popup { position: fixed; top: 114px; right: 12px; left: 12px; width: auto; max-height: calc(100dvh - 140px); overflow: auto; grid-template-columns: 118px 1fr; gap: 12px; }
  .menu-panel { grid-template-columns: 1fr; gap: 12px; }
  .menu-tabs button { padding: 10px 4px; font-size: 12px; }
  .banner { width: calc(100% - 32px); margin-top: 16px; }
  .banner img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 16px; }
  .products-section { padding-top: 30px; }
  .products-section > .section-title { margin-bottom: 28px; }
  .product-carousel { margin-inline: 0; }
  .carousel-window { padding: 0; margin: 0; }
  .product-grid { gap: 18px; }
  .product { flex-basis: calc((100% - 18px)/2); height: 152px; padding: 16px 5px 12px; display: flex; flex-direction: column; align-items: center; }
  .product .round { position: static; transform: none; width: 62px; height: 62px; border: 0; }
  .round img { width: 56px; height: 56px; }
  .product h3 { font-size: 22px; margin: 2px 0 4px; }
  .product p { font-size: 14px; }
  .carousel-controls { display: none; }
  .home-pricing { padding-top: 30px; }
  .home-pricing > h2 { margin-bottom: 14px; }
  .price-categories { max-width: 290px; gap: 6px; margin-bottom: 14px; }
  .price-categories button { min-height: 24px; padding: 1px 17px; font-size: 12px; line-height: 1.6; }
  .layout { display: flex; flex-direction: column; gap: 16px; }
  .side { display: contents; }
  .categories { order: 0; padding: 16px 22px; }
  .categories details summary { padding-block: 10px; }
  .categories details a { padding-block: 5px; }
  .categories summary::after { height: 28px; }
  .home-price-column { order: 1; display: block; }
  .home-price-column .table-card { display: block; min-height: 0; background: transparent; }
  .home-pricing .contact-box { order: 2; margin-top: 12px; }
  .table-card { overflow: visible; background: none; }
  .price-table { display: block; width: 100%; }
  .price-table thead { display: none; }
  .price-table tbody { display: flex; flex-direction: column; gap: 12px; }
  .price-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; background: white; border-radius: 16px; padding: 18px 16px 16px; text-align: right; }
  .price-table tr:nth-child(even) { background: var(--pale); }
  .price-table td { display: block; width: auto; height: auto; white-space: normal; padding: 0; font-size: 13px; }
  .price-table td::before { content: attr(data-label) ': '; }
  .price-table td:first-child { grid-column: 1/-1; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
  .price-table td:first-child::before, .price-table td:nth-child(n+6)::before { content: none; }
  .price-table td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .price-table td:nth-child(3) { grid-column: 1; grid-row: 3; direction: rtl; }
  .price-table td:nth-child(4) { grid-column: 2; grid-row: 2; }
  .price-table td:nth-child(5) { grid-column: 2; grid-row: 3; }
  .price-table td:nth-child(6) { grid-column: 1; grid-row: 4; font-size: 17px; font-weight: 700; }
  .price-table td:nth-child(7) { grid-column: 2; grid-row: 4; text-align: left; font-size: 12px; padding-top: 4px; }
  .price-table td:last-child { grid-column: 1/-1; margin-top: 2px; }
  .price-actions { display: flex; width: 100%; gap: 12px; direction: ltr; }
  .price-actions .btn { flex: 1; height: 44px; }
  .chart-btn { background: transparent; width: 44px; height: 44px; }
  .table-stripes { display: none; }
  .contact-box { padding: 22px 20px; text-align: right; }
  .contact-box p { font-size: 14px; line-height: 1.7; }
  .contact-box > a { justify-content: flex-start; direction: rtl; margin-block: 10px; }
  .contact-box > a img { display: none; }
  .contact-box .social { width: 120px; direction: ltr; margin-top: 20px; }
  .contact-box .social img { width: 28px; height: 28px; }
  .intro { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-top: 28px; }
  .intro-text { min-height: 0; }
  .intro h2 { font-size: 20px; line-height: 2.5; margin-bottom: 18px; }
  .intro p { font-size: 14px; line-height: 1.95; }
  .intro p + p { margin-top: 20px; }
  .intro > a img { height: 226px; }
  .benefits { padding: 24px 10px; }
  .benefits span { flex-direction: column; gap: 12px; font-size: 13px; }
  .benefits img { width: 38px; height: 38px; }
  .actions { flex-direction: column; gap: 16px; }
  .actions .btn { width: 100%; height: 44px; border-radius: 9px; }
  .steps { display: flex; flex-direction: column; gap: 12px; }
  .step { min-height: 144px; padding: 18px 78px 18px 20px; text-align: right; }
  .step-icon { top: 16px; right: 16px; transform: none; border: 0; width: 48px; height: 48px; }
  .step-icon img { width: 28px; height: 28px; }
  .step h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
  .step p { font-size: 14px; line-height: 1.9; color: #555; }
  .spacer-bottom { height: 32px; }
  .page-main { padding-top: 18px; }
  .crumb { font-size: 11px; margin-bottom: 16px; }
  .page-main .layout > div:not(.side) { display: contents; }
  .page-main .crumb { order: -3; }
  .page-main h1 { order: -2; font-size: 22px; justify-content: flex-start; }
  .page-title-icon { width: 42px; }
  .category-grid { order: 1; grid-template-columns: 1fr; gap: 12px; }
  .category-link { min-height: 72px; padding: 16px; }
  .expert { order: 3; }
  .expert-card { display: flex; align-items: center; gap: 16px; text-align: right; }
  .expert-card img { width: 100px; height: 90px; margin: 0; }
  .gallery { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 16px; }
  .gallery-col { display: contents; }
  .gallery img { height: auto !important; max-height: 580px; object-fit: cover; }
  .gallery img.coil { order: 0; }
  .gallery img.crane { order: 1; }
  .gallery img.structure { order: 2; }
  .gallery img.factory { order: 3; }
  .gallery .gallery-toggle { display: none; }
  .gallery.is-collapsed { max-height: 500px; overflow: hidden; }
  .article { padding: 18px; }
  .article p { font-size: 13px; line-height: 2; }
  .article h2, .article h3 { font-size: 15px; }
  .black-banner { order: -2; }
  .toolbar { order: -1; margin-block: 0; flex-wrap: wrap; padding: 16px; border-radius: 16px; background: white; }
  .toolbar strong { font-size: 20px; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions button { flex: 1; justify-content: center; }
  .filter { order: 0; }
  #calculator { order: 4; }
  .table-title { order: 1; padding: 4px 0; border: 0; background: none; margin: 8px 0 0; font-weight: 700; }
  .table-card { order: 2; }
  .price-group { order: 1; }
  .price-group .table-title { margin-bottom: 10px; }
  .side > .btn { order: 5; }
  body[data-page='black'] .layout > .notice { order: 0; }
  .quick { flex-wrap: wrap; justify-content: center; }
  .quick .round { width: 64px; height: 64px; }
  .quick .round img { width: 42px; height: 42px; }
  .about-hero { height: 280px; }
  .about-hero h1 { font-size: 26px; }
  .story { padding-top: 24px; }
  .story h2 { font-size: 24px; }
  .story p { font-size: 14px; line-height: 1.9; }
  .story img { width: 150px; height: 56px; }
  .why-section { padding-top: 28px; }
  .why-section h2 { font-size: 22px; margin-bottom: 24px; }
  .why { grid-template-columns: 1fr; padding-right: 16px; gap: 16px; }
  .why > div { padding: 18px 50px 18px 12px; font-size: 12px; }
  .why b { width: 58px; height: 58px; font-size: 22px; }
  body[data-page='contact'] > .page-main { width: calc(100% - 32px); }
  .contact-layout { display: flex; flex-direction: column; gap: 28px; background: none; padding: 0; box-shadow: none; }
  .contact-blue { min-height: 410px; padding: 24px 22px 90px; border-radius: 16px; }
  .contact-blue h1 { font-size: 24px; margin-bottom: 20px; }
  .contact-blue > a { font-size: 18px; gap: 16px; margin-block: 14px; }
  .contact-blue > p { font-size: 14px; margin-top: 24px; }
  .contact-blue .social { bottom: 22px; left: 22px; }
  .contact-form { padding: 28px 20px; background: white; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form fieldset label { display: flex; margin-block: 12px; }
  .contact-form > .btn { float: none; width: 100%; margin-top: 28px; padding: 10px; }
  .map-section { padding-top: 32px; }
  .map-section > h2 { margin-bottom: 18px; font-size: 18px; }
  .map-grid { grid-template-columns: 1fr; gap: 28px; }
  .map-card { padding: 24px 20px 20px; }
  .map-icon { position: static; width: 48px; height: 48px; border: 0; margin: 0 auto 12px; }
  .map-icon img { width: 28px; }
  .map-card h3 { font-size: 18px; }
  .footer .wrap { width: calc(100% - 40px); }
  .footer-top { height: 106px; }
  .footer-top .logo { width: 90px; height: 76px; }
  .footer-top .social { gap: 18px; }
  .footer-top .social img { width: 28px; height: 28px; }
  .footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-top: 24px; }
  .footer-contact, .footer-products { grid-column: 1/-1; }
  .contact-heading { display: block; margin-bottom: 24px; }
  .contact-heading h3 { margin-bottom: 24px; }
  .sales { width: 100%; font-size: 17px; min-width: 0; padding: 10px 12px; }
  .footer-address { display: block; margin-bottom: 24px; font-size: 13px; line-height: 1.9; }
  .footer-address dt { font-weight: 700; color: var(--text); margin-bottom: 10px; }
  .footer-address dd { text-align: right; color: #666; }
  .footer-grid h3 { font-size: 14px; margin-bottom: 24px; }
  .footer-product-links, .footer-links { font-size: 14px; gap: 22px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .header, .footer, .side, .toolbar-actions, .modal, .carousel-controls { display: none !important; }
  body { background: white; }
  .layout { display: block; }
  .wrap { width: 100%; }
}

/* Frame 7: native exported artwork; keep SVG root dimensions and layer geometry. */
.products-section .figma-art { position: absolute; display: block; width: 95px; height: 94px; left: 50%; top: 50%; transform: translate(-50%, -50%); direction: ltr; pointer-events: none; }
.products-section .figma-art img { position: absolute; width: auto; height: auto; max-width: none; object-fit: initial; }
@media (max-width: 800px) {
 .products-section .product .round { position: relative; inset: auto; flex: 0 0 62px; }
 .products-section .figma-art { transform: translate(-50%, -50%) scale(.6); }
}

/* هویت آهن ST؛ قاب و برش لوگو مطابق لایهٔ اصلی فیگما */
.brand-logo { display:inline-block; position:relative; overflow:hidden; width:81px; height:67px; flex-shrink:0; vertical-align:middle; }
.brand-logo img, .brand .brand-logo img, .footer-top .brand-logo img, .story .brand-logo img { position:absolute; display:block; width:154.32%; height:124.38%; max-width:none; left:-28.4%; top:-15.17%; object-fit:fill; }
.footer-top .brand-logo { width:81px; height:67px; }
.story > .brand-logo { width:61px; height:50px; }
.intro > a img { height:auto; aspect-ratio:3 / 2; object-fit:contain; }
.black-banner { aspect-ratio:832 / 232; object-fit:cover; object-position:center 62.6%; }
@media(max-width:800px) {
  .brand-logo, .footer-top .brand-logo { width:66px; height:55px; }
  .intro > a img { height:auto; }
}
