/* Tablet and phone layouts. Desktop composition remains in site.css. */
@media (min-width: 901px) and (max-width: 1100px) {
  .header-actions { gap: 14px; }
  .header-sales { gap: 10px; }
  .header-contact a, .sales-label { font-size: 16px; }
  .language-switch { margin-left: 12px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 32px; min-height: 0; padding-block: 56px; }
  .hero h1 { max-width: 700px; }
  .hero-link { display: none; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card-bottom ul { max-height: none; overflow: visible; }
  .category-card-bottom li { font-size: 12px; }
  .about-section { gap: 40px; padding-block: 56px; }
  .about-copy { padding-top: 80px; grid-template-columns: 1fr; gap: 22px; }
  .about-copy > p:nth-child(3), .facts { grid-column: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts strong { font-size: 30px; }
  .sector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .sector-grid > a { min-height: 160px; font-size: 13px; padding: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .product-card-image { height: 260px; }
  .featured-section { padding-block: 72px; }
  .advantages-section { gap: 32px; padding-block: 56px; }
  .advantage-grid article { padding: 20px; gap: 28px; min-height: 180px; }
  .office-section { padding-block: 56px; }
  .product-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px 5%; }
  .product-description { grid-column: 1 / -1; }
  .product-actions { margin-block: 32px; }
  .product-actions .button { font-size: 15px; padding: 16px 20px; }
  .inquiry-layout { gap: 40px; }
  .public-form { padding: 26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  body { font-size: 16px; }
  .header-top { height: 88px; gap: 12px; }
  .brand img { width: 128px; height: auto; }
  .header-sales { display: none; }
  .header-actions { margin-left: auto; gap: 0; }
  .header-actions .button { min-height: 44px; padding: 11px 15px; font-size: 13px; gap: 12px; }
  .navigation { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; font-size: 16px; }
  .nav-links a { min-height: 48px; padding: 12px; display: flex; align-items: center; }
  .nav-links a:first-child span { margin-left: auto; }
  .header-search { margin: 0; padding: 0 12px; background: white; border-radius: 8px; }
  .header-search input { flex: 1; width: 0; min-width: 0; font-size: 16px; min-height: 48px; }
  .header-search button { width: 44px; min-height: 48px; }
  .language { display: none; }
  .menu-toggle { display: none; width: 44px; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0; font-size: 25px; }
  .js-enabled .menu-toggle { display: inline-flex; }
  .js-enabled .navigation:not(.is-open) { display: none; }
  .about-section, .advantages-section { grid-template-columns: 1fr; }
  .about-copy { padding-top: 0; }
  .about-copy > p { font-size: 16px; line-height: 1.6; }
  .about-copy > p:nth-child(3) { max-width: none; }
  .section-heading { max-width: 650px; }
  .section-heading h2 { font-size: 34px; margin-bottom: 24px; }
  .section-heading > p { font-size: 16px; line-height: 1.55; }
  .section-heading > .button { margin-top: 24px; }
  .eyebrow { font-size: 12px; margin-bottom: 24px; }
  .split-heading { gap: 28px; margin-bottom: 36px; }
  .split-heading > div { max-width: 350px; }
  .split-heading p { font-size: 15px; line-height: 1.5; }
  .advantages-section .section-heading > .button { margin-top: 24px; }
  .advantage-grid article { min-height: 190px; }
  .advantage-grid h3 { font-size: 19px; }
  .advantage-grid p { font-size: 15px; line-height: 1.55; }
  .product-page > h1 { margin-bottom: 40px; overflow-wrap: anywhere; }
  .product-synonym { display: block; font-size: 24px; margin-top: 12px; }
  .product-layout { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .product-photo { height: 420px; }
  .product-summary h2 { font-size: 23px; }
  .product-summary .specifications, .specifications { font-size: 16px; }
  .product-actions .button { min-height: 48px; font-size: 16px; }
  .product-support h3 { font-size: 16px; }
  .product-support p { font-size: 15px; }
  .support-phone { font-size: 30px; }
  .contact-chips a { min-height: 44px; padding: 10px 14px; font-size: 14px; overflow-wrap: anywhere; }
  .product-description { grid-column: 1; max-width: none; }
  .product-description p { font-size: 16px; }
  .image-note { max-width: none; font-size: 13px; line-height: 1.5; }
  .draft-notice { font-size: 13px; line-height: 1.55; }
  .catalog-filters { gap: 12px; padding: 16px; }
  .catalog-filters input, .catalog-filters select { min-height: 48px; height: 48px; font-size: 16px; }
  .catalog-filters .button { min-height: 48px; font-size: 15px; }
  .catalog-filters > label { flex: 1; min-width: 170px; }
  .catalog-filters select { width: 100%; }
  .filter-search { flex-basis: 100%; }
  .filter-reset { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; }
  .category-tabs > a { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; }
  .product-card h3 { font-size: 20px; }
  .product-card-content { padding: 22px; }
  .product-badges { font-size: 12px; }
  .card-category { font-size: 13px; line-height: 1.5; margin-bottom: 20px; }
  .compact-specs { font-size: 13px; }
  .product-card-bottom { flex-wrap: wrap; gap: 14px; }
  .product-card-bottom .button { min-height: 44px; padding: 12px 17px; font-size: 14px; }
  .product-card-bottom > span { font-size: 12px; }
  .pagination { gap: 8px; }
  .pagination > a, .pagination > span { min-height: 44px; min-width: 44px; padding: 11px; font-size: 14px; }
  .contacts-layout, .inquiry-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .contacts-layout { margin-block: 40px; }
  .contact-large { font-size: 28px; overflow-wrap: anywhere; }
  .inquiry-layout { padding-top: 20px; }
  .inquiry-layout h1 { font-size: 40px; }
  .inquiry-layout > div > p { max-width: 600px; font-size: 16px; }
  .inquiry-contacts { margin-top: 28px; }
  .public-form { padding: 28px; }
  .form-field > label { font-size: 15px; }
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; min-height: 48px; }
  .form-field textarea { min-height: 150px; }
  .field-error { font-size: 14px; }
  .consent { font-size: 14px; line-height: 1.55; }
  .consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 1px; }
  .form-footnote { font-size: 13px; }
  .public-form > .button { min-height: 52px; }
  .footer-main { grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-block: 44px; }
  .footer-nav { gap: 0; font-size: 14px; }
  .footer-nav a { min-height: 44px; display: flex; align-items: center; padding-block: 8px; }
  .footer-identity p { font-size: 14px; }
  .footer-details { gap: 40px; }
  .footer-label { font-size: 13px; }
  .footer-details p { font-size: 14px; overflow-wrap: anywhere; }
  .footer-phone { font-size: 28px; }
  .footer-email { font-size: 22px; overflow-wrap: anywhere; }
  .footer-bottom p { font-size: 12px; }
  .footer-bottom > a { display: inline-flex; min-height: 44px; min-width: 44px; align-items: center; font-size: 13px; }
  .preview-bar { justify-content: flex-start; gap: 4px 16px; font-size: 12px; padding: 10px 24px; }
  .preview-bar a, .preview-bar button { min-height: 40px; display: inline-flex; align-items: center; font-size: 12px; padding: 0; }
  .editorial-body { font-size: 16px; overflow-wrap: anywhere; }
  .news-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 40px); }
  .header-top { display: grid; grid-template-columns: minmax(80px, 1fr) auto 44px; gap: 8px; }
  .brand { min-width: 0; }
  .brand img { width: 118px; max-width: 100%; }
  .header-actions { margin: 0; }
  .header-actions .button { min-height: 44px; height: 44px; padding-inline: 10px; font-size: 12px; gap: 8px; white-space: nowrap; }
  .hero { padding-block: 32px 40px; }
  .hero h1 { font-size: clamp(28px, 7.5vw, 34px); line-height: 1.12; letter-spacing: -.045em; }
  .hero p { margin-top: 24px; font-size: 16px; line-height: 1.55; letter-spacing: -.02em; }
  .country-word img { width: 42px; height: 26px; margin-right: 5px; }
  .category-section { padding-bottom: 8px; }
  .category-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .category-card-title h3 { font-size: clamp(20px, 5.3vw, 22px); line-height: 1.15; margin-bottom: 10px; overflow-wrap: anywhere; hyphens: auto; }
  .category-card-title h3 a { display: flex; align-items: center; min-height: 44px; }
  .category-card-title .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
  .category-card-bottom ul { font-size: 14px; line-height: 1.55; max-height: none; overflow: visible; gap: 7px; margin-bottom: 12px; }
  .category-card-bottom li { font-size: 12px; line-height: 1.5; padding: 6px 8px; max-width: 100%; }
  .category-card-bottom li a { display: block; overflow-wrap: anywhere; }
  .category-card-bottom li:nth-child(n+4) { display: none; }
  .category-card-bottom > ul:has(li:only-child) > li { font-size: 14px; line-height: 1.55; }
  .category-card-bottom .text-link { min-height: 44px; padding-block: 10px; font-size: 14px; align-items: center; }
  .about-section, .sectors-section, .advantages-section, .office-section { padding-block: 40px; }
  .section-heading h2 { font-size: 30px; line-height: 1.12; }
  .facts { gap: 24px 18px; margin-top: 8px; }
  .facts strong { font-size: 29px; overflow-wrap: anywhere; }
  .facts span { font-size: 13px; line-height: 1.45; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
  .sector-grid > a { min-height: 150px; padding: 18px; gap: 30px; font-size: 13px; line-height: 1.4; }
  .warehouse { height: 270px; }
  .warehouse > img { width: 100%; height: 100%; object-fit: cover; transform: none; }
  .featured-section { padding-block: 48px; }
  .split-heading { flex-direction: column; gap: 20px; margin-bottom: 28px; }
  .split-heading h2 { font-size: 30px; line-height: 1.12; }
  .split-heading > div { max-width: none; }
  .split-heading .button { min-height: 44px; font-size: 14px; }
  .advantage-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .advantage-grid article { min-height: 0; padding: 24px; gap: 20px; }
  .office-map { margin-top: 28px; aspect-ratio: 1.5; }
  .office-map > img { height: 100%; width: 100%; object-fit: cover; transform: none; }
  .office-map > span { min-height: 44px; display: flex; align-items: center; font-size: 13px; bottom: 12px; right: 12px; padding: 10px 14px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-details { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 28px; }
  .footer-phone { font-size: 29px; margin-bottom: 28px; }
  .footer-details p { margin-bottom: 18px; }
  .footer-bottom { align-items: start; gap: 16px; padding-block: 24px; }
  .footer-bottom p { flex: 1; min-width: 0; }
  .footer-bottom > a { flex-shrink: 0; }
  .breadcrumbs { font-size: 12px; gap: 6px; margin-bottom: 24px; }
  .breadcrumbs a { padding-block: 4px; }
  .catalog-page, .product-page, .contacts-page, .editorial-page, .inquiry-page { padding-block: 24px 52px; }
  .catalog-heading { flex-direction: column; align-items: start; gap: 16px; margin-bottom: 28px; }
  .catalog-heading .eyebrow { margin-bottom: 20px; }
  .catalog-heading h1 { font-size: 32px; line-height: 1.12; }
  .catalog-heading p { font-size: 16px; margin-top: 20px; }
  .result-count { font-size: 14px; }
  .category-tabs { gap: 8px; margin-bottom: 24px; }
  .category-tabs > a { padding: 10px 12px; }
  .catalog-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; margin-bottom: 24px; }
  .catalog-filters .filter-search { grid-column: 1 / -1; min-width: 0; }
  .catalog-filters > label { min-width: 0; width: 100%; }
  .catalog-filters input, .catalog-filters select { padding-inline: 10px; width: 100%; }
  .filter-reset { justify-content: center; margin: 0; }
  .product-grid { gap: 16px; }
  .product-card-image { height: 230px; }
  .product-card-content { padding: 22px; }
  .product-card h3 { font-size: 21px; line-height: 1.25; }
  .product-badges { gap: 8px 12px; font-size: 12px; }
  .compact-specs { font-size: 14px; margin-bottom: 24px; }
  .compact-specs > div { gap: 12px; margin-bottom: 9px; }
  .product-card-bottom > span { max-width: none; }
  .product-page > h1 { font-size: 29px; line-height: 1.15; margin-bottom: 28px; }
  .product-synonym { font-size: 20px; line-height: 1.35; }
  .product-photo { height: 310px; border-radius: 22px; }
  .product-photo > img { padding: 18px; }
  .product-summary .specifications, .specifications { font-size: 14px; line-height: 1.55; }
  .specifications > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-block: 16px; }
  .specifications dt { min-width: 0; }
  .specifications dt span { overflow-wrap: anywhere; }
  .product-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-block: 28px 32px; }
  .product-actions .button { width: 100%; min-height: 52px; }
  .product-support p { margin-top: 20px; }
  .support-phone { font-size: 28px; }
  .product-description > section { margin-bottom: 36px; }
  .product-description h2 { font-size: 24px; line-height: 1.2; margin-bottom: 22px; }
  .document-list > a { min-height: 48px; font-size: 15px; }
  .related-products { margin-top: 36px; }
  .editorial-page > .eyebrow, .contacts-page > .eyebrow { margin-top: 28px; }
  .editorial-page > h1, .contacts-page > h1 { font-size: 32px; line-height: 1.15; margin-bottom: 24px; }
  .editorial-intro { font-size: 20px; line-height: 1.5; margin-bottom: 32px; }
  .editorial-body { font-size: 16px; line-height: 1.7; }
  .editorial-cta { margin-top: 40px; padding-top: 28px; }
  .editorial-cta h2 { font-size: 27px; line-height: 1.15; }
  .contacts-layout { margin-block: 32px; }
  .contacts-layout p { font-size: 16px; }
  .contact-large { font-size: 25px; }
  .contact-request { padding: 24px; }
  .contact-request .text-link { min-height: 44px; display: flex; align-items: center; }
  .inquiry-layout h1 { font-size: 36px; }
  .inquiry-product { padding: 16px; gap: 14px; }
  .inquiry-product img { width: 72px; height: 72px; flex: 0 0 72px; }
  .inquiry-product div { min-width: 0; }
  .inquiry-product strong { overflow-wrap: anywhere; }
  .inquiry-contacts a { min-height: 40px; display: flex; align-items: center; overflow-wrap: anywhere; }
  .public-form { padding: 22px; }
  .public-form > .button { width: 100%; }
  .consent { gap: 12px; }
  .form-footnote { line-height: 1.6; }
  .success-page { padding-block: 56px; gap: 24px; }
  .success-page h1 { font-size: 34px; line-height: 1.12; }
  .success-page p { font-size: 16px; }
  .success-page > .button { width: 100%; min-height: 52px; font-size: 16px; }
  .empty-state > .text-link, .order-note > .text-link, .news-grid .text-link, .split-heading > .text-link { display: inline-flex; align-items: center; min-height: 44px; }
  .inquiry-contacts a { min-height: 44px; }
  .preview-bar { padding-inline: 20px; }
  .news-grid { gap: 16px; margin-top: 32px; }
  .news-grid article { padding: 24px; }
  .news-grid h2 { font-size: 24px; line-height: 1.25; }
}

@media (max-width: 479px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-card-image { height: 235px; }
}

@media (max-width: 359px) {
  .container { width: calc(100% - 32px); }
  .header-top { gap: 8px; }
  .brand img { width: 108px; }
  .header-actions .button { font-size: 12px; padding-inline: 10px; gap: 6px; }
  .category-card-title h3 { font-size: 20px; }
  .public-form { padding: 18px; }
  .footer-phone { font-size: 26px; }
  .sector-grid > a { padding: 15px; }
}

@media (max-width: 900px) and (max-height: 500px) {
  .hero { padding-block: 24px 36px; }
  .hero h1 { font-size: 30px; }
  .header-top { height: 72px; }
  .product-photo { height: 280px; }
}

@media (max-width: 900px) {
  .catalog-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .filter-toggle { grid-column: 1 / -1; display: none; min-height: 46px; align-items: center; justify-content: space-between; padding: 10px 14px; border: 1px solid var(--line, #dfe5e1); border-radius: 8px; background: white; color: inherit; font: inherit; font-size: 14px; }
  .js-enabled .filter-toggle { display: flex; }
  .catalog-filter-options { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .js-enabled .catalog-filter-options:not(.is-open) { display: none; }
  .catalog-filter-options > label { min-width: 0; }
  .catalog-filters .filter-apply { display: inline-flex; }
  .catalog-filters .filter-search { grid-column: 1; }
}
@media (max-width: 600px) {
  .category-tabs { flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; max-width: 100%; padding-bottom: 10px; scrollbar-width: thin; }
  .category-tabs > a { flex: 0 0 auto; white-space: nowrap; }
  .filter-search-submit { min-width: 72px; padding-inline: 14px; }
}
@media (max-width: 479px) {
  .catalog-filter-options { grid-template-columns: minmax(0, 1fr); }
}

@media(max-width:900px){.language-switch{margin-left:0}.header-top{gap:12px}.nav-links{flex-wrap:nowrap}}
@media(max-width:600px){.header-top{grid-template-columns:minmax(0,1fr) auto 44px;height:auto;padding-block:18px 16px;gap:12px}.brand{grid-column:1;grid-row:1}.language-switch{grid-column:2;grid-row:1;gap:2px}.language-switch a{min-width:40px}.menu-toggle{grid-column:3;grid-row:1}.header-actions{grid-column:1/-1;grid-row:2;display:flex;width:100%}.header-actions>.button{width:100%;justify-content:space-between;font-size:14px;padding-inline:16px}.category-card-title h3{hyphens:none}.hero h1{overflow-wrap:anywhere}}

/* Keep the search instructions visible even when the input is narrow. */
.catalog-filters > .filter-search-label {
  flex: 0 0 100%;
  grid-column: 1 / -1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* Long industry names must wrap inside each card at every breakpoint. */
.sector-grid > a { min-width: 0; }
.sector-grid > a > span:not(.sector-arrow) {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .header-search { flex-wrap: wrap; gap: 4px 8px; padding-block: 12px; }
  .header-search > label {
    position: static;
    flex: 0 0 100%;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 14px;
  }
  .header-search input::placeholder { color: transparent; }
}

@media (max-width: 375px) {
  .sector-grid { grid-template-columns: minmax(0, 1fr); }
  .sector-grid > a { min-height: 130px; }
}

@media (max-width: 359px) {
  .footer-main { grid-template-columns: minmax(0, 1fr); }
}

.archive-notice { max-width: 900px; padding: 20px 24px; margin-bottom: 28px; border-left: 4px solid var(--green); border-radius: 12px; background: var(--light); overflow-wrap: anywhere; }
.archive-notice strong { display: block; margin-bottom: 8px; }
.archive-notice p { font-size: 15px; line-height: 1.6; }
.archive-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.archive-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.archive-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 32px; }
.archive-gallery figure { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.archive-gallery-image { display: block; background: var(--light); }
.archive-gallery-image img { width: 100%; height: 240px; padding: 16px; object-fit: contain; }
.archive-gallery figcaption { padding: 16px; font-weight: 550; overflow-wrap: anywhere; }
.archive-gallery figcaption a { display: flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
  .archive-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .archive-notice { padding: 18px; }
  .archive-gallery { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .archive-links { flex-direction: column; gap: 8px; }
}
