
/* =========================================================
   DIEK KITCHEN EQUIPMENT
   Professional Responsive Stylesheet
   Dark / Light Theme - Persian / English - RTL / LTR
   ========================================================= */

/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */



/* =========================================================
   04. RESET & GLOBAL
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
    max-width: 100%;
    overflow-x: clip;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: var(--type-base);
    line-height: var(--line-body);
    transition: background-color var(--transition), color var(--transition);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

ul {
    padding: 0;
}

::selection {
    background: var(--orange);
    color: #111315;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}

.wrap,
.topbar,
footer {
    width: var(--container-width);
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   05. TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
    color: var(--text);
}

p {
    color: var(--muted);
}

.hero h1 {
    max-width: 600px;
    margin: 24px 0 19px;
    font-size: var(--type-display);
    font-weight: 800;
    line-height: var(--line-heading);
    letter-spacing: -.035em;
    text-wrap: balance;
}

.hero-text {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    font-size: var(--type-base);
    line-height: 1.9;
}

.eyebrow {
    margin: 0;
    color: var(--muted);
    font-size: var(--type-xs);
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.6;
    text-transform: uppercase;
}

.eyebrow i {
    display: inline-block;
    width: 18px;
    height: 2px;
    margin-right: 8px;
    background: var(--orange);
    vertical-align: middle;
}

.section-head h2 {
    margin: 0;
    color: var(--text);
    font-size: var(--type-section);
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.section-head h2 em {
    color: var(--orange);
    font-style: normal;
}

.section-description {
    max-width: 480px;
    margin: 0;
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.9;
}

/* =========================================================
   06. HEADER & NAVIGATION
   ========================================================= */

.topbar {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 25px;
    height: 88px;
    border-bottom: 1px solid var(--line);
    background: var(--topbar-bg);
}

.brand,
.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text);
    font-size: var(--type-sm);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.3;
    white-space: nowrap;
}

.brand img {
    display: block;
    width: 116px;
    max-height: 62px;
    object-fit: contain;
    filter: var(--logo-filter);
}

.brand small,
.footer-brand small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 37px;
    height: 37px;
    border: 1px solid var(--border);
    color: var(--orange);
    font-size: 19px;
    font-style: italic;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 27px);
    margin: auto;
    color: var(--muted);
    font-size: var(--type-sm);
    white-space: nowrap;
}

.nav a {
    transition: color var(--transition);
}

.nav a:hover,
.all-link:hover {
    color: var(--orange);
}

.menu-toggle {
    display: none;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--text);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
}

.quote-link {
    flex-shrink: 0;
}

/* =========================================================
   07. HEADER TOOLS
   ========================================================= */

.topbar-tools {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}

.tool-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 3px;
    background: var(--panel);
    color: var(--text);
    font-size: var(--type-xs);
    font-weight: 700;
    white-space: nowrap;
    transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.tool-button:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.theme-icon {
    font-size: 17px;
    line-height: 1;
}

.language-toggle {
    min-width: 42px;
}

/* =========================================================
   08. SEARCH
   ========================================================= */

.search-form {
    position: relative;
    flex: 0 0 auto;
}

.search-button {
    display: grid;
    place-items: center;
    width: 38px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--text);
}

.search-button svg {
    width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.search-form input {
    display: none;
    position: absolute;
    top: 46px;
    right: 0;
    z-index: 20;
    width: 250px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 3px;
    outline: none;
    background: var(--surface-input);
    color: var(--text);
    font-size: var(--type-sm);
    box-shadow: var(--shadow);
}

.search-form.open input {
    display: block;
}

.search-form input:focus {
    border-color: var(--orange);
}

.search-form input::placeholder {
    color: var(--muted);
}

.search-status {
    min-height: 0;
    margin: 0;
    color: var(--muted);
    font-size: var(--type-sm);
}

.search-status:not(:empty) {
    margin: -8px 0 16px;
}

/* =========================================================
   09. BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 14px 20px;
    border: 1px solid var(--orange);
    border-radius: 2px;
    background: var(--orange);
    color: #171513;
    font-size: var(--type-sm);
    font-weight: 600;
    line-height: 1.5;
    transition: background-color var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.button:hover {
    transform: translateY(-2px);
    border-color: var(--orange-hover);
    background: var(--orange-hover);
    color: #171513;
}

.button span {
    font-size: 19px;
    line-height: 1;
}

.button-small {
    gap: 14px;
    padding: 11px 15px;
    font-size: var(--type-xs);
}

.button-outline {
    border-color: var(--border);
    background: transparent;
    color: var(--text);
}

.button-outline:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: #171513;
}

.quote-link,
.footer-quote,
.hero-actions .button-outline {
    border-color: var(--quote-bg);
    background: var(--quote-bg);
    color: var(--quote-fg);
}

.quote-link:hover,
.footer-quote:hover,
.hero-actions .button-outline:hover {
    border-color: var(--orange);
    background: var(--quote-bg);
    color: var(--quote-fg);
}

.quote-link span,
.footer-quote span,
.hero-actions .button-outline span {
    color: inherit;
}

/* =========================================================
   10. HERO SECTION
   ========================================================= */

.hero {
    display: grid;
    grid-template-columns: .91fr 1.09fr;
    align-items: center;
    gap: 7%;
    min-height: 390px;
    margin: 53px auto 52px;
}

.hero-copy {
    padding: 19px 0;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    height: 380px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, var(--panel-2), var(--image-bg) 72%);
    touch-action: pan-y;
}

.hero-visual--angled {
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-visual--angled::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--orange);
    clip-path: polygon(13% 0, 16% 0, 3% 100%, 0 100%);
    pointer-events: none;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.photo-caption {
    position: absolute;
    z-index: 3;
    bottom: 22px;
    left: 20px;
    color: #ffffff;
    font-size: var(--type-xs);
    font-weight: 700;
    letter-spacing: .06em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .7);
    pointer-events: none;
}

.caption-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--orange);
}

/* =========================================================
   11. HERO CAROUSEL
   ========================================================= */

.slider-track {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.slider-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateX(1.25%);
    transition: opacity .75s ease, transform .75s cubic-bezier(.22, .61, .36, 1), visibility .75s;
    will-change: opacity, transform;
}

.slider-slide.is-active {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.slider-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    transform: translateY(-50%);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: rgba(17, 19, 21, .68);
    color: #ffffff;
    opacity: .9;
    backdrop-filter: blur(8px);
    transition: background-color var(--transition), border-color var(--transition), opacity var(--transition);
}

.slider-arrow:hover {
    border-color: var(--orange);
    background: var(--orange);
    color: #171513;
    opacity: 1;
}

.slider-arrow span {
    margin-top: -3px;
    font-family: Arial, sans-serif;
    font-size: 27px;
    line-height: 1;
}

.slider-prev {
    left: 18px;
}

.slider-next {
    right: 18px;
}

.slider-dots {
    position: absolute;
    z-index: 4;
    bottom: 17px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 30px;
    background: rgba(17, 19, 21, .55);
    backdrop-filter: blur(8px);
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
}

.slider-dot.is-active {
    width: 22px;
    border-radius: 8px;
    background: var(--orange);
}

/* =========================================================
   12. CATEGORY STRIP
   ========================================================= */

.category-strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 42px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.category {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 5px 3px;
    color: var(--muted-strong);
    font-size: var(--type-sm);
    line-height: 1.6;
    text-align: center;
    transition: color var(--transition);
}

.category:hover {
    color: var(--orange);
}

.cat-image {
    display: grid;
    place-items: center;
    width: 86px;
    height: 86px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 44%, var(--panel-2), var(--panel) 74%);
    transition: border-color var(--transition), transform var(--transition);
}

.category:hover .cat-image {
    transform: translateY(-3px);
    border-color: var(--orange);
}

.cat-image img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

/* =========================================================
   13. PRODUCTS SECTION
   ========================================================= */

.products-section {
    padding-top: 0;
    padding-bottom: 60px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.section-head .eyebrow {
    margin-bottom: 9px;
}

.all-link {
    flex-shrink: 0;
    margin-bottom: 5px;
    color: var(--muted-strong);
    font-size: var(--type-sm);
    font-weight: 700;
}

.all-link span {
    margin-left: 8px;
    color: var(--orange);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.product-card {
    min-width: 0;
    border: 1px solid var(--card-border);
    background: var(--panel);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.product-card[hidden] {
    display: none;
}

.product-image {
    position: relative;
    display: grid;
    place-items: center;
    height: 220px;
    overflow: hidden;
    padding: 20px 14px 12px;
    background: radial-gradient(ellipse at center, var(--panel-2), var(--image-bg) 73%);
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-no {
    position: absolute;
    top: 12px;
    left: 13px;
    color: var(--muted);
    font-size: var(--type-xs);
    letter-spacing: .06em;
}

.product-info {
    padding: 17px;
}

.product-info h3 {
    margin: 0;
    color: var(--text);
    font-size: var(--type-lg);
    font-weight: 800;
    line-height: 1.55;
}

.product-info p {
    margin: 9px 0 15px;
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.85;
}

.product-info ul {
    margin: 0 0 15px;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.product-info li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.65;
}

.product-info li b {
    color: var(--muted-strong);
    font-weight: 700;
}

.product-info li i {
    margin-right: 4px;
    color: var(--orange);
    font-style: normal;
    font-weight: 800;
}

.details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--orange);
    color: var(--muted-strong);
    font-size: var(--type-sm);
    font-weight: 700;
    transition: background-color var(--transition), color var(--transition);
}

.details span {
    color: var(--orange);
    font-size: 18px;
}

.details:hover {
    background: var(--orange);
    color: #171513;
}

.details:hover span {
    color: #171513;
}

/* =========================================================
   14. TRUST SECTION
   ========================================================= */

.trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    padding: 30px 0 36px;
    border-top: 1px solid var(--line);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

/* Icon container: supports text symbols in the current HTML */
.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border: 1px solid rgba(244, 119, 40, .24);
    border-radius: 14px;
    background: var(--orange-soft);
    color: var(--orange);
    font-family: Arial, sans-serif;
    font-size: 29px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    overflow: hidden;
}

.trust-item > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.trust-item b {
    display: block;
    color: var(--text);
    font-size: var(--type-base);
    font-weight: 800;
    line-height: 1.65;
}

.trust-item small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.6;
}

/* =========================================================
   15. MANUFACTURING SECTION
   ========================================================= */

.manufacturing-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(35px, 6vw, 85px);
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.manufacturing-visual {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--panel);
}

.manufacturing-visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    filter: saturate(.8);
}

.visual-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(17, 19, 21, .88);
    color: #ffffff;
    font-size: var(--type-sm);
    font-weight: 700;
}

.manufacturing-copy h2,
.quality-copy h2 {
    max-width: 600px;
    margin: 16px 0 20px;
    color: var(--text);
    font-size: clamp(2rem, 1.5rem + 2vw, 3.25rem);
    font-weight: 800;
    line-height: 1.4;
}

.manufacturing-copy > p:not(.eyebrow),
.quality-copy > p:not(.eyebrow) {
    color: var(--muted);
    font-size: var(--type-base);
    line-height: 1.95;
}

.manufacturing-points {
    margin: 30px 0;
}

.manufacturing-points > div {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.manufacturing-points > div > span {
    flex-shrink: 0;
    color: var(--orange);
    font-size: var(--type-sm);
    font-weight: 800;
}

.manufacturing-points h3,
.industry-card h3,
.process-step h3,
.quality-item h3 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: var(--type-lg);
    font-weight: 700;
    line-height: 1.55;
}

.manufacturing-points p,
.industry-card p,
.process-step p,
.quality-item p {
    margin: 0;
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.9;
}

/* =========================================
   INDUSTRIES SECTION
   Industrial Editorial Design
========================================= */

.industries-section {
  position: relative;
  padding-block: clamp(80px, 10vw, 140px);
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.industries-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.industries-head h2 {
  max-width: 650px;
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.4;
  letter-spacing: 0;
}

.industries-head .section-description {
  max-width: 390px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* Grid */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Card */

.industry-card {
  position: relative;
  min-height: 310px;
  padding: 28px 25px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border-inline-start: 1px solid var(--line);
  transition:
    background .3s ease,
    transform .3s ease;
}

.industry-card:last-child {
  border-inline-end: 1px solid var(--line);
}

.industry-card:hover {
  background: var(--panel);
}

.industry-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.industry-number {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  opacity: .75;
}

.industry-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  display: grid;
  place-items: center;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(244, 119, 40, .2);
  border-radius: 12px;
  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.industry-icon svg {
  display: block;
  width: 34px;
  height: 34px;
}

.industry-card:hover .industry-icon {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

.industry-content {
  padding-block: 35px 30px;
}

.industry-content h3 {
  margin: 0 0 13px;
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.industry-content p {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.industry-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.industry-footer > span:first-child {
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  opacity: .75;
}

.industry-arrow {
  color: var(--orange);
  font-size: 20px;
  line-height: 1;
  transition: transform .3s ease;
}

.industry-card:hover .industry-arrow {
  transform: translate(3px, -3px);
}

/* RTL */

[dir="rtl"] .industry-card,
html[dir="rtl"] .industry-card {
  text-align: right;
}

[dir="rtl"] .industry-arrow,
html[dir="rtl"] .industry-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .industry-card:hover .industry-arrow,
html[dir="rtl"] .industry-card:hover .industry-arrow {
  transform: scaleX(-1) translate(3px, -3px);
}

/* English */

[dir="ltr"] .industry-card,
html[dir="ltr"] .industry-card {
  text-align: left;
}

[dir="ltr"] .industry-content p {
  max-width: 260px;
}

/* Responsive */

@media (max-width: 970px) {
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-card {
    min-height: 290px;
    border-bottom: 1px solid var(--line);
  }

  .industry-card:nth-child(2) {
    border-inline-end: 1px solid var(--line);
  }

  .industry-card:nth-child(3),
  .industry-card:nth-child(4) {
    border-bottom: 0;
  }

  .industries-head {
    gap: 25px;
  }
}

@media (max-width: 700px) {
  .industries-section {
    padding-block: 75px;
  }

  .industries-head {
    display: block;
    margin-bottom: 32px;
  }

  .industries-head h2 {
    font-size: 30px;
  }

  .industries-head .section-description {
    margin-top: 18px;
    font-size: 15px;
  }

  .industry-card {
    min-height: 270px;
    padding: 22px 18px 18px;
  }

  .industry-icon {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .industry-icon svg {
    width: 30px;
    height: 30px;
  }

  .industry-content h3 {
    font-size: 18px;
  }

  .industry-content p {
    font-size: 14px;
  }
}

@media (max-width: 420px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: 230px;
    border-inline: 1px solid var(--line);
    border-bottom: 1px solid var(--line) !important;
  }

  .industry-card:last-child {
    border-bottom: 0 !important;
  }

  .industry-content {
    padding-block: 25px;
  }
}
/* =========================================
   PROCESS JOURNEY — PREMIUM INDUSTRIAL
========================================= */

.process-journey {
  padding: clamp(90px, 11vw, 150px) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.process-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 75px;
}

.process-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font: 700 11px Arial, sans-serif;
  letter-spacing: 2px;
}

.process-kicker-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--orange);
}

.process-heading h2 {
  max-width: 750px;
  margin: 25px 0 0;
  font: 700 clamp(38px, 5.5vw, 68px)/1.12 Arial, sans-serif;
  letter-spacing: -2.5px;
  color: var(--text);
}

.process-heading h2 span {
  display: block;
  color: var(--orange);
}

.process-heading-side {
  max-width: 260px;
  flex: 0 0 260px;
}

.process-heading-number {
  display: block;
  color: var(--text);
  opacity: .12;
  font: 700 76px/1 Arial, sans-serif;
  letter-spacing: -5px;
}

.process-heading-side p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* Journey Grid */

.process-journey-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-step {
  min-width: 0;
  position: relative;
  padding: 25px 22px 20px;
  border-inline-start: 1px solid var(--line);
  transition: background .35s ease;
}

.journey-step:last-child {
  border-inline-end: 1px solid var(--line);
}

.journey-step:hover {
  background: var(--panel);
}

/* Step Meta */

.journey-step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 24px;
}

.journey-number {
  color: var(--text);
  opacity: .25;
  font: 700 34px/1 Arial, sans-serif;
  letter-spacing: -2px;
  transition: color .3s ease, opacity .3s ease;
}

.journey-status {
  color: var(--muted);
  font: 700 12px Arial, sans-serif;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.journey-step:hover .journey-number {
  color: var(--orange);
  opacity: 1;
}

/* Visual */

.journey-visual {
  height: 175px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--image-bg);
  border: 1px solid var(--line);
}

.journey-visual-bg {
  position: absolute;
  inset: 0;
  opacity: .35;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 25px 25px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.journey-visual svg {
  position: relative;
  z-index: 1;
  width: 105px;
  height: 105px;
  color: var(--muted);
  transition: transform .4s ease, color .4s ease;
}

.journey-step:hover .journey-visual svg {
  color: var(--text);
  transform: scale(1.08);
}

.journey-visual-caption {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 13px;
  z-index: 2;
  color: var(--muted);
  font: 700 9px Arial, sans-serif;
  letter-spacing: 1.4px;
}

/* Content */

.journey-step-content {
  padding: 25px 0 30px;
  min-height: 155px;
}

.journey-step-content h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.55;
}

.journey-step-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

/* Footer */

.journey-step-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.journey-step-bottom span:first-child {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.journey-step-arrow {
  color: var(--orange);
  font-size: 20px;
  transition: transform .3s ease;
}

.journey-step:hover .journey-step-arrow {
  transform: translate(3px, -3px);
}

/* Final Step */

.journey-step-final {
  background: var(--orange-soft);
}

.journey-step-final .journey-number {
  color: var(--orange);
  opacity: 1;
}

.journey-step-final .journey-visual {
  border-color: rgba(244,119,40,.35);
}

/* Bottom Line */

.process-bottom-line {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 22px;
}

.process-bottom-line span {
  flex: 0 0 auto;
  color: var(--muted);
  font: 700 12px Arial, sans-serif;
  letter-spacing: 1.7px;
}

.process-bottom-rule {
  height: 1px;
  flex: 1;
  background: var(--line);
}

/* RTL */

[dir="rtl"] .process-journey,
html[dir="rtl"] .process-journey {
  text-align: right;
}

[dir="rtl"] .process-heading h2,
html[dir="rtl"] .process-heading h2 {
  font-family: var(--font-fa), Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.45;
}

[dir="rtl"] .journey-step-content h3,
html[dir="rtl"] .journey-step-content h3 {
  line-height: 1.7;
}

[dir="rtl"] .journey-step-arrow,
html[dir="rtl"] .journey-step-arrow {
  transform: scaleX(-1);
}

[dir="rtl"] .journey-step:hover .journey-step-arrow,
html[dir="rtl"] .journey-step:hover .journey-step-arrow {
  transform: scaleX(-1) translate(3px, -3px);
}

/* Responsive */

@media (max-width: 1000px) {
  .process-journey-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-step:nth-child(2) {
    border-inline-end: 1px solid var(--line);
  }

  .journey-step:nth-child(1),
  .journey-step:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .journey-visual {
    height: 190px;
  }
}

@media (max-width: 700px) {
  .process-heading {
    display: block;
    margin-bottom: 40px;
  }

  .process-heading h2 {
    font-size: 43px;
  }

  .process-heading-side {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    margin-top: 25px;
  }

  .process-heading-number {
    font-size: 55px;
    flex: 0 0 auto;
  }

  .process-heading-side p {
    margin: 0;
    font-size: 14px;
  }

  .journey-step {
    padding: 18px 15px;
  }

  .journey-visual {
    height: 145px;
  }

  .journey-visual svg {
    width: 85px;
    height: 85px;
  }

  .journey-step-content {
    min-height: 175px;
  }

  .journey-step-content h3 {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .process-heading h2 {
    font-size: 35px;
    letter-spacing: -1px;
  }

  .process-journey-track {
    grid-template-columns: 1fr;
  }

  .journey-step,
  .journey-step:nth-child(2) {
    border-inline: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .journey-step:last-child {
    border-bottom: 0;
  }

  .journey-visual {
    height: 175px;
  }

  .journey-step-content {
    min-height: auto;
    padding-block: 20px 25px;
  }
}
/* =========================================================
   18. QUALITY SECTION
   ========================================================= */

.quality-section {
    padding: var(--section-space) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--panel);
}

.quality-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: clamp(40px, 8vw, 110px);
}

.quality-list {
    border-top: 1px solid var(--line);
}

.quality-item {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) 20px;
    align-items: start;
    gap: 18px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
}

.quality-item > span {
    color: var(--orange);
    font-size: var(--type-sm);
    font-weight: 800;
}

.quality-item > b {
    color: var(--orange);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    color: var(--orange);
    font-size: var(--type-sm);
    font-weight: 800;
}

/* =========================================================
   19. FAQ SECTION
   ========================================================= */

.faq-section {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
}

.faq-list {
    max-width: 900px;
    margin: 45px auto 0;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    position: relative;
    padding: 22px 45px 22px 0;
    color: var(--text);
    font-size: var(--type-base);
    font-weight: 700;
    line-height: 1.8;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 17px;
    right: 5px;
    color: var(--orange);
    font-size: 26px;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    max-width: 760px;
    margin: 0;
    padding: 0 0 22px;
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 2;
}

/* =========================================================
   20. FINAL CTA
   ========================================================= */

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: var(--section-space);
    padding: 55px clamp(25px, 5vw, 65px);
    border: 1px solid var(--line);
    border-left: 3px solid var(--orange);
    background: linear-gradient(110deg, rgba(244, 119, 40, .13), transparent 65%), var(--panel);
}

.final-cta h2 {
    max-width: 650px;
    margin: 12px 0;
    color: var(--text);
    font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.75rem);
    font-weight: 800;
    line-height: 1.45;
}

.final-cta p:not(.eyebrow) {
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.9;
}

.final-cta .button {
    flex-shrink: 0;
}

/* =========================================================
   21. FOOTER
   ========================================================= */

.site-footer {
    display: block;
    width: 100%;
    margin: 0;
    padding: 46px max(36px, calc((100% - var(--container)) / 2)) 18px;
    border-top: 1px solid var(--line);
    background: var(--footer-bg);
    text-align: start;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, .75fr) minmax(0, .85fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 54px);
    padding-bottom: 35px;
    direction: inherit;
}

.footer-column {
    min-width: 0;
    text-align: start;
}

.footer-column h2 {
    margin: 0 0 17px;
    color: var(--text);
    font-size: var(--type-base);
    font-weight: 800;
    line-height: 1.6;
}

.footer-about h2 {
    margin-top: 23px;
}

.footer-about p {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.95;
}

.footer-about strong {
    color: var(--text);
}

.footer-column ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: start;
}

.footer-column li,
.footer-column address {
    color: var(--muted);
    font-size: var(--type-sm);
    line-height: 1.85;
}

.footer-column a:not(.footer-brand) {
    transition: color var(--transition);
}

.footer-column a:not(.footer-brand):hover {
    color: var(--orange);
}

.footer-contact {
    display: block;
    grid-column: auto;
}

.footer-contact address {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
    overflow-wrap: anywhere;
    font-style: normal;
    text-align: start;
}

.contact-label {
    margin-top: 9px;
    color: var(--muted);
    font-size: var(--type-xs);
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.contact-label:first-child {
    margin-top: 0;
}

.footer-quote {
    margin-top: 17px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.footer-note,
.copyright {
    color: var(--muted);
    font-size: var(--type-xs);
    line-height: 1.8;
}

.footer-brand {
    font-size: var(--type-sm);
}

.footer-brand img {
    filter: var(--logo-filter);
}

/* =========================================================
   22. RTL / PERSIAN SUPPORT
   ========================================================= */

html[dir="rtl"],
[dir="rtl"],
[lang="fa"],
body[data-language="fa"] {
    direction: rtl;
    font-family: var(--font-fa);
    line-height: 1.85;
}

[dir="rtl"] body,
[lang="fa"] body,
body[data-language="fa"] {
    font-family: var(--font-fa);
    font-size: 16px;
    text-align: right;
}

/* Persian font inheritance */
[dir="rtl"] *,
[lang="fa"] *,
body[data-language="fa"] * {
    font-family: var(--font-fa);
}

/* Persian typography */
[dir="rtl"] .hero h1,
[lang="fa"] .hero h1,
body[data-language="fa"] .hero h1,
[dir="rtl"] .section-head h2,
[lang="fa"] .section-head h2,
body[data-language="fa"] .section-head h2 {
    letter-spacing: 0;
    line-height: 1.55;
    font-weight: 800;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[lang="fa"] h1,
[lang="fa"] h2,
[lang="fa"] h3 {
    letter-spacing: 0;
}

[dir="rtl"] .eyebrow,
[lang="fa"] .eyebrow,
body[data-language="fa"] .eyebrow,
[dir="rtl"] .brand,
[lang="fa"] .brand,
body[data-language="fa"] .brand,
[dir="rtl"] .footer-brand,
[lang="fa"] .footer-brand,
body[data-language="fa"] .footer-brand {
    letter-spacing: 0;
}

/* Header */
[dir="rtl"] .topbar {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav {
    margin: auto;
    margin: auto;
}

[dir="rtl"] .menu-toggle {
    margin-right: auto;
    margin-left: 0;
}

/* Hero */
[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .eyebrow i {
    margin-right: 0;
    margin-left: 8px;
}

[dir="rtl"] .hero-visual--angled {
    clip-path: polygon(0 0, 87% 0, 100% 100%, 0 100%);
}

[dir="rtl"] .hero-visual--angled::before {
    clip-path: polygon(84% 0, 87% 0, 100% 100%, 97% 100%);
}

[dir="rtl"] .photo-caption {
    right: 20px;
    left: auto;
}

[dir="rtl"] .caption-dot {
    margin-right: 0;
    margin-left: 7px;
}

/* Categories */
[dir="rtl"] .category {
    text-align: center;
}

/* Products */
[dir="rtl"] .product-no {
    right: 13px;
    left: auto;
}

[dir="rtl"] .product-info li {
    flex-direction: row-reverse;
}

[dir="rtl"] .product-info li i {
    margin-right: 0;
    margin-left: 4px;
}

[dir="rtl"] .all-link span {
    margin-right: 8px;
    margin-left: 0;
}

/* Trust */
[dir="rtl"] .trust-item {
    flex-direction: row-reverse;
    text-align: right;
    direction: ltr;
}

/* Search */
[dir="rtl"] .search-form input {
    right: auto;
    left: 0;
    text-align: right;
}

/* Footer */
[dir="rtl"] .site-footer {
    direction: rtl;
    text-align: start;
}

[dir="rtl"] .footer-grid {
    direction: rtl;
}

[dir="rtl"] .footer-column,
[dir="rtl"] .footer-column ul,
[dir="rtl"] .footer-contact address {
    text-align: start;
}

[dir="rtl"] .footer-contact address {
    direction: rtl;
}

[dir="rtl"] .footer-bottom {
    direction: rtl;
    flex-direction: row-reverse;
}

/* Manufacturing */
[dir="rtl"] .visual-label {
    right: 20px;
    left: auto;
}

[dir="rtl"] .manufacturing-points > div {
    text-align: right;
}

/* FAQ */
[dir="rtl"] .faq-item summary {
    padding: 22px 0 22px 45px;
}

[dir="rtl"] .faq-item summary::after {
    right: auto;
    left: 5px;
}

/* CTA */
[dir="rtl"] .final-cta {
    border-right: 3px solid var(--orange);
    border-left: 1px solid var(--line);
}

/* =========================================================
   23. RESPONSIVE: TABLET
   ========================================================= */

@media (max-width: 970px) {
    .wrap,
    .topbar,
    footer {
        width: calc(100% - 48px);
    }

    .topbar {
        gap: 16px;
    }

    .nav {
        gap: 12px;
        font-size: var(--type-xs);
    }

    .brand {
        font-size: var(--type-xs);
    }

    .hero {
        gap: 5%;
        min-height: 0;
    }

    .hero-visual {
        height: 340px;
    }

    .category-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        row-gap: 17px;
    }

    .cat-image {
        width: 78px;
        height: 78px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .manufacturing-section,
    .quality-layout {
        grid-template-columns: 1fr;
    }

    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 35px;
    }

    .site-footer {
        padding: 38px 24px 17px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 30px;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    [dir="rtl"] .footer-about,
    [dir="rtl"] .footer-contact {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   24. RESPONSIVE: MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .wrap,
    .topbar,
    footer {
        width: calc(100% - 40px);
    }

    /* Header */
    .topbar {
        height: 72px;
        gap: 9px;
    }

    .brand {
        gap: 7px;
        font-size: var(--type-xs);
    }

    .brand img {
        width: 96px;
        max-height: 54px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        right: 0;
        left: 0;
        z-index: 15;
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 12px 16px;
        border: 1px solid var(--line);
        border-top: 0;
        background: var(--surface-input);
        box-shadow: var(--shadow);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        padding: 12px 5px;
        border-bottom: 1px solid var(--line);
        font-size: var(--type-sm);
    }

    .nav a:last-child {
        border-bottom: 0;
    }

    .quote-link {
        display: none;
    }

    /* Header tools */
    .topbar-tools {
        gap: 5px;
    }

    .tool-button {
        min-width: 36px;
        min-height: 36px;
        padding: 6px 8px;
        font-size: var(--type-xs);
    }

    .tool-label {
        display: none;
    }

    .search-button {
        width: 34px;
    }

    /* Hero */
    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 19px;
        margin-top: 24px;
        margin-bottom: 32px;
    }

    .hero-visual {
        grid-row: auto;
        height: clamp(220px, 58vw, 310px);
    }

    .hero-copy {
        padding: 0;
    }

    .hero h1 {
        max-width: 18ch;
        margin: 17px 0 14px;
        font-size: clamp(2.2rem, 8vw, 2.9rem);
        line-height: 1.45;
    }

    .hero-text {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.9;
    }

    .hero-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .hero-actions .button {
        padding: 12px 14px;
        gap: 12px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
    }

    .slider-prev {
        left: 12px;
    }

    .slider-next {
        right: 12px;
    }

    .photo-caption {
        bottom: 18px;
    }

    .slider-dots {
        bottom: 12px;
    }

    /* Categories */
    .category-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 15px 5px;
        margin-bottom: 34px;
        padding: 16px 0;
    }

    .category {
        gap: 7px;
        font-size: 14px;
    }

    .cat-image {
        width: clamp(56px, 16vw, 74px);
        height: clamp(56px, 16vw, 74px);
    }

    /* Products */
    .products-section {
        padding-bottom: 42px;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .section-head h2 {
        font-size: clamp(1.7rem, 6vw, 2rem);
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .product-image {
        height: clamp(145px, 40vw, 195px);
    }

    .product-info {
        padding: 13px;
    }

    .product-info h3 {
        font-size: 16px;
        line-height: 1.6;
    }

    .product-info p {
        font-size: 14px;
        line-height: 1.8;
    }

    .product-info li {
        font-size: 14px;
    }

    .details {
        padding: 9px;
        font-size: 14px;
    }

    /* Trust */
    .trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 19px 13px;
        padding: 25px 0;
    }

    .trust-item {
        gap: 10px;
    }

    .trust-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 12px;
        font-size: 26px;
    }

    .trust-item b {
        font-size: 15px;
        line-height: 1.65;
    }

    .trust-item small {
        font-size: 14px;
    }

    /* Manufacturing */
    .manufacturing-section {
        gap: 30px;
    }

    .manufacturing-visual,
    .manufacturing-visual img {
        min-height: 280px;
    }

    .manufacturing-copy h2,
    .quality-copy h2 {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }

    /* Industries */
    .industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
        margin-top: 30px;
    }

    .industry-card {
        min-height: 220px;
        padding: 20px 16px;
    }

    .industry-card h3 {
        font-size: 17px;
    }

    .industry-card p {
        font-size: 14px;
    }

    /* Process */
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 18px;
        margin-top: 35px;
    }

    .process-step h3 {
        font-size: 17px;
    }

    .process-step p {
        font-size: 14px;
    }

    /* Quality */
    .quality-layout {
        gap: 30px;
    }

    .quality-item {
        grid-template-columns: 28px minmax(0, 1fr) 16px;
        gap: 12px;
    }

    /* FAQ */
    .faq-list {
        margin-top: 30px;
    }

    .faq-item summary {
        font-size: 16px;
    }

    .faq-item p {
        font-size: 15px;
    }

    /* CTA */
    .final-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        padding: 32px 24px;
    }

    .final-cta h2 {
        font-size: clamp(1.7rem, 6vw, 2.1rem);
        line-height: 1.5;
    }

    /* Footer */
    .site-footer {
        padding: 32px 20px 16px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
        padding-bottom: 27px;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-about p {
        max-width: none;
    }

    .footer-column h2 {
        font-size: 16px;
    }

    .footer-column li,
    .footer-column address {
        font-size: 14px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    [dir="rtl"] .nav {
        right: 0;
        left: 0;
        margin: 0;
        text-align: right;
    }

    [dir="rtl"] .hero-visual--angled {
        clip-path: polygon(0 0, 91% 0, 100% 100%, 0 100%);
    }

    [dir="rtl"] .hero-visual--angled::before {
        clip-path: polygon(88% 0, 91% 0, 100% 100%, 97% 100%);
    }

    [dir="rtl"] .search-form input {
        right: auto;
        left: -42px;
    }

    [dir="rtl"] .section-head {
        align-items: flex-start;
    }

    [dir="rtl"] .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    [dir="rtl"] .final-cta {
        border-right: 3px solid var(--orange);
        border-left: 1px solid var(--line);
    }
}

/* =========================================================
   25. SMALL MOBILE
   ========================================================= */

@media (max-width: 420px) {
    .wrap,
    .topbar,
    footer {
        width: calc(100% - 30px);
    }

    .topbar {
        height: 66px;
    }

    .brand {
        gap: 6px;
        font-size: 12px;
    }

    .brand small {
        font-size: 11px;
    }

    .brand-mark {
        width: 31px;
        height: 31px;
    }

    .menu-toggle {
        padding: 6px;
    }

    .nav {
        top: 66px;
    }

    .topbar-tools {
        gap: 4px;
    }

    .tool-button {
        min-width: 34px;
        min-height: 34px;
        padding: 5px 6px;
    }

    .language-toggle {
        min-width: 34px;
    }

    .search-form input {
        right: 0;
        width: min(220px, calc(100vw - 36px));
    }

    .hero {
        margin-top: 19px;
    }

    .hero h1 {
        font-size: clamp(2.1rem, 9vw, 2.5rem);
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .button {
        padding: 11px 10px;
        gap: 8px;
        font-size: 14px;
    }

    .category-strip {
        gap: 13px 3px;
    }

    .cat-image {
        width: 60px;
        height: 60px;
    }

    .category {
        font-size: 14px;
    }

    .section-head h2 {
        font-size: 1.7rem;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-info p,
    .product-info li {
        font-size: 13px;
    }

    .details {
        padding: 8px;
        font-size: 13px;
    }

    .industry-card {
        padding: 17px 13px;
    }

    .industry-card h3,
    .process-step h3 {
        font-size: 16px;
    }

    .trust {
        gap: 16px 10px;
    }

    .trust-item {
        gap: 8px;
    }

    .trust-icon {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        font-size: 24px;
    }

    .trust-item b {
        font-size: 14px;
    }

    .trust-item small {
        font-size: 13px;
    }

    .site-footer {
        padding-inline: 16px;
    }

    .footer-grid {
        gap: 24px 14px;
    }

    .footer-column h2 {
        font-size: 15px;
    }

    .footer-column li,
    .footer-column address {
        font-size: 13px;
    }
    .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px; /* فاصله بین لوگو و متن */
  text-decoration: none;
}

.footer-brand img {
  display: block;
  object-fit: contain;
}


    .footer-about p {
        font-size: 15px;
    }

    [dir="rtl"] .search-form input {
        right: auto;
        left: -34px;
        width: min(220px, calc(100vw - 36px));
    }
}

/* =========================================================
   26. EXTRA SMALL SCREENS
   ========================================================= */

@media (max-width: 340px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 205px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: auto;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .trust {
        grid-template-columns: 1fr;
    }

    .industry-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   27. ACCESSIBILITY & REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   END OF STYLESHEET
   ========================================================= */

/* Keep controls inside the sloped edge and above the slide indicators. */
.hero-visual--angled .slider-prev { left:11%; }
[dir="rtl"] .hero-visual--angled .slider-prev { left:18px; }
[dir="rtl"] .hero-visual--angled .slider-next { right:11%; }
.hero-visual--angled .photo-caption {
  inset-inline:8%;
  bottom:54px;
  width:fit-content;
  max-width:84%;
  padding:4px 8px;
  background:rgba(17,19,21,.78);
}

.hero-copy .hero-text { max-width:48ch; }
.products-section .product-info .application { margin:4px 0 20px; }
.hero-actions .button span:first-child { font-size:inherit; line-height:1.4; }
@media (max-width:700px) {
  .hero .hero-actions { display:flex; flex-flow:row wrap; gap:8px; }
  .hero .hero-actions .button { width:auto; flex:0 1 auto; padding:10px 12px; gap:8px; }
  .hero .hero-copy h1 { max-width:19ch; font-size:clamp(2rem,8vw,2.8rem); }
}

/* The cover is a full-width photograph. Keep type on the shaded side of the frame. */
.hero.cover {
  --page-edge:max(24px,calc((100% - 1190px)/2));
  --shade-direction:90deg;
  position:relative; isolation:isolate; display:grid; grid-template-columns:1fr;
  align-items:center; width:100%; margin:0; min-height:clamp(440px,37vw,580px);
  padding:clamp(42px,5vw,76px) var(--page-edge); background:#162020;
}
[dir="rtl"] .hero.cover { --shade-direction:270deg; }
.cover .cover-photo { position:absolute; inset:0; height:100%; width:100%; grid-row:auto; z-index:-1; background:#182021; }
.cover .slider-track::after {
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(var(--shade-direction),#101a1cf5 5%,#121d1fe8 30%,#10191bbd 46%,#10191b10 75%);
}
.cover .slider-slide { transform:none; will-change:auto; }
.cover .slider-slide img { object-position:center 54%; }
.cover .hero-copy { width:min(52%,640px); padding:0; }
.cover .hero-copy .eyebrow { color:#e3e9e4; font-size:.75rem; letter-spacing:.12em; }
.cover .eyebrow i { width:32px; height:3px; background:#ff893d; }
.cover .hero-copy h1 {
  max-width:13ch; margin:20px 0; color:#fffaf2; font-size:clamp(3.6rem,5.3vw,5.5rem);
  line-height:.99; letter-spacing:-.055em; text-wrap:balance;
}
[lang="fa"] .cover .hero-copy h1 { max-width:15ch; line-height:1.18; letter-spacing:normal; }
[lang="fa"] .cover .hero-copy .eyebrow { letter-spacing:normal; }
.cover .hero-copy .hero-text { max-width:48ch; color:#e2e6e2; line-height:1.65; font-size:1rem; }
.cover .hero-actions { margin-top:26px; }
.cover .hero-actions .button { border-radius:2px; min-height:46px; background:#fc883b; border-color:#fc883b; color:#131917; }
.cover .hero-actions .button-outline { border-color:#a1aaa6; background:#182122d9; color:white; }
.cover .hero-actions .button:hover { background:#ffa66a; color:#111; border-color:#ffa66a; }
[dir="rtl"] .cover .hero-actions a span:last-child { transform:scaleX(-1); }
.photo-console { position:absolute; z-index:4; inset-inline-end:var(--page-edge); bottom:24px; display:flex; align-items:center; gap:4px; padding:4px; background:#131d1ef5; color:white; border-block-start:2px solid #fc883b; }
.frame-count { padding-inline:10px; color:#b8c0bd; font:12px var(--measure); }
.frame-count strong { color:white; }
.photo-console .slider-arrow { position:static; transform:none; width:36px; height:36px; border:0; border-inline-start:1px solid #435051; border-radius:0; background:none; backdrop-filter:none; }
.photo-console .slider-arrow:hover { color:#ff9a57; }
/* The page direction sets flex order and natively mirrors ‹ and ›; no extra flip is needed. */
.photo-console .slider-dots { position:static; transform:none; display:flex; order:-1; gap:3px; padding:0 5px; background:none; border:0; border-radius:0; backdrop-filter:none; }
.photo-console .slider-dot { position:relative; width:18px; height:32px; border-radius:0; background:transparent; }
.photo-console .slider-dot::after { content:""; display:block; height:3px; background:#80908c; }
.photo-console .slider-dot.is-active::after { background:#ff893d; }
.equipment-label { display:flex; align-items:center; gap:14px; margin-block:28px 12px; color:var(--muted); font-weight:700; font-size:.78rem; }
.equipment-label span { text-transform:uppercase; letter-spacing:.09em; }
[lang="fa"] .equipment-label span { letter-spacing:normal; }
.equipment-label i { flex:1; height:1px; background:var(--line); }
.equipment-label b { font:12px var(--measure); }
.category-strip { padding:0; gap:1px; border:1px solid var(--line); background:var(--line); margin-bottom:clamp(50px,6vw,92px); }
.category-strip .category { padding:12px 5px; justify-content:center; gap:5px; background:var(--panel); font-size:.82rem; }
.category-strip .cat-image { width:64px; height:54px; border:0; background:none; border-radius:0; }
.category-strip .category:hover { background:var(--panel-2); color:var(--orange); }
.category-strip .cat-image img { width:60px; height:50px; max-width:100%; object-fit:contain; }
.products-section .product-image { height:clamp(180px,17vw,240px); padding:28px 18px 16px; }
.products-section .product-info { padding:20px; }
.products-section .details { border:0; border-top:1px solid var(--line); padding:12px 0 0; color:var(--orange); }
.products-section .details:hover { background:transparent; text-decoration:underline; }
.section-head,.manufacturing-copy,.quality-copy { border-inline-start:3px solid var(--orange); padding-inline-start:clamp(12px,1.5vw,22px); }
.manufacturing-section,.industries-section,.process-journey,.quality-section,.faq-section { scroll-margin-top:1rem; }
@media(max-width:760px) {
  .hero.cover { --page-edge:16px; align-items:end; min-height:0; padding:185px var(--page-edge) 28px; }
  .cover .cover-photo { height:100%; }
  .cover .slider-track { bottom:auto; height:270px; }
  .cover .slider-track::after { background:linear-gradient(0deg,#182021 0%,#182021ec 14%,#18202108 74%); }
  .cover .hero-copy { width:100%; }
  .cover .hero-copy h1 { font-size:clamp(2.65rem,9.8vw,4rem); margin:10px 0 14px; max-width:17ch; }
  .cover .hero-copy .hero-text { font-size:.95rem; }
  .cover .hero-actions { margin-top:18px; }
  .photo-console { top:14px; bottom:auto; }
  .equipment-label { margin-block:20px 10px; }
  .category-strip .category { padding:8px 3px; }
  .category-strip { grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:44px; }
}

.products-section { padding-bottom:var(--section-space); }
.manufacturing-section { border-top:1px solid var(--line); }
.manufacturing-visual .visual-label { left:auto; inset-inline-start:0; bottom:0; border-inline-start:4px solid #ff893d; }
.products-section .eyebrow::before,.manufacturing-copy .eyebrow::before,.industries-head .eyebrow::before {
  display:inline-block; margin-inline-end:.75em; color:var(--orange); font:600 .8rem var(--measure);
}
.products-section .eyebrow::before { content:"01 /"; }
.manufacturing-copy .eyebrow::before { content:"02 /"; }
.industries-head .eyebrow::before { content:"03 /"; }
.products-section .product-no { inset-inline-start:12px; left:auto; color:var(--plate-ink); }
[dir="ltr"] .products-section .product-no { left:12px; }
