@charset "UTF-8";
/* ПЕРВЫЙ — стили темы. Manrope размещён локально (assets/fonts), лицензия OFL. */
@font-face{font-family:Manrope;font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/manrope-400.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/manrope-600.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/manrope-700.woff2") format("woff2")}
@font-face{font-family:Manrope;font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/manrope-800.woff2") format("woff2")}




:root{--ink:#181818;--muted:#595b60;--red:#b40f18;--soft:#f5f4f2;--line:#dddcd8;--max:1320px;--pad:clamp(20px,4vw,64px);font-family:Manrope,"Segoe UI",Arial,sans-serif;color:var(--ink);background:#fff;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:140px}body{margin:0;font-size:1rem;line-height:1.6}a{color:inherit;text-underline-offset:.22em}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%;height:auto}[hidden]{display:none!important}:focus-visible{outline:3px solid #1465bb;outline-offset:4px}button:disabled{cursor:wait;opacity:.65}.wrap{width:min(calc(100% - 2 * var(--pad)),var(--max));margin-inline:auto}p{margin:0 0 1em}h1,h2,h3{margin:0;font-weight:750;line-height:1.14;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:anywhere}h1{font-size:clamp(2.4rem,4.4vw,4.5rem)}h2{font-size:clamp(1.9rem,3.1vw,3.05rem)}h3{font-size:clamp(1.2rem,1.6vw,1.55rem);line-height:1.25;letter-spacing:-.02em}h1 em{font-family:Georgia,"Times New Roman",serif;font-weight:400;color:var(--red)}.eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:var(--red);margin-bottom:16px}.small,small{font-size:.875rem;color:var(--muted)}.large-copy{font-size:clamp(1.13rem,1.8vw,1.45rem);max-width:850px;line-height:1.55}.skip-link{position:fixed;left:20px;top:-100px;z-index:2000;background:white;padding:14px}.skip-link:focus{top:12px}
.header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}.header-inner{min-height:100px;display:flex;align-items:center;gap:28px;flex-wrap:wrap;padding-block:18px}.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0;font-size:1.6rem;font-weight:850;letter-spacing:-.04em;line-height:1}.brand-mark{border:2px solid var(--ink);border-right:5px solid var(--red);width:45px;height:45px;display:grid;place-items:center;font-size:.8rem;letter-spacing:0}.brand small{display:block;font-size:.72rem;font-weight:400;letter-spacing:0;margin-top:8px;line-height:1.2}.header nav{display:flex;align-items:center;gap:12px 20px;flex:1;flex-wrap:wrap;font-size:.875rem;line-height:1.35}.header nav a{text-decoration:none;padding:8px 0;min-height:38px;display:flex;align-items:center}.header nav a:hover,.header nav a[aria-current]{color:var(--red);text-decoration:underline}.header-phone{font-size:.9rem;white-space:nowrap;text-decoration:none}.menu-toggle{display:none;border:1px solid var(--ink);padding:10px 14px;min-height:44px;background:#fff}.section{padding:clamp(48px,6vw,88px) 0;border-bottom:1px solid var(--line)}.section-heading{max-width:880px;margin-bottom:32px}.soft{background:var(--soft)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:13px 20px;border:1px solid var(--ink);font-size:.9375rem;font-weight:600;line-height:1.35;text-align:center;text-decoration:none;max-width:100%;border-radius:3px;transition:background .15s,color .15s}.primary{background:var(--red);border-color:var(--red);color:#fff}.primary:hover{background:#8e1017;border-color:#8e1017}.secondary{background:transparent;color:var(--ink)}.secondary:hover{background:var(--ink);color:#fff}
.hero{background:#fbf9fa;border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:clamp(28px,4vw,64px);padding-block:clamp(42px,5vw,76px)}.hero-copy{position:relative;z-index:1}.hero h1{max-width:830px}.lead{font-size:clamp(1.06rem,1.4vw,1.25rem);line-height:1.55;color:#424346;margin-top:24px;max-width:670px}.hero-note{font-size:.9rem;margin:22px 0 0;color:var(--muted)}.hero-art{align-self:stretch;min-width:0;overflow:hidden;border-radius:4px;min-height:390px}.hero-art img{width:100%;height:100%;object-fit:cover;object-position:80% center}.hero-text{background:var(--soft)}.hero-text .hero-grid{grid-template-columns:1fr}.hero-text .hero-copy{max-width:950px}.cards{display:grid;gap:18px}.cards.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--line);padding:clamp(22px,2.5vw,34px);display:flex;flex-direction:column;align-items:flex-start;min-width:0}.card .index{font-size:.8rem;font-weight:700;color:var(--red);margin-bottom:24px}.card h3{margin-bottom:14px}.card p{color:var(--muted);line-height:1.6}.card .btn{margin-top:auto}.card p+.btn{margin-top:16px}.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(26px,4vw,60px);align-items:start}.split h3{margin-bottom:12px}.plain-list{list-style:none;margin:0;padding:0;max-width:980px}.plain-list li{position:relative;padding:14px 0 14px 24px;border-bottom:1px solid var(--line)}.plain-list li:before{content:"";position:absolute;left:0;top:25px;width:6px;height:6px;background:var(--red)}.faq{max-width:1000px}.faq details{border-top:1px solid var(--line);padding:20px 0}.faq details:last-child{border-bottom:1px solid var(--line)}.faq summary{font-size:1.1rem;font-weight:650;cursor:pointer;padding-right:20px}.faq details p{color:var(--muted);margin:14px 0 0;max-width:800px}.cta{padding:clamp(26px,4vw,58px);background:var(--soft);display:grid;grid-template-columns:1fr .34fr;gap:38px;align-items:center}.cta h2{max-width:760px}.cta p:not(.eyebrow){margin-top:20px;color:var(--muted);max-width:740px}.cta img{max-height:250px;object-fit:contain}.format-list{display:grid;gap:20px}.format{border:1px solid var(--line);padding:clamp(24px,3vw,40px);display:grid;grid-template-columns:48px 1fr;gap:20px}.format .index{font-size:1.5rem;color:var(--red)}.format h3{font-size:1.8rem;margin-bottom:12px}.format .btn{margin-top:24px}.format .plain-list{margin-top:12px}.notice{border-left:3px solid var(--red);padding:18px 24px;background:var(--soft);margin:30px 0 0;max-width:1050px}.record{background:#fff;padding:28px;border:1px solid var(--line)}dl{margin:0}dt{font-weight:650}dd{margin:4px 0 20px;color:var(--muted);overflow-wrap:anywhere}dd:last-child{margin-bottom:0}.table-scroll{overflow:auto;border:1px solid var(--line)}table{border-collapse:collapse;width:100%;min-width:650px;font-size:1rem}th,td{text-align:left;vertical-align:top;padding:22px;border-bottom:1px solid var(--line)}thead{background:var(--soft)}tbody th{font-weight:500;width:35%}tbody tr:last-child>*{border-bottom:0}.scenarios .eyebrow{font-size:.75rem;letter-spacing:.06em}.contact-hero h1{margin-bottom:38px}.contact-big{display:block;font-size:clamp(1.8rem,3vw,2.8rem);font-weight:650;letter-spacing:-.03em;text-decoration:none;overflow-wrap:anywhere}.contact-email{display:block;font-size:1.25rem;margin-top:10px}.contact-hero .actions{margin-bottom:22px}.contact-note{padding:30px;background:var(--soft)}.contact-note h2{font-size:1.45rem;margin-bottom:18px}.legal{max-width:950px}.legal dl{display:grid;grid-template-columns:210px 1fr;gap:16px 28px}.legal dd{margin:0}.footer{background:#171717;color:#fff;padding:48px 0 22px}.footer-top{display:grid;grid-template-columns:1fr .8fr 1.4fr;gap:42px}.footer .brand-mark{border-color:#fff;border-right-color:#e8424b}.footer .brand small{color:#d0d0d0}.footer p{font-size:.9rem;color:#ccc;margin-top:20px}.footer nav{display:flex;flex-direction:column;gap:12px;align-items:flex-start}.footer a{font-size:.9rem}.footer a.brand{font-size:1.6rem}.footer h2{font-size:1rem;letter-spacing:0;margin-bottom:16px}.footer dl{font-size:.8rem;line-height:1.5}.footer dd{color:#ccc;margin-bottom:10px}.footer dt{font-weight:500}.footer-bottom{border-top:1px solid #484848;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:35px;padding-top:22px;font-size:.8rem;color:#ddd}.footer-bottom a{font-size:.8rem}.privacy h1{margin-bottom:30px}.privacy h2{font-size:1.5rem;margin-top:28px;margin-bottom:14px}.privacy p,.privacy li{max-width:1000px}
/* Native dialog provides focus containment and inert background. */
dialog{width:min(660px,calc(100% - 32px));max-height:calc(100dvh - 32px);border:1px solid var(--line);border-radius:5px;padding:0;color:var(--ink);background:#fff;overflow:auto}dialog::backdrop{background:rgba(0,0,0,.62)}.dialog-inner{position:relative;padding:clamp(24px,4vw,40px)}.dialog-inner h2{font-size:clamp(1.6rem,3vw,2.2rem);padding-right:30px}.dialog-close{position:absolute;right:14px;top:14px;width:44px;height:44px;border:1px solid var(--line);background:#fff;font-size:1.6rem;line-height:1}.dialog-inner .eyebrow{padding-right:36px;font-size:.7rem}#contact-context{margin-top:12px;color:var(--red);font-size:.95rem}.direct-contact p{color:var(--muted)}.messenger-links{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 24px}.direct-contact label{display:block;font-size:.9rem;margin-bottom:7px}.direct-contact textarea{resize:vertical;width:100%;border:1px solid #9b9b9b;padding:12px;font-size:1rem;line-height:1.5;min-height:110px}.text-button{background:none;border:0;text-decoration:underline;text-underline-offset:4px;color:var(--red);padding:10px 0;min-height:44px;text-align:left}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.form-grid label{display:block;margin-bottom:7px;font-size:.9375rem}.form-grid input,.form-grid select{width:100%;min-height:50px;padding:12px;border:1px solid #888;background:#fff;color:var(--ink);border-radius:2px}.form-grid .full{grid-column:1/-1}.optional{font-size:.8rem;color:var(--muted)}.consent{display:flex;align-items:start;gap:10px;font-size:.875rem;margin:22px 0}.consent input{width:20px;height:20px;flex-shrink:0;margin-top:2px;accent-color:var(--red)}.form-status{font-size:.9375rem;margin:16px 0 0;color:var(--red)}.trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#lead-success h3{margin:22px 0 12px}#lead-success .btn{margin-top:12px}body.dialog-open{overflow:hidden}
@media(max-width:1150px){.header-inner{gap:16px;min-height:82px}.header nav{order:4;flex-basis:100%;gap:6px 20px}.header-phone{margin-left:auto}.hero-grid{grid-template-columns:1.15fr .85fr}.hero-art{min-height:350px}.cards.three{gap:14px}.footer-top{grid-template-columns:1fr 1fr}.footer-top>div:last-child{grid-column:1/-1}.footer dl{columns:2;column-gap:40px}.footer dd{break-inside:avoid}}
@media(max-width:850px){html{scroll-padding-top:100px}.header-inner{min-height:76px;padding-block:14px}.menu-toggle{display:block;margin-left:auto}.header-phone{display:none}.header nav{gap:4px;display:none;max-height:calc(100dvh - 110px);overflow:auto}.header nav.open{display:flex;align-items:stretch;flex-direction:column}.header nav a{padding:11px 0;font-size:1rem}.hero-grid{grid-template-columns:1fr;padding-block:42px}.hero-copy{max-width:740px}.hero-art{min-height:0;max-height:260px}.hero-art img{height:260px;object-position:75% 40%}.cards.three{grid-template-columns:1fr}.card{padding:26px}.card .index{margin-bottom:15px}.card h3{font-size:1.45rem}.split{grid-template-columns:1fr}.cta{grid-template-columns:1fr}.cta img{display:none}.format{grid-template-columns:30px 1fr;gap:12px}.legal dl{grid-template-columns:1fr;gap:6px}.legal dd{margin-bottom:16px}.hero h1{font-size:clamp(2.3rem,6.7vw,3.7rem)}.hero .actions{margin-top:22px}.section{padding-block:50px}}
@media(max-width:520px){.brand{font-size:1.4rem}.brand small{font-size:.65rem}.brand-mark{height:40px;width:40px}.header-inner{gap:10px}.hero-art{max-height:180px}.hero-art img{height:180px}.hero h1{font-size:clamp(2.15rem,8.8vw,2.85rem);line-height:1.12}.hero .actions .btn{width:100%}.hero-note{font-size:.9rem}.hero-grid{gap:25px}.format{grid-template-columns:1fr;padding:24px}.format .index{font-size:1rem}.format h3{font-size:1.5rem}.footer-top{grid-template-columns:1fr;gap:30px}.footer dl{columns:1}.footer-top>div:last-child{grid-column:auto}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.messenger-links .btn{flex-grow:1}.contact-note{padding:24px}.record{padding:24px}.table-scroll{margin-right:0}.btn{padding:13px 16px}.dialog-inner{padding:25px 20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Rounded typography and surfaces */
h1,h2,h3{font-weight:800;letter-spacing:-.025em;line-height:1.16}
h1 em{font-family:inherit;font-style:normal;font-weight:700}
.brand{font-weight:800}.brand small{font-weight:600}
.brand-mark{border-radius:12px}
.btn,.menu-toggle{border-radius:14px}
.hero-art{border-radius:28px}
.card,.format,.record,.contact-note{border-radius:22px}
.cta{border-radius:28px}
.table-scroll{border-radius:20px}
.notice{border-radius:0 16px 16px 0}
dialog{border-radius:24px}
.dialog-close{border-radius:50%}
.form-grid input,.form-grid select,.direct-contact textarea{border-radius:12px}
@media(max-width:520px){.hero-art,.cta{border-radius:20px}.card,.format,.record,.contact-note{border-radius:18px}dialog{border-radius:20px}}

/* Supplied brand artwork: original proportions and transparent background. */
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:7px;flex-shrink:0}
.brand-logo{width:210px;height:auto;max-width:100%;object-fit:contain}
.brand-caption{font-size:.72rem;font-weight:600;letter-spacing:.015em;line-height:1.35;color:var(--muted)}
.footer .brand-logo{width:235px}.footer .brand-caption{color:#d0d0d0}
.dialog-logo{width:175px;height:auto;margin:0 0 25px;max-width:calc(100% - 55px)}
h1,h2,h3{font-weight:800;letter-spacing:-.035em;line-height:1.18}
h1 em{font-weight:800}
.btn{font-weight:700}
@media(max-width:520px){.brand-logo{width:190px}.brand-caption{font-size:.66rem}.footer .brand-logo{width:220px}}
@media(max-width:360px){.brand-logo{width:170px}.brand-caption{font-size:.6rem}}

/* Task tiles are informational; service cards retain their navigation. */
.cards.task-tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.task-tiles .card{padding:26px;min-height:205px}
.task-tiles .card p{margin-bottom:0}
@media(max-width:1100px){.cards.task-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.cards.task-tiles{grid-template-columns:1fr}.task-tiles .card{min-height:0;padding:24px}}

.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:850px){.cards.two{grid-template-columns:1fr}}

/* ===== Адаптация под блоки WordPress (Gutenberg) ===== */
.wp-block-group,.wp-block-buttons,.wp-block-button,.wp-block-image,.wp-block-details,.wp-block-table,.wp-block-list{box-sizing:border-box}
.wp-block-buttons{margin:0}
.wp-block-buttons.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.wp-block-button{margin:0}
.wp-block-button .wp-block-button__link.wp-element-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:13px 20px;border:1px solid var(--red);background:var(--red);color:#fff;font-family:inherit;font-size:.9375rem;font-weight:700;line-height:1.35;text-align:center;text-decoration:none;max-width:100%;border-radius:14px;transition:background .15s,color .15s;box-shadow:none}
.wp-block-button .wp-block-button__link.wp-element-button:hover{background:#8e1017;border-color:#8e1017;color:#fff}
.wp-block-button.is-style-outline .wp-block-button__link.wp-element-button{background:transparent;border:1px solid var(--ink);color:var(--ink)}
.wp-block-button.is-style-outline .wp-block-button__link.wp-element-button:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.wp-block-image{margin:0}
.wp-block-image img{display:block;max-width:100%;height:auto}
.hero-art figure{margin:0;height:100%}
.hero-art img{width:100%;height:100%;object-fit:cover;object-position:80% center}
.cta figure{margin:0}.cta img{max-height:250px;width:100%;object-fit:contain}
.wp-block-heading{margin:0}
.wp-block-list.plain-list{padding:0;margin:0}
.wp-block-list.plain-list li{margin:0}
p.eyebrow{margin-bottom:16px}
.hero-copy .lead{margin-bottom:0}
.hero-copy .hero-note{margin-bottom:0}
.section-heading>*:last-child{margin-bottom:0}
.card>.wp-block-heading{margin-bottom:14px}
.card .wp-block-buttons{margin-top:auto}
.card p+.wp-block-buttons{margin-top:16px}
.card p:last-child{margin-bottom:0}
.card p.eyebrow{margin-bottom:12px}
.cards{counter-reset:card}
.cards:not(.scenarios)>.card:before{counter-increment:card;content:counter(card,decimal-leading-zero);font-size:.8rem;font-weight:700;color:var(--red);margin-bottom:24px}
.format-list{counter-reset:fmt}
.format:before{counter-increment:fmt;content:counter(fmt,decimal-leading-zero);font-size:1.5rem;color:var(--red)}
.format .wp-block-heading{margin-bottom:12px;font-size:1.8rem}
.format .wp-block-buttons{margin-top:24px}
.format p{margin-bottom:.4em}
.split>*>.wp-block-heading{margin-bottom:12px}
.cta .wp-block-buttons{margin-top:26px}
.cta p:not(.eyebrow){margin-bottom:0}
.contact-note .wp-block-heading{font-size:1.45rem;margin-bottom:18px}
.contact-note .wp-block-buttons{margin-top:20px}
.contact-hero .wp-block-heading:is(h1){margin-bottom:38px}
.record p.dt{margin:0;font-weight:650}
.record p.dd{margin:4px 0 20px;color:var(--muted);overflow-wrap:anywhere}
.record p.dd:last-child{margin-bottom:0}
.record p.eyebrow{margin-bottom:16px}
.wp-block-table.table-scroll{margin:0;overflow:auto;border:1px solid var(--line);border-radius:20px}
.wp-block-table.table-scroll table{border-collapse:collapse;width:100%;min-width:650px;font-size:1rem}
.wp-block-table.table-scroll th,.wp-block-table.table-scroll td{border:0;border-bottom:1px solid var(--line);padding:22px;text-align:left;vertical-align:top}
.wp-block-table.table-scroll thead{border:0;background:var(--soft)}
.wp-block-table.table-scroll tbody tr:last-child>*{border-bottom:0}
.wp-block-table.table-scroll tbody td:first-child{font-weight:500;width:35%}
.wp-block-table.table-scroll a{color:inherit;text-decoration:underline;text-underline-offset:.22em}
.faq details>p{color:var(--muted)}
.wp-block-details summary{cursor:pointer}
.privacy .wp-block-list{padding-left:1.4em;list-style:disc}
.privacy .wp-block-list li{margin:0 0 .3em}
.privacy .wp-block-group.wrap>h1{margin-bottom:30px}
.large-copy{margin-bottom:1em}
.notice{margin-bottom:0}
.legal dl{display:grid;grid-template-columns:210px 1fr;gap:16px 28px}
/* контакты (шорткоды) */
.contact-links .actions{margin-bottom:22px}
.brand-logo{height:auto}
/* вспомогательные */
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.page-plain{padding:clamp(48px,6vw,88px) 0}
.page-plain h1{margin-bottom:24px}
@media(max-width:850px){.cards:not(.scenarios)>.card:before{margin-bottom:15px}.legal dl{grid-template-columns:1fr;gap:6px}}
@media(max-width:520px){.format:before{font-size:1rem}.format .wp-block-heading{font-size:1.5rem}.hero .wp-block-buttons.actions .wp-block-button{width:100%}.hero .wp-block-buttons.actions .wp-block-button__link{width:100%}}
@media(max-width:850px){.hero .actions{margin-top:22px}}

/* ===== Формы заявки: окно «Оставить заявку» и блок в подвале ===== */
.lead-form .form-grid{margin-top:20px}
.lead-form .field{min-width:0}
.form-grid textarea{display:block;width:100%;min-height:112px;padding:12px;border:1px solid #888;background:#fff;color:var(--ink);border-radius:12px;resize:vertical;line-height:1.5}
.form-grid input:focus-visible,.form-grid textarea:focus-visible{outline-offset:2px}
.lead-form [aria-invalid="true"]{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
.field-help{display:block;margin-top:6px;font-size:.8rem;line-height:1.4;color:var(--muted)}
.field-error{display:block;margin-top:6px;font-size:.875rem;line-height:1.4;color:var(--red);font-weight:600}
.lead-form .consent-wrap{margin:20px 0 0}
.lead-form .consent{margin:0}
.lead-service{margin:14px 0 0;color:var(--red);font-size:.95rem}
.lead-form .form-status{margin:14px 0 0;min-height:0;color:var(--muted)}
.lead-form .form-status.is-error{color:var(--red);font-weight:600}
.lead-form .form-actions{margin-top:18px}
.lead-form .form-actions .btn{margin-top:0;min-width:220px}
.lead-success{padding:6px 0 4px}
.lead-success-text{margin:22px 0 14px;font-size:1.3rem;font-weight:800;line-height:1.35;color:var(--ink)}
.lead-unavailable p{color:var(--muted)}
.lead-unavailable .messenger-links{margin:14px 0 0}
/* окно: кнопка отправки остаётся на виду при открытой клавиатуре и прокрутке */
.dialog-inner .lead-form .form-actions{position:sticky;bottom:0;z-index:2;margin:14px calc(-1 * clamp(24px,4vw,40px)) calc(-1 * clamp(24px,4vw,40px));padding:12px clamp(24px,4vw,40px) clamp(16px,3vw,28px);background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 22%)}
.dialog-inner .lead-form .form-grid{margin-top:16px}
/* подвал */
.footer-lead{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr);gap:28px;align-items:start;padding-bottom:48px;margin-bottom:46px;border-bottom:1px solid #484848}
.footer .footer-lead-card{background:#fff;color:var(--ink);border-radius:24px;padding:clamp(24px,3.4vw,44px)}
.footer .footer-lead-card h2{font-size:clamp(1.7rem,2.8vw,2.4rem);letter-spacing:-.035em;margin:0 0 10px}
.footer .footer-lead-card p{color:var(--muted);font-size:1rem;margin-top:0}
.footer .footer-lead-card .lead-form .form-status{font-size:.9375rem}
.footer .footer-lead-card a{font-size:inherit;color:var(--ink)}
.footer .footer-lead-card .btn.primary{color:#fff}
.footer .footer-lead-card .btn.secondary{color:var(--ink)}
.footer .footer-write{border:1px solid #484848;border-radius:24px;padding:clamp(22px,2.6vw,34px)}
.footer .footer-write h2{font-size:1.5rem;letter-spacing:-.03em;margin:0 0 10px}
.footer .footer-write p{margin:0 0 4px;color:#ccc}
.footer .footer-write .messenger-links{flex-direction:column;align-items:stretch;margin:20px 0 0}
.footer .footer-write .btn{width:100%;font-size:.9375rem}
@media(max-width:900px){.footer-lead{grid-template-columns:1fr;gap:20px;padding-bottom:36px;margin-bottom:36px}}
@media(max-width:520px){.lead-form .form-actions .btn{width:100%}.dialog-inner .lead-form .form-actions{margin-inline:-20px;padding-inline:20px;margin-bottom:-25px}.footer .footer-lead-card{border-radius:20px}.footer .footer-write{border-radius:20px}}
.footer .footer-write .btn.secondary{background:#fff;border-color:#fff;color:var(--ink)}
.footer .footer-write .btn.secondary:hover{background:#ececec;border-color:#ececec;color:var(--ink)}

/* Main hero: artwork meets the section edges. */
.home .hero{position:relative;overflow:hidden}.home .hero-art{position:absolute;top:0;right:0;bottom:0;width:50%;min-height:0;max-height:none;border-radius:0;pointer-events:none}.home .hero-art figure{height:100%;margin:0}.home .hero-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:right bottom}.home .hero-copy{z-index:1}@media(max-width:850px){.home .hero-grid{padding-bottom:0}.home .hero-art{position:relative;top:auto;right:auto;bottom:auto;width:calc(100% + 2 * var(--pad));margin-inline:calc(-1 * var(--pad));height:clamp(260px,60vw,460px);min-height:0;max-height:none}.home .hero-art img{height:100%;object-position:right bottom}}

@media(max-width:850px){.home .hero-art{height:auto;aspect-ratio:1;max-height:none}.home .hero-art figure,.home .hero-art picture{display:block;height:auto;width:100%;margin:0}.home .hero-art img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;object-position:center top}}

/* DMA GROUP agency credit */
.footer .dma-credit{margin-top:30px;padding-top:24px;border-top:1px solid #484848;max-width:340px}.footer .dma-credit-label{margin:0 0 16px;font-size:.82rem;line-height:1.6;color:#ccc;max-width:280px}.footer .dma-credit-brand{display:inline-flex;align-items:center;gap:14px;color:#fff;text-decoration:none;max-width:100%;border-radius:4px}.footer .dma-credit-brand img{display:block;width:43px;height:auto;flex:none;filter:brightness(0) invert(1)}.footer .dma-credit-brand span{font-size:clamp(1.35rem,2vw,1.65rem);font-weight:750;line-height:1.1;letter-spacing:.04em}.footer .dma-credit-brand:hover span{text-decoration:underline;text-underline-offset:5px}.footer .dma-credit-brand:focus-visible{outline:2px solid #fff;outline-offset:7px}.footer .dma-credit-description{margin:12px 0 0;font-size:.8rem;line-height:1.6;color:#ccc}@media(max-width:520px){.footer .dma-credit{max-width:none;margin-top:26px}}

/* Footer legal layout: 2026-10-12 */
.footer .footer-bottom{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:baseline;gap:12px 24px;line-height:1.6}
.footer .footer-bottom>span{flex:0 0 100%;margin:0 0 4px}
.footer .footer-bottom .pervyi-legal-links{display:contents;margin:0;padding:0}
.footer .footer-bottom a,.footer .footer-bottom button{margin:0;padding:0;border:0;background:none;color:inherit;font:inherit;line-height:1.6;text-align:left;text-decoration:underline;text-underline-offset:.22em;max-width:100%;overflow-wrap:anywhere}
@media(max-width:600px){.footer .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px}.footer .footer-bottom>span{flex:none;margin-bottom:4px}.footer .footer-bottom a,.footer .footer-bottom button{padding:3px 0}}

.footer .footer-bottom a,.footer .footer-bottom button{font-size:.8rem}
