/*
Theme Name: Союз Москва
Description: Графитово-золотая корпоративная тема по макету Союз-Москва.
Version: 2.0.3
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: souz-moskva
*/
:root{--gold:#dfb75e;--dark:#202326;--muted:#c5c8cb}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--dark);background:#f4f5f7}a{color:inherit;text-underline-offset:4px}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #bf8725;outline-offset:5px}.wp-site-blocks{padding:0}.container{width:min(1440px,92%);margin-inline:auto}.site-header{background:linear-gradient(110deg,#282b2e,#1c1f21);color:#fff;border-bottom:1px solid #565653}.header-inner{min-height:86px;display:flex;gap:26px;align-items:center;justify-content:space-between}.brand{display:block;flex:0 0 288px;line-height:0}.brand img{width:288px;height:84px;object-fit:contain}.souz-nav{display:flex;align-items:center;gap:30px}.souz-nav a{font-size:16px;text-decoration:none;white-space:nowrap}.souz-nav a:hover{color:var(--gold)}.header-phone{text-decoration:none;font-size:21px;font-weight:700;white-space:nowrap}.header-phone span{color:var(--gold);margin-right:9px}.gold-button{border:1px solid var(--gold);border-radius:4px;color:#f2d791;padding:14px 23px;white-space:nowrap;text-decoration:none;font-size:16px;font-weight:600;transition:background .2s,color .2s}.gold-button:hover{background:var(--gold);color:#202326}.skip-link{position:absolute;top:-100px;left:16px;background:white;padding:12px;z-index:9}.skip-link:focus{top:12px}.hero{position:relative;isolation:isolate;background:#202326 url('assets/hero.png') center 54%/cover no-repeat;color:#fff;min-height:365px;padding:43px 0 38px}.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(26,29,31,.99),rgba(26,29,31,.86) 35%,rgba(26,29,31,.18) 72%)}.eyebrow{font-size:14px;letter-spacing:.23em;color:var(--gold);text-transform:uppercase;margin:0 0 17px}.hero h1{font-size:clamp(42px,4.7vw,74px);line-height:1.08;letter-spacing:-.035em;margin:0 0 17px;max-width:880px;color:#fff;font-weight:750}.hero .intro{color:#d5d7d9;font-size:23px;line-height:1.4;margin:0}.hero .hero-note{font-size:12px;letter-spacing:.29em;line-height:1.7;color:#c9cccf;margin:26px 0 0}.hero-note:before{content:'';display:block;width:68px;height:3px;background:var(--gold);margin-bottom:18px}.products{padding:26px 0 28px;background:#f4f5f7}.section-heading{display:flex;gap:28px;align-items:center;justify-content:space-between;margin-bottom:20px}.section-heading h2{font-size:clamp(29px,3.15vw,46px);letter-spacing:-.035em;line-height:1.15;margin:0}.section-heading h2:after{content:'';display:inline-block;width:94px;height:2px;background:#bd9949;vertical-align:middle;margin-left:30px}.section-heading p{font-size:12px;color:#666e74;letter-spacing:.25em;margin:0}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product-card{margin:0;background:#fff;border-radius:5px;overflow:hidden;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px #20232615}.product-photo{--photo-height:238px;background:#d9dbde;height:var(--photo-height);overflow:hidden;display:flex;align-items:center;justify-content:center}.product-photo svg{width:min(100%,calc(var(--photo-height) * .768));height:100%;display:block;flex:none;overflow:hidden}.product-info{padding:12px 19px 16px}.product-info h3{font-size:23px;line-height:1.2;margin:0 0 6px}.product-info h3 a{text-decoration:none}.product-info p{margin:0;font-size:16px;color:#62676e}.product-info p a{display:flex;justify-content:space-between;text-decoration:none;align-items:center}.product-info p span{font-size:26px;color:#b89036;line-height:1}.contact-banner{color:#fff;background:linear-gradient(100deg,#202326f5,#202326eb 58%,#20232688),url('assets/hero.png') center 68%/cover;padding:32px 0;border-top:1px solid #dab45c}.banner-inner{display:flex;align-items:center;justify-content:center;gap:90px}.banner-inner h2{font-size:27px;margin:0 0 9px}.banner-inner p{color:#bfc3c6;font-size:12px;letter-spacing:.22em;line-height:1.5;margin:0;max-width:310px}.banner-phone{font-size:clamp(28px,3vw,42px);font-weight:700;color:#edc670;text-decoration:none;white-space:nowrap}.more-content{padding:45px 0 10px}.detail-section{padding:26px 0;border-bottom:1px solid #d7dadd;scroll-margin-top:24px}.detail-section h2{font-size:32px;margin:0 0 13px;line-height:1.2}.detail-section p{max-width:740px;margin:0 0 16px;line-height:1.6}.detail-section a{color:#7d591e}.catalog-detail{border-bottom:1px solid #d7dadd;padding:19px 0}.catalog-detail summary{font-size:23px;font-weight:700;cursor:pointer}.catalog-detail p{max-width:760px;line-height:1.6}.callback-layout{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:38px 0}.callback-layout h2{font-size:34px;line-height:1.2;margin:0 0 18px}.callback-layout p{max-width:450px}.souz-form{max-width:600px;display:grid;gap:18px}.souz-form label{display:grid;gap:8px;font-size:16px}.souz-form input{width:100%;padding:14px;background:#fff;border:1px solid #adb1b5;color:#202326;font:inherit;border-radius:3px}.souz-form .consent{display:flex;align-items:flex-start;gap:12px;font-size:14px;line-height:1.5}.souz-form .consent input{width:18px;height:18px;flex-shrink:0;margin:2px 0 0}.souz-form button{background:var(--gold);color:#17191d;border:0;padding:16px 24px;font:inherit;font-weight:700;cursor:pointer;border-radius:3px}.souz-form button:hover{background:#ecc978}.souz-notice{padding:16px;border:1px solid #ad842d}.souz-footer{background:#202326;color:#c5c8cb;padding:26px 0;font-size:14px}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.souz-footer p{margin:0}.wrap{max-width:1240px;margin:auto;padding:28px}.wrap .site-header{margin:-28px -28px 0}.wrap .header-inner{flex-wrap:wrap;padding:15px 0}.section{padding-block:40px}.wp-block-post-featured-image img{max-width:100%;height:auto}
@media(min-width:1600px){.hero{min-height:430px;padding-top:60px}.product-photo{--photo-height:260px}}
@media(max-width:1250px){.header-inner{gap:18px;flex-wrap:wrap;padding-bottom:15px}.brand{flex-basis:260px}.brand img{width:260px}.souz-nav{gap:22px;order:3;width:100%;justify-content:center}.header-phone{margin-left:auto}.hero h1{font-size:60px}.section-heading p{display:none}.product-photo{--photo-height:220px}.banner-inner{gap:50px}}
@media(max-width:800px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-photo{--photo-height:250px}.hero h1{font-size:48px}.hero .intro{font-size:19px;max-width:500px}.hero:before{background:linear-gradient(90deg,#202326ef,#202326aa)}.section-heading h2:after{display:none}.header-phone{font-size:18px}.header-inner>.gold-button{padding:10px 14px}.brand{flex-basis:220px}.brand img{width:220px;height:74px}.banner-inner{gap:26px;flex-wrap:wrap;justify-content:space-between}.callback-layout{gap:30px}}
@media(max-width:560px){.container{width:90%}.header-inner{justify-content:center;gap:12px}.brand{flex-basis:100%;text-align:center}.brand img{width:270px;height:84px}.header-phone{margin:0;font-size:17px}.header-inner>.gold-button{font-size:14px}.souz-nav{gap:13px;justify-content:space-between}.souz-nav a{font-size:14px}.hero{min-height:355px;padding:32px 0}.eyebrow{font-size:12px;letter-spacing:.15em}.hero h1{font-size:42px}.hero .intro{font-size:18px}.hero .hero-note{font-size:11px;letter-spacing:.16em}.products{padding:26px 0}.section-heading h2{font-size:32px}.product-grid{gap:12px}.product-photo{--photo-height:195px}.product-info{padding:12px}.product-info h3{font-size:19px}.product-info p{font-size:14px}.banner-inner{display:block}.banner-phone{display:block;margin-top:20px;font-size:29px}.banner-inner h2{font-size:26px}.callback-layout{grid-template-columns:1fr;gap:20px}.more-content{padding-top:24px}}
@media(max-width:350px){.product-grid{grid-template-columns:1fr}.souz-nav{flex-wrap:wrap;justify-content:center}.hero h1{font-size:36px}.banner-phone{font-size:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-card,.gold-button{transition:none}}

/* 2.0.1: extend the real title link over the complete card, including photo.
   Works with the original markup and saved Site Editor templates, without JS. */
.product-card{position:relative}
.product-info h3 a::after{content:"";position:absolute;inset:0;z-index:2;cursor:pointer}
.product-info p a{position:relative;z-index:3}
.product-card:focus-within{outline:3px solid #ad842d;outline-offset:4px}
.product-info h3 a:focus-visible{outline:none}

/* Both contact numbers remain readable at every screen width. */
.header-phones{display:grid;gap:7px;flex-shrink:0;padding-block:12px}.header-phones .header-phone{font-size:19px}.contact-phones{display:inline-flex;flex-direction:column;gap:8px;vertical-align:middle}.contact-phones a{white-space:nowrap}
@media(max-width:640px){.header-phones .header-phone{font-size:17px}.contact-phones .banner-phone{font-size:26px}}
