@import url('fonts.css');
@import url('design-tokens.css');
/* Green Figma v4 visual layer. Original markup, URLs and copy retained. */
:root{--paper:var(--color-paper);--ink:var(--color-forest);--muted:var(--color-muted);--line:var(--color-line);--accent:var(--color-sage)}
body{font-family:var(--font-body);font-size:16px;line-height:1.6;background:var(--paper);color:var(--ink)}
button,input,textarea,select{font-family:var(--font-body)}
.wrap,.content-page,.content-footer{width:calc(100% - 96px);max-width:1240px;padding-left:0;padding-right:0;margin-left:auto;margin-right:auto}
h1,h2,h3,.master-bio h3,.guide-card h3,.info-card h3{font-family:var(--font-heading);font-weight:500;letter-spacing:-.025em;color:inherit}
h1,.content-page h1{font-size:56px;line-height:1.16;max-width:none;margin:0 0 24px;overflow-wrap:break-word}
h1 em{font:inherit;color:inherit}h2,.content-page h2{font-size:40px;line-height:1.2;margin:0 0 24px}h3{font-size:24px;line-height:1.3}
header.wrap{padding:24px 0;height:auto;min-height:112px;gap:20px 24px;align-items:center}
.brand{font-family:var(--font-body);letter-spacing:-.4px}.brand-mark{width:48px;height:48px}.brand small{color:var(--muted)}
header .desktop-nav{padding-top:16px;gap:24px;font-size:13px;justify-content:flex-start}header nav a{display:inline-flex;align-items:center;min-height:44px}
.header-phone{font-size:16px!important}.eyebrow,.guide-eyebrow{font-size:13px;letter-spacing:.03em;color:var(--color-terra)}
.primary,.small-btn{min-height:48px;border-radius:12px;font-size:14px;font-weight:700;line-height:1.4;padding:16px 24px;transition:background .15s,border-color .15s;box-shadow:none}
.primary,header .small-btn{background:var(--ink);color:white;border:1px solid var(--ink)}
.small-btn{background:var(--color-surface);border:1px solid var(--ink);color:var(--ink)}
.primary:hover,header .small-btn:hover{background:var(--color-hover);transform:none}.small-btn:hover{background:var(--color-sage);transform:none}
:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--color-terra);outline-offset:4px}
button:disabled{background:var(--muted);color:white;opacity:.6;cursor:not-allowed}
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:start;padding-top:48px;padding-bottom:48px}
.hero-copy{display:flex;flex-direction:column;gap:16px;align-items:flex-start}.hero-copy>*{margin:0}.hero h1{font-size:56px;line-height:1.16;letter-spacing:-.025em}
.hero .lead{font-size:16px!important;line-height:1.6;max-width:none;color:var(--muted);margin:0}.visual-promise,.hero .micro{font-size:16px;font-weight:400;color:var(--muted)}
.hero-visit{width:100%;padding:16px;background:var(--color-sage);border-radius:12px;font-size:14px;font-weight:700}
.hero-tags{display:flex;flex-direction:column;width:100%;margin:0;padding:16px;gap:8px;border:0;border-radius:12px;background:var(--color-sage);font-size:13px;line-height:1.5;color:var(--muted)}
.hero-art{display:flex;flex-direction:column;gap:16px;min-height:0;aspect-ratio:auto;overflow:visible;background:none;border-radius:0;box-shadow:none}
.hero-photo{position:static;width:100%;height:520px;object-fit:cover;object-position:center;border-radius:20px;display:block}
.hero-art .art-label{position:static;background:none;padding:0;border-radius:0;font-size:16px;letter-spacing:0;color:var(--ink)}
.hero-art .floating-note{position:static;display:flex;flex-direction:column;align-items:flex-start;gap:16px;background:none;box-shadow:none;padding:0;max-width:none;font-size:16px;line-height:1.6}
.floating-note .note-icon{font-size:16px}.floating-note small{font-size:13px;line-height:1.5;margin-top:16px}
.trust-strip{background:var(--color-sage);padding:32px;border-radius:20px;gap:24px}.trust-strip strong{font-size:16px}.trust-strip span{font-size:14px;color:var(--muted)}
.services,.portfolio,.customer-info{padding-top:64px;padding-bottom:48px}.section-head{margin-bottom:32px;gap:32px}.section-head h2{margin-top:16px}.section-head p{font-size:16px;max-width:420px}
.service-grid.four-services,.service-grid.additional-services,.guide-grid,.customer-info .guide-grid,.seo-grid,.advice-grid,.masters-grid,.portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.service-grid.additional-services{margin-top:24px}
.service,.service:nth-child(n),.guide-card,.seo-card,.info-card,.work-card,.masters-grid .master-profile{background:var(--color-surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-card);min-width:0}
.service,.guide-card,.seo-card,.info-card{padding:24px}.service:hover{transform:none;border-color:var(--ink)}
.service h3,.guide-card h3,.customer-info .guide-card h3,.seo-card h3,.work-copy h3{font-family:var(--font-heading);font-weight:500;font-size:24px;line-height:1.3;letter-spacing:-.02em}
.service p,.guide-card p,.seo-card p,.work-copy p,.master-bio p,.masters-grid .master-bio p{font-size:16px;line-height:1.6;color:var(--muted)}
.service ul{font-size:14px;color:var(--muted)}.service button{min-height:44px;font-size:14px;color:var(--ink)}.service-no{font-size:13px;color:var(--muted)}
.guide-card>span,.master-specialty{font-size:13px;line-height:1.5;color:var(--color-terra);letter-spacing:0}
.process{padding:64px 0;background:var(--ink)}.process-inner{gap:48px;grid-template-columns:1fr 1fr}.process h2{font-size:40px}.process h3{font-size:24px;font-weight:500}.process p,.process li p{font-size:16px;color:#e7ebe1}.process li>span{font-size:24px;color:var(--color-sage)}
.process .primary,.last-cta .primary{background:var(--color-surface);color:var(--ink);border-color:var(--color-surface)}.process .primary:hover,.last-cta .primary:hover{background:var(--color-sage)}
.masters-grid .master-photo{height:300px}.masters-grid .master-photo img{height:100%;object-fit:cover;object-position:center 25%}.masters-grid .master-bio{padding:24px}.masters-grid .master-bio h3{font-size:30px}.master-service-link{font-size:14px}.work-copy{padding:24px}.work-copy h3{margin-bottom:12px}
.advice-card{padding:24px;border-radius:20px;overflow:hidden}.advice-thumb{border-radius:12px;margin-bottom:20px}.advice-card p{font-size:16px}.advice-card h3{margin:12px 0}
.faq{padding-top:64px;padding-bottom:64px;gap:48px;grid-template-columns:1fr 1.2fr}.faq h2{font-size:40px}.faq details{padding:20px 0}.faq summary{font-size:18px;font-weight:500;min-height:44px;line-height:1.5}.faq details p{font-size:16px;color:var(--muted)}
.last-cta.wrap{width:calc(100% - 96px);max-width:1240px;margin:48px auto 64px;padding:40px;border-radius:20px;gap:32px}.last-cta h2{font-size:40px}.last-cta p{color:var(--color-sage)}
footer.wrap{padding:32px 0 48px!important;gap:24px}.content-footer nav,footer p,footer>a{font-size:13px}footer nav a{min-height:44px}.content-page{padding-top:48px;padding-bottom:64px}.content-page>p{font-size:16px;line-height:1.6;margin:24px 0;color:var(--muted)}.content-page h2{margin-top:48px}.content-page h3{margin-top:24px}.catalog-group{padding-bottom:32px}.breadcrumb{font-size:13px;margin-bottom:24px}.guide-page>p,.catalog-group>p,.guide-list,.workflow-list p{font-size:16px;line-height:1.6}
.notice,.calc,.visit-note,.ssd-toc,.ssd-cta{background:var(--color-sage);border-radius:20px;padding:24px}.notice,.visit-note,.visit-note p{font-size:16px}.visit-price{background:var(--ink);border-radius:20px;padding:32px}.visit-price strong{font-family:var(--font-heading);font-size:40px}.visit-price p{font-size:16px}.visit-price span{font-size:13px}
.content-page table{width:100%;font-size:16px;background:var(--color-surface);border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.content-page th,.content-page td{padding:16px;line-height:1.6;border-color:var(--line)}.content-page thead th{background:var(--ink);color:white}.content-page tbody th{background:transparent;color:var(--ink);font-weight:500}.content-page tbody tr:nth-child(even){background:var(--paper)}.price-table small{font-size:13px;color:var(--muted)}.price-value{font-weight:700}.price-nav a{background:var(--color-surface);min-height:44px;display:flex;align-items:center;border-radius:12px;font-size:14px}.price-subgroup>summary{min-height:44px;font-size:20px}
input[type=search],.content-page input,.content-page textarea{font-size:16px;min-height:48px;padding:12px 16px;border:1px solid var(--line);border-radius:12px;background:var(--color-surface);color:var(--ink)}.price-search input,.ssd-cta input{width:100%;max-width:none}
.ssd-page article{max-width:840px;margin:32px auto;line-height:1.8}.ssd-page h1{font-size:48px}.ssd-page h2{font-size:32px}.ssd-figure img{border-radius:20px}.ssd-table{border:0}.ssd-table table{margin:0}
.seo-note{max-width:1240px;width:calc(100% - 96px);margin:32px auto;background:var(--color-sage);padding:24px;border-radius:12px;border-left:4px solid var(--color-terra)}.content-page .seo-note{width:auto}.local-card-photo{height:200px}.seo-search{font-family:var(--font-body)}
.preview-lead{background:var(--paper);font-family:var(--font-body)}.preview-lead[open]{display:block}.preview-close{min-width:44px;min-height:44px}.preview-lead h2{font-family:var(--font-heading)}.preview-lead input,.preview-lead textarea{font:16px var(--font-body)}.seo-preview-bar{font-family:var(--font-body);font-size:12px;background:var(--color-sage);color:var(--muted)}.seo-preview-bar summary{min-height:24px;font-size:12px}.seo-preview-bar a{display:inline-flex;align-items:center;min-height:44px}
.mobile-call-bar{display:none}
@media(max-width:1100px){.hero{gap:32px}.hero h1{font-size:44px}.hero-photo{height:440px}.service-grid.four-services,.service-grid.additional-services,.masters-grid,.portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 .wrap,.content-page,.content-footer{width:calc(100% - 40px);padding-left:0;padding-right:0}body{padding-bottom:92px}header.wrap{padding:20px 0!important;gap:12px;min-height:88px}.brand{font-size:16px;gap:8px}.brand-mark{width:40px;height:40px}.brand small{font-size:7px;letter-spacing:.6px}.mobile-menu summary{font-size:14px;min-width:76px;padding:10px}.mobile-menu nav{max-width:calc(100vw - 40px);width:300px}.mobile-menu nav a{min-height:44px;white-space:normal}
 h1,.content-page h1,.hero h1{font-size:36px;line-height:1.2;letter-spacing:-.025em}h2,.content-page h2,.process h2,.faq h2,.last-cta h2,.customer-info .section-head h2{font-size:28px;line-height:1.25}h3,.service h3,.guide-card h3,.seo-card h3{font-size:24px}.hero{padding:32px 0;gap:32px}.hero .lead{font-size:16px!important}.hero-photo{height:320px}.hero-art{max-height:none;width:100%}.hero-tags{font-size:13px}.hero-art .art-label{font-size:13px}.floating-note small{font-size:13px}
 .service-grid.four-services,.service-grid.additional-services,.service-grid,.guide-grid,.customer-info .guide-grid,.seo-grid,.advice-grid,.masters-grid,.portfolio-grid{grid-template-columns:1fr;gap:20px}.service-grid.additional-services{margin-top:20px}.trust-strip{width:calc(100% - 40px);padding:24px}.services,.portfolio,.customer-info{padding:40px 0}.section-head{margin-bottom:24px}.service,.guide-card,.seo-card,.info-card{padding:24px}.service p,.service ul,.guide-card p{font-size:16px}.service button{font-size:14px}.process{padding:40px 0}.process-inner{grid-template-columns:1fr;gap:24px}.process h3{font-size:24px}
 .masters-grid .master-profile{display:flex;flex-direction:column}.masters-grid .master-photo{width:100%;height:320px;min-height:0}.masters-grid .master-bio{padding:24px}.masters-grid .master-bio p{font-size:16px}.faq{grid-template-columns:1fr;padding:40px 0;gap:24px}.faq summary{font-size:16px}.last-cta.wrap{width:calc(100% - 40px);margin:32px auto 40px;padding:24px}.last-cta .primary{width:100%}.content-page{padding-top:32px}.content-page>p{font-size:16px}.content-page h2{margin-top:32px}.content-page .price-table{font-size:14px}.content-page table{font-size:14px;display:table;overflow:visible}.content-page th,.content-page td{padding:12px}.ssd-table{overflow-x:auto}.ssd-table table{min-width:500px}.ssd-page h1{font-size:36px}.ssd-page h2{font-size:28px}.seo-note{width:calc(100% - 40px)}.visit-price strong{font-size:36px}.price-nav{gap:8px!important}.local-card-photo{height:200px}footer.wrap{padding-bottom:32px!important}.chat-fab{display:none}
 .mobile-call-bar{position:fixed;display:flex;left:0;right:0;bottom:0;z-index:10;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:var(--color-surface);border-top:1px solid var(--line);box-shadow:0 -4px 24px #183f340d}.mobile-call-bar a{display:flex;justify-content:center;align-items:center;min-height:48px;width:100%;padding:12px;border-radius:12px;background:var(--ink);color:white;font-size:16px;font-weight:700}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.hero-photo{order:0}.hero-art .art-label{order:1}.hero-art .floating-note{order:2}

/* Additional direct contact requested by the owner. */
.extra-contact{display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex-shrink:0}
.extra-contact a{display:inline-flex;align-items:center;min-height:44px;line-height:1.4}
.extra-phone{font-size:16px;font-weight:700;white-space:nowrap}
.whatsapp-link{font-size:13px;font-weight:700;color:var(--color-forest);text-decoration:underline;text-underline-offset:4px}
@media(max-width:700px){
 header .extra-contact{order:5;width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:8px}
 header .extra-phone{font-size:14px}header .whatsapp-link{font-size:12px}
 .mobile-call-bar{gap:8px}.mobile-call-bar a{width:auto;flex:1;font-size:14px;padding:12px 8px;white-space:nowrap}
 .mobile-call-bar a.mobile-whatsapp{flex:0 0 auto;padding-left:16px;padding-right:16px;background:var(--color-sage);color:var(--ink);text-decoration:none}
}

/* Home hero: clear service navigation and a warm photo caption. */
.hero-tags.hero-service-links{padding:20px;background:var(--color-sage);gap:14px;border-radius:20px}
.hero-services-title{font-size:13px;line-height:1.5;font-weight:700;color:var(--muted);margin:0}
.hero-services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%}
.hero-services-grid a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 14px;border:1px solid transparent;border-radius:12px;background:var(--color-surface);font-size:13px;font-weight:500;line-height:1.5;color:var(--ink);transition:border-color .15s,background .15s}
.hero-services-grid a:hover{background:white;border-color:var(--ink);text-decoration:none}.hero-services-grid a span{min-width:0;flex-shrink:0;color:var(--color-terra);font-size:18px}
.hero-services-grid a:last-child{grid-column:1/-1}
.hero-reassurance{order:2;width:100%;padding:24px 28px;background:var(--color-surface);border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow-card)}
.hero-reassurance .hero-reassurance-title{font-family:var(--font-heading);font-size:28px;font-weight:500;line-height:1.25;letter-spacing:-.02em;color:var(--ink);margin:0 0 12px}
.hero-reassurance>p:not(.hero-reassurance-title){max-width:440px;font-size:15px;line-height:1.65;color:var(--muted);margin:0}
.hero-reassurance>a{display:inline-flex;align-items:center;gap:20px;min-height:44px;margin-top:10px;font-size:14px;font-weight:700;color:var(--color-terra)}
@media(max-width:700px){.hero-tags.hero-service-links{padding:16px;gap:12px}.hero-services-grid{grid-template-columns:1fr}.hero-services-grid a{font-size:14px;min-height:48px}.hero-services-grid a:last-child{grid-column:auto}.hero-reassurance{padding:22px}.hero-reassurance .hero-reassurance-title{font-size:26px}.hero-reassurance>p:not(.hero-reassurance-title){font-size:15px}}

/* Illustrated navigation: local, lightweight SVG icons. */
header .desktop-nav{gap:10px;flex-wrap:wrap;align-items:stretch;padding-top:20px}
header .desktop-nav>a{display:inline-flex;align-items:center;justify-content:flex-start;gap:10px;min-height:62px;padding:10px 16px 10px 10px;border:1px solid var(--line);border-radius:16px;background:var(--color-surface);color:var(--ink);font-size:13px;font-weight:700;line-height:1.4;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s}
header .desktop-nav .nav-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:var(--color-sage);color:var(--ink)}
header .desktop-nav .nav-icon svg{display:block;width:22px;height:22px}
header .desktop-nav>a:hover{background:var(--color-sage);border-color:var(--ink);box-shadow:0 4px 12px #183f3409;text-decoration:none}
header .desktop-nav>a:hover .nav-icon{background:var(--color-surface)}
header .desktop-nav>a:focus-visible{outline:3px solid var(--color-terra);outline-offset:4px}

/* White page background requested for every page; green accents retained. */
:root{--color-paper:#ffffff;--paper:#ffffff;--color-surface:#ffffff}
html,body{background:#ffffff}

/* Power supply editorial article */
.psu-article{max-width:960px}.psu-article section{margin:40px 0}.psu-article p{line-height:1.8}.psu-article details{padding:20px 0;border-bottom:1px solid #d5ded4}.psu-article summary{cursor:pointer;font-weight:700}.psu-article figure img{width:100%;height:auto}.psu-article .advice-actions{flex-wrap:wrap}

/* Заявка */
.preview-lead .consent-label{display:flex;gap:10px;align-items:flex-start;font-weight:500;line-height:1.4}
.preview-lead .consent-label input{width:18px;height:18px;margin:2px 0 0;flex:none}
.preview-lead .lead-error{color:#a3361f;font-weight:600;margin:12px 0 0}
.preview-lead small a{color:inherit;font-weight:700}
.footer-legal{flex-basis:100%;font-size:12px;color:var(--muted,#667);margin:12px 0 0}

/* Один телефон в шапке: прижать контакты к правому краю, рядом с кнопкой */
@media (min-width: 900px){
  header.wrap > .extra-contact{margin-left:auto;margin-right:20px;align-items:flex-end;gap:0}
  header.wrap > .extra-contact a{min-height:32px}
  header.wrap > .extra-contact .extra-phone{font-size:18px;font-weight:700}
}
/* Уникальный блок гео-страниц */
.geo-local p{margin:0 0 14px;max-width:820px}
.geo-local ul{margin:0 0 18px}
