/* Shared responsive layer. The approved logo and desktop identity are unchanged. */
html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
button, input, select, textarea { font-family: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #c09247; outline-offset: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #c09247; outline-offset: 2px;
}
.hero-inner, .hero-content, .benefits-content, .service-content, .magnet-content,
.contacts-info-premium, .model-info, .product-body, .hero-layout > * { min-width: 0; }
.models-grid, .process-grid, .cases-grid, .reviews-grid, .blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.models-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hero-actions { flex-wrap: wrap; }
.hero-bg-image { background-image: url('assets/hero-1600.webp'); }
.shop-hero { background-image: linear-gradient(90deg, rgba(3,30,19,.92) 0%, rgba(3,30,19,.74) 43%, rgba(3,30,19,.18) 72%), url('assets/parts-hero-1600.webp'); }
.hero-actions .btn { max-width: 100%; white-space: normal; text-align: center; }
.footer-inner { flex-wrap: wrap; }
.footer-nav { flex-wrap: wrap; }
.form-feedback { font-size: 14px; line-height: 1.5; margin: 16px 0 0; color: #9e2929; }
.field-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.form-group-premium select { padding-right: 38px !important; appearance: auto !important; }
button:disabled { opacity: .65; cursor: wait; }
.menu-backdrop, .mobile-actions, .menu-contact { display: none; }
.shop-menu-btn { display: none; }
.request-modal { z-index: 200; }
.request-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
.empty-state strong { display: block; color: #123a2a; font-size: 20px; margin-bottom: 12px; }
.empty-state p { line-height: 1.6; margin: 0 0 20px; }
.empty-state button { min-height: 48px; margin: 4px; }
.empty-reset { border: 1px solid #c8d6cc; border-radius: 12px; padding: 12px 16px; background: #fff; color: #123a2a; cursor: pointer; }
.article-content { overflow-wrap: anywhere; }
.article-content pre, .article-content table { max-width: 100%; overflow-x: auto; }
.article-content pre { white-space: pre-wrap; }
.article-content table { display: block; }
@media (max-width: 1200px) {
  .models-grid { grid-template-columns: minmax(0, 1fr); }
  .service-image-col { flex-basis: auto; }
  .magnet-image { flex-basis: auto; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .process-card, .review-card { padding: 26px; }
  .process-grid, .cases-grid, .reviews-grid { gap: 18px; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* One menu behaviour on the landing page, editorial pages and parts catalogue. */
@media (max-width: 1100px) {
  .header { position: fixed; top: 0; padding: 16px; }
  .header .nav, .shop-nav { display: none; }
  .shop-menu-btn, .mobile-menu-btn {
    display: inline-flex !important; align-items: center; justify-content: center;
    flex: 0 0 44px; width: 44px; height: 44px; padding: 10px;
    color: #123a2a; background: #f3f6f4; border: 0; border-radius: 12px; cursor: pointer;
  }
  .shop-menu-btn[aria-expanded="true"] svg, .mobile-menu-btn[aria-expanded="true"] svg { display: none; }
  .shop-menu-btn[aria-expanded="true"]::before, .mobile-menu-btn[aria-expanded="true"]::before { content: '×'; font-size: 28px; line-height: 1; }
  .header .nav.nav-open, .shop-nav.nav-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; top: 108px; left: 24px; right: 24px; width: auto;
    padding: 12px; background: #fff; border: 1px solid #e6eaea; border-radius: 22px;
    box-shadow: 0 20px 60px #06291b26; max-height: calc(100dvh - 128px);
    overflow-y: auto; overscroll-behavior: contain; z-index: 102;
  }
  .nav.nav-open a, .shop-nav.nav-open a {
    display: flex; align-items: center; min-height: 48px; padding: 12px 16px;
    color: #123a2a; text-decoration: none; font-size: 16px; font-weight: 600;
    border-radius: 10px; white-space: normal;
  }
  .nav.nav-open a:hover, .shop-nav.nav-open a:hover { background: #eff5f1; }
  .nav.nav-open .menu-contact, .shop-nav.nav-open .menu-contact {
    display: flex; margin-top: 8px; background: #06402b; color: #fff;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .menu-backdrop {
    display: block; position: fixed; inset: 0; border: 0; background: #082c1d66;
    backdrop-filter: blur(4px); z-index: 99; cursor: pointer;
  }
  .shop-header { z-index: 100; }
  .shop-nav.nav-open { top: 94px; }
  .nav-wrap { display: flex; gap: 14px; }
  .shop-socials { margin-left: auto; }
  .shop-phone { display: none; }
}
@media (max-width: 768px) {
  html { scroll-padding-top: 88px; }
  body { font-size: 16px; }
  .container { width: 100%; padding: 0 20px; }
  .header { position: fixed; top: 0; padding: 12px; }
  .header-inner, .header-blog .header-inner, .header-privacy .header-inner {
    height: 60px !important; padding: 0 12px; gap: 8px; border-radius: 18px;
    box-shadow: 0 8px 32px #123a2a0d;
  }
  .header-right { gap: 4px; }
  .header .logo-ru, .shop-logo-ru { min-height: 44px; }
  .header-socials, .shop-socials { gap: 2px; }
  .header-social-link, .shop-socials a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  }
  .header-right > .btn, .header-phone { display: none; }
  .header-blog, .header-privacy { background: transparent; border: none; }
  .header-blog > .container, .header-privacy > .container { padding: 0; }
  .header .nav.nav-open, .shop-nav.nav-open {
    top: 84px; left: 12px; right: 12px; max-height: calc(100dvh - 100px);
  }
  .header-privacy .btn { min-height: 44px; height: 44px; font-size: 13px; padding: 0 14px; }
  .btn, .btn-large { min-height: 52px; height: auto; padding: 14px 20px; font-size: 15px; border-radius: 14px; }
  h2, .section-title { font-size: clamp(27px, 7vw, 34px); line-height: 1.16; letter-spacing: -.035em; }
  .section-desc { font-size: 16px; line-height: 1.65; margin-bottom: 28px; }
  .eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .08em; }
  .hero-wrapper { min-height: 100svh; padding-bottom: 0; background: #eee7dc; }
  .hero { flex: 1; padding: 108px 0 40px; align-items: flex-start; }
  .hero-content { max-width: none; width: 100%; }
  .hero-content h1 { font-size: clamp(30px, 8.3vw, 38px); line-height: 1.12; letter-spacing: -.04em; margin: 14px 0 20px; }
  .hero-content .lead { font-size: 16px; line-height: 1.6; margin-bottom: 24px; font-weight: 400; }
  .hero-content .lead br { display: none; }
  .hero-bg-image { top: 0; bottom: 0; height: auto; background-image: url('assets/hero-mobile-overlay-v1-800.webp'); background-position: right center; background-size: cover; background-repeat: no-repeat; }
  .hero-gradient-overlay { background: linear-gradient(to bottom, #f8f9f999 0%, #f8f9f980 42%, #f8f9f933 100%), linear-gradient(to right, #f8f9f9cc 0%, #f8f9f94d 60%, #f8f9f900 100%); }
  .hero-wrapper::after { height: 48px; }
  .hero-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; padding: 12px; background: #ffffffe0; border: 1px solid #ffffffcc; border-radius: 16px; }
  .hero-feature { flex-direction: column; align-items: flex-start; gap: 8px; }
  .feature-icon { width: 36px; height: 36px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-text span { display: block; font-size: 12px; color: #52645b; line-height: 1.45; }
  .hero-actions { width: 100%; flex-direction: column; gap: 10px; margin: 0; }
  .hero-actions .btn { width: 100%; min-height: 54px; height: auto; padding: 14px 12px; font-size: 15px; }
  .hero-actions .btn-primary { box-shadow: 0 8px 24px #06402b20; }
  .hero-actions .btn-outline { background: #ffffffb3; border-color: #b0c2b8; }
  .benefits, .process, .models, .lead-magnet, .service, .cases, .reviews-section, .contacts-section { padding: 48px 0; }
  .benefits-split, .service-inner { gap: 28px; }
  .benefits-image { flex: none; width: 100%; }
  .benefits-image img { aspect-ratio: 4 / 3; }
  .benefits-content .section-title, .benefits-content .section-desc { text-align: left; }
  .benefits-list { gap: 24px; margin-top: 28px; }
  .benefit-list-item { gap: 14px; }
  .benefit-list-item .b-icon { width: 44px; height: 44px; border-radius: 13px; }
  .benefit-list-item .b-icon svg { width: 24px; height: 24px; }
  .benefit-list-item .b-text h3 { font-size: 18px; }
  .benefit-list-item .b-text p, .s-text p, .case-body p, .review-text { font-size: 15px; line-height: 1.65; }
  .process-grid, .models-grid, .cases-grid, .reviews-grid, .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .process-card, .review-card { padding: 24px; border-radius: 22px; }
  .process-card h3 { font-size: 22px; margin-bottom: 20px; }
  .process-num { margin-bottom: 16px; }
  .process-checklist li { gap: 10px; font-size: 15px; }
  .models p.section-desc { margin-bottom: 28px; }
  .models-grid { margin-bottom: 0; }
  .model-card { padding: 24px; border-radius: 24px; gap: 20px; }
  .model-img-wrapper { flex: none; height: 210px; width: 100%; margin: 0; }
  .model-img-wrapper img { height: 100%; width: 100%; object-fit: contain; }
  .model-num { top: 20px; right: 20px; padding: 5px 12px; }
  .model-info h3 { font-size: 26px; line-height: 1.2; }
  .model-info p { font-size: 15px; line-height: 1.6; }
  .model-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .model-stats > div:first-child { grid-column: 1 / -1; }
  .model-stats dt { font-size: 10px; }
  .model-stats dd { font-size: 15px; }
  .magnet-inner { padding: 26px 22px; gap: 32px; border-radius: 24px; }
  .magnet-content h2 { font-size: 27px; line-height: 1.2; }
  .magnet-list { font-size: 15px; }
  .magnet-form .btn { height: auto !important; min-height: 56px; font-size: 14px; padding: 14px 10px; }
  .magnet-form svg { flex-shrink: 0; }
  .pdf-mockup { width: min(210px, calc(100% - 28px)); height: 290px; transform: rotate(-3deg); }
  .service-image-col { flex: none; }
  .service-img { height: auto; aspect-ratio: 4 / 3; }
  .service-content h2 { font-size: 29px; line-height: 1.2; margin-bottom: 28px; }
  .service-items { gap: 24px; }
  .s-item { gap: 14px; }
  .s-icon { width: 44px; height: 44px; }
  .s-icon svg { width: 24px; height: 24px; }
  .cases-grid { margin-top: 28px; }
  .case-img { height: auto; aspect-ratio: 16 / 10; }
  .case-body { padding: 24px; }
  .case-body h3 { font-size: 21px; }
  .case-body h3 br { display: none; }
  .review-stars { margin-bottom: 16px; }
  .review-text { margin-bottom: 24px; }
  .contacts-premium-card { border-radius: 26px; }
  .contacts-premium-content { padding: 28px 20px; gap: 28px; }
  .contacts-info-premium h2 { font-size: 30px; line-height: 1.17; margin-bottom: 18px; }
  .contacts-desc-premium { font-size: 16px; margin-bottom: 24px; }
  .contacts-messengers-premium { gap: 10px; margin-bottom: 24px; }
  .messenger-btn { min-height: 52px; padding: 14px 16px; font-size: 14px; border-radius: 14px; }
  .contacts-phone-premium a { font-size: 22px; min-height: 44px; }
  .contacts-form-premium { padding: 24px 18px; border-radius: 20px; box-shadow: none; }
  .contacts-form-premium h3 { font-size: 23px !important; margin-bottom: 24px !important; }
  .form-group-premium input, .form-group-premium select { font-size: 16px !important; padding-left: 14px !important; }
  .form-note-premium { font-size: 12px; }
  .footer { padding: 32px 0; }
  .footer-inner { gap: 24px !important; align-items: flex-start; text-align: left; }
  .footer-nav { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; text-align: left; }
  .footer-nav a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-contacts { align-items: flex-start; gap: 4px; }
  .f-phone { display: flex; align-items: center; min-height: 44px; }
  .footer-bottom { text-align: left; align-items: flex-start; gap: 8px; line-height: 1.6; }
  .blog-hero { padding: 112px 0 28px; text-align: left; }
  .blog-hero h1 { font-size: 34px; margin-bottom: 18px; line-height: 1.15; }
  .blog-hero p { font-size: 16px; }
  .blog-section { padding: 12px 0 48px; }
  .blog-img-wrapper { height: auto; aspect-ratio: 16 / 10; }
  .blog-content { padding: 24px; }
  .blog-content h3 { font-size: 21px; }
  .blog-content p { font-size: 15px; }
  .blog-footer { gap: 10px; }
  .article-header { padding: 112px 0 48px; text-align: left; }
  .article-header h1 { font-size: 32px; line-height: 1.18; margin-bottom: 20px; }
  .article-tag { margin-bottom: 20px; }
  .article-meta { justify-content: flex-start; flex-wrap: wrap; gap: 8px 16px; }
  .article-cover { margin: -20px auto 32px; }
  .article-cover img { border-radius: 18px; }
  .article-content { margin-bottom: 48px; padding: 0 20px; }
  .article-content h2 { font-size: 25px; line-height: 1.3; margin: 32px 0 16px; }
  .article-content p, .article-content ul, .article-content ol { font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
  .article-content blockquote { font-size: 18px; padding: 18px; margin: 28px 0; }
  .privacy-content { padding: 112px 20px 48px; }
  .privacy-content h1 { font-size: clamp(27px, 7vw, 34px); line-height: 1.2; margin-bottom: 28px; overflow-wrap: anywhere; }
  .privacy-content h2 { font-size: 23px; margin: 28px 0 16px; line-height: 1.3; }
  .privacy-content p, .privacy-content ul { line-height: 1.75; }
  .shop-container { width: calc(100% - 40px); }
  .shop-header { padding: 0 12px; background: #f8f9f9; border: none; }
  .nav-wrap { width: 100%; min-height: 60px; padding: 0 12px; margin: 12px 0; gap: 4px; background: #fff; border-radius: 18px; box-shadow: 0 8px 32px #123a2a0d; }
  .shop-logo-ru { margin-right: auto; }
  .shop-socials { margin-left: 0; }
  .shop-hero { padding: 40px 0; border-radius: 0 0 28px 28px; background-position: 64% center; background-image: linear-gradient(90deg, rgba(3,30,19,.94), rgba(3,30,19,.65)), url('assets/parts-hero-800.webp'); }
  .shop-hero h1 { font-size: clamp(36px, 10vw, 46px); line-height: 1.08; }
  .hero-layout { gap: 28px; }
  .hero-copy { font-size: 16px; line-height: 1.6; margin: 22px 0 24px; color: #ffffffed; }
  .primary-action, .order-button { min-height: 52px; border-radius: 13px; }
  .shop-hero .primary-action { width: 100%; }
  .hero-note { padding: 22px; }
  .hero-note .note-icon { display: none; }
  .hero-note p { font-size: 15px; }
  .text-action { min-height: 44px; }
  .catalog-section { padding: 42px 0; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-heading h2 { font-size: 34px; }
  .filters-panel { padding: 14px; margin-bottom: 20px; }
  .search-box { min-height: 52px; }
  .search-box input { min-width: 0; font-size: 16px; }
  .search-box:focus-within { outline: 2px solid #c09247; outline-offset: 2px; }
  .category-filters { gap: 8px; }
  .category-filter { min-height: 44px; padding: 10px 14px; font-size: 13px; }
  .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-card { min-height: 0; border-radius: 20px; }
  .product-card h3 { font-size: 20px; }
  .compatibility { min-height: 0; font-size: 14px; }
  .product-bottom { flex-wrap: wrap; align-items: center; gap: 16px; }
  .order-button { width: 100%; font-size: 15px; }
  .help-section { padding-bottom: 42px; }
  .help-card { width: calc(100% - 40px); padding: 26px 22px; }
  .help-card h2 { font-size: 28px; line-height: 1.2; }
  .help-card .primary-action { width: 100%; margin-top: 14px; }
  .footer-row { flex-direction: column; gap: 12px; }
  .shop-footer a { display: inline-flex; align-items: center; min-height: 44px; }
  .request-modal.open { padding: 12px; align-items: center; }
  .request-dialog { width: 100%; max-width: 530px; padding: 28px 20px 20px; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; border-radius: 22px; }
  .request-dialog h2 { font-size: 28px; padding-right: 22px; line-height: 1.15; }
  .modal-close { width: 44px; height: 44px; top: 6px; right: 6px; border-radius: 12px; }
  .request-dialog input, .request-dialog textarea { font-size: 16px; }
  .request-dialog input { min-height: 52px; }
  .request-dialog label { font-size: 14px; }
  body.request-open { overflow: hidden; }
  body.mobile-has-actions { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .mobile-actions {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; gap: 8px; padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)); background: #fffffff5;
    border-top: 1px solid #e2e9e4; box-shadow: 0 -6px 24px #123a2a09; z-index: 80;
  }
  .mobile-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 14px; border-radius: 13px; font: 600 14px Inter, sans-serif; text-decoration: none; }
  .mobile-actions .mobile-primary { flex: 1; background: #06402b; color: #fff; }
  .mobile-actions .mobile-call { background: #edf3ef; color: #06402b; }
  .mobile-actions[hidden], body.menu-open .mobile-actions { display: none; }
  body.mobile-has-actions > div[style*="pointer-events:none"] { bottom: calc(12px + env(safe-area-inset-bottom)) !important; left: 12px; right: auto !important; font-size: 10px !important; }
  body.mobile-actions-visible > div[style*="pointer-events:none"] { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
  body.menu-open > div[style*="pointer-events:none"] { visibility: hidden; }
  .fade-up, .fade-up.visible { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 520px) { .products-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 360px) {
  .container, .article-content, .article-cover { padding-left: 16px; padding-right: 16px; }
  .hero-content h1 { font-size: 29px; }
  .contacts-premium-content { padding: 24px 16px; }
  .contacts-form-premium { padding: 22px 14px; }
  .hero-features { gap: 6px; }
  .feature-text span { font-size: 11px; }
}
@media (hover: none) {
  .btn:hover, .process-card:hover, .model-card:hover, .review-card:hover,
  .blog-card:hover, .primary-action:hover, .messenger-btn:hover, .pdf-mockup:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
}
