@import url("../brand/brand-tokens.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Vazirmatn:wght@400;500;600;700;800&display=swap');
@font-face { font-family: "IRANSansX"; src: url("../fonts/IRANSansX-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANSansX"; src: url("../fonts/IRANSansX-Bold.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }

:root {
  /* Warm neutral semantic aliases. Keep component rules independent from
     brand token names so the visual system can evolve without rewriting UI. */
  --ink: var(--brand-charcoal-950, #24211F);
  --ink-2: var(--brand-charcoal-900, #302A27);
  --teal: var(--brand-terracotta-700, #9D4F3C);
  /* Terracotta remains the readable text accent; brass is reserved for
     decorative rules, numerals and small metallic highlights. */
  --teal-bright: var(--brand-terracotta-700, #9D4F3C);
  --mint: var(--brand-sand-200, #E9DED3);
  --silver: var(--brand-taupe-500, #9A8779);
  --line: var(--brand-sand-300, #D9C8B8);
  --paper: var(--brand-ivory, #F8F5F0);
  --white: var(--brand-paper, #FFFDF9);
  --muted: var(--brand-taupe-600, #7E6A5F);
  --gold: var(--brand-brass-600, #A67A47);
  --shadow-sm: 0 3px 14px rgba(48,42,39,.08);
  --shadow-md: 0 14px 40px rgba(48,42,39,.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --max-width: 1220px;
  --ease: cubic-bezier(.22,.75,.25,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.6 var(--font-sans-latin, Inter), Vazirmatn, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--max-width), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -70px; z-index: 100; padding: 10px 16px; color: var(--white); background: var(--teal); border-radius: 0 0 8px 8px; transition: top .2s; }
.skip-link:focus { top: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,245,240,.9); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(217,200,184,.82); }
.navbar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; }
.brand-logo { width: 154px; height: auto; display: block; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: var(--white); background: linear-gradient(145deg, var(--teal-bright), var(--ink)); border-radius: 12px 12px 12px 4px; font-weight: 800; font-size: 18px; box-shadow: 0 5px 18px rgba(157,79,60,.24); }
.brand-wordmark { font-size: 19px; line-height: 1.1; }
.brand-wordmark small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 13px; color: var(--muted); border-radius: 9px; font-size: 14px; font-weight: 600; transition: .2s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); background: var(--mint); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 0; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 9px; }
.menu-toggle svg { width: 20px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav-links a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid rgba(178,111,82,.35); outline-offset: 2px; }
.btn-primary { color: var(--white); background: var(--teal); box-shadow: 0 8px 20px rgba(157,79,60,.2); }
.btn-primary:hover { background: var(--ink-2); box-shadow: 0 12px 24px rgba(48,42,39,.25); }
.btn-secondary { color: var(--teal); background: var(--white); border-color: var(--line); }
.btn-secondary:hover { background: var(--mint); border-color: var(--mint); }
.btn-quiet { min-height: 38px; padding-inline: 13px; color: var(--teal); background: var(--mint); font-size: 13px; }
.btn-quiet:hover { background: #decec0; }

/* Shared sections */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-bright); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); }
.section { padding: 94px 0; }
.section-sm { padding: 54px 0; }
.section-heading { max-width: 660px; margin-bottom: 42px; }
.section-heading h2 { margin: 12px 0 12px; font-size: clamp(29px, 4vw, 45px); line-height: 1.13; letter-spacing: -.045em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font-weight: 700; font-size: 14px; }
.text-link span { transition: transform .2s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* Hero */
.hero { overflow: hidden; color: var(--white); background: var(--ink); }
.hero-inner { position: relative; min-height: 620px; display: grid; align-items: center; padding-block: 96px 80px; }
.hero-inner::before, .hero-inner::after { content: ''; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(1px); }
.hero-inner::before { width: 540px; height: 540px; top: -210px; right: -140px; background: radial-gradient(circle, rgba(157,79,60,.42), transparent 67%); }
.hero-inner::after { width: 420px; height: 420px; bottom: -260px; left: 27%; background: radial-gradient(circle, rgba(166,122,71,.18), transparent 68%); }
.hero-copy { position: relative; z-index: 1; max-width: 710px; }
.hero .eyebrow { color: #e8b99f; }
.hero h1 { max-width: 720px; margin: 18px 0 22px; font-size: clamp(42px, 6.3vw, 76px); line-height: .99; letter-spacing: -.065em; }
.hero h1 em { color: #edc2a9; font-style: normal; }
.hero p { max-width: 600px; margin: 0; color: #d8ccc2; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .btn-secondary { color: #fbf7f2; background: rgba(255,253,249,.08); border-color: rgba(255,253,249,.2); }
.hero .btn-secondary:hover { background: rgba(255,253,249,.16); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 56px; color: #c4b5aa; font-size: 12px; font-weight: 600; }
.hero-trust strong { display: block; margin-bottom: 4px; color: #FFFDF9; font-size: 19px; }
.hero-visual { position: absolute; z-index: 0; top: 90px; right: -100px; width: min(47vw, 600px); aspect-ratio: 1/1; border: 1px solid rgba(230,201,183,.2); border-radius: 50%; background: radial-gradient(circle at 52% 43%, rgba(255,253,249,.11) 0 16%, transparent 16.5%), radial-gradient(circle at 50% 50%, rgba(157,79,60,.2), transparent 61%); }
.hero-visual::before { content: ''; position: absolute; inset: 12%; border: 1px solid rgba(230,201,183,.22); border-radius: 50%; }
.hero-visual::after { content: ''; display: none; }

/* trust strip */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { min-height: 98px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.trust-label { color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.brand-list { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.brand-list span { opacity: .7; }

/* home grids */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.category-card { position: relative; min-height: 260px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 23px; color: var(--white); border-radius: var(--radius-md); background: linear-gradient(160deg, #6b4b3c, #24211f); isolation: isolate; }
.category-card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .42; background: var(--category-image, linear-gradient(120deg,#b37958,#24211f)); background-size: cover; background-position: center; mix-blend-mode: screen; }
.category-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, rgba(28,23,20,.84) 88%); }
.category-card h3 { margin: 0 0 3px; font-size: 20px; }
.category-card p { margin: 0; color: #dccfc5; font-size: 13px; }
.category-card .text-link { margin-top: 17px; color: #e8b99f; }
.category-card:nth-child(1) { --category-image: url('../img/products/tradeling/tradeling-36.webp'); }
.category-card:nth-child(2) { --category-image: url('../img/products/tradeling/tradeling-39.webp'); }
.category-card:nth-child(3) { --category-image: url('../img/products/tradeling/tradeling-32.webp'); }
.category-card:nth-child(4) { --category-image: url('../img/products/tradeling/tradeling-17.webp'); }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit-card { padding: 28px 25px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.icon-box { width: 43px; height: 43px; display: grid; place-items: center; margin-bottom: 22px; color: var(--teal); background: var(--mint); border-radius: 11px; }
.icon-box svg { width: 21px; }
.benefit-card h3 { margin: 0 0 8px; font-size: 18px; }
.benefit-card p { margin: 0; color: var(--muted); font-size: 14px; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-item { position: relative; padding-top: 23px; border-top: 2px solid var(--teal); }
.process-item::after { content: ''; position: absolute; right: 0; top: -7px; width: 12px; height: 12px; background: var(--teal); border: 3px solid var(--paper); border-radius: 50%; }
.process-item span { color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.process-item h3 { margin: 9px 0 5px; font-size: 18px; }
.process-item p { margin: 0; color: var(--muted); font-size: 14px; }

.cta-banner { overflow: hidden; position: relative; color: var(--white); background: var(--teal); border-radius: var(--radius-lg); }
.cta-banner::after { content: ''; position: absolute; width: 360px; height: 360px; right: -75px; top: -160px; border: 1px solid rgba(255,253,249,.18); border-radius: 50%; box-shadow: 0 0 0 40px rgba(255,253,249,.05), 0 0 0 80px rgba(255,253,249,.04); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 49px 53px; }
.cta-inner h2 { max-width: 670px; margin: 0 0 6px; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; letter-spacing: -.04em; }
.cta-inner p { margin: 0; color: #ead8cb; }
.cta-inner .btn { background: var(--white); color: var(--teal); white-space: nowrap; }

/* Interior page hero */
.page-hero { padding: 80px 0 78px; color: var(--white); background: linear-gradient(135deg, var(--ink), var(--teal)); }
.page-hero h1 { max-width: 700px; margin: 15px 0 13px; font-size: clamp(37px, 5vw, 62px); line-height: 1.02; letter-spacing: -.06em; }
.page-hero p { max-width: 680px; margin: 0; color: #e2d0c4; font-size: 17px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #cfb5a4; font-size: 12px; }

/* about */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.about-intro h2 { margin: 13px 0 15px; font-size: clamp(30px, 4vw, 45px); line-height: 1.11; letter-spacing: -.05em; }
.about-intro p { color: var(--muted); }
.about-visual { position: relative; min-height: 445px; overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(135deg, #6A5142 0%, #262321 82%); }
.about-visual::before { content: ''; position: absolute; inset: 11%; border: 1px solid rgba(255,253,249,.17); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,253,249,.035), 0 0 0 94px rgba(255,253,249,.025); }
.about-visual::after { content: 'ILYA\A IMPORTS'; white-space: pre; position: absolute; left: 13%; bottom: 13%; color: rgba(255,253,249,.83); font-size: 31px; font-weight: 800; line-height: .98; letter-spacing: -.06em; }
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.value-card { padding: 24px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-md); }
.value-card h3 { margin: 0 0 8px; font-size: 17px; }
.value-card p { margin: 0; color: var(--muted); font-size: 14px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline-item { padding-left: 20px; border-left: 2px solid var(--line); }
.timeline-item strong { display: block; color: var(--teal); font-size: 22px; }
.timeline-item h3 { margin: 8px 0 6px; font-size: 17px; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* Product catalog */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.catalog-filters { display: flex; align-items: center; gap: 12px; flex: 1 1 520px; min-width: 0; flex-wrap: wrap; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab { min-height: 37px; padding: 0 13px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 20px; font-size: 13px; font-weight: 600; transition: .2s; }
.filter-tab:hover, .filter-tab[aria-pressed="true"] { color: var(--white); background: var(--teal); border-color: var(--teal); }
.brand-filter-field { display: inline-flex; align-items: center; gap: 8px; min-height: 37px; padding-inline: 11px 6px; color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 20px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.brand-filter-field select { min-height: 30px; max-width: 170px; padding: 0 24px 0 7px; color: var(--ink); background: transparent; border: 0; border-radius: 8px; font: inherit; cursor: pointer; }
.brand-filter-field select:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.search-field { position: relative; min-width: 245px; }
.search-field svg { position: absolute; left: 13px; top: 50%; width: 17px; color: var(--silver); transform: translateY(-50%); pointer-events: none; }
.search-field input { width: 100%; min-height: 42px; padding: 0 13px 0 39px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); transition: .25s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-image { position: relative; aspect-ratio: 1.15/1; overflow: hidden; background: #f2eae2; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.045); }
.product-tag { position: absolute; top: 12px; left: 12px; padding: 4px 8px; color: var(--teal); background: rgba(255,253,249,.9); border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 17px; }
.product-brand { margin-bottom: 5px; color: var(--teal-bright); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product-body h3 { margin: 0 0 7px; font-size: 16px; line-height: 1.25; }
.product-body p { margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.product-body .btn { width: 100%; margin-top: auto; }
.empty-state { grid-column: 1 / -1; padding: 56px 20px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-md); }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); transition: .25s var(--ease); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-cover { position: relative; aspect-ratio: 1.7/1; display: flex; align-items: flex-end; padding: 18px; color: var(--white); background: linear-gradient(135deg, var(--teal), var(--ink)); }
.article-cover::before { content: ''; position: absolute; inset: 0; opacity: .34; background: var(--article-image, linear-gradient(120deg,#C48A68,#262321)); background-size: cover; background-position: center; mix-blend-mode: screen; }
.article-cover span { position: relative; z-index: 1; padding: 5px 8px; color: #f3ddd1; background: rgba(36,33,31,.62); border-radius: 5px; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.article-body { display: flex; flex: 1; flex-direction: column; padding: 21px; }
.article-meta { margin-bottom: 8px; color: var(--teal-bright); font-size: 11px; font-weight: 700; }
.article-body h3 { margin: 0 0 9px; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.article-body p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.article-body .text-link { margin-top: auto; }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 28px; }
.blog-toolbar p { margin: 0; color: var(--muted); font-size: 14px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 66px; align-items: start; }
.contact-layout h2 { margin: 13px 0 15px; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.05em; }
.contact-layout > div > p { color: var(--muted); }
.contact-list { display: grid; gap: 17px; margin-top: 32px; }
.contact-item { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 12px; }
.contact-item .icon-box { margin: 0; }
.contact-item label { display: block; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.contact-item a, .contact-item span { display: block; margin-top: 2px; color: var(--ink); font-size: 14px; font-weight: 600; }
.form-card { padding: 34px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.form-card h3 { margin: 0 0 5px; font-size: 22px; }
.form-card > p { margin: 0 0 24px; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { display: grid; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: var(--ink-2); font-size: 12px; font-weight: 700; }
.form-group input, .form-group textarea, .form-group select { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.form-group textarea { min-height: 116px; resize: vertical; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.consent { display: inline-flex; align-items: flex-start; gap: 8px; max-width: 52%; color: var(--muted); font-size: 12px; line-height: 1.45; }
.consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 1px; accent-color: var(--teal); }
.form-note { max-width: 260px; color: var(--muted); font-size: 11px; }
.form-success { display: none; margin-top: 15px; padding: 11px 13px; color: #4F6A54; background: #ECF2E9; border-radius: 8px; font-size: 13px; }
.form-success.is-visible { display: block; }

/* Footer */
.site-footer { margin-top: 80px; color: #cfc1b6; background: var(--ink); }
.site-footer .brand-logo { content: url("../img/logo-light.svg"); }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.1fr; gap: 38px; padding: 63px 0 48px; }
.footer-brand .brand-wordmark { color: var(--white); }
.footer-brand .brand-wordmark small { color: #C7B4A4; }
.footer-brand p { max-width: 260px; margin: 21px 0 0; color: #B8A79A; font-size: 13px; }
.footer-col h3 { margin: 0 0 15px; color: #FFFDF9; font-size: 13px; }
.footer-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: #CBBBAE; font-size: 13px; transition: color .2s; }
.footer-col a:hover { color: #E1B29D; }
.footer-contact { display: grid; gap: 8px; }
.footer-contact a { color: #E7D9CC; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; border-top: 1px solid rgba(255,253,249,.1); color: #A99788; font-size: 11px; }

/* Motion */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.product-grid .product-card.reveal { opacity: 1; transform: none; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 9px; font-size: 13px; }
  .hero-visual { right: -190px; width: 55vw; }
  .category-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main > :last-child { grid-column: 2 / -1; }
}
@media (max-width: 760px) {
  .container { width: min(var(--max-width), calc(100% - 34px)); }
  .section { padding: 68px 0; }
  .section-sm { padding: 42px 0; }
  .navbar { min-height: 69px; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-actions .btn { display: none; }
  .nav-links { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 3px; padding: 11px 17px 15px; background: rgba(248,245,240,.98); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px rgba(38,35,33,.08); }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 44px; padding-inline: 12px; }
  .hero-inner { min-height: 660px; padding-block: 76px 65px; }
  .hero h1 { font-size: clamp(39px, 11vw, 58px); }
  .hero p { font-size: 16px; }
  .hero-visual { top: 300px; right: -160px; width: 530px; opacity: .72; }
  .hero-trust { margin-top: 35px; }
  .trust-inner { min-height: auto; align-items: flex-start; flex-direction: column; gap: 13px; padding-block: 22px; }
  .brand-list { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 12px 25px; font-size: 12px; }
  .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-filters { flex-basis: 100%; }
  .brand-filter-field { flex: 1 1 190px; justify-content: space-between; }
  .brand-filter-field select { flex: 1; max-width: none; }
  .search-field { flex: 1 1 230px; }
  .category-card { min-height: 220px; padding: 18px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .cta-inner { align-items: flex-start; flex-direction: column; padding: 35px 26px; }
  .about-intro, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .about-visual { min-height: 330px; order: -1; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 29px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .footer-main > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .category-grid, .product-grid, .blog-grid { grid-template-columns: 1fr; }
  .product-card { max-width: 410px; margin-inline: auto; width: 100%; }
  .value-grid, .form-grid, .timeline { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .form-note { max-width: none; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-main > :last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) { .brand-logo { width: 132px; } }

/* Bilingual / Persian mode */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 11px; color: var(--teal); background: transparent; border: 1px solid var(--line); border-radius: 9px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.lang-switch:hover { color: var(--white); background: var(--teal); border-color: var(--teal); }
html[dir="rtl"] body { font-family: var(--font-sans-fa, "IRANSansX"), "IRANSans", "Iran Sans", Vazirmatn, Tahoma, Arial, sans-serif; line-height: 1.85; }
html[dir="rtl"] .hero-copy, html[dir="rtl"] .section-heading, html[dir="rtl"] .page-hero .container, html[dir="rtl"] .about-intro, html[dir="rtl"] .contact-layout, html[dir="rtl"] .form-card, html[dir="rtl"] .article-body, html[dir="rtl"] .product-body { text-align: right; }
html[dir="rtl"] .eyebrow::before { order: 2; }
html[dir="rtl"] .text-link span { transform: scaleX(-1); }
html[dir="rtl"] .text-link:hover span { transform: scaleX(-1) translateX(4px); }
html[dir="rtl"] .hero-visual { right: auto; left: -3%; }
html[dir="rtl"] .about-visual::after { left: auto; right: 13%; text-align: right; }
html[dir="rtl"] .breadcrumb { direction: rtl; }
html[dir="rtl"] .nav-links, html[dir="rtl"] .nav-actions, html[dir="rtl"] .hero-actions, html[dir="rtl"] .form-actions { direction: rtl; }
html[dir="rtl"] .timeline-item { padding-left: 0; padding-right: 20px; border-left: 0; border-right: 2px solid var(--line); }
html[dir="rtl"] .process-item::after { right: auto; left: 0; }
html[dir="rtl"] .product-tag { left: auto; right: 14px; }
html[dir="rtl"] .article-cover span { left: auto; right: 14px; }
html[dir="rtl"] .search-field svg { left: auto; right: 14px; }
html[dir="rtl"] .search-field input { padding-left: 14px; padding-right: 42px; }
html[dir="rtl"] .nav-links a[aria-current="page"] { color: var(--teal); }
@media (max-width: 760px) {
  html[dir="rtl"] .nav-links { left: 0; right: 0; }
  html[dir="rtl"] .hero-visual { left: -160px; right: auto; }
}
