/*
Theme Name: Заводыч
Theme URI: https://zavodyсh.ru
Author: Roman Markov
Author URI: https://zavodyсh.ru
Description: Портал промышленного туризма и профориентации «Заводыч» — каталог предприятий, запись на экскурсии, QR-подтверждение посещений и призы за прогресс.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zavodyсh
Tags: custom-menu, custom-logo, translation-ready, full-width-template
*/


    :root{--bg:#F4F6F9;--surface:#fff;--surface2:#EEF2F7;--text:#1A2332;--muted:#5C6E82;--primary:#1B6BB0;--primaryHover:#14579A;--primaryLight:#D6E8F8;--success:#2E8B57;--warning:#E67E22;--border:rgba(26,35,50,.12);--shadow:0 10px 30px rgba(26,35,50,.08);--radius:18px;--radiusSm:12px;--sidebar:#12386B}
    *{box-sizing:border-box} html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,sans-serif}
    a{text-decoration:none;color:inherit} button,input{font:inherit}
    .layout{display:grid;grid-template-columns:280px 1fr;min-height:100vh}
    .sidebar{background:linear-gradient(180deg,#12386B 0%,#0E2D57 100%);color:#fff;padding:28px 22px;position:sticky;top:0;height:100vh;overflow:auto}
    .brand{display:flex;align-items:center;gap:14px;margin-bottom:34px}
    .brand-mark{width:46px;height:46px;border-radius:14px;background:#fff1;display:grid;place-items:center;border:1px solid rgba(255,255,255,.16);font-family:Montserrat;font-weight:800}
    .brand-title{font-family:Montserrat;font-weight:800;font-size:22px;line-height:1}
    .brand-sub{font-size:12px;opacity:.8;margin-top:4px}
    .nav{display:grid;gap:8px}
    .nav a{padding:14px 16px;border-radius:14px;color:#fff;font-weight:500;opacity:.95}
    .nav a.active,.nav a:hover{background:rgba(255,255,255,.12)}
    .main{padding:22px 24px 34px}
    .topbar{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center;margin-bottom:22px}
    .search{display:flex;align-items:center;gap:12px;background:#dde4ee;border:1px solid transparent;border-radius:16px;padding:14px 16px;box-shadow:var(--shadow);max-width:820px}
    .search input{border:0;background:transparent;outline:0;width:100%;font-size:18px;color:var(--text)}
    .actions{display:flex;align-items:center;gap:12px}
    .btn{border:0;border-radius:14px;padding:13px 18px;font-weight:600;cursor:default}
    .btn.primary{background:var(--primary);color:#fff}.btn.secondary{background:#fff;color:var(--primary);box-shadow:var(--shadow);border:1px solid var(--border)}
    .avatar{width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#fff,#d9e6f4);border:1px solid var(--border);display:grid;place-items:center;font-weight:800;color:var(--primary);font-family:Montserrat}
    .hero{background:linear-gradient(135deg,#133A6E 0%,#205B92 55%,#2C76B7 100%);color:#fff;border-radius:28px;padding:40px;box-shadow:var(--shadow);position:relative;overflow:hidden}
    .hero:before{content:'';position:absolute;inset:auto -80px -120px auto;width:320px;height:320px;border-radius:50%;background:rgba(255,255,255,.08)}
    .hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:center;position:relative;z-index:1}
    .eyebrow{display:inline-flex;gap:8px;align-items:center;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:8px 12px;border-radius:999px;font-size:13px;margin-bottom:18px}
    h1{font-family:Montserrat;font-size:clamp(30px,4vw,54px);line-height:1.05;margin:0 0 16px}
    .lead{font-size:18px;line-height:1.6;max-width:60ch;opacity:.96;margin:0 0 28px}
    .hero-actions{display:flex;gap:12px;flex-wrap:wrap}
    .hero-card{background:rgba(255,255,255,.1);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.16);border-radius:24px;padding:22px}
    .hero-card h3{margin:0 0 14px;font-family:Montserrat;font-size:20px}
    .steps{display:grid;gap:12px}
    .step{display:flex;gap:12px;align-items:flex-start;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:18px;padding:14px}
    .step b{display:block;margin-bottom:4px}.step span{opacity:.92;font-size:14px;line-height:1.45}
    .sections{display:grid;gap:24px;margin-top:24px}
    .section{background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:26px;box-shadow:var(--shadow)}
    .section-head{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:18px}
    .section h2{font-family:Montserrat;font-size:28px;margin:0}
    .section p.sub{margin:0;color:var(--muted)}
    .chips{display:flex;flex-wrap:wrap;gap:10px}
    .chip{padding:10px 14px;border-radius:999px;background:var(--surface2);color:var(--text);font-weight:500;border:1px solid var(--border)}
    .filters{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0 22px}
    .select{min-width:180px;background:#fff;border:1px solid var(--border);border-radius:14px;padding:12px 14px;color:var(--muted)}
    .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
    .card{border:1px solid var(--border);border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 6px 18px rgba(26,35,50,.05)}
    .card-img{height:160px;background:linear-gradient(135deg,#d6e8f8,#b8cfe6);position:relative;display:flex;align-items:end;padding:14px}
    .badge{display:inline-block;background:rgba(255,255,255,.92);color:var(--primary);padding:7px 11px;border-radius:999px;font-size:12px;font-weight:700}
    .card-body{padding:16px}
    .card h3{margin:0 0 8px;font-family:Montserrat;font-size:19px}
    .meta{color:var(--muted);font-size:14px;margin-bottom:10px}
    .desc{color:var(--text);line-height:1.5;font-size:14px;min-height:63px}
    .card-footer{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:10px}
    .link{color:var(--primary);font-weight:700}
    .grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
    .feature{background:linear-gradient(180deg,#fff,#f8fbff);border:1px solid var(--border);border-radius:20px;padding:22px}
    .icon{width:52px;height:52px;border-radius:16px;background:var(--primaryLight);color:var(--primary);display:grid;place-items:center;font-size:22px;font-weight:700;margin-bottom:14px}
    .feature h4{margin:0 0 10px;font-family:Montserrat;font-size:18px}
    .feature p{margin:0;color:var(--muted);line-height:1.55}
    .footer{margin-top:24px;padding:18px 2px;color:var(--muted);display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px}
    .mobile-top{display:none}
    @media (max-width: 1100px){.layout{grid-template-columns:1fr}.sidebar{display:none}.mobile-top{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 0}.hero-grid{grid-template-columns:1fr}.cards,.grid-3{grid-template-columns:1fr 1fr}}
    @media (max-width: 720px){.main{padding:14px}.topbar{grid-template-columns:1fr}.actions{justify-content:space-between}.search input{font-size:16px}.hero{padding:22px;border-radius:22px}.cards,.grid-3{grid-template-columns:1fr}.section{padding:18px}.section-head{flex-direction:column;align-items:flex-start}.btn{width:100%}.actions .btn,.actions .avatar{width:auto}.hero-actions{display:grid;width:100%}}
  

/* === WordPress-specific overrides === */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1em; }
img.alignleft, img.alignright, img.aligncenter { height: auto; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
