/*
Theme Name: MHI Ufa Modern
Theme URI: https://mhitufa.ru/
Author: Antigravity
Description: Независимый информационно-справочный каталог профессионального оборудования для HoReCa.
Version: 2.0.0
*/

:root {
  --primary: #0f766e;
  --primary-hover: #115e59;
  --secondary: #0f172a;
  --bg-light: #f8fafc;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --tag-bg: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.site-header { background: #ffffff; border-bottom: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.03); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.site-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; background: linear-gradient(135deg, #0f766e, #0f172a); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; box-shadow: 0 4px 12px rgba(15, 118, 110, 0.2); }
.brand-text h1 { font-size: 20px; font-weight: 800; color: var(--secondary); line-height: 1.2; letter-spacing: -0.02em; }
.brand-text p { font-size: 12px; color: var(--text-muted); font-weight: 500; }

.main-nav { display: flex; gap: 24px; align-items: center; font-weight: 600; font-size: 14px; }
.main-nav a { color: var(--secondary); padding: 6px 0; }
.main-nav a:hover { color: var(--primary); text-decoration: none; }

.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: #fff; padding: 50px 0; border-bottom: 3px solid var(--primary); }
.hero-content { max-width: 850px; }
.hero-pill { display: inline-block; background: rgba(45, 212, 191, 0.15); color: #2dd4bf; border: 1px solid rgba(45, 212, 191, 0.3); padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; }
.hero h2 { font-size: 32px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; }
.hero p { font-size: 15px; color: #cbd5e1; margin-bottom: 24px; line-height: 1.6; }
.hero-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 24px; }
.benefit-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 14px 18px; }
.benefit-card b { display: block; font-size: 15px; color: #38bdf8; margin-bottom: 4px; }
.benefit-card span { font-size: 12px; color: #94a3b8; }

.section-head { margin: 40px 0 24px; border-bottom: 2px solid var(--border); padding-bottom: 12px; }
.section-head h3 { font-size: 24px; font-weight: 800; color: var(--secondary); }
.section-head p { font-size: 14px; color: var(--text-muted); }

.equipment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; margin-bottom: 60px; }
.equipment-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(0,0,0,0.03); transition: transform 0.2s; }
.equipment-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: #cbd5e1; }
.card-media { background: #f1f5f9; height: 160px; display: flex; align-items: center; justify-content: center; position: relative; border-bottom: 1px solid var(--border); overflow: hidden; }
.card-media svg { width: 100%; height: 100%; }
.card-badge { position: absolute; top: 12px; right: 12px; background: rgba(15, 23, 42, 0.85); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.35; color: var(--secondary); }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--primary); }
.card-excerpt { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; line-height: 1.5; flex-grow: 1; }
.card-footer { border-top: 1px solid #f1f5f9; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.card-spec-tag { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.btn-more { font-size: 13px; font-weight: 700; color: var(--primary); border: 1px solid var(--primary); padding: 6px 14px; border-radius: 6px; }
.btn-more:hover { background: var(--primary); color: #fff !important; text-decoration: none; }

.article-container { max-width: 860px; margin: 30px auto 60px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 40px; box-shadow: 0 4px 20px rgba(0,0,0,0.04); }
.breadcrumbs { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs span { margin: 0 8px; }
.article-header h1 { font-size: 28px; font-weight: 800; color: var(--secondary); margin-bottom: 14px; line-height: 1.25; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }

.equipment-banner { background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 12px; overflow: hidden; margin-bottom: 30px; padding: 20px; display: flex; gap: 20px; align-items: center; color: #fff; border: 1px solid #334155; flex-wrap: wrap; }
.equipment-banner-visual { flex: 0 0 200px; height: 150px; background: rgba(255,255,255,0.05); border-radius: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.equipment-banner-info h4 { font-size: 17px; margin-bottom: 6px; color: #38bdf8; }
.equipment-banner-info p { font-size: 13px; color: #cbd5e1; margin-bottom: 10px; }
.banner-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.banner-tag { background: rgba(15, 118, 110, 0.4); color: #2dd4bf; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; }

.article-body { font-size: 16px; line-height: 1.75; color: #334155; }
.article-body h2 { font-size: 22px; font-weight: 800; color: var(--secondary); margin: 30px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.article-body h3 { font-size: 18px; font-weight: 700; color: var(--secondary); margin: 24px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 8px; }

/* Neutral Specs Block */
.specs-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 30px 0; }
.specs-box h3 { font-size: 18px; font-weight: 800; color: var(--secondary); margin-bottom: 14px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.specs-table td { padding: 10px 14px; border-bottom: 1px solid #e2e8f0; }
.specs-table td:first-child { font-weight: 600; color: var(--text-muted); width: 40%; }
.specs-table td:last-child { color: var(--secondary); font-weight: 700; }

/* Neutral Pros/Cons Block */
.notes-box { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; padding: 22px; margin: 24px 0; }
.notes-box h4 { font-size: 16px; font-weight: 800; color: var(--secondary); margin-bottom: 10px; }
.notes-box p { font-size: 14px; color: #475569; margin-bottom: 8px; line-height: 1.5; }
.notes-box ul { margin: 8px 0 0 20px; font-size: 14px; color: #475569; }

/* Application Sphere Block */
.usage-box { background: #f0fdfa; border: 1px solid #99f6e4; border-radius: 12px; padding: 22px; margin: 24px 0; }
.usage-box h4 { font-size: 16px; font-weight: 800; color: #0f766e; margin-bottom: 10px; }
.usage-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.usage-tag { background: #ffffff; border: 1px solid #5eead4; color: #0f766e; padding: 5px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }

/* Category 2 Related Links */
.related-box { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-top: 36px; }
.related-box h4 { font-size: 17px; font-weight: 800; color: var(--secondary); margin-bottom: 14px; }
.related-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
.related-links li a { display: block; padding: 10px 14px; background: #fff; border: 1px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--secondary); transition: all 0.15s; }
.related-links li a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; transform: translateX(2px); }

/* Site Footer & Mandatory Disclaimer */
.site-footer { background: var(--secondary); color: #94a3b8; padding: 40px 0 20px; font-size: 13px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer-col p { line-height: 1.6; margin-bottom: 10px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: #fff; }

.footer-disclaimer { border-top: 1px solid #334155; padding-top: 20px; font-size: 12px; line-height: 1.6; color: #94a3b8; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; }
