/*
Theme Name: VMK68
Author: OpenAI Codex
Description: Custom WordPress theme for the Военно-мемориальная компания website.
Version: 1.0.0
*/
:root{--ink:#1d231b;--olive:#738457;--olive-dark:#52623d;--cream:#f5f2ea;--sand:#ded8c9;--white:#fff;--shadow:0 18px 50px rgba(29,35,27,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--cream);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}
.topbar{background:#151a13;color:#fff;font-size:14px}.topbar .wrap{display:flex;justify-content:space-between;align-items:center;min-height:40px}.hotline{font-weight:800;letter-spacing:.04em}.site-header{background:rgba(245,242,234,.96);position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(29,35,27,.1);backdrop-filter:blur(14px)}.site-header .wrap{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:26px}.brand img{width:245px;height:55px;object-fit:contain}.main-nav{display:flex;gap:26px;align-items:center;font-size:15px;font-weight:750}.main-nav a:hover{color:var(--olive-dark)}.menu-toggle{display:none;border:0;background:var(--olive);color:white;padding:10px 14px;border-radius:8px}
.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:5px;padding:13px 20px;background:var(--olive);color:#fff;font-weight:800;cursor:pointer}.button:hover{background:var(--olive-dark)}.button.ghost{background:transparent;border:1px solid rgba(255,255,255,.6)}
.hero{min-height:660px;color:#fff;display:grid;align-items:center;background:linear-gradient(90deg,rgba(17,21,15,.9),rgba(17,21,15,.28)),url(assets/hero.jpg) center/cover}.hero-content{max-width:760px;padding:90px 0}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:13px;font-weight:900;color:#d9e4c3}.hero h1{font-family:Georgia,serif;font-size:clamp(45px,7vw,82px);line-height:.98;margin:18px 0 28px;font-weight:500}.hero p{font-size:20px;max-width:690px}.hero-actions{display:flex;gap:12px;margin-top:34px;flex-wrap:wrap}
.section{padding:86px 0}.section.white{background:#fff}.section.dark{background:#1d231b;color:#fff}.section-title{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:34px}.section-title h2,.content-card h1{font:500 clamp(34px,5vw,54px)/1.05 Georgia,serif;margin:0}.section-title p{max-width:600px;margin:0;color:#5d6559}.dark .section-title p{color:#c9d0c2}
.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.category-card{min-height:215px;padding:26px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;background:linear-gradient(180deg,transparent,rgba(11,14,10,.88)),var(--image) center/cover;border-radius:8px;overflow:hidden;box-shadow:var(--shadow)}.category-card h3{font:500 27px Georgia,serif;margin:0}.category-card span{color:#dce7c8;font-size:14px}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 8px 28px rgba(29,35,27,.08);transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-card img{width:100%;height:250px;object-fit:contain;background:#eeeae0}.product-card .copy{padding:18px}.product-card h3{font:600 19px Georgia,serif;margin:0 0 6px}.product-card .term{color:var(--olive-dark);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.benefit{padding:28px;border:1px solid rgba(255,255,255,.14);border-radius:8px}.benefit b{font:500 22px Georgia,serif;display:block;margin:12px 0}.benefit .num{color:#afbf8c;font-weight:900;font-size:14px;letter-spacing:.14em}
.contact-band{display:grid;grid-template-columns:1.05fr .95fr;gap:50px;align-items:start}.contact-list{display:grid;gap:14px}.contact-item{background:#fff;padding:22px;border-left:5px solid var(--olive);box-shadow:0 8px 28px rgba(29,35,27,.06)}.contact-item b{display:block}.call-form{padding:34px;background:#fff;box-shadow:var(--shadow);border-radius:8px}.call-form h3{font:500 30px Georgia,serif;margin-top:0}.call-form input,.call-form textarea{width:100%;padding:14px;border:1px solid #cbc6b9;background:#faf9f5;margin:0 0 12px;font:inherit}.form-note{font-size:12px;color:#6d7169}
.page-shell{padding:70px 0}.content-card{background:#fff;padding:clamp(28px,5vw,70px);box-shadow:var(--shadow);border-radius:8px}.content-card .lead-image{width:100%;max-height:560px;object-fit:contain;background:#eeeae0;margin:35px 0}.entry-content{font-size:17px}.entry-content p{margin:0 0 1.3em}.archive-head{padding:70px 0 35px}.archive-head h1{font:500 clamp(42px,6vw,68px)/1 Georgia,serif;margin:0}.filters{display:flex;gap:10px;flex-wrap:wrap;margin-top:26px}.filters a{padding:9px 13px;background:#fff;border-radius:4px;font-weight:700;font-size:14px}.single-product{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:start}.single-product .product-image{background:#eeeae0;padding:24px}.single-product .product-image img{width:100%;height:540px;object-fit:contain}.source-note{margin-top:30px;padding:15px;border-left:4px solid var(--olive);background:#f2f0e8;font-size:14px}
.site-footer{background:#11150f;color:#cfd5c9;padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.site-footer h3{color:white;font:500 22px Georgia,serif}.site-footer a{display:block;margin:7px 0}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:20px;font-size:13px}
@media(max-width:900px){.main-nav{display:none;position:absolute;left:0;right:0;top:82px;background:var(--cream);padding:24px;flex-direction:column;align-items:flex-start}.main-nav.open{display:flex}.menu-toggle{display:block}.category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:repeat(2,1fr)}.contact-band,.single-product{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:580px){.wrap{width:min(100% - 26px,1180px)}.topbar .wrap{justify-content:center}.topbar span:last-child{display:none}.brand img{width:195px}.hero{min-height:570px}.hero-content{padding:70px 0}.hero p{font-size:17px}.section{padding:60px 0}.section-title{display:block}.section-title p{margin-top:14px}.category-grid,.product-grid,.benefits,.footer-grid{grid-template-columns:1fr}.product-card img{height:300px}.content-card{padding:24px}.single-product .product-image img{height:360px}}

.archive-intro{max-width:780px;color:#5d6559}.filters a.active,.filters a:hover{background:var(--olive);color:#fff}.product-card .more{display:inline-flex;margin-top:10px;color:var(--olive-dark);font-weight:800}.vmk-pagination{margin-top:40px;display:flex;gap:8px;flex-wrap:wrap}.vmk-pagination .page-numbers{padding:10px 14px;background:#fff;border-radius:4px;font-weight:800}.vmk-pagination .current{background:var(--olive);color:#fff}.product-title{font:500 clamp(38px,5vw,62px)/1.05 Georgia,serif;margin:14px 0 25px}.product-description{background:#fff;padding:24px;border-radius:8px;box-shadow:0 8px 28px rgba(29,35,27,.06)}.product-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.button.ghost-dark{background:transparent;color:var(--olive-dark);border:1px solid var(--olive-dark)}
