/*
Theme Name: ЛЕГИОН
Description: Адаптивный одностраничный сайт с настройками и формой заявки.
Version: 0.3.6
Text Domain: legion
Requires PHP: 8.2
*/
:root{--ink:#172821;--muted:#68756e;--green:#1d4534;--lime:#d1e789;--paper:#fafbf7;--line:#dce2d9;--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);line-height:1.6}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea,summary{outline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8aaf31}img{max-width:100%;height:auto}p{margin:0 0 20px}h1,h2,h3{margin:0;font-weight:600;line-height:1.08;letter-spacing:-.04em}h1{font-size:clamp(42px,5.7vw,82px)}h2{font-size:clamp(34px,4.2vw,58px)}h3{font-size:24px;letter-spacing:-.025em}em{font-style:normal;color:var(--lime)}.wrap{width:min(1240px,calc(100% - 80px));margin:auto}.draft-banner{background:#e8eebf;text-align:center;font-size:12px;padding:8px 16px;color:#354424}.skip{position:fixed;top:-100px;left:16px;z-index:100;background:white;padding:14px}.skip:focus{top:12px}.header{background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.header-inner{display:flex;align-items:center;gap:30px;min-height:94px}.brand{margin-right:auto}.brand a{display:flex;align-items:center;gap:12px;font-size:27px;line-height:1.2;font-weight:700;letter-spacing:.05em}.brand small{display:block;font-size:8px;font-weight:400;letter-spacing:.14em;margin-top:5px}.brand-mark{width:43px;height:49px;display:grid;place-items:center;background:var(--green);color:var(--lime);clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);font-size:28px}.custom-logo{width:auto;max-width:210px;max-height:64px}.header nav{display:flex;gap:28px;font-size:13px}.header nav a:hover{color:#527431}.button{background:var(--lime);color:var(--ink);display:inline-flex;justify-content:space-between;align-items:center;gap:34px;border:0;border-radius:8px;padding:19px 24px;font-size:14px;font-weight:600;cursor:pointer;min-height:56px;transition:background .2s,transform .2s}.button:hover{background:#bdd66f;transform:translateY(-2px)}.button-small{padding:13px 17px;min-height:44px;font-size:12px}.menu-toggle{display:none}.hero{padding:64px 0 75px}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:58px;align-items:center}.eyebrow{display:block;font-size:10px;letter-spacing:.13em;font-weight:600;margin-bottom:24px}.dot{display:inline-block;height:7px;width:7px;border-radius:50%;background:#8baa48;margin-right:8px}.hero-copy h1{max-width:650px;margin-bottom:28px}.lead{font-size:17px;color:var(--muted);max-width:440px;line-height:1.7;margin-bottom:30px}.hero-note{font-size:11px;color:var(--muted);margin-top:20px;max-width:300px}.hero-visual{height:540px;position:relative;background:#284b3b;border-radius:var(--radius);overflow:hidden;isolation:isolate}.hero-visual>img{width:100%;height:100%;object-fit:cover}.visual-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:25px;color:#bacdbd;background:radial-gradient(ellipse at 65% 20%,#4f6f52 0,transparent 50%),linear-gradient(145deg,#20392d,#476247);position:relative}.visual-placeholder:before,.visual-placeholder:after{content:'';position:absolute;border:1px solid #adc39b30;width:390px;height:440px;border-radius:50%;transform:rotate(35deg)}.visual-placeholder:after{width:290px;height:330px}.visual-placeholder>span{font-size:11px;position:relative;z-index:1}.shield{font-size:95px;width:155px;height:190px;display:grid;place-items:center;background:#d1e78915;border:1px solid #d1e78970;clip-path:polygon(0 0,100% 0,100% 72%,50% 100%,0 72%);color:var(--lime);line-height:1}.visual-caption{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:space-between;padding:26px;color:#e9efde;font-size:10px;background:linear-gradient(transparent,#10251cbb)}.visual-caption span:first-child{letter-spacing:.2em;font-weight:700}.section{padding:85px 0;border-top:1px solid var(--line)}.section-head{display:flex;flex-direction:column;margin-bottom:38px}.section-head .eyebrow{margin-bottom:15px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px}.about-text{font-size:19px;color:var(--muted);line-height:1.85}.about-image{border-radius:var(--radius);margin-top:20px;width:100%;max-height:380px;object-fit:cover}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{border:1px solid var(--line);border-radius:12px;padding:30px;min-width:0;background:var(--paper)}.card-number{display:block;color:#73924d;font-size:11px;margin-bottom:32px}.card h3{margin-bottom:17px;font-size:25px;overflow-wrap:anywhere}.card p{font-size:14px;color:var(--muted);margin:0}.text-link{display:inline-block;margin-top:22px;text-decoration:underline;font-size:13px}.tinted{background:#edf0e7}.faq-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px}details{border-bottom:1px solid var(--line)}summary{padding:24px 35px 24px 0;cursor:pointer;font-size:17px;font-weight:600;position:relative;list-style:none}summary::-webkit-details-marker{display:none}summary:after{content:'+';position:absolute;right:5px;font-size:24px;top:17px}details[open] summary:after{content:'−'}details p{font-size:14px;color:var(--muted);padding-right:25px}.contact{background:var(--green);color:#fff;border:0;border-radius:26px 26px 0 0}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.contact h2{font-size:clamp(42px,5vw,72px);margin-bottom:25px}.contact p{color:#ccd9d0;font-size:14px;max-width:360px}.contact .eyebrow{color:#cad8bc}.contact-links{margin-top:36px}.contact-links>a{display:block;margin-bottom:10px}.contact-phone{font-size:25px}.messengers{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;margin-top:20px}.form-panel{background:#fff;color:var(--ink);border-radius:16px;padding:35px}.form-panel h3{font-size:28px;margin-bottom:24px}.form-panel p{color:var(--muted)}.lead-form>label{display:block;font-size:11px;font-weight:600;margin-bottom:19px}.lead-form input:not([type=checkbox]),.lead-form textarea{display:block;width:100%;border:1px solid var(--line);background:#fafbf8;padding:13px;border-radius:7px;margin-top:8px;resize:vertical;font-size:13px}.lead-form textarea{min-height:90px}.lead-form .consent{display:flex;gap:10px;font-size:10px;line-height:1.6;font-weight:400;align-items:flex-start}.consent input{margin:3px 0;flex-shrink:0;width:16px;height:16px}.consent a{text-decoration:underline}.lead-form .button{width:100%}.form-panel .form-note{font-size:10px;text-align:center;margin:15px 0 0;max-width:none}.form-status{padding:14px;background:#edf0e7;border-radius:8px;max-width:none!important}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.footer{background:#143728;color:#b9cbbb;padding:28px 0;font-size:11px}.footer-inner{display:flex;gap:32px;align-items:center;flex-wrap:wrap}.footer-brand{font-weight:700;letter-spacing:.12em;font-size:21px;color:white;margin-right:8px}.footer-inner>a:last-child{margin-left:auto}.sample-label{display:block;font-size:10px;letter-spacing:.08em;color:#6e7f47;margin-bottom:15px}.preview-only{padding:12px;background:#f1f2e5;border-radius:8px;font-size:12px!important}
@media(min-width:1600px){.hero{padding-top:85px}.hero-visual{height:590px}}
@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.header-inner{gap:18px}.header nav{gap:18px}.hero-grid{gap:30px}.hero-visual{height:500px}.contact-grid{gap:45px}.cards{gap:14px}.card{padding:24px}.about-grid{gap:40px}}
@media(max-width:850px){.header-inner{min-height:80px}.header .button-small{display:none}.menu-toggle{display:flex;gap:12px;align-items:center;padding:11px 15px;border:1px solid var(--line);background:transparent;border-radius:6px;font-size:12px;cursor:pointer}.header nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);padding:24px;box-shadow:0 15px 20px #17282115;flex-direction:column}.header nav.is-open{display:flex}.header nav a{padding:8px}.hero{padding:40px 0 50px}.hero-grid{grid-template-columns:1fr;gap:40px}.hero-copy{max-width:660px}.hero h1{font-size:clamp(45px,8vw,68px)}.hero-visual{height:390px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.section{padding:60px 0}.contact-grid{gap:35px}.form-panel{padding:25px}.about-grid,.faq-grid{gap:30px}.contact h2{font-size:48px}}
@media(max-width:600px){html{scroll-padding-top:85px}.wrap{width:calc(100% - 36px)}.draft-banner{font-size:10px}.brand a{font-size:22px;gap:10px}.brand-mark{width:34px;height:41px;font-size:24px}.brand small{font-size:7px}.header-inner{min-height:72px}.hero{padding-top:34px}.hero .eyebrow{font-size:8px;margin-bottom:23px}.hero h1{font-size:46px;margin-bottom:22px}.lead{font-size:15px}.hero .button{width:100%;gap:12px;padding:18px 20px}.hero-note{font-size:10px}.hero-visual{height:340px}.visual-caption{padding:20px;font-size:8px}.visual-placeholder:before{width:300px}.visual-placeholder:after{width:220px}.section{padding:48px 0}.about-grid,.faq-grid,.contact-grid{grid-template-columns:1fr;gap:28px}h2{font-size:36px}.about-text{font-size:16px}.cards{grid-template-columns:1fr}.card{padding:26px}.card-number{margin-bottom:22px}.card h3{font-size:24px}.section-head{margin-bottom:26px}.eyebrow{font-size:9px;margin-bottom:18px}.contact{border-radius:18px 18px 0 0}.contact h2{font-size:50px}.contact h2 br:nth-child(2){display:none}.form-panel{padding:24px 20px}.contact-links{margin-top:25px}.footer-inner{gap:16px}.footer-inner span{width:calc(100% - 140px)}.footer-inner>a:last-child{margin-left:0}.footer{padding:25px 0}summary{font-size:15px}.custom-logo{max-width:180px;max-height:52px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}

:root{--ink:#152942;--muted:#67758a;--green:#163d76;--lime:#dceafd;--paper:#fbfcff;--line:#dce4ef}
.draft-banner{background:#e4edfa;color:#34496b}.dot{background:#4979b9}.button{background:#163d76;color:white}.button:hover{background:#245398}.brand-mark{clip-path:none;border-radius:7px;background:#163d76;color:white}.visual-placeholder{background:radial-gradient(ellipse at 65% 20%,#386da6 0,transparent 55%),linear-gradient(145deg,#12335f,#275384);color:#cbdef4}.visual-placeholder:before,.visual-placeholder:after{border-color:#a9cafa30}.shield{clip-path:none;border-radius:16px;color:white;background:#dceafd12;border-color:#dceafd60;font-size:60px;width:150px;height:150px}.visual-caption{background:linear-gradient(transparent,#102a52bb);color:#e3edfb}.card-number{color:#4979b9}.tinted{background:#edf2f9}.contact{background:#123866}.contact .eyebrow{color:#c6d9f3}.contact p{color:#c9d9ed}.contact .button{background:#dceafd;color:#152942}.form-panel p{color:var(--muted)}.footer{background:#102e55;color:#b9cce5}.sample-label{color:#4979b9}.preview-only,.form-status{background:#edf2f9}
.hero-copy,.hero-visual,.form-panel,.contact-grid>div,.about-grid>div,.faq-grid>div{min-width:0}h1,h2{overflow-wrap:anywhere}@media(max-width:600px){.hero h1{font-size:clamp(36px,10.7vw,46px)}.contact h2 br:nth-child(2){display:initial}.contact h2{font-size:46px}}







