:root {
    --ink: #315568;
    --teal: #236879;
    --rust: #ab4d37;
    --pale: #edf5f6;
    --warm: #fff2ed;
    --line: #b7d3d9;
    --white: #ffffff;
    --width: 1180px;
    --gap: 24px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; }
.wrap { max-width: var(--width); width: calc(100% - 72px); margin-inline: auto; }
a { color: inherit; text-decoration: none; font-weight: inherit; }
a:visited, a:hover, a:active { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; overflow-wrap: anywhere; }
h1 { font-size: 40px; line-height: 1.18; letter-spacing: -1px; font-weight: 650; color: var(--teal); margin-bottom: 24px; }
h2 { font-size: 28px; line-height: 1.28; font-weight: 400; color: var(--teal); margin-bottom: 20px; letter-spacing: -.3px; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 400; color: var(--rust); margin-bottom: 8px; }
p { font-size: 16px; font-weight: 400; }
p + p { margin-top: 12px; }
.top { background: var(--white); border-top: 6px solid var(--rust); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; line-height: 1.18; white-space: normal; }
.brand-city { font-size: 13px; }
.brand-mark { width: 35px; height: 40px; border: 2px solid var(--teal); border-radius: 6px; flex: 0 0 35px; position: relative; }
.brand-mark::before { content: ''; position: absolute; width: 17px; height: 17px; border: 2px solid var(--rust); border-radius: 50%; left: 7px; top: 12px; }
.brand-mark::after { content: ''; position: absolute; left: 5px; top: 6px; width: 22px; border-top: 2px solid var(--teal); }
.top nav, footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.top nav a { padding-block: 5px; border-bottom: 2px solid transparent; }
.top nav a[aria-current=page], .top nav a:hover { border-bottom-color: var(--rust); }
.phone, .call { display: inline-block; padding: 11px 17px; background: var(--teal); color: var(--white); border: 1px solid var(--teal); border-radius: 5px; line-height: 1.4; font-weight: 400; text-align: center; }
.phone:hover, .phone:visited, .phone:active, .call:hover, .call:visited, .call:active { color: var(--white); }
.phone:hover, .call:hover { box-shadow: inset 0 0 0 2px #ffffff55; }
.phone { white-space: nowrap; }
.hero { padding: 34px 0; background: var(--pale); border-bottom: 1px solid var(--line); }
.hero-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; gap: 30px; }
.intro .call { margin-top: 17px; }
.technical { display: flex; gap: 12px; align-items: center; justify-content: center; background: #dcebed; border: 1px solid var(--line); border-radius: 8px; padding: 16px 10px; }
.rail { width: 11px; height: 118px; border-left: 1px solid #86b0bb; border-right: 1px solid #86b0bb; background: repeating-linear-gradient(to bottom,transparent 0 10px,#86b0bb 10px 11px); }
.instrument { width: 136px; max-width: 100%; padding: 8px; border: 2px solid var(--teal); background: #f9fdfd; border-radius: 8px; }
.instrument-top { display: flex; justify-content: flex-end; gap: 5px; padding: 4px 3px 8px; border-bottom: 1px solid var(--line); }
.instrument-top span { width: 7px; height: 7px; border: 1px solid var(--teal); border-radius: 50%; }
.instrument-top span:first-child { margin-right: auto; border-radius: 2px; width: 31px; background: #c9e2e8; }
.assembly { height: 91px; position: relative; display: grid; place-items: center; margin: 7px 0; }
.core { width: 76px; height: 76px; border: 5px double var(--teal); background: #c7e4ea; border-radius: 50%; }
.detail { position: absolute; background: var(--rust); }
.washer .core::before { content: ''; display: block; border: 1px solid #6b9eaa; border-radius: 50%; height: 44px; margin: 11px; background: repeating-linear-gradient(145deg,#dceef2 0 8px,#a0c9d2 8px 11px); }
.washer .detail { width: 4px; height: 4px; border-radius: 50%; bottom: 8px; }
.washer .d1 { left: 7px; } .washer .d2 { left: 15px; } .washer .d3 { left: 23px; }
.instrument-bottom { height: 6px; border-top: 1px solid var(--line); }
.board .core { width: 91px; height: 78px; border-radius: 4px; border: 1px solid var(--teal); background: repeating-linear-gradient(90deg,#c7e4ea 0 10px,#87b1bc 10px 11px); }
.board .detail { width: 23px; height: 22px; border-radius: 2px; }
.board .d1 { top: 14px; left: 19px; } .board .d2 { top: 48px; left: 53px; width: 40px; height: 16px; background: var(--teal); } .board .d3 { top: 13px; right: 12px; width: 19px; height: 19px; background: var(--teal); border-radius: 50%; }
.motor .core { width: 76px; height: 58px; border-radius: 9px; background: repeating-linear-gradient(90deg,#9ac6d0 0 5px,#e6f4f6 5px 9px); border: 2px solid var(--teal); }
.motor .d1 { width: 12px; height: 40px; left: 7px; background: var(--teal); border-radius: 4px; }.motor .d2 { width: 21px; height: 12px; right: 1px; }.motor .d3 { width: 48px; height: 5px; bottom: 9px; }
.dish .core { width: 99px; height: 81px; border-radius: 5px; border: 2px solid var(--teal); background: repeating-linear-gradient(0deg,#e1f0f3 0 36px,#6ba4b2 36px 38px); }
.dish .detail { width: 18px; height: 25px; border: 2px solid var(--rust); background: #fff2ed; border-radius: 50%; top: 10px; }.dish .d1 {left: 20px;}.dish .d2 {left: 45px;}.dish .d3 {left: 70px;}
.oven .core { width: 100px; height: 80px; border: 3px solid var(--teal); border-radius: 4px; background: #fff2ed; }
.oven .d1 { width: 73px; height: 7px; top: 15px; border-radius: 4px; }.oven .d2 { width: 73px; height: 7px; bottom: 15px; border-radius: 4px; }.oven .d3 { width: 34px; height: 34px; border: 2px dashed var(--teal); border-radius: 50%; background: #dcebed; }
.band { padding: 30px 0; border-bottom: 1px solid var(--line); }
.band:nth-of-type(even) { background: #f7fbfc; }
.reading .wrap { max-width: 1050px; }
.reading p { max-width: 100%; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 24px; }
.entry { padding: 12px 0 15px; border-top: 2px solid var(--line); min-width: 0; }
.area-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.area-grid .entry { background: var(--white); padding: 17px; border-top: 3px solid var(--teal); }
.areas { background: var(--pale) !important; }
.pair-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.pair-grid .entry { border-top-color: var(--rust); }
.sequence { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.sequence .entry { border: 0; border-left: 2px solid var(--line); padding-left: 15px; }
.ordinal { font-size: 22px; color: var(--rust); display: block; margin-bottom: 3px; line-height: 1.2; }
.contact { background: var(--warm); padding: 26px 0; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact h2 { margin-bottom: 7px; }
footer { background: var(--pale); padding: 22px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 14px; }
footer nav { gap: 14px 24px; }
@media (max-width: 1000px) { .wrap { width: calc(100% - 48px); } .header-inner { gap: 12px; } .top nav { gap: 12px; } .hero-line { gap: 20px; } }
@media (max-width: 900px), (max-height: 480px) and (hover: none) { .top nav { display: none; } }
@media (max-width: 760px) { .hero-line { grid-template-columns: 1fr; gap: 18px; } .technical { order: 2; } .service-grid,.pair-grid,.area-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .pair-grid .entry:last-child:nth-child(odd),.area-grid .entry:last-child:nth-child(odd) { grid-column: 1/-1; } .sequence { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 520px) { .wrap { width: calc(100% - 32px); } .header-inner { align-items: flex-start; flex-direction: column; gap: 8px; } .header-inner .phone { padding: 8px 12px; } .hero { padding: 25px 0; } h1 { margin-bottom: 18px; } .band { padding: 24px 0; } .service-grid,.pair-grid,.area-grid,.sequence { grid-template-columns: 1fr; gap: 9px; } .contact-inner { align-items: flex-start; flex-direction: column; gap: 14px; } .call { max-width: 100%; } .entry { padding-top: 10px; } }
