/* Единая шкала текста. Основной текст не уменьшается ради плотности сетки. */
:root {
  --text-body: 18px;
  --text-ui: 16px;
  --text-small: 14px;
  --text-label: 13px;
  --muted: #536152;
}
body { font-size: var(--text-body); line-height: 1.6; }
button, input, textarea { line-height: 1.5; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
.topline { font-size: 12px; letter-spacing: 0; color: #c0cbc0; }
.topline .wrap { min-height: 38px; height: auto; padding-block: 8px; gap: 24px; }
.brand > span { font-size: 36px; letter-spacing: -.04em; }
.brand small { font-size: 10px; line-height: 1.35; letter-spacing: .075em; margin-top: 8px; }
.nav-row { min-height: 96px; height: auto; padding-block: 20px; gap: 24px; }
.header nav { gap: 24px; }
.header nav > a { font-size: var(--text-ui); font-weight: 500; color: #edf1eb; }
.header-phone { font-size: var(--text-ui); font-weight: 600; }
.eyebrow, .section-label, .small-label { font-size: var(--text-label); line-height: 1.55; letter-spacing: .075em; font-weight: 600; }
.eyebrow { max-width: 580px; }
.eyebrow i { flex: 0 0 7px; }
.hero { min-height: 730px; }
.hero-inner { padding-top: 68px; }
.hero h1 { font-size: clamp(52px, 5.6vw, 88px); font-weight: 600; line-height: 1.06; letter-spacing: -.045em; margin: 28px 0; }
.hero-copy { font-size: 19px; line-height: 1.65; color: #e0e8dd; max-width: 560px; }
.hero-copy br { display: none; }
.hero-actions { gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.button, .text-button { font-size: var(--text-ui); font-weight: 600; line-height: 1.5; }
.button { min-height: 56px; padding: 15px 24px; gap: 28px; }
.text-button { min-height: 48px; gap: 20px; }
.hero-bottom { margin-top: 52px; padding-bottom: 52px; gap: 24px; }
.hero-bottom > a { font-size: var(--text-small); color: #e0e8dc; }
.hero-caption { font-size: 12px; letter-spacing: .09em; color: #d0dccb; margin-right: 0; }
.index { font-size: 22px; }
.index span { font-size: 14px; color: #c2d1bc; }
.image-credit { font-size: 12px; line-height: 1.5; color: #d4dfce; bottom: 14px; }
.proof { padding-block: 40px; }
.proof > div { padding-left: 28px; }
.proof strong { display: flex; flex-wrap: wrap; align-items: baseline; font-size: 40px; line-height: 1.2; letter-spacing: -.035em; font-weight: 600; }
.proof strong span { font-size: 18px; }
.proof p { font-size: var(--text-ui); line-height: 1.6; color: var(--muted); margin-top: 14px; }
.proof p br { display: none; }
.proof small { font-size: 13px; line-height: 1.5; color: #65715f; }
.section { padding-block: 88px; }
.section-label { color: #53664e; margin-bottom: 32px; gap: 24px; }
.section-label > span:last-child { color: #65715e; text-align: right; }
h2, .factory-copy h2, .contact-section h2 { font-size: clamp(36px, 3.5vw, 52px); line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
.section-heading { gap: 40px; margin-bottom: 44px; }
.section-heading > p { font-size: var(--text-body); line-height: 1.65; color: var(--muted); max-width: 400px; }
.section-heading > p br { display: none; }
.catalog-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 36px; }
.category-label { font-size: 12px; line-height: 1.6; font-weight: 600; color: #53664e; letter-spacing: .05em; padding-block: 20px; }
.category-button { font-size: var(--text-ui); line-height: 1.5; padding-block: 16px; }
.category-button .category-count { font-size: 13px; color: #52684b; flex-shrink: 0; }
.help-link { font-size: 15px; line-height: 1.7; color: var(--muted); }
.help-link strong { font-size: 16px; font-weight: 600; }
.catalog-toolbar { gap: 24px; margin-bottom: 24px; }
.catalog-toolbar h3 { font-size: 21px; line-height: 1.35; font-weight: 600; }
.search { max-width: 250px; min-height: 48px; }
.search input { font-size: 16px; line-height: 1.5; padding-block: 8px; }
.search input::placeholder { color: #63705e; opacity: 1; }
.product-badge { font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .025em; top: 12px; left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); }
.product-visual > small { font-size: 12px; line-height: 1.5; background: #f8f8f1f2; }
.product-info { padding: 28px 24px; }
.product-type { font-size: 14px; line-height: 1.5; font-weight: 500; color: #566b4c; margin-bottom: 12px; }
.product-info h4 { font-size: clamp(26px, 2.3vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 16px; }
.product-info p { font-size: 17px; line-height: 1.65; color: var(--muted); min-height: 0; margin-bottom: 26px; }
.product-bottom { font-size: 15px; line-height: 1.5; font-weight: 600; gap: 16px; padding-top: 20px; }
.catalog-foot { font-size: 14px; line-height: 1.5; color: #5f6d57; gap: 24px; }
.product-no-photo > span { font-size: 12px; line-height: 1.5; letter-spacing: .06em; }
.product-no-photo em { font-size: 14px; color: #53654b; }
.solutions .section-label, .solutions .section-label > span:last-child { color: #b9cbb0; }
.solutions .section-heading > p, .solution-card p { color: #c1cfb9; }
.solution-card { padding: 32px 28px; }
.solution-number { font-size: 14px; color: #c0d0b6; }
.solution-card h3 { font-size: 30px; font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.solution-card p { font-size: 17px; line-height: 1.65; max-width: none; }
.solution-bottom { font-size: 16px; line-height: 1.5; font-weight: 500; gap: 16px; color: #d9e8cf; }
.factory-grid { gap: 56px; }
.factory-copy > p { font-size: var(--text-body); line-height: 1.7; color: var(--muted); max-width: 580px; }
.factory-points span { font-size: 13px; color: #5e7454; }
.factory-points strong { font-size: 17px; line-height: 1.5; font-weight: 500; }
.factory-stamp span { font-size: 12px; line-height: 1.5; letter-spacing: .08em; }
.factory-stamp strong { font-size: 42px; line-height: 1.1; font-weight: 600; letter-spacing: -.025em; }
.factory-visual > small { font-size: 12px; line-height: 1.5; }
.service-contact { font-size: 14px; line-height: 1.6; color: #53674a; }
.service-contact strong { font-size: 20px; font-weight: 600; margin-top: 6px; }
.steps { gap: 30px; }
.steps article > span { font-size: 15px; }
.steps h3 { font-size: 25px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.steps p { font-size: 17px; line-height: 1.65; color: var(--muted); max-width: none; }
.contact-section p { font-size: 18px; line-height: 1.65; color: #d9e7d2; }
.contact-section .eyebrow, .small-label { color: #d6e4cd; }
.big-contact { font-size: clamp(26px, 2.7vw, 38px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.email { font-size: 22px; line-height: 1.5; color: #e3eddd; }
.address p span { font-size: 16px; color: #d0dfc7; }
.footer-main { flex-wrap: wrap; }
.footer-main > p { font-size: 15px; line-height: 1.65; color: #b5c5ac; margin-left: 10px; }
.footer-main > a:not(.brand) { font-size: 16px; }
.footer-bottom { flex-wrap: wrap; font-size: 13px; line-height: 1.6; color: #b4c2ad; }
.footer-bottom .plain { text-align: left; }
.modal-body h2, .detail-info h2 { font-size: 38px; line-height: 1.2; font-weight: 600; letter-spacing: -.03em; }
.modal-intro, .detail-info p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.modal-body form label { font-size: 15px; line-height: 1.5; font-weight: 500; color: #43583c; }
.modal-body input, .modal-body textarea { font-size: 17px; line-height: 1.5; }
.form-note, .detail-info .detail-note { font-size: 14px!important; line-height: 1.6; color: #5a6a51!important; }
.detail-facts > div { font-size: 16px; line-height: 1.5; display: grid; grid-template-columns: 1fr 1.3fr; }
.detail-facts > div span { color: #56684d; }
.detail-facts strong { font-weight: 500; }
.product-gallery figcaption { font-size: 14px; line-height: 1.5; color: #53644a; }
.solution-modal-list li, pre { font-size: 16px; line-height: 1.65; }
.close-dialog { width: 44px; height: 44px; }
@media (max-width: 1360px) {
  .header-phone { display: none; }
  .topline .wrap > span:nth-child(2) { display: none; }
}
@media (max-width: 1100px) {
  .catalog-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .factory-grid { gap: 32px; }
  .section-heading { align-items: flex-start; }
  .section-heading > p { max-width: 330px; }
  .contact-grid { gap: 36px; grid-template-columns: 1.15fr 1fr; }
}
@media (max-width: 980px) {
  .header nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #17261c; flex-direction: column; align-items: stretch; padding: 16px 24px 24px; gap: 0; box-shadow: 0 20px 30px #0005; }
  .header nav.open { display: flex; }
  .header nav > a { padding: 14px 0; border-bottom: 1px solid #ffffff25; font-size: 18px; }
  .menu-toggle { display: block; width: 48px; height: 48px; margin-left: auto; }
  .nav-row { min-height: 80px; height: 80px; padding-block: 12px; }
  .header-phone { display: block; margin-left: auto; }
  .header-phone + .menu-toggle { margin-left: 0; }
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .categories { border: 0; }
  .category-label, .help-link { display: none; }
  #categories { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; }
  .category-button { width: auto; white-space: nowrap; flex: 0 0 auto; padding: 12px 16px; border: 1px solid #d0d9c9; }
  .category-button.active { padding-left: 16px; border: 1px solid var(--green); }
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { border-right: 0; border-bottom: 1px solid #ffffff29; padding: 32px; }
  .solution-card svg { float: right; width: 150px; margin: 12px 0 24px 28px; }
  .solution-card h3 { margin-top: 20px; }
  .solution-card p { max-width: 560px; }
  .solution-bottom { clear: both; }
  .factory-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .factory-visual { max-width: 720px; }
  .factory-copy > p { max-width: 680px; }
  .contact-details { border-top: 1px solid #ffffff40; padding-top: 32px; }
  .section-heading { flex-direction: column; gap: 24px; align-items: flex-start; }
  .section-heading > p { max-width: 620px; }
  .hero h1 { font-size: 64px; }
}
@media (max-width: 600px) {
  :root { --text-body: 17px; }
  .wrap { width: calc(100% - 40px); }
  .topline { font-size: 12px; }
  .topline .wrap { min-height: 34px; padding-block: 6px; }
  .topline .wrap > a, .header-phone { display: none; }
  .brand > span { font-size: 31px; }
  .brand small { font-size: 9px; letter-spacing: .04em; }
  .brand svg { width: 35px; height: 35px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 44px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 55px); line-height: 1.1; letter-spacing: -.04em; margin: 26px 0; }
  .hero-copy { font-size: 17px; line-height: 1.65; max-width: 100%; }
  .eyebrow { font-size: 12px; letter-spacing: .045em; align-items: baseline; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-actions .text-button { align-self: flex-start; }
  .button { font-size: 16px; padding: 15px 20px; gap: 20px; }
  .hero-bottom { margin-top: 30px; padding-bottom: 66px; }
  .hero-caption { display: none; }
  .hero-bottom > a { font-size: 14px; }
  .image-credit { left: 20px; right: 20px; font-size: 12px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; padding-block: 32px; }
  .proof > div { padding-left: 18px; }
  .proof strong { font-size: 30px; }
  .proof strong span { font-size: 16px; margin-left: 6px; }
  .proof p { font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; hyphens: auto; }
  .section { padding-block: 56px; }
  .section-label { font-size: 12px; letter-spacing: .055em; margin-bottom: 26px; }
  .section-label > span:last-child { display: none; }
  h2, .factory-copy h2, .contact-section h2 { font-size: clamp(30px, 8vw, 40px); line-height: 1.2; }
  h2 br { display: none; }
  .section-heading { display: flex; margin-bottom: 30px; gap: 20px; }
  .section-heading > p { font-size: 17px; margin: 0; }
  .catalog-toolbar { flex-wrap: wrap; gap: 16px; }
  .catalog-toolbar h3 { font-size: 21px; }
  .search { width: 100%; max-width: none; }
  .products { grid-template-columns: 1fr; gap: 24px; }
  .product-info { padding: 25px 22px; }
  .product-info h4 { font-size: 30px; }
  .product-type { font-size: 14px; }
  .product-info p { font-size: 17px; }
  .product-bottom { font-size: 15px; }
  .catalog-foot { font-size: 14px; flex-wrap: wrap; gap: 10px; }
  .solution-card { padding: 28px 24px; }
  .solution-card svg { position: static; width: 105px; height: 80px; margin: 0 0 18px 14px; }
  .solution-card h3 { font-size: 28px; clear: both; }
  .solution-card p { font-size: 17px; max-width: none; }
  .solution-bottom { font-size: 16px; }
  .factory-stamp { padding-bottom: 44px; }
  .factory-stamp strong { font-size: 36px; }
  .factory-copy > p { font-size: 17px; }
  .factory-points strong { font-size: 16px; }
  .factory-visual > small { font-size: 11px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps article + article { border-top: 1px solid #c1ceb6; padding-top: 22px; }
  .steps h3 { font-size: 25px; margin: 14px 0; }
  .steps h3 br { display: none; }
  .steps p { font-size: 17px; }
  .contact-section { padding-block: 56px; }
  .contact-section p { font-size: 17px; }
  .big-contact { font-size: clamp(24px, 7vw, 32px); }
  .email { font-size: 20px; }
  .footer-main > a:not(.brand) { font-size: 16px; }
  .footer-main .brand > span { font-size: 31px; }
  .footer-bottom { font-size: 13px; gap: 16px; }
  .modal-body { padding: 64px 24px 28px; }
  .modal-body h2, .detail-info h2 { font-size: 32px; }
  .detail-info { padding: 26px 24px; }
  .detail-facts > div { grid-template-columns: 1fr; gap: 6px; font-size: 16px; }
  .detail-facts strong { text-align: left; }
  .product-gallery figcaption { flex-direction: column; gap: 6px; font-size: 14px; }
  .product-gallery figcaption a { padding-block: 6px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .proof { grid-template-columns: 1fr; gap: 22px; }
  .proof > div { padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--line); }
  .proof > div:nth-child(2) { border-bottom: 1px solid var(--line); }
  .proof > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .hero-bottom { gap: 16px; flex-wrap: wrap; }
  .brand > span { font-size: 27px; }
  .brand small { font-size: 8px; }
  .nav-row { gap: 12px; }
  .menu-toggle { flex-shrink: 0; }
}
