/*
Theme Name: Мастер окон 66
Author: Мастер окон 66
Version: 1.0.0
Description: Лёгкая адаптивная тема мастера по ремонту окон в Екатеринбурге.
*/
:root{--ink:#173c36;--green:#184b40;--paper:#f7f6f0;--white:#fff;--line:#dcded6;--muted:#626e65;--accent:#ebac69;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ca7d38;outline-offset:4px}img{max-width:100%;height:auto;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500;line-height:1.08;letter-spacing:-.045em}h1{font-size:clamp(40px,5.2vw,76px)}h2{font-size:clamp(32px,4vw,52px)}h3{font-size:24px}p{margin-bottom:1em}.wrap{width:min(1224px,calc(100% - 72px));margin:auto}.site-header{position:sticky;top:0;background:rgba(247,246,240,.97);z-index:30;border-bottom:1px solid var(--line)}.header-row{height:94px;display:flex;align-items:center;gap:36px}.brand{display:flex;gap:12px;align-items:center;min-width:195px}.brand svg{width:38px;height:44px}.brand strong{font-size:20px;display:block;line-height:1.15;letter-spacing:-.8px}.brand small{font-size:10px;letter-spacing:2.1px;text-transform:uppercase}.nav{display:flex;gap:25px;font-size:13px;margin-left:auto}.nav a:hover{color:#b36e31}.header-contact{text-align:right;line-height:1.4}.header-contact a{font-size:17px;font-weight:600;white-space:nowrap}.header-contact small{display:block;color:var(--muted);font-size:11px}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;padding:9px 13px;border-radius:10px}.eyebrow{font-size:11px;letter-spacing:2.4px;text-transform:uppercase;font-weight:600;display:flex;gap:12px;align-items:center;margin-bottom:24px}.eyebrow:before{content:'';width:22px;height:1px;background:currentColor}.hero{padding:54px 0 0}.hero-grid{display:grid;grid-template-columns:1.02fr 1fr;gap:58px;align-items:center}.hero-copy{padding:12px 0 28px}.hero-copy h1{max-width:680px}.hero-copy h1 em{font-style:normal;color:#7a8d79}.hero-copy .lead{font-size:17px;max-width:450px;color:var(--muted);margin:28px 0}.button-row{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.btn{display:inline-flex;justify-content:center;align-items:center;gap:28px;padding:15px 23px;border-radius:9px;font-size:13px;font-weight:600;border:1px solid transparent;cursor:pointer;background:var(--green);color:white;transition:transform .2s,background .2s}.btn:hover{background:#0b332b;transform:translateY(-2px)}.btn-light{background:var(--accent);color:#243c30}.btn-light:hover{background:#e5a05a}.btn-outline{background:transparent;border-color:var(--line);color:var(--ink)}.btn-outline:hover{background:#e8ebe3}.note{font-size:11px;color:var(--muted);margin-top:15px}.hero-media{position:relative;min-height:530px;border-radius:110px 16px 16px 16px;overflow:hidden;background:#d3d6cb}.hero-media img{width:100%;height:530px;object-fit:cover;object-position:45% center}.hero-media:after{position:absolute;inset:0;content:'';background:linear-gradient(0deg,rgba(10,35,27,.6),transparent 55%)}.photo-label{position:absolute;left:26px;bottom:25px;color:#fff;z-index:2;font-size:12px}.photo-label b{display:block;font-size:20px;font-weight:400}.hero-pill{position:absolute;top:25px;right:24px;background:var(--paper);border-radius:30px;padding:8px 14px;font-size:10px;letter-spacing:1px}.hero-baseline{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line);border-top:1px solid var(--line);margin-top:50px;padding:22px 0;gap:30px}.hero-baseline div{display:flex;align-items:center;gap:17px}.hero-baseline span{font-size:25px;font-weight:400}.hero-baseline p{font-size:12px;line-height:1.5;margin:0}.hero-baseline p small{color:var(--muted);font-size:11px;display:block}.section{padding:84px 0}.section-top{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:36px}.section-top p{max-width:315px;font-size:14px;color:var(--muted);margin:0}.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.service-card{min-height:220px;border:1px solid var(--line);border-radius:var(--radius);padding:26px;display:flex;flex-direction:column;position:relative;transition:background .2s,border .2s}.service-card:hover{background:white;border-color:#9bab9a}.service-no{font-size:11px;letter-spacing:1px;color:var(--muted);margin-bottom:31px}.service-card h3{max-width:260px;font-size:24px}.service-card p{font-size:12px;color:var(--muted);margin:14px 28px 0 0}.service-card .arrow{position:absolute;right:24px;bottom:23px;font-size:25px}.card-dark{background:var(--green);color:white;border-color:var(--green)}.card-dark:hover{background:#103d33}.card-dark p,.card-dark .service-no{color:#c6d4c5}.section-heading{max-width:700px}.text-link{font-size:13px;border-bottom:1px solid currentColor;padding-bottom:4px;white-space:nowrap}.prices{background:#e9ede4;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.prices-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:90px;align-items:start}.prices-intro p{color:var(--muted);font-size:14px;margin:25px 0}.price-list{border-top:1px solid #bdc9ba}.price-line{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:18px 0;border-bottom:1px solid #cdd6c8;font-size:14px}.price-line b{white-space:nowrap;font-weight:500;font-size:19px}.price-line small{font-size:12px}.price-note{font-size:11px;color:var(--muted);margin-top:20px}.works-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.work-card figure{margin:0;border-radius:var(--radius);overflow:hidden;background:#dbe2d7;aspect-ratio:1.1}.work-card img{height:100%;width:100%;object-fit:cover;transition:transform .4s}.work-card:hover img{transform:scale(1.035)}.work-caption{display:flex;justify-content:space-between;gap:15px;padding:18px 2px 0}.work-caption h3{font-size:18px;letter-spacing:-.5px}.work-caption span{font-size:11px;color:var(--muted)}.master-block{background:var(--green);color:white;border-radius:var(--radius);padding:48px;display:grid;grid-template-columns:1fr 1fr;gap:70px;margin-top:65px}.master-block h2{font-size:38px}.master-block p{font-size:14px;color:#d3ded2}.master-block .eyebrow{color:#bdcbb6}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;margin-top:40px}.step{border-top:1px solid var(--line);padding-top:22px}.step span{font-size:12px;color:var(--muted)}.step h3{font-size:20px;margin:22px 0 13px}.step p{font-size:13px;color:var(--muted)}.faq-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.faq-list{border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line)}summary{list-style:none;padding:22px 34px 22px 0;cursor:pointer;position:relative;font-size:16px;line-height:1.4}summary::-webkit-details-marker{display:none}summary:after{content:'+';position:absolute;right:0;top:16px;font-size:26px;font-weight:300}details[open] summary:after{content:'−'}details p{color:var(--muted);font-size:14px;padding:0 30px 18px 0;line-height:1.8}.contact-section{background:#e9ede4;padding:75px 0}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:90px}.contact-layout h2{max-width:500px}.contact-phone{font-size:clamp(25px,3vw,36px);display:inline-block;line-height:1.2;margin:30px 0 18px;letter-spacing:-1px}.contact-layout p{font-size:14px;color:var(--muted)}.social-links{display:flex;gap:20px;font-size:13px;margin:15px 0}.social-links a{border-bottom:1px solid #82957e}.contact-form{background:white;border-radius:var(--radius);padding:32px}.contact-form h3{margin-bottom:22px}.field{display:block;font-size:12px;margin-bottom:17px}.field input,.field textarea{display:block;width:100%;border:0;border-bottom:1px solid #c6d0c1;border-radius:0;background:transparent;padding:12px 0;color:var(--ink);outline-offset:0}.field textarea{min-height:65px;resize:vertical}.consent{display:flex;align-items:start;gap:9px;font-size:10px;line-height:1.6;color:var(--muted);margin:16px 0}.consent input{margin-top:3px;accent-color:var(--green)}.consent a{text-decoration:underline}.contact-form .btn{width:100%}.hp{position:absolute;left:-10000px;opacity:0}.site-footer{background:var(--green);color:#d5dfd1;padding:46px 0 28px;font-size:11px}.footer-top{display:flex;justify-content:space-between;gap:35px;padding-bottom:32px;border-bottom:1px solid #46675b;align-items:start}.footer-top .brand{color:white}.footer-top p{margin:0;max-width:330px;line-height:1.8}.footer-bottom{display:flex;justify-content:space-between;gap:25px;padding-top:24px;font-size:10px;color:#c1cfbd}.footer-links{display:flex;gap:18px;flex-wrap:wrap}.mobile-bar{display:none}.breadcrumbs{font-size:11px;color:var(--muted);padding:28px 0}.page-header{padding:25px 0 45px;max-width:950px}.page-header h1{font-size:clamp(34px,4.8vw,62px)}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:65px;padding-bottom:80px}.article-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}.article-content h2{font-size:30px;margin:38px 0 20px;line-height:1.2}.article-content h3{font-size:23px;margin:30px 0 16px}.article-content p{margin:0 0 20px}.article-content ul,.article-content ol{padding-left:24px}.article-content a{color:var(--green);text-decoration:underline}.article-content img{border-radius:12px;margin:24px 0}.article-content table{border-collapse:collapse;width:100%;font-size:14px;display:block;overflow-x:auto}.article-content td,.article-content th{border-bottom:1px solid var(--line);padding:12px;text-align:left}.side-card{align-self:start;position:sticky;top:118px;background:#e9ede4;border-radius:var(--radius);padding:25px;font-size:13px}.side-card h3{margin:0 0 18px}.side-card a{display:block;margin:14px 0}.side-card .btn{display:flex}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:75px}.blog-card{padding:27px;background:white;border:1px solid var(--line);border-radius:var(--radius)}.blog-card span{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.blog-card h2{font-size:24px;line-height:1.3;margin:22px 0}.success{border:1px solid #7ba276;background:#eef5eb;padding:20px;border-radius:12px;margin:20px 0}.cookie-note{position:fixed;bottom:18px;left:20px;max-width:360px;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 30px #173c3610;padding:15px 18px;z-index:40;font-size:11px;display:flex;align-items:center;gap:16px}.cookie-note button{border:0;background:var(--green);color:white;border-radius:7px;padding:8px 12px;cursor:pointer}.cookie-note a{text-decoration:underline}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.hero-media,.hero-media img{height:590px}.hero-media{min-height:590px}}@media(max-width:1050px){.wrap{width:calc(100% - 48px)}.header-row{gap:22px;height:80px}.nav{gap:16px}.header-contact small{display:none}.hero-grid{gap:30px}.hero-media,.hero-media img{height:480px;min-height:480px}.prices-grid,.faq-layout,.contact-layout{gap:45px}.brand{min-width:175px}.brand strong{font-size:18px}.header-contact a{font-size:15px}}@media(max-width:780px){.wrap{width:calc(100% - 36px)}.header-row{height:74px;gap:12px;justify-content:space-between}.brand{min-width:0}.brand svg{width:30px;height:36px}.brand strong{font-size:18px}.brand small{font-size:8px}.header-contact{margin-left:auto}.header-contact a{font-size:13px}.menu-toggle{display:block}.nav{display:none;position:absolute;top:74px;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:22px 24px;flex-direction:column;font-size:16px}.nav.is-open{display:flex}.hero{padding-top:32px}.hero-grid{grid-template-columns:1fr;gap:22px}.hero-copy{padding:0}.hero-copy h1{font-size:47px;max-width:580px}.hero-copy .lead{font-size:15px;margin:22px 0}.eyebrow{font-size:10px;letter-spacing:1.8px;margin-bottom:20px}.hero-media{border-radius:70px 12px 12px 12px;min-height:350px}.hero-media img{height:350px;min-height:350px;object-position:center 55%}.hero-baseline{margin-top:28px;padding:18px 0;gap:14px}.hero-baseline div{display:block}.hero-baseline span{font-size:21px;display:block;margin-bottom:6px}.hero-baseline p{font-size:10px}.hero-baseline p small{font-size:9px}.section{padding:55px 0}.section-top{display:block;margin-bottom:28px}.section-top p{margin-top:20px}.section-top .text-link{display:inline-block;margin-top:20px}.service-grid{grid-template-columns:1fr 1fr;gap:10px}.service-card{padding:20px;min-height:210px}.service-card h3{font-size:21px}.service-no{margin-bottom:25px}.service-card p{font-size:11px;margin-right:12px}.prices-grid,.faq-layout,.contact-layout{grid-template-columns:1fr;gap:30px}.prices-intro p{margin:20px 0}.price-line{font-size:13px}.price-line b{font-size:17px}.works-grid{grid-template-columns:1fr;gap:30px}.work-card figure{aspect-ratio:1.35}.master-block{grid-template-columns:1fr;padding:28px;gap:25px;margin-top:45px}.master-block h2{font-size:34px}.steps{grid-template-columns:1fr 1fr;gap:24px}.step h3{font-size:19px;margin:15px 0 12px}.contact-section{padding:50px 0}.contact-form{padding:25px}.footer-top,.footer-bottom{flex-direction:column;gap:22px}.site-footer{padding-bottom:95px}.mobile-bar{position:fixed;bottom:0;left:0;right:0;display:flex;z-index:35;background:var(--paper);border-top:1px solid var(--line);padding:8px 12px calc(8px + env(safe-area-inset-bottom));gap:8px}.mobile-bar a{flex:1;text-align:center;padding:11px 6px;font-size:12px;background:var(--green);color:white;border-radius:8px}.mobile-bar a:last-child{background:#e2e9df;color:var(--ink)}.cookie-note{bottom:75px;left:12px;right:12px;max-width:400px}.article-layout{grid-template-columns:1fr;gap:35px;padding-bottom:55px}.side-card{position:static}.page-header{padding:10px 0 30px}.page-header h1{font-size:38px}.article-content{font-size:15px}.article-content h2{font-size:27px}.blog-grid{grid-template-columns:1fr 1fr;gap:12px}.blog-card{padding:22px}.blog-card h2{font-size:21px}.btn{padding:14px 18px;gap:20px}.photo-label{left:20px;bottom:20px}.photo-label b{font-size:18px}}@media(max-width:380px){.hero-copy h1{font-size:40px}.header-contact a{font-size:11px}.service-grid,.blog-grid{grid-template-columns:1fr}.hero-baseline p{font-size:9px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

[hidden]{display:none!important}

/* Accessibility fixes after mobile audit, 2026-11-17. */
.site-header .brand strong>span{color:#8a632e!important}
.site-footer .brand strong>span{color:#d9aa72!important}
body .mk-contact-buttons a.mk-contact-wa{background:#0c8045!important}

.price-line a{color:inherit;text-decoration:none}
.price-line a:hover{color:var(--accent,#2f6f5e);text-decoration:underline}
.prajs-table td a, .entry-content table td a{color:inherit}
.entry-content table td a:hover{text-decoration:underline}

/* Новогодняя шапка на логотипе (зима 2026-2027) */
.brand{position:relative}
.santa-hat{position:absolute;left:-11px;top:-9px;width:34px;height:auto;transform:rotate(-28deg);pointer-events:none;z-index:3}
