:root {
  color-scheme: light;
  --page: #faf7f1;
  --paper: #fffdf9;
  --paper-deep: #f2ece3;
  --ink: #252d34;
  --ink-soft: #5f666b;
  --muted: #858783;
  --red: #ad2429;
  --red-dark: #86181d;
  --orange: #c94d2c;
  --line: #e6ded4;
  --footer: #222a30;
  --radius: 15px;
  --radius-sm: 9px;
  --shadow: 0 16px 46px rgba(63, 44, 28, .09);
  --container: 1190px;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body.has-dialog { overflow: hidden; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(201, 77, 44, .55);
  outline-offset: 3px;
}
::selection { background: rgba(173, 36, 41, .15); }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important; overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}
.skip-link {
  position: fixed; z-index: 200; top: 8px; right: 8px; transform: translateY(-160%);
  padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--red);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header { position: relative; z-index: 50; background: rgba(255, 253, 249, .97); box-shadow: 0 5px 25px rgba(43, 32, 21, .045); }
.topbar { background: #f2ede5; border-bottom: 1px solid rgba(36, 43, 49, .06); color: #495057; font-size: 12px; }
.topbar__inner { min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar__links, .topbar__links a, .topbar__phone { display: flex; align-items: center; gap: 8px; }
.topbar__links { gap: clamp(11px, 2vw, 25px); }
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: var(--red); }
.topbar__separator { width: 1px; height: 16px; background: #d5cbc0; }
.topbar .icon { font-size: 15px; }
.topbar__phone { white-space: nowrap; font-weight: 700; direction: ltr; }
.main-header { min-height: 100px; display: grid; grid-template-columns: auto minmax(230px, 1fr) auto; align-items: center; gap: clamp(18px, 3vw, 42px); padding-block: 13px; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 9px; min-width: max-content; }
.brand__mark { width: 64px; height: 58px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.45; }
.brand__text strong { font-size: 19px; font-weight: 800; letter-spacing: -.7px; }
.brand__text em { color: var(--red); font-style: normal; }
.brand__text small { color: var(--muted); font-size: 10px; font-weight: 500; }
.header-search { display: flex; align-items: center; min-width: 0; height: 44px; overflow: hidden; border: 1px solid #d8d8d4; border-radius: 999px; background: #fff; box-shadow: inset 0 1px 3px rgba(20, 30, 35, .025); transition: border-color .2s, box-shadow .2s; }
.header-search:focus-within { border-color: rgba(173, 36, 41, .55); box-shadow: 0 0 0 3px rgba(173, 36, 41, .08); }
.header-search input { width: 100%; min-width: 0; height: 100%; border: 0; outline: 0; padding-inline: 18px 4px; color: var(--ink); background: transparent; font-size: 12px; }
.header-search input::placeholder { color: #92938f; }
.header-search button { height: 100%; width: 48px; border: 0; flex: 0 0 auto; background: transparent; color: #64696d; cursor: pointer; display: grid; place-items: center; }
.header-search button:hover { color: var(--red); }
.header-search .icon { font-size: 19px; }
.quick-actions { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); }
.quick-actions a { display: grid; justify-items: center; gap: 2px; min-width: 49px; color: #545a5e; font-size: 10px; white-space: nowrap; transition: color .2s ease; }
.quick-actions .icon { width: 21px; height: 21px; stroke-width: 1.8; }
.quick-actions a:hover { color: var(--red); }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 42px; background: #fff; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 3px; }
.site-nav { background: var(--red); color: white; }
.site-nav__inner { min-height: 46px; display: flex; align-items: stretch; justify-content: space-between; gap: 2px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 13px; font-size: 12px; font-weight: 600; white-space: nowrap; transition: background .2s ease; }
.site-nav a::after { content: ""; position: absolute; bottom: 0; right: 14px; left: 14px; height: 2px; background: #ffd2bf; transform: scaleX(0); transition: transform .2s ease; }
.site-nav a:hover, .site-nav a.is-current { background: rgba(75, 9, 12, .18); }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.site-nav .icon { font-size: 15px; }

/* Buttons */
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 20px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 13px; cursor: pointer; text-align: center; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: linear-gradient(135deg, #c64a2c, #a31e25); color: #fff; box-shadow: 0 8px 18px rgba(155, 32, 35, .18); }
.button--primary:hover { background: linear-gradient(135deg, #b93e25, #86181d); box-shadow: 0 10px 24px rgba(155, 32, 35, .24); }
.button--outline { background: rgba(255,255,255,.09); color: white; border-color: rgba(255,255,255,.48); }
.button--outline:hover { background: rgba(255,255,255,.17); }
.button--small { min-height: 34px; padding: 6px 9px; border-radius: 7px; 
  /* width: 100%; */
   font-size: 11px; background: var(--red); color: white; }
.button--small:hover { background: var(--red-dark); }
.button--full { width: 100%; }
.text-button { display: inline-flex; align-items: center; gap: 7px; color: var(--red); border: 0; background: transparent; padding: 5px 0; font-size: 12px; font-weight: 800; cursor: pointer; }
.text-button:hover { color: var(--red-dark); }

/* Hero */
.hero { position: relative; margin-top: 18px; margin-bottom: 25px; border-radius: var(--radius); overflow: hidden; background: #e9dfd0; box-shadow: var(--shadow); isolation: isolate; }
.hero__slides { height: clamp(340px, 36vw, 445px); position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .55s ease; }
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-slide > img { position: absolute; inset: 0 auto 0 0; width: 75%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 21, 24, .02) 0%, rgba(250,247,241,.02) 35%, rgba(250,247,241,.8) 58%, #faf7f1 76%, #faf7f1 100%); }
.hero-slide__content { position: absolute; top: 50%; right: clamp(24px, 5vw, 68px); width: 43%; max-width: 460px; transform: translateY(-50%); }
.eyebrow { display: block; margin-bottom: 7px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .15px; }
.hero-slide h1, .hero-slide h2 { margin: 0; color: var(--red); font-size: clamp(30px, 3.55vw, 48px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.35; }
.hero-slide h1 { font-size: clamp(34px, 4.2vw, 56px); }
.hero-slide__content > p { margin: 13px 0 23px; color: #40474c; font-size: 13px; font-weight: 600; }
.hero-slide__content > p i { color: var(--red); font-style: normal; padding-inline: 4px; }
.hero__controls { position: absolute; z-index: 3; bottom: 15px; left: 18px; display: flex; align-items: center; gap: 9px; padding: 5px; border-radius: 999px; background: rgba(255, 253, 249, .88); backdrop-filter: blur(8px); }
.circle-button { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #eee2d6; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; }
.circle-button:hover { color: var(--red); background: #fff; }
.hero__dots { display: flex; align-items: center; gap: 6px; padding-inline: 2px; }
.hero-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: #c5bbb1; cursor: pointer; }
.hero-dot.is-active { width: 21px; border-radius: 99px; background: var(--red); }

/* Categories and promotional cards */
.category-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; margin-bottom: 24px; }
.category-tile { min-width: 0; padding: 12px 10px 10px; border: 1px solid transparent; border-radius: 12px; background: #f3eee6; cursor: pointer; text-align: center; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.category-tile img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 7px; box-shadow: 0 1px 2px rgba(30,20,10,.12); }
.category-tile span { display: block; margin-top: 8px; color: #343b40; font-size: 11px; font-weight: 700; }
.category-tile:hover, .category-tile.is-selected { transform: translateY(-3px); border-color: rgba(173,36,41,.35); background: #fffaf2; }
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-bottom: 38px; }
.promo-card { position: relative; min-width: 0; aspect-ratio: 2.05 / 1; overflow: hidden; border-radius: 9px; background: #57524b; box-shadow: 0 5px 18px rgba(53, 35, 20, .10); isolation: isolate; }
.promo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.promo-card:nth-child(2) img { object-position: center; }
.promo-card:nth-child(3) img { object-position: left center; }
.promo-card__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 19, 24, .1), rgba(14, 19, 24, .76)); }
.promo-card__text { position: absolute; top: 50%; right: 8%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 0; color: white; font-size: clamp(13px, 1.5vw, 19px); line-height: 1.5; }
.promo-card__text i { margin-top: 10px; width: 28px; height: 28px; display: grid; place-items: center; background: white; border-radius: 50%; color: var(--red); font-style: normal; transition: transform .2s ease; }
.promo-card__text .icon { width: 14px; height: 14px; }
.promo-card:hover img { transform: scale(1.06); }
.promo-card:hover .promo-card__text i { transform: translateX(-4px); }

/* Common sections */
.section { margin-top: 0; margin-bottom: 43px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 13px; }
.section-heading > div:first-child { min-width: 0; }
.section-heading h2 { position: relative; display: inline-block; margin: 0; color: var(--ink); font-size: clamp(20px, 2vw, 25px); line-height: 1.45; font-weight: 800; letter-spacing: -.4px; }
.section-heading h2::after { content: ""; position: absolute; bottom: -15px; right: 0; width: 43px; height: 3px; border-radius: 4px; background: var(--red); }
.section-heading .eyebrow { margin-bottom: 1px; }
.section-heading__tools { display: flex; align-items: center; gap: 16px; padding-bottom: 1px; white-space: nowrap; }
.filter-caption, .section-note { color: var(--muted); font-size: 11px; }
.section-intro { margin: -3px 0 18px; color: var(--ink-soft); font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 13px; }
.product-card { min-width: 0; padding: 8px; border: 1px solid #e6dfd6; border-radius: 10px; background: rgba(255,253,249,.74); text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-4px); border-color: #d5c4b6; box-shadow: 0 12px 25px rgba(63,44,28,.09); }
.product-card[hidden] { display: none !important; }
.product-card__image { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: 6px; background: #e5d8c7; cursor: pointer; aspect-ratio: 1.48; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card__zoom { position: absolute; inset: auto 0 0; padding: 7px 4px; color: #fff; background: rgba(48, 39, 32, .82); font-size: 10px; font-weight: 700; opacity: 0; transform: translateY(100%); transition: opacity .2s ease, transform .2s ease; }
.product-card:hover .product-card__zoom, .product-card__image:focus-visible .product-card__zoom { opacity: 1; transform: translateY(0); }
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card h3 { min-height: 35px; margin: 8px 0 2px; font-size: 11px; line-height: 1.6; font-weight: 800; }
.product-tag { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: #ffe4ca; color: #994b1d; font-size: 9px; font-weight: 800; }
.stock { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 5px 0 8px; color: #6f7772; font-size: 10px; }
.stock .icon { width: 12px; height: 12px; color: #4f8a63; }
.empty-state { margin: 25px 0 0; padding: 20px; border: 1px dashed #d7cabe; border-radius: 10px; color: var(--ink-soft); text-align: center; }
.empty-state[hidden] { display: none; }

/* Architectural banner */
.architecture-banner { position: relative; display: flex; align-items: center; min-height: 285px; overflow: hidden; margin-top: 0; margin-bottom: 40px; border-radius: 13px; background: #253139; color: white; isolation: isolate; }
.architecture-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: -2; }
.architecture-banner__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22,31,39,.04) 0%, rgba(22,31,39,.20) 35%, rgba(22,31,39,.86) 69%, rgba(22,31,39,.97) 100%); }
.architecture-banner__content { width: 45%; padding: 35px clamp(24px, 4vw, 58px) 35px 15px; margin-right: auto; }
.architecture-banner .eyebrow { color: #efb69b; }
.architecture-banner h2 { margin: 0; color: white; font-size: clamp(24px, 3vw, 34px); line-height: 1.55; font-weight: 800; }
.architecture-banner p { margin: 13px 0 19px; color: rgba(255,255,255,.78); font-size: 12px; }

/* Color filters */
.color-section { margin-bottom: 47px; }
.color-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 21px; }
.color-tile { min-width: 0; padding: 0 0 5px; background: transparent; border: 1px solid transparent; border-radius: 10px; cursor: pointer; text-align: center; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.color-tile img { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; border: 1px solid rgba(65,47,34,.12); border-radius: 7px; box-shadow: 0 4px 10px rgba(45,31,20,.05); }
.color-tile span { display: block; margin-top: 7px; font-size: 12px; font-weight: 700; }
.color-tile:hover, .color-tile.is-selected { transform: translateY(-3px); border-color: rgba(173,36,41,.36); background: #fffdf9; }

/* Portfolio */
.projects-section { margin-bottom: 36px; }
.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.project-card { position: relative; padding: 0; aspect-ratio: 1.55; overflow: hidden; background: #ddd3c5; border: 0; border-radius: 9px; cursor: zoom-in; isolation: isolate; box-shadow: 0 4px 13px rgba(37, 28, 20, .08); }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.project-card span { position: absolute; inset: auto 0 0; padding: 22px 11px 9px; color: white; text-align: right; font-size: 11px; font-weight: 700; opacity: 0; transform: translateY(5px); background: linear-gradient(0deg, rgba(22,28,31,.85), transparent); transition: opacity .2s ease, transform .2s ease; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.055); }
.project-card:hover span, .project-card:focus-visible span { opacity: 1; transform: translateY(0); }

/* Why us and contact CTA */
.trust-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 12px; margin-bottom: 22px; background: #f4eee6; border: 1px solid #eee5da; border-radius: 13px; }
.trust-item { padding: 0 13px; text-align: center; }
.trust-item + .trust-item { border-right: 1px solid #dfd5ca; }
.trust-item__icon { width: 53px; height: 53px; display: grid; place-items: center; margin: 0 auto 7px; border: 1.5px solid #d94a4e; border-radius: 50%; color: #cc3439; background: rgba(255,255,255,.38); }
.trust-item__icon .icon { width: 25px; height: 25px; }
.trust-item h3 { margin: 0 0 2px; font-size: 13px; font-weight: 800; }
.trust-item p { margin: 0; color: var(--muted); font-size: 10px; }
.contact-banner { position: relative; display: grid; grid-template-columns: 1fr 1.3fr 1fr; align-items: center; gap: 20px; min-height: 145px; margin-bottom: 23px; padding: 20px 26px; overflow: hidden; border-radius: 12px; background: linear-gradient(100deg, #f2e0cc, #fbf1e5 65%, #f3e5d3); }
.contact-banner__visual { align-self: stretch; min-height: 100px; border-radius: 9px; overflow: hidden; }
.contact-banner__visual img { width: 100%; height: 100%; object-fit: cover; }
.contact-banner__copy h2 { margin: 0; color: var(--red); font-size: clamp(18px, 2vw, 25px); line-height: 1.55; font-weight: 800; }
.contact-banner__copy p { margin: 6px 0 0; color: #66615b; font-size: 11px; }
.contact-banner__actions { display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
.contact-banner__actions .button { font-size: 12px; }
.phone-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: #5f5146; font-size: 13px; font-weight: 800; direction: ltr; }
.phone-link:hover { color: var(--red); }

/* Footer */
.site-footer { background: radial-gradient(ellipse at 85% 0%, #303941, var(--footer) 60%); color: #f3f1ed; padding-top: 37px; }
.footer-main { display: grid; grid-template-columns: 1.45fr .8fr .9fr 1.25fr; gap: clamp(20px, 4vw, 60px); padding-bottom: 30px; }
.brand--footer { color: white; }
.brand--footer .brand__mark { width: 58px; height: 51px; }
.brand--footer .brand__text strong { color: white; }
.brand--footer .brand__text small { color: #b6b9b9; }
.footer-brand > p { max-width: 295px; margin: 14px 0 12px; color: #c2c5c5; font-size: 11px; line-height: 2; }
.social-links { display: flex; gap: 13px; }
.social-links a { width: 31px; height: 31px; display: grid; place-items: center; color: #e9d7cd; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; transition: background .2s, color .2s; }
.social-links a:hover { color: white; background: var(--red); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer-column h2 { margin: 6px 0 10px; color: white; font-size: 13px; font-weight: 800; }
.footer-column > a { color: #c7c9c8; font-size: 11px; transition: color .2s ease; }
.footer-column > a:hover { color: #fff; }
.footer-contact p, .footer-contact > a { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 7px; color: #c7c9c8; font-size: 11px; line-height: 1.9; }
.footer-contact .icon { margin-top: 4px; color: #e7c0ad; }
.footer-bottom { min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding-block: 10px; border-top: 1px solid rgba(255,255,255,.13); color: #aeb4b5; font-size: 10px; }
.footer-bottom a { color: #e6d7ce; white-space: nowrap; }
.footer-bottom a:hover { color: white; }

/* Accessible native dialogs */
dialog { max-width: min(540px, calc(100% - 28px)); max-height: min(90dvh, 900px); padding: 0; border: 1px solid rgba(65,48,35,.13); border-radius: 18px; color: var(--ink); background: var(--paper); box-shadow: 0 28px 100px rgba(19,24,27,.3); }
dialog::backdrop { background: rgba(21, 26, 29, .62); backdrop-filter: blur(5px); }
.request-dialog { width: 100%; }
.request-form { position: relative; display: flex; flex-direction: column; padding: 30px; }
.request-form h2 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.5; }
.dialog-description { margin: 8px 0 18px; color: var(--ink-soft); font-size: 12px; }
.request-form label { margin: 8px 0 5px; font-size: 12px; font-weight: 700; }
.request-form input { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #ded6cc; border-radius: 8px; color: var(--ink); background: white; outline: none; font-size: 13px; }
.request-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(173,36,41,.09); }
.request-form .button { margin-top: 20px; }
.dialog-close { position: absolute; top: 12px; left: 13px; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 50%; color: #5d6061; background: #f0e9e0; font-size: 25px; line-height: 1; cursor: pointer; }
.dialog-close:hover { color: white; background: var(--red); }
.form-feedback { min-height: 0; margin: 12px 0 0; color: #276944; font-size: 12px; font-weight: 700; }
.form-feedback:empty { display: none; }
.form-note { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.project-dialog { width: min(900px, calc(100% - 28px)); padding: 17px; }
.project-dialog > img { width: 100%; max-height: 75dvh; object-fit: contain; border-radius: 10px; background: #eee5da; }
.project-dialog h2 { margin: 10px 4px 0; font-size: 15px; }
.toast { position: fixed; z-index: 150; right: 50%; bottom: 22px; max-width: min(440px, calc(100% - 28px)); padding: 12px 18px; border-radius: 10px; color: white; background: #2b3439; box-shadow: 0 12px 35px rgba(0,0,0,.24); font-size: 12px; opacity: 0; pointer-events: none; transform: translate(50%, 12px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(50%, 0); }

@media (min-width: 1500px) {
  :root { --container: 1260px; }
}
@media (max-width: 1050px) {
  .main-header { grid-template-columns: auto minmax(180px, 1fr) auto; gap: 18px; }
  .brand__mark { width: 55px; height: 50px; }
  .brand__text strong { font-size: 17px; }
  .quick-actions { gap: 13px; }
  .site-nav a { padding-inline: 9px; font-size: 11px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-card__image { aspect-ratio: 1.8; }
  .architecture-banner { min-height: 260px; }
  .architecture-banner__content { width: 52%; }
  .contact-banner { grid-template-columns: .7fr 1.3fr 1fr; }
  .footer-main { grid-template-columns: 1.2fr .8fr .9fr 1.2fr; gap: 25px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .container { width: min(100% - 28px, var(--container)); }
  .topbar__inner { min-height: 34px; }
  .topbar__links { gap: 13px; }
  .topbar__links a { gap: 5px; }
  .topbar__links a:nth-of-type(1) span, .topbar__separator:nth-of-type(1) { display: none; }
  .topbar__phone { font-size: 11px; }
  .main-header { position: relative; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; min-height: 81px; padding-block: 10px; }
  .brand { gap: 6px; }
  .brand__mark { width: 43px; height: 40px; }
  .brand__text strong { font-size: 14px; }
  .brand__text small { font-size: 8px; }
  .header-search { grid-column: 1 / 4; grid-row: 2; height: 39px; margin-top: 4px; }
  .header-search input { font-size: 11px; padding-inline: 12px 2px; }
  .header-search button { width: 40px; }
  .quick-actions { display: none; }
  .menu-toggle { display: block; grid-column: 3; grid-row: 1; justify-self: end; width: 37px; height: 35px; padding: 7px; margin-top: -1px; }
  .menu-toggle span { margin: 3.5px 0; }
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
  .site-nav__inner { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; padding-block: 6px; }
  .site-nav a { justify-content: flex-start; padding: 10px 13px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 11px; white-space: normal; }
  .site-nav a::after { display: none; }
  .hero { margin-top: 12px; margin-bottom: 19px; border-radius: 12px; }
  .hero__slides { height: 390px; }
  .hero-slide > img { width: 100%; height: 100%; object-position: 35% center; }
  .hero-slide__shade { background: linear-gradient(0deg, rgba(19,26,30,.84) 0%, rgba(19,26,30,.68) 35%, rgba(19,26,30,.05) 100%); }
  .hero-slide__content { top: auto; bottom: 57px; right: 22px; left: 22px; width: auto; max-width: 440px; transform: none; color: white; }
  .hero-slide .eyebrow { color: #f7bd9f; }
  .hero-slide h1, .hero-slide h2 { color: white; font-size: clamp(30px, 8vw, 42px); }
  .hero-slide__content > p { margin: 9px 0 16px; color: rgba(255,255,255,.92); font-size: 11px; }
  .hero__controls { bottom: 11px; left: 12px; }
  .category-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 20px; }
  .category-tile { padding: 7px; border-radius: 9px; }
  .category-tile img { aspect-ratio: 1.8; }
  .category-tile span { margin-top: 5px; font-size: 10px; }
  .promo-grid { gap: 8px; margin-bottom: 29px; }
  .promo-card { aspect-ratio: .91; border-radius: 8px; }
  .promo-card__text { top: auto; bottom: 12px; right: 10px; transform: none; font-size: 11px; }
  .promo-card__text i { margin-top: 6px; width: 24px; height: 24px; }
  .section { margin-bottom: 33px; }
  .section-heading { align-items: flex-end; gap: 12px; padding-bottom: 11px; margin-bottom: 12px; }
  .section-heading h2 { font-size: 19px; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading__tools { gap: 6px; flex-direction: column; align-items: flex-end; font-size: 10px; }
  .filter-caption, .section-note { font-size: 10px; }
  .section-intro { font-size: 11px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { padding: 7px; }
  .product-card__image { aspect-ratio: 1.55; }
  .product-card h3 { min-height: 0; margin: 7px 0 5px; font-size: 11px; }
  .product-card__zoom { display: none; }
  .stock { margin: 5px 0 8px; }
  .architecture-banner { min-height: 325px; margin-bottom: 30px; border-radius: 11px; }
  .architecture-banner > img { object-position: 35% center; }
  .architecture-banner__overlay { background: linear-gradient(0deg, rgba(22,31,39,.95) 0%, rgba(22,31,39,.73) 45%, rgba(22,31,39,.06) 100%); }
  .architecture-banner__content { position: absolute; right: 21px; bottom: 19px; width: calc(100% - 42px); padding: 0; }
  .architecture-banner h2 { font-size: 25px; }
  .architecture-banner p { margin: 8px 0 14px; font-size: 11px; }
  .color-section { margin-bottom: 36px; }
  .color-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
  .color-tile span { font-size: 11px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
  .project-card { aspect-ratio: 1.35; border-radius: 7px; }
  .project-card span { opacity: 1; transform: none; padding: 22px 8px 7px; font-size: 9px; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 14px 6px; row-gap: 19px; margin-bottom: 17px; }
  .trust-item { padding-inline: 8px; }
  .trust-item:nth-child(3) { border-right: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid #dfd5ca; padding-top: 17px; }
  .trust-item__icon { width: 45px; height: 45px; }
  .trust-item h3 { font-size: 11px; }
  .trust-item p { font-size: 9px; }
  .contact-banner { grid-template-columns: 1fr; gap: 12px; padding: 18px; margin-bottom: 15px; }
  .contact-banner__visual { display: none; }
  .contact-banner__copy h2 { font-size: 21px; }
  .contact-banner__actions { align-items: flex-start; width: min(100%, 330px); }
  .contact-banner__actions .button { width: 100%; }
  .site-footer { padding-top: 27px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding-bottom: 22px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand > p { max-width: 440px; }
  .footer-column h2 { font-size: 12px; }
  .footer-column > a, .footer-contact p, .footer-contact > a { font-size: 10px; }
  .brand--footer .brand__mark { width: 49px; height: 44px; }
  .footer-bottom { align-items: flex-start; font-size: 9px; }
  .footer-bottom span { max-width: 75%; }
  .request-form { padding: 27px 21px 22px; }
  .request-form h2 { font-size: 19px; padding-left: 22px; }
  .dialog-description { font-size: 11px; }
}
@media (max-width: 400px) {
  .topbar__links a:nth-of-type(2) span { display: none; }
  .main-header { column-gap: 8px; }
  .brand__text strong { font-size: 13px; }
  .quick-actions a:last-child { display: none; }
  .hero__slides { height: 365px; }
  .hero-slide__content { right: 17px; left: 17px; }
  .button { padding-inline: 16px; }
  .promo-card__text { right: 8px; font-size: 10px; }
  .section-heading h2 { font-size: 17px; }
  .section-heading__tools .filter-caption { display: none; }
  .footer-main { gap: 20px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------------------
   UI upgrade: Bootstrap 5.3 utilities + Swiper 14 carousels + motion design
   -------------------------------------------------------------------------- */
.container {
  max-width: none;
  padding-inline: 0;
}

/* The hero keeps its editorial layout while Swiper owns the slide lifecycle. */
.hero__slides.swiper {
  height: clamp(340px, 36vw, 445px);
  overflow: hidden;
  border-radius: inherit;
}
.hero__slides.swiper .swiper-wrapper { height: 100%; }
.hero__slides.swiper .hero-slide.swiper-slide {
  position: relative;
  inset: auto;
  flex-shrink: 0;
  height: 100%;
  pointer-events: auto;
}
.hero__slides.swiper .swiper-slide-active .hero-slide__content {
  animation: heroCopyReveal .78s cubic-bezier(.2,.72,.22,1) both;
}
.hero__slides.swiper .swiper-slide-active > img {
  animation: heroImageReveal 7s ease-out both;
}
.hero__controls { gap: 8px; }
.hero-dot { transition: width .28s ease, background-color .28s ease, transform .28s ease; }
.hero-dot:hover { transform: scale(1.18); }

@keyframes heroCopyReveal {
  from { opacity: 0; transform: translate3d(0, calc(-50% + 22px), 0); }
  to { opacity: 1; transform: translate3d(0, -50%, 0); }
}
@keyframes heroImageReveal {
  from { transform: scale(1.045); }
  to { transform: scale(1); }
}

/* Product and portfolio carousels */
.product-grid.swiper,
.project-grid.swiper {
  display: block;
  width: 100%;
  overflow: hidden;
  direction: rtl;
  padding: 7px 2px 12px;
}
.product-grid.swiper .swiper-wrapper,
.project-grid.swiper .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.product-card.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: auto;
  height: auto;
  box-sizing: border-box;
}
.product-card.swiper-slide > .button { margin-top: auto; }
.project-card.swiper-slide {
  display: block;
  width: auto;
  height: auto;
  flex-shrink: 0;
}
.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
  margin-top: 4px;
  padding-inline: 2px;
}
.carousel-arrows { display: flex; align-items: center; gap: 7px; }
.carousel-arrows .circle-button {
  width: 34px;
  height: 34px;
  background: rgba(255,253,249,.82);
  box-shadow: 0 3px 10px rgba(43,32,21,.06);
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.carousel-arrows .circle-button:hover { transform: translateY(-2px); background: #fff; color: var(--red); }
.carousel-arrows .circle-button:active { transform: scale(.94); }
.carousel-toolbar .swiper-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: auto;
  transform: none !important;
}
.carousel-toolbar .swiper-pagination-bullet {
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 !important;
  border-radius: 99px;
  opacity: 1;
  background: #cfc4b7;
  transition: width .28s ease, background-color .28s ease;
}
.carousel-toolbar .swiper-pagination-bullet-active {
  width: 24px;
  background: var(--red) !important;
}
.swiper-button-disabled { opacity: .35; pointer-events: none; }

/* Polished interaction states and staggered scroll reveals. */
.category-tile,
.color-tile,
.promo-card,
.product-card,
.project-card,
.trust-item__icon {
  transform: translateZ(0);
  backface-visibility: hidden;
}
.product-card.swiper-slide,
.project-card.swiper-slide {
  transition: border-color .28s ease, box-shadow .28s ease, background-color .28s ease;
}
.product-card.swiper-slide:hover {
  transform: translateY(-4px);
  border-color: rgba(173,36,41,.26);
  box-shadow: 0 16px 34px rgba(63,44,28,.13);
}
.project-card.swiper-slide:hover { box-shadow: 0 16px 30px rgba(37,28,20,.17); }
.button,
.text-button,
.circle-button {
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}
.button:hover { box-shadow: 0 8px 18px rgba(117,27,31,.16); }
.button:active { transform: translateY(1px) scale(.985); }

.motion-ready .reveal-on-scroll:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity .68s ease, transform .68s cubic-bezier(.2,.72,.22,1);
  transition-delay: var(--reveal-delay, 0ms);
}
.category-tile.reveal-on-scroll.is-revealed:hover,
.color-tile.reveal-on-scroll.is-revealed:hover { transform: translate3d(0, -3px, 0); }
.product-card.reveal-on-scroll.is-revealed:hover { transform: translate3d(0, -4px, 0); }

/* Framework resets should not replace the brand font or the original container scale. */
body,
button,
input,
select,
textarea { font-family: "Vazirmatn", Tahoma, Arial, sans-serif; }

@media (max-width: 700px) {
  .hero__slides.swiper { height: 390px; }
  .product-grid.swiper, .project-grid.swiper { padding-inline: 1px; }
  .carousel-toolbar { margin-top: 2px; }
  .carousel-arrows .circle-button { width: 32px; height: 32px; }
}
@media (max-width: 420px) {
  .hero__slides.swiper { height: 365px; }
  .carousel-toolbar { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slides.swiper .swiper-slide-active .hero-slide__content,
  .hero__slides.swiper .swiper-slide-active > img { animation: none !important; }
  .reveal-on-scroll,
  .motion-ready .reveal-on-scroll:not(.is-revealed) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Graceful carousel fallback when an external CDN is blocked or unavailable. */
#hero-slides.is-fallback-slider .swiper-wrapper { display: block; position: relative; height: 100%; }
#hero-slides.is-fallback-slider .hero-slide.swiper-slide { position: absolute; inset: 0; width: 100%; }
.product-grid.is-fallback-slider,
.project-grid.is-fallback-slider {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #c8b9a8 transparent;
}
.product-grid.is-fallback-slider .swiper-wrapper,
.project-grid.is-fallback-slider .swiper-wrapper { display: flex; width: max-content; min-width: 100%; }
.product-grid.is-fallback-slider .product-card.swiper-slide { flex: 0 0 clamp(190px, 22vw, 250px); width: clamp(190px, 22vw, 250px); scroll-snap-align: start; }
.project-grid.is-fallback-slider .project-card.swiper-slide { flex: 0 0 clamp(220px, 23vw, 300px); width: clamp(220px, 23vw, 300px); scroll-snap-align: start; }
.product-grid.is-fallback-slider + .carousel-toolbar .swiper-pagination,
.project-grid.is-fallback-slider + .carousel-toolbar .swiper-pagination { display: none !important; }
@media (max-width: 600px) {
  .product-grid.is-fallback-slider .product-card.swiper-slide { flex-basis: 68%; width: 68%; }
  .project-grid.is-fallback-slider .project-card.swiper-slide { flex-basis: 78%; width: 78%; }
}
@media (max-width: 700px) {
  .hero__slides.swiper .swiper-slide-active .hero-slide__content {
    animation-name: heroCopyRevealMobile;
  }
}
@keyframes heroCopyRevealMobile {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}
