/* XXL Print — тема по макету redesign-src (Golos Text, self-hosted). */

@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/golos-text-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/golos-text-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/golos-text-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Golos Text';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/golos-text-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --green: #7FA046;
    --green-deep: #5E7834;
    --green-ink: #3F5223;
    --olive: #7A7A00;
    --orange: #D57A2A;
    --orange-deep: #B46420;
    --tint: #F0F8DD;
    --tint-soft: #F8FBEF;
    --ink: #2B2E23;
    --muted: #686D59;
    --line: #E3E8D2;
    --bg: #FCFDF7;
    --dark: #31342F;
    --radius: 1.5rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.wrap--narrow { max-width: 860px; }

/* ---------- topbar ---------- */
.topbar { background: var(--dark); color: #C9CFC0; font-size: .85rem; }
.topbar .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 40px; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; transition: color .25s; }
.topbar a:hover { color: #fff; }
.topbar a[href^="tel:"] { font-size: 1.05rem; font-weight: 700; color: #E8EADD; letter-spacing: .01em; }
.topbar a[href^="tel:"]:hover { color: #fff; }
.topbar .spacer { flex: 1; }
.topbar .callback {
    background: var(--orange); color: #fff; font-weight: 600; font-size: .92rem;
    border-radius: 2rem; padding: .3rem 1.1rem; min-height: 34px; margin: 3px 0;
    transition: background .25s, transform .15s;
}
.topbar .callback:hover { background: var(--orange-deep); color: #fff; transform: translateY(-1px); }
.topbar img { width: 16px; height: 16px; object-fit: contain; opacity: .85; }
.topbar a[href^="tel:"] img { width: 18px; height: 18px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(252, 253, 247, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 76px; padding-top: .9rem; padding-bottom: .9rem; }
.logo img { width: 158px; height: auto; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav li { display: flex; }
.nav a {
    padding: .55rem 1.05rem; border-radius: 2rem; font-weight: 500; font-size: .95rem;
    color: var(--muted); transition: color .25s, background .25s; min-height: 44px;
    display: inline-flex; align-items: center; white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav .current-menu-item > a,
.nav .current_page_item > a { background: var(--orange); color: #fff; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: .75rem; background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }

/* ---------- hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, #EDF6D7 0%, #E2F0C4 45%, #D9E9B8 100%);
    border-bottom: 1px solid var(--line);
}
.hero .wrap {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
    align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero h1 {
    font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.12;
    letter-spacing: -.02em; color: var(--green-ink);
}
.hero h1 .accent { color: var(--orange); }
.hero h1 .inline-img {
    display: inline-block; vertical-align: middle; width: clamp(72px, 8vw, 116px); height: clamp(44px, 4.8vw, 70px);
    object-fit: cover; border-radius: 1rem; margin: 0 .35rem; box-shadow: 0 6px 18px rgba(63, 82, 35, .25);
    transform: rotate(-2deg);
}
.hero .slogan {
    margin-top: 1.25rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--olive);
    font-weight: 600; font-style: italic; max-width: 34rem;
}
.hero .cta-row { margin-top: 2rem; display: flex; gap: .9rem; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 52px; padding: .8rem 1.7rem; border-radius: 2.5rem;
    font-weight: 600; font-size: 1rem; cursor: pointer; border: 0;
    transition: transform .15s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s, background .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 24px rgba(213, 122, 42, .32); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-primary:disabled { opacity: .6; transform: none; cursor: default; }
.btn-ghost { background: rgba(255, 255, 255, .7); color: var(--green-ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: #fff; transform: translateY(-2px); }
.hero-visual { position: relative; min-height: 340px; }
.hero-visual .p-leo {
    position: absolute; width: 56%; left: 0; top: 6%;
    filter: drop-shadow(0 18px 30px rgba(63, 82, 35, .28));
    animation: float 7s ease-in-out infinite;
}
.hero-visual .p-wide {
    position: absolute; width: 62%; right: 0; bottom: 0;
    filter: drop-shadow(0 18px 30px rgba(63, 82, 35, .28));
    animation: float 8s ease-in-out 1.2s infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- categories ---------- */
.cats { padding: clamp(2.5rem, 5vw, 4rem) 0 0; }
.section-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.75rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.01em; color: var(--green-ink); }
.section-head .line { flex: 1; height: 1px; background: var(--line); min-width: 60px; }
.cats-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1rem; }
.cat-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.1rem .9rem 1.2rem; display: flex; flex-direction: column; align-items: center; gap: .8rem;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s, border-color .3s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(63, 82, 35, .13); border-color: #CFE0AC; }
.cat-card .thumb {
    width: 100%; aspect-ratio: 1/1; border-radius: 1rem; background: var(--tint-soft);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; }
.cat-card span { font-weight: 600; font-size: .92rem; text-align: center; color: var(--ink); }
.cat-card:hover span { color: var(--green-deep); }

/* ---------- main layout ---------- */
.main { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.main .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.main .wrap--narrow { display: block; }

/* sidebar */
.sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-card {
    background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
    border-radius: var(--radius); padding: 1.6rem 1.5rem; color: #fff;
}
.contact-card .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; margin-bottom: .4rem; }
.contact-card .phone { display: flex; align-items: center; gap: .7rem; font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; }
.contact-card .phone img { width: 30px; height: 30px; object-fit: contain; }
.contact-card .mail { display: flex; align-items: center; gap: .7rem; margin-top: .9rem; font-weight: 500; font-size: .98rem; word-break: break-all; }
.contact-card .mail img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.contact-card a { transition: opacity .25s; }
.contact-card a:hover { opacity: .82; }
.contact-card .callback-btn {
    margin-top: 1.2rem; display: flex; align-items: center; justify-content: center; min-height: 48px;
    background: var(--orange); border-radius: 2.5rem; font-weight: 600;
    transition: transform .15s cubic-bezier(.34, 1.56, .64, 1), background .25s;
}
.contact-card .callback-btn:hover { background: var(--orange-deep); transform: translateY(-2px); opacity: 1; }
.services { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.services-head {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.15rem 1.4rem; cursor: pointer; user-select: none;
    background: var(--tint); border-bottom: 1px solid var(--line);
}
.services-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--green-ink); }
.services-head .chev { width: 22px; height: 22px; flex: none; transition: transform .35s; }
.services-head .chev svg { width: 100%; height: 100%; stroke: var(--green-deep); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.services.open .services-head .chev { transform: rotate(180deg); }
.services-list { max-height: 0; overflow: hidden; transition: max-height .5s cubic-bezier(.4, 0, .2, 1); }
.services.open .services-list { max-height: 3200px; }
.services-list ul { list-style: none; padding: .6rem; margin: 0; }
.services-list li + li { margin-top: 2px; }
.services-list a {
    display: flex; align-items: center; gap: .6rem; padding: .5rem .8rem; border-radius: .8rem;
    font-size: .92rem; color: var(--muted); min-height: 40px; transition: background .25s, color .25s;
}
.services-list a::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C9D8A6; flex: none; transition: background .25s, transform .25s;
}
.services-list a:hover { background: var(--tint-soft); color: var(--green-ink); }
.services-list a:hover::before { background: var(--orange); transform: scale(1.35); }
.services-list .current-menu-item > a,
.services-list .current_page_item > a { background: var(--tint); color: var(--green-ink); font-weight: 600; }
.services-list .current-menu-item > a::before,
.services-list .current_page_item > a::before { background: var(--orange); }

/* article (контент страниц) */
.breadcrumbs { margin-bottom: 1.2rem; font-size: .85rem; color: var(--muted); }
.breadcrumbs a { color: var(--green-deep); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { color: #C9CFC0; }
.article .entry-title { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; letter-spacing: -.01em; color: var(--green-ink); margin-bottom: 1.4rem; }
.article .entry-content h2,
.article .entry-content h3,
.article .entry-content h4 { color: var(--green-ink); letter-spacing: -.01em; margin: 1.6rem 0 .8rem; line-height: 1.3; }
.article .entry-content h2 { font-size: 1.5rem; }
.article .entry-content h3 { font-size: 1.25rem; }
.article .entry-content h4 { font-size: 1.1rem; }
.article p { margin-bottom: 1.15rem; color: #41453A; }
.article .entry-content > p { max-width: 68ch; }
.article p:last-of-type { margin-bottom: 0; }
.article strong { color: var(--green-deep); }
.article a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }
.article a:hover { color: var(--orange-deep); }
.article ul,
.article ol { margin: 0 0 1.15rem 1.4rem; color: #41453A; }
.article li { margin-bottom: .35rem; }
.article img { border-radius: 1rem; }
.article blockquote {
    margin: 1.4rem 0; padding: 1rem 1.4rem; background: var(--tint-soft);
    border-left: 4px solid var(--green); border-radius: 0 1rem 1rem 0;
}
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; font-size: .95rem; }
.article th,
.article td { padding: .6rem .8rem; border: 1px solid var(--line); text-align: left; }
.article th { background: var(--tint); color: var(--green-ink); }
.article .drop-img {
    float: right; width: min(300px, 42%); margin: .2rem 0 1.2rem 1.6rem; border-radius: 1.25rem;
    box-shadow: 0 14px 32px rgba(63, 82, 35, .16); transform: rotate(1.5deg);
}

/* ---------- feedback ---------- */
.feedback {
    background: linear-gradient(135deg, #EDF6D7 0%, #DEEAC0 100%);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}
.feedback .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feedback h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; color: var(--green-ink); }
.feedback .lead { margin-top: 1rem; color: var(--muted); max-width: 30rem; }
.feedback .lead strong { color: var(--green-deep); }
.form-card {
    background: #fff; border-radius: calc(var(--radius) + .5rem); padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 24px 60px rgba(63, 82, 35, .16); border: 1px solid rgba(255, 255, 255, .6);
}
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 48px; padding: .7rem 1rem; border: 1.5px solid var(--line); border-radius: .9rem;
    font: inherit; font-size: .95rem; color: var(--ink); background: var(--tint-soft);
    transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(127, 160, 70, .14);
}
.field .err { display: none; font-size: .82rem; color: #B4451F; margin-top: .35rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #D06A3A; background: #FDF3EE; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: .7rem; align-items: flex-start; margin: 1.2rem 0 1.4rem; font-size: .85rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green); flex: none; }
.consent a { color: var(--green-deep); text-decoration: underline; }
.consent.invalid { color: #B4451F; }
.pf-hp { display: none; }
.pf-result { margin-top: 1rem; font-size: .92rem; font-weight: 600; }
.pf-result.pf-error { color: #B4451F; }
.pf-captcha-note { font-size: .82rem; color: var(--muted); margin: .8rem 0 0; }
.form-success { display: none; text-align: center; padding: 2.5rem 1rem; }
.form-success .ok {
    width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%;
    background: var(--tint); display: flex; align-items: center; justify-content: center;
}
.form-success .ok svg { width: 34px; height: 34px; stroke: var(--green-deep); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.3rem; font-weight: 700; color: var(--green-ink); }
.form-success p { margin-top: .5rem; color: var(--muted); }
form.sent { display: none; }
form.sent + .form-success { display: block; animation: pop .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* Страница «Он-лайн заказ»: форма внутри контента без обертки form-card. */
.article .xxlprint-form { max-width: 560px; }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: #AEB4A4; }
.footer .wrap { padding-top: clamp(2.5rem, 5vw, 3.5rem); padding-bottom: 2rem; }
.footer-top { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.footer-top a.f-link { color: #E8EADD; font-size: 1.05rem; font-weight: 600; font-style: italic; position: relative; min-height: 44px; display: inline-flex; align-items: center; }
.footer-top a.f-link:hover { color: var(--orange); }
.footer-top .dot { width: 4px; height: 4px; border-radius: 50%; background: #565B50; }
.clients-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #7C8272; margin-bottom: 1.1rem; }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 2.4rem; }
.client {
    background: #F4F6EE; border: 1px solid #464A42; border-radius: 1.1rem; min-height: 84px;
    display: flex; align-items: center; justify-content: center; padding: .9rem;
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background .3s, border-color .3s;
}
.client:hover { transform: translateY(-3px); background: #fff; border-color: #DDE5CC; }
.client img { max-height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.footer-bottom {
    border-top: 1px solid #43473F; padding-top: 1.4rem; display: flex; gap: 1rem; flex-wrap: wrap;
    font-size: .88rem; color: #8A907E; align-items: center;
}
.footer-bottom .spacer { flex: 1; }
.footer-captcha-note { width: 100%; font-size: .8rem; color: #6B7162; }

/* ---------- cookie notice ---------- */
.cookie-notice {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
    background: var(--dark); color: #C9CFC0; font-size: .85rem;
    padding: .8rem clamp(1rem, 4vw, 2.5rem);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
}
.cookie-notice__inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.cookie-notice__text { margin: 0; flex: 1 1 auto; }
.cookie-notice__more { color: #AFC78A; margin-left: 6px; white-space: nowrap; }
.cookie-notice__accept {
    flex: 0 0 auto; padding: 8px 20px; border: 0; border-radius: 2rem;
    background: var(--orange); color: #fff; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
    transition: background .25s;
}
.cookie-notice__accept:hover { background: var(--orange-deep); }
.cookie-notice[hidden] { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
    .cats-grid { grid-template-columns: repeat(4, 1fr); }
    .main .wrap { grid-template-columns: 1fr; }
    .sidebar { position: static; order: 2; }
    .clients { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero-visual { min-height: 280px; order: -1; }
    .feedback .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .burger { display: flex; }
    .nav {
        position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
        padding: .75rem; display: none; box-shadow: 0 20px 40px rgba(43, 46, 35, .12);
    }
    .nav.open { display: block; }
    .nav ul { flex-direction: column; gap: .25rem; }
    .nav a { width: 100%; }
    .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger.open span:nth-child(2) { opacity: 0; }
    .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .topbar .wrap { gap: .8rem; }
    .topbar a[href^="tel:"] { font-size: .95rem; }
    .topbar .callback { font-size: .85rem; padding: .25rem .85rem; }
    .topbar .hide-m { display: none; }
}
@media (max-width: 600px) {
    .cookie-notice__inner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-notice__accept { width: 100%; }
}
@media (max-width: 560px) {
    .cats-grid { grid-template-columns: repeat(2, 1fr); }
    .clients { grid-template-columns: repeat(2, 1fr); }
    .hero-visual { min-height: 220px; }
    .article .drop-img { float: none; width: 100%; margin: 0 0 1.4rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
/* form-style-20261116:minimal */
form[action*="admin-ajax"] :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=range]), select, textarea){border-radius:0;border-style:solid;border-width:0 0 1px;background:transparent;box-shadow:none;transition:border-color .18s,box-shadow .18s,background .18s}
form[action*="admin-ajax"] textarea{border-radius:0;}
form[action*="admin-ajax"] :is(button[type=submit], input[type=submit], .pf-submit, .form-submit){border-radius:999px;border-width:2px;}
