@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Fixed local faces keep heavy Kazakh text from selecting Arial Black. */
@font-face { font-family: "FotoTrade Kazakh"; src: local("Arial"), local("ArialMT"); font-style: normal; font-weight: 400 500; font-display: swap; }
@font-face { font-family: "FotoTrade Kazakh"; src: local("Arial Bold"), local("Arial-BoldMT"); font-style: normal; font-weight: 600 900; font-display: swap; }

:root {
  --blue: #0d61b2;
  --blue-dark: #183456;
  --blue-soft: #eaf3fb;
  --muted: #52677c;
  --line: #d8e4ef;
  --line-strong: #c8d8e6;
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--blue-dark); background: #fff; -webkit-font-smoothing: antialiased; }
html[lang="kk"] body { font-family: "FotoTrade Kazakh", Arial, "Helvetica Neue", sans-serif; font-synthesis: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
a, button { -webkit-tap-highlight-color: transparent; }
button:active, .btn:active, .productLink:active { transform: translateY(1px); }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
main, section[id] { scroll-margin-top: 112px; }
.siteHeader { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.nav { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { width: 220px; max-width: 100%; }
.brand img { width: 100%; height: auto; }
.nav nav { display: flex; justify-content: center; align-items: center; gap: 32px; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; color: var(--muted); }
.nav nav a:hover { color: var(--blue); }
.lang { justify-self: end; display: flex; align-items: center; gap: 4px; color: var(--muted); }
.lang button { min-width: 44px; min-height: 44px; padding: 8px 4px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 800; }
.lang .selected { background: var(--blue-soft); color: var(--blue); }
.heroCopy { padding: 20px 0; }
.eyebrow, .overline { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; font-weight: 800; color: var(--blue); }
.eyebrow i { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #e6336e; }
.hero h1 { margin: 22px 0 18px; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.045em; font-weight: 800; }
.heroCopy > p { max-width: 620px; margin: 0; font-size: 18px; line-height: 1.65; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 20px; border: 1px solid transparent; border-radius: 14px; font-size: 15px; font-weight: 700; text-align: center; transition: background .2s, border-color .2s, box-shadow .2s; }
.btn.blue, .mapButton { color: #fff; background: var(--blue); box-shadow: 0 4px 12px rgba(13,97,178,.12); }
.btn.blue:hover, .mapButton:hover, .productLink:hover { background: #0b5094; }
.btn.light { background: #fff; border-color: var(--line-strong); color: var(--blue-dark); }
.btn.light:hover { background: var(--blue-soft); border-color: #90b2d1; }
.section, .contact, .mapSection, .info, .offer { padding: 80px 0; }
.sectionHeading { margin-bottom: 28px; }
.sectionHeading h2, .offer h2, .info h2, .contact h2 { margin: 16px 0 14px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.14; letter-spacing: -.035em; }
.sectionHeading p, .offer p, .info p, .contact p, .mapDetails p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.catalogControls { display: grid; grid-template-columns: minmax(0,1fr) minmax(240px,320px); align-items: center; gap: 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { min-height: 46px; padding: 10px 18px; border-radius: 24px; border: 1px solid var(--line-strong); background: #fff; color: var(--muted); font-size: 14px; font-weight: 700; }
.filters button.active, .filters button:hover { color: var(--blue); background: var(--blue-soft); border-color: #90b2d1; }
.searchField { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 14px; }
.searchField svg { flex: 0 0 19px; }
.searchField:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
#catalog-search { min-width: 0; width: 100%; height: 50px; padding: 0; border: 0; background: transparent; color: var(--blue-dark); font-size: 15px; }
#catalog-search:focus { outline: none; }
.catalogStatus { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: 16px 0 22px; min-height: 44px; }
.catalogStatus p { margin: 0; color: var(--muted); font-size: 14px; }
.resetButton { border: 0; background: transparent; min-height: 44px; padding: 8px 0; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
.catalogGrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.catalogGroup { grid-column: 1 / -1; margin: 16px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 22px; letter-spacing: -.02em; }
.catalogOptions { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 18px; }
.catalogOptions label { display: grid; gap: 6px; min-width: 200px; color: var(--muted); font-size: 12px; font-weight: 600; }
.catalogOptions select { appearance: none; -webkit-appearance: none; height: 46px; min-width: 0; width: 100%; padding: 10px 40px 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2352677c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; color: var(--blue-dark); font-size: 14px; line-height: 1.4; cursor: pointer; transition: border-color .18s, box-shadow .18s; }
.catalogOptions select:hover { border-color: #8daac4; }
.catalogOptions select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(13,97,178,.14); }
.catalogOptions select:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px rgba(13,97,178,.22); }
.productPlaceholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #8399ad; }
.productContent .productCode { margin: -6px 0 10px; font-size: 12px; color: var(--muted); }
.paperMeta { display: grid; gap: 8px; margin: 12px 0; font-size: 13px; line-height: 1.5; }
.paperMeta > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr); gap: 10px; }
.paperMeta dt { color: var(--muted); }
.paperMeta dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.orderBadge { align-self: start; margin: 0 0 16px; padding: 9px 16px; border-radius: 10px; color: #80551d; background: #fcf2e3; font-size: 15px; line-height: 1.4; font-weight: 700; }
.paperHelp { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 28px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: #f5f9fd; }
.paperHelp p { flex: 1 1 260px; margin: 0; font-size: 16px; line-height: 1.6; font-weight: 600; }
.productCard { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 4px 18px rgba(24,52,86,.035); transition: border-color .25s, box-shadow .25s, transform .25s; }
.productCard:focus-within { border-color: #90b2d1; box-shadow: 0 8px 28px rgba(24,52,86,.09); }
.productImage { display: flex; align-items: center; justify-content: center; height: 230px; padding: 22px; background: linear-gradient(145deg,#f7faff,#eef4fa); border-bottom: 1px solid #e8eff6; }
.productImage img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.productContent { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 20px 24px 24px; }
.productType { font-size: 11px; line-height: 1.5; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.productTitle { margin: 10px 0 16px; font-size: 27px; line-height: 1.25; letter-spacing: -.025em; overflow-wrap: anywhere; }
.paperCard .productTitle { font-size: 22px; }
.paperCard .productImage { height: 190px; }
.productContent p { margin: 10px 0; font-size: 14px; line-height: 1.65; color: var(--muted); }
.productDetails { margin-bottom: 18px; font-size: 14px; }
.productDetails summary { min-height: 44px; padding: 12px 0; color: var(--blue); font-weight: 600; border-radius: 6px; transition: color .2s; }
.productDetails summary:hover { color: #084d8c; text-decoration: underline; text-underline-offset: 4px; }
.productDetails[open] { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.printerSpecifications { margin-bottom: 8px; font-size: 13px; }
.printerSpecs { margin: 0; }
.printerSpecs > div { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.printerSpecs dt { color: var(--muted); }
.printerSpecs dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.productDetails .printerSpecsNote { font-size: 12px; line-height: 1.5; }
.printerSpecsSource { display: inline-block; padding: 8px 0; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.productWarranty { margin: auto 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); font-size: 12px; font-weight: 600; }
.paperCount, .stockNote { margin-bottom: 16px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.stockNote { color: #855521; }
.productPrice { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.printerCard .productPrice { margin-top: 0; }
.productPrice small { display: block; margin-bottom: 6px; font-size: 12px; color: var(--muted); }
.productPrice strong { display: block; font-size: clamp(25px,2.4vw,32px); line-height: 1.25; color: #111c29; }
.productLink { display: flex; justify-content: center; align-items: center; gap: 12px; min-height: 48px; margin-top: 18px; padding: 12px 16px; border-radius: 12px; color: #fff; background: var(--blue); font-size: 15px; font-weight: 700; transition: background .2s, box-shadow .2s; }
.catalogNote { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.catalogEmpty { padding: 36px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; }
.catalogEmpty p { margin: 0 0 18px; line-height: 1.6; }
.offer { background: #f1f6fc; }
.offerHeading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin-bottom: 28px; }
.offerHeading h2 { margin-bottom: 0; }
.textLink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--blue); font-size: 14px; font-weight: 700; }
.textLink:hover { text-decoration: underline; text-underline-offset: 5px; }
.offerList { display: grid; gap: 24px; }
.offerList.isEnhanced { gap: 0; }
.offerList.isEnhanced .offerCard { grid-area: 1 / 1; transition: opacity .25s ease, visibility .25s ease; }
.offerList.isEnhanced .offerCard:not(.isActive) { opacity: 0; visibility: hidden; pointer-events: none; }
.offerArrows { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.offerArrows button { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; color: var(--blue); background: #fff; transition: background .18s, border-color .18s; }
.offerArrows button:hover { background: var(--blue-soft); border-color: #91b4d2; }
.offerArrows button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.offerCard { border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 8px 30px rgba(24,52,86,.04); min-width: 0; padding: clamp(28px,3.4vw,48px); }
.offerCard > div { min-width: 0; }
.offerModel { display: inline-block; padding: 7px 12px; border-radius: 8px; color: var(--blue); background: var(--blue-soft); font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: .05em; }
.offerTitle { margin: 18px 0; font-size: clamp(26px,3vw,38px); letter-spacing: -.03em; line-height: 1.16; overflow-wrap: anywhere; }
.offer .offerBenefit { margin-top: 14px; font-size: 14px; }
.offerGrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 40px; }
.offer strong { display: block; margin: 24px 0 12px; font-size: 40px; line-height: 1.2; }
.offer .offerSaving { margin: 0 0 22px; font-size: 14px; }
.offerDisclaimer { margin-top: 16px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.offerImage { display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; aspect-ratio: 4 / 3; padding: 8px; background: transparent; }
.offerImage img { width: 100%; height: 100%; object-fit: contain; background: transparent; }
.info { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
.infoCard, .contactCard, .mapDetails { padding: 28px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #f8fbff; min-width: 0; }
.infoMark { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--blue); }
.infoCard h3 { margin: 18px 0 14px; font-size: 28px; line-height: 1.2; }
.infoFeatures { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.infoLine { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 8px; color: var(--blue); font-size: 15px; line-height: 1.6; font-weight: 600; }
.contact { background: #f1f6fb; }
.contactGrid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,420px); gap: 34px; }
.contact .btn { margin-top: 24px; }
.contactCard { background: #fff; }
.contactCard a { display: block; padding: 8px 0; font-size: clamp(18px,2.2vw,24px); font-weight: 700; overflow-wrap: anywhere; transition: color .2s; }
.contactCard a:hover { color: var(--blue); }
.contactCard p { margin-top: 16px; }
.mapGrid { display: grid; grid-template-columns: minmax(0,420px) minmax(0,1fr); gap: 28px; }
.mapDetails h2 { margin: 18px 0 14px; font-size: 30px; line-height: 1.2; }
.mapButton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; min-height: 48px; padding: 12px 18px; border-radius: 14px; font-weight: 700; }
.mapDetails .mapHint { margin-top: 16px; font-size: 14px; }
.mapFrame { min-height: 350px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.mapFrame iframe { display: block; width: 100%; height: 100%; min-height: 350px; border: 0; }
footer { background: #183456; color: #fff; }
.foot { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) auto; align-items: center; gap: 24px; padding: 22px 0; font-size: 13px; line-height: 1.6; }
.footTrademark { text-align: center; font-size: 12px; }
#back-to-top { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: 30px; }
@media (hover: hover) and (pointer: fine) {
  .productCard:hover { transform: translateY(-4px); border-color: #b0c9e0; box-shadow: 0 14px 32px rgba(24,52,86,.09); }
  .productCard:hover .productImage img { transform: scale(1.035); }
  .btn.blue:hover, .productLink:hover { box-shadow: 0 6px 18px rgba(13,97,178,.2); }
}
@media (max-width: 900px) {
  .catalogControls { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .searchField { max-width: 440px; }
  main, section[id] { scroll-margin-top: 150px; }
  .container { width: calc(100% - 32px); }
  .nav { grid-template-columns: minmax(0,1fr) auto; gap: 4px 12px; padding: 10px 0; }
  .nav nav { grid-row: 2; grid-column: 1 / -1; gap: 28px; }
  .catalogGrid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .offerGrid, .info, .contactGrid, .mapGrid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .offerImage { max-width: 520px; margin: 0 auto; }
  .offerCard .offerImage { width: 100%; max-width: 440px; }
  .foot { grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
  #back-to-top { grid-row: 1; grid-column: 2; }
  .footTrademark { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 620px) {
  .brand { width: 156px; }
  .nav nav { justify-content: space-between; gap: 8px; }
  .nav nav a { font-size: 13px; }
  .section, .contact, .mapSection, .info, .offer { padding: 52px 0; }
  .heroCopy { padding: 0; }
  .hero h1 { font-size: clamp(34px,8.5vw,46px); }
  .heroCopy > p { font-size: 16px; line-height: 1.6; }
  .actions { flex-direction: column; margin-top: 22px; }
  .btn { width: 100%; }
  .eyebrow { font-size: 10px; }
  .filters button { padding: 10px 13px; font-size: 13px; }
  .searchField { max-width: 100%; }
  .catalogGrid { grid-template-columns: minmax(0,1fr); }
  .catalogOptions label { min-width: 0; flex: 1 1 200px; }
  .paperHelp { padding: 20px; }
  .productContent { padding: 18px 20px 22px; }
  .infoCard, .contactCard, .mapDetails { padding: 22px; }
  .offer strong { font-size: 36px; }
  .offerHeading { margin-bottom: 20px; }
  .offerCard { padding: 24px 20px; gap: 24px; }
  .offerCard .offerImage { grid-row: 1; max-width: 340px; max-height: 240px; padding: 0; }
  .offerTitle { font-size: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Downloads reuse site typography, cards and native filters. */
.packagingSpecs { margin: 14px 0; font-size: 13px; }
.driverLink { margin-bottom: 14px; font-size: 14px; }
.nav nav { flex-wrap: wrap; }
.nav nav a[aria-current="page"] { color: var(--blue); }
.downloadsPage .sectionHeading h1 { margin: 16px 0; font-size: clamp(32px,4vw,48px); line-height: 1.15; letter-spacing: -.035em; }
.downloadsIntro { max-width: 780px; }
.downloadFilters { margin: 28px 0; }
.downloadFilters label { flex: 1 1 220px; min-width: 0; }
.downloadSection { margin-top: 36px; }
.downloadSection > h2 { font-size: 24px; }
.downloadList { display: grid; gap: 14px; }
.downloadFile { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: #f8fbff; }
.downloadFile h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.4; overflow-wrap: anywhere; }
.downloadFile p { margin: 5px 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.downloadFile .downloadCaution, .firmwareNotice { color: #80551d; }
.firmwareNotice { padding: 18px 20px; border: 1px solid #ead8bb; border-radius: 14px; background: #fcf5e9; font-size: 14px; line-height: 1.65; }
.downloadEmpty { color: var(--muted); line-height: 1.65; }
.downloadSource { margin-top: 34px; color: var(--muted); font-size: 14px; line-height: 1.7; }
@media(max-width:620px) {
  .nav nav { row-gap: 0; }
  .nav nav a { min-height: 36px; }
  .downloadFile { grid-template-columns: minmax(0,1fr); padding: 20px; }
  .downloadFile .btn { width: 100%; }
}
