/* Neoform: responsive layout and restrained visual polish. */
html { scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-gutter: stable; }
body { color: #25273a; line-height: 1.55; }
.container { max-width: 1400px; padding-inline: clamp(16px, 3vw, 48px); }
.wrapper > *, .swiper, .footer .col { min-width: 0; }
h1 { font-size: clamp(32px, 4.7vw, 68px); line-height: 1.08; letter-spacing: -.035em; }
h2 { font-size: clamp(26px, 3.3vw, 46px); line-height: 1.17; letter-spacing: -.025em; }
a, button, input { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid #5967df; outline-offset: 5px; }
.btn, .bottom-form .form .wpcf7-submit { min-width: 0; color: #20264f; border: 0; font-weight: 650; line-height: 1.3; border-radius: 14px; transition: background-color .2s, box-shadow .2s, transform .2s; }
.btn:hover { opacity: 1; background: #bddb4d; box-shadow: 0 8px 22px #30389d18; transform: translateY(-2px); }
.header { background: #fff; border-bottom: 1px solid #eef0f7; }
.header .logo { flex-shrink: 0; width: clamp(135px, 17vw, 230px); }
.header .wrapper { gap: 24px; }
.header .menu ul { gap: 20px; }
.header .menu a { font-size: 16px; }
.header .header-links .btn { padding: 16px 22px; font-size: 16px; white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 16px; z-index: 100; padding: 12px; background: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.section-hero { padding-block: clamp(32px, 5vw, 72px); }
.section-hero .wrapper { gap: 40px; }
.section-hero .hero-content { min-width: 0; width: 57%; gap: 28px; }
.section-hero .hero-content .btn { margin-top: 0; }
.section-hero .hero-image, .section-hero.homepage-hero .hero-image { flex: 1; min-width: 0; margin: 0; }
.section-hero .hero-image img { width: 100%; max-width: 100%; }
.section-hero .hero-content .hero-info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 12px; }
.section-hero .hero-info .hero-info-item { width: auto; padding: 22px 10px; gap: 12px; background: #fff; border: 1px solid #e4e7d7; border-radius: 18px; box-shadow: 0 4px 18px #2f379d05; }
.section-hero .hero-info .hero-info-item .num { font-size: clamp(30px, 3vw, 44px); color: #78941b; }
.section-hero .hero-info .hero-info-item .title { font-size: clamp(13px, 1.3vw, 18px); text-align: center; line-height: 1.35; }
.section-hero .text-1, .section-hero .text-2 { display: none; }
.section-categories .item { overflow: hidden; transition: transform .25s, box-shadow .25s; }
.section-categories .item:hover { transform: translateY(-5px); box-shadow: 0 14px 36px #2f379d16; }
.section-categories .item .title { color: #20264f; font-size: clamp(20px, 2vw, 27px); padding: 18px; border-radius: 0; height: auto; min-height: 96px; }
.section-categories .item .image { height: auto; }
.section-categories .item .image img { height: 360px; object-fit: contain; }
.section-works .works-content { min-width: 0; flex: 0 0 27%; z-index: 2; }
.section-works .works-slider-wrapper { min-width: 0; flex: 1; z-index: 2; }
.section-works .works-left { display: none; }
.tabs-control { gap: 10px; flex-wrap: wrap; }
.tabs-control li { font-size: 17px; transition: color .2s, background .2s; }
.tab-content { border: 1px solid #eaecf8; border-radius: 24px; }
.section-why .item { border-color: #ffffff30; box-shadow: 0 6px 20px #161b6d0a; }
.section-bottom .map { min-width: 0; }
.section-bottom .map iframe { display: block; }
.bottom-form { display: block; padding: 36px 0 56px; }
.bottom-form .container { width: 100%; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.contact-cta p { font-size: 16px; max-width: 340px; }
.footer .wrapper { display: grid; grid-template-columns: 1.25fr .8fr 1fr 1.2fr; gap: 32px; }
.footer .wrapper .col, .footer .wrapper .col:last-child { width: auto; margin-top: 0; }
.footer { font-size: 16px; }
.footer .contact-item { align-items: flex-start; overflow-wrap: anywhere; }
.footer .contact-item img { flex-shrink: 0; width: 16px; margin-top: 5px; }
.footer .contact-cta { margin-top: 20px; }
.socials:has(.socials-links:empty), .socials:empty { display: none; }
.header .menu .sub-menu { box-shadow: 0 14px 40px #20264f18; }
.header .menu li.submenu-open > .sub-menu { display: flex; }
.header .menu .submenu-toggle { border: 0; border-radius: 8px; background: #eef0fa; color: var(--blue); width: 36px; height: 36px; cursor: pointer; }
.header .menu li.has-child { padding-right: 44px; }
.header .menu li.has-child > .submenu-toggle { position: absolute; right: 0; top: 0; }
.header .menu li.has-child > a::after,
.header .menu > ul > li.has-child > a::after,
.header .menu .sub-menu li.has-child > a::after { display: none; }
.header .menu li > a { min-height: 36px; }
@media (max-width: 1100px) and (min-width: 1025px) { .header .header-links { display: none; } }
@media (max-width: 1024px) {
  .section-hero .hero-content { width: 100%; }
  .section-hero .hero-image { width: min(100%, 520px); }
  .header { position: sticky; top: 0; z-index: 40; }
  .menu-toggle, .menu-toggle.open { width: 44px; height: 44px; flex: 0 0 44px; border: 0; border-radius: 10px; background-color: #f4f5fb; background-size: 26px 26px; }
  .header .menu { position: fixed; top: var(--neoform-header-bottom, 74px); bottom: 0; left: 0; width: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 20px; background: #fff; }
  .header .menu ul { gap: 4px; }
  .header .menu .sub-menu, .header .menu .sub-menu .sub-menu { position: static; width: 100%; margin: 0; box-shadow: none; background: #f6f7fc; border-radius: 10px; }
  .header .menu li.has-child { padding-right: 0; }
  .header .menu li.has-child > a { padding-right: 60px; }
  .header .menu li.has-child > .submenu-toggle { right: 4px; top: 2px; width: 44px; height: 44px; }
  .header .menu ul li a { min-height: 48px; }
  .header .menu .sub-menu .sub-menu li a { color: var(--blue); }
  .section-works .works-content { flex: auto; }
  .section-works .works-slider-wrapper { width: 100%; }
  .footer .wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .section-hero .hero-content .hero-info { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section-hero .hero-info .hero-info-item { padding: 16px 6px; }
  .section-hero .hero-info .hero-info-item .num { font-size: 28px; }
  .section-hero .hero-info .hero-info-item .title { font-size: 12px; }
  .section-hero .hero-image { margin-top: 0; }
  .section-hero .wrapper { gap: 24px; }
  .section-categories .item .image img { height: 300px; }
  .section-categories .item .title { min-height: 70px; }
  .tabs-control li { width: auto; flex: 1 1 140px; padding: 12px; font-size: 15px; }
  .bottom-form { padding: 32px 0; }
  .bottom-form h2 { margin-bottom: 24px; }
  .contact-cta { width: 100%; }
  .footer .wrapper { grid-template-columns: 1fr; }
  .contacts-top-section .col-left { gap: 24px; }
  .contacts-top-section .item { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Detail pass: stable photo cards, vector identity and one-shot line drawing. */
.header .logo img, .footer .logo img { width: 100%; height: auto; }
.footer .logo { width: 230px; max-width: 100%; }
.section-why .item.item-img,
.section-why .item.item-img:hover { background: transparent; border: 0; overflow: hidden; border-radius: 20px; align-self: stretch; }
.section-why .item.item-img img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; border-radius: inherit; }
.section-why .item:not(.item-img) { transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease; }
.section-why .item:not(.item-img):hover { transform: translateY(-3px); background: #fff; box-shadow: 0 14px 28px #12165c25; }
.section-why .item:not(.item-img):hover .title-text { color: var(--blue); }
.section-why .item:not(.item-img):hover .content p { color: #25273a; }
.section-why .item:not(.item-img):hover .title img { filter: none; }
.section-services .tab-content-image img,
.section-subcategories .col-right img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; }
.section-services .tab-content.active { animation: neoform-panel .4s ease both; }
@keyframes neoform-panel { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.section-categories::after, .section-works::after, .section-equipment-slider::after { display: none; }
.draw-track { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: hidden; }
.track-reveal { stroke-dasharray: 1; stroke-dashoffset: 0; }
.draw-track.track-ready:not(.track-visible) .track-reveal { stroke-dashoffset: 1; }
.draw-track.track-ready.track-visible .track-reveal { animation: neoform-draw 3.2s cubic-bezier(.3,0,.25,1) both; }
@keyframes neoform-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.section-why .item.motion-visible, .section-subcategories .item.motion-visible { animation: neoform-panel .6s ease backwards; }
.tabs-control li, .btn, .header .menu a { transition-duration: .28s; }
.section-works .swiper-slide img { transition: transform .5s ease; }
@media (hover: hover) { .section-works .swiper-slide:hover img { transform: scale(1.025); } }
@media (max-width: 1024px) { .draw-track-works { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .track-reveal { stroke-dashoffset: 0 !important; }
  .section-services .tab-content.active, .motion-visible { animation: none !important; }
}

/* Consistent dropdown rows and touch targets. */
.header .menu > ul > li.has-child { display: flex; align-items: center; padding: 0; gap: 4px; }
.header .menu li.has-child > .submenu-toggle { position: static; flex-shrink: 0; width: 36px; height: 36px; background: transparent; border-radius: 8px; display: grid; place-items: center; }
.menu-chevron { display: block; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .22s ease; }
.submenu-toggle[aria-expanded="true"] .menu-chevron { transform: rotate(225deg); }
.header .menu .submenu-toggle:hover { background: #e9ecfa; }
.header .menu .sub-menu { width: 296px; min-width: 0; padding: 8px; gap: 2px; border: 1px solid #e3e6f2; border-radius: 16px; background: #fff; top: calc(100% + 10px); box-shadow: 0 16px 44px #20264f20; }
.header .menu .sub-menu::before { content: ''; position: absolute; height: 12px; left: 0; right: 0; top: -12px; }
.header .menu .sub-menu li, .header .menu .sub-menu li.has-child { display: grid; grid-template-columns: minmax(0,1fr) 40px; align-items: center; padding: 0; width: 100%; border-radius: 10px; }
.header .menu .sub-menu li:not(.has-child) { grid-template-columns: 1fr; }
.header .menu .sub-menu li a { padding: 12px 14px; font-size: 16px; line-height: 1.45; min-height: 48px; font-weight: 500; }
.header .menu .sub-menu li:hover, .header .menu .sub-menu li.submenu-open { background: #f0f2fb; color: var(--blue); border-radius: 10px; }
.header .menu .sub-menu li a:hover { opacity: 1; color: var(--blue); }
.header .menu > ul > li > .sub-menu { top: calc(100% + 24px); }
.header .menu > ul > li > .sub-menu::before { height: 26px; top: -26px; }
.header .menu .sub-menu .sub-menu { width: 320px; left: calc(100% + 18px); top: -9px; margin: 0; }
.header .menu .sub-menu .sub-menu::before { top: 0; bottom: 0; left: -12px; right: auto; width: 12px; height: 100%; }
.header .menu .sub-menu .submenu-left > .sub-menu { left: auto; right: calc(100% + 18px); }
.header .menu .sub-menu .submenu-left > .sub-menu::before { left: auto; right: -12px; }
.header .menu .sub-menu .menu-chevron { transform: rotate(-45deg); }
.header .menu .sub-menu .submenu-toggle[aria-expanded="true"] .menu-chevron { transform: rotate(135deg); }
@media (max-width: 1024px) {
  .menu-toggle, .menu-toggle.open { background-image: none; color: var(--blue); }
  .menu-toggle::before, .menu-toggle::after { content: ''; position: absolute; left: 12px; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .22s, top .22s, box-shadow .22s; }
  .menu-toggle::before { top: 14px; box-shadow: 0 7px 0 currentColor; }
  .menu-toggle::after { top: 28px; }
  .menu-toggle.open::before { top: 21px; box-shadow: none; transform: rotate(45deg); }
  .menu-toggle.open::after { top: 21px; transform: rotate(-45deg); }
  .header .menu > ul > li.has-child { display: grid; grid-template-columns: minmax(0,1fr) 44px; gap: 0; }
  .header .menu li.has-child > .submenu-toggle { width: 44px; height: 44px; margin: 0; }
  .header .menu li.has-child > a { padding: 12px 14px; }
  .header .menu .sub-menu, .header .menu .sub-menu .sub-menu { grid-column: 1 / -1; position: static; width: 100%; padding: 6px; background: #f5f6fc; box-shadow: none; border: 0; margin: 4px 0 8px; }
  .header .menu .sub-menu::before { display: none; }
  .header .menu .sub-menu li, .header .menu .sub-menu li.has-child { grid-template-columns: minmax(0,1fr) 44px; }
  .header .menu .sub-menu li:not(.has-child) { grid-template-columns: 1fr; }
  .header .menu .sub-menu .sub-menu { background: #fff; }
  .header .menu .sub-menu li a { padding: 12px; }
  .header .menu .sub-menu .menu-chevron { transform: rotate(45deg); }
  .header .menu .sub-menu .submenu-toggle[aria-expanded="true"] .menu-chevron { transform: rotate(225deg); }
}
/* Product specifications: full-width cards, independent from service panels. */
.section-product-type { padding: clamp(48px, 6vw, 88px) 0; }
.section-product-type h2 { max-width: 900px; margin: 0 auto 32px; padding: 0; display: block; font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18; text-wrap: balance; }
.section-product-type h2::before { display: none; }
.section-product-type .tabs-control { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.section-product-type .tabs-control li { flex: 0 1 auto; width: auto; min-height: 48px; padding: 13px 22px; border: 1px solid #ffffff50; border-radius: 100px; background: transparent; color: #fff; line-height: 1.3; font-size: 16px; }
.section-product-type .tabs-control li.active { background: var(--primary); color: #202552; border-color: var(--primary); }
.section-product-type .tabs-control li:hover { background: #ffffff18; }
.section-product-type .tabs-control li.active:hover { background: var(--primary); }
.section-product-type .tab-content { border: 0; box-shadow: none; padding: 0; background: transparent; }
.section-product-type .tab-content > h3 { display: none; }
.section-product-type .tab-content .tab-content-box { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.section-product-type .tab-content .tab-content-box .item { width: auto; min-width: 0; padding: 16px 16px 26px; gap: 0; border-radius: 22px; background: #fff; color: #202552; overflow: hidden; }
.section-product-type .tab-content .tab-content-box .item img { display: block; width: 100%; height: clamp(220px, 25vw, 330px); object-fit: contain; border-radius: 12px; background: #f5f5f7; margin: 0 0 22px; }
.section-product-type .tab-content .tab-content-box .item .title { font-size: clamp(21px, 2vw, 27px); line-height: 1.2; color: var(--blue); padding: 0 8px; margin-bottom: 12px; }
.section-product-type .tab-content .tab-content-box .item .text { padding: 0 8px; font-size: 17px; line-height: 1.5; font-weight: 400; color: #555b70; }
@media (max-width: 800px) {
 .section-product-type .tab-content .tab-content-box { gap: 14px; }
 .section-product-type .tab-content .tab-content-box .item { padding: 10px 10px 20px; }
 .section-product-type .tab-content .tab-content-box .item img { height: 230px; }
 .section-product-type .tab-content .tab-content-box .item .text { font-size: 16px; }
}
@media (max-width: 600px) {
 .section-product-type h2 { text-align: left; margin-bottom: 24px; }
 .section-product-type .tabs-control { justify-content: flex-start; gap: 8px; margin-bottom: 24px; }
 .section-product-type .tabs-control li { flex: 0 1 auto; font-size: 14px; padding: 12px 16px; min-height: 44px; }
 .section-product-type .tab-content .tab-content-box { grid-template-columns: minmax(0, 1fr); gap: 18px; }
 .section-product-type .tab-content .tab-content-box .item { padding: 14px 14px 24px; border-radius: 20px; }
 .section-product-type .tab-content .tab-content-box .item img { height: 280px; margin-bottom: 20px; }
 .section-product-type .tab-content .tab-content-box .item .title { font-size: 24px; }
}
