/*
Theme Name: Zaim Universal Fintech
Template: reboot
Author: Zaim Universal
Description: Modern financial aggregator child theme for zaim-universal.ru.
Version: 1.0.0
Text Domain: zu-finance
*/

:root {
	--zu-bg: #f4f8fc;
	--zu-surface: #ffffff;
	--zu-ink: #102033;
	--zu-muted: #627184;
	--zu-blue: #155eef;
	--zu-blue-dark: #0b2f67;
	--zu-green: #0a9f68;
	--zu-cyan: #15b8d4;
	--zu-border: #dce6f0;
	--zu-soft: #eaf2ff;
	--zu-radius: 8px;
	--zu-shadow: 0 18px 55px rgba(16, 32, 51, .09);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--zu-bg); color: var(--zu-ink); font: 16px/1.65 Arial, Helvetica, sans-serif; }
a { color: var(--zu-blue); text-decoration: none; }
a:hover { color: var(--zu-blue-dark); }
img { max-width: 100%; height: auto; }
.zu-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.zu-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--zu-border); backdrop-filter: blur(14px); }
.zu-header__inner { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.zu-brand { display: flex; align-items: center; gap: 10px; color: var(--zu-ink); min-width: 210px; }
.zu-brand__mark { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--zu-blue), var(--zu-cyan)); color: #fff; font-weight: 800; }
.zu-brand strong { display: block; font-size: 18px; line-height: 1.1; }
.zu-brand span { display: block; color: var(--zu-muted); font-size: 12px; }
.zu-nav { flex: 1; display: flex; justify-content: center; }
.zu-nav ul { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; padding: 0; list-style: none; }
.zu-nav a { display: flex; align-items: center; min-height: 40px; padding: 8px 11px; border-radius: 8px; color: var(--zu-ink); font-weight: 700; font-size: 14px; }
.zu-nav a:hover { background: var(--zu-soft); color: var(--zu-blue); }
.zu-actions { display: flex; align-items: center; gap: 10px; }
.zu-search { width: 190px; }
.zu-search input { width: 100%; height: 42px; border: 1px solid var(--zu-border); border-radius: 8px; padding: 0 12px; background: #fff; }
.zu-button, .zu-cta, button.zu-button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 8px; padding: 10px 16px; background: var(--zu-blue); color: #fff; font-weight: 800; cursor: pointer; }
.zu-button:hover, .zu-cta:hover { background: var(--zu-blue-dark); color: #fff; }
.zu-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--zu-border); border-radius: 8px; background: #fff; }
.zu-hero { padding: 54px 0 34px; background: radial-gradient(circle at top left, #e3f2ff, transparent 38%), linear-gradient(135deg, #fff 0%, #eef6ff 100%); border-bottom: 1px solid var(--zu-border); }
.zu-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 34px; align-items: center; }
.zu-eyebrow { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--zu-blue-dark); background: #dff1ff; font-size: 13px; font-weight: 800; }
.zu-hero h1 { margin: 16px 0 14px; font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: 0; }
.zu-lead { color: var(--zu-muted); font-size: 19px; max-width: 680px; }
.zu-disclaimer { margin-top: 14px; color: var(--zu-muted); font-size: 13px; }
.zu-calculator { background: #fff; border: 1px solid var(--zu-border); border-radius: var(--zu-radius); padding: 22px; box-shadow: var(--zu-shadow); }
.zu-calculator h2 { margin: 0 0 16px; font-size: 24px; }
.zu-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zu-field label { display: block; font-weight: 800; margin-bottom: 6px; }
.zu-field input, .zu-field select { width: 100%; height: 46px; border: 1px solid var(--zu-border); border-radius: 8px; padding: 0 12px; background: #fff; }
.zu-result { margin-top: 14px; padding: 14px; border-radius: 8px; background: var(--zu-soft); display: grid; gap: 6px; }
.zu-section { padding: 44px 0; }
.zu-section h2 { margin: 0 0 18px; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; }
.zu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zu-grid--4 { grid-template-columns: repeat(4, 1fr); }
.zu-card { background: var(--zu-surface); border: 1px solid var(--zu-border); border-radius: var(--zu-radius); padding: 18px; box-shadow: 0 10px 32px rgba(16,32,51,.05); display: flex; flex-direction: column; gap: 10px; min-height: 100%; }
.zu-card:hover { transform: translateY(-2px); box-shadow: var(--zu-shadow); transition: .18s ease; }
.zu-card__icon { width: 42px; height: 42px; border-radius: 8px; display: grid; place-items: center; background: var(--zu-soft); color: var(--zu-blue); font-weight: 900; }
.zu-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.zu-card p { margin: 0; color: var(--zu-muted); }
.zu-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--zu-muted); font-size: 13px; }
.zu-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 9px; border-radius: 999px; background: #eef5ff; color: var(--zu-blue-dark); font-weight: 800; font-size: 12px; }
.zu-warning { border-left: 4px solid var(--zu-blue); background: #f0f7ff; padding: 14px; border-radius: 8px; color: var(--zu-ink); }
.zu-table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 8px; background: #fff; }
.zu-table th, .zu-table td, .entry-content table th, .entry-content table td { padding: 12px; border: 1px solid var(--zu-border); text-align: left; vertical-align: top; }
.zu-table th, .entry-content table th { background: #eef5ff; }
.zu-main { padding: 34px 0; }
.zu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.zu-article, .zu-sidebar { background: #fff; border: 1px solid var(--zu-border); border-radius: var(--zu-radius); padding: 24px; }
.zu-article h1 { margin-top: 0; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; }
.zu-article h2 { margin-top: 34px; font-size: 28px; line-height: 1.2; }
.zu-article h3 { margin-top: 24px; font-size: 21px; }
.zu-sidebar { position: sticky; top: 96px; }
.zu-footer { margin-top: 40px; background: #081d3a; color: #d9e7f7; padding: 42px 0; }
.zu-footer a { color: #d9e7f7; }
.zu-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 22px; }
.zu-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.zu-footer h3 { margin-top: 0; color: #fff; }
.zu-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--zu-green); z-index: 100; }

@media (max-width: 980px) {
	.zu-header__inner { min-height: 66px; }
	.zu-menu-toggle { display: inline-grid; place-items: center; }
	.zu-nav { display: none; position: absolute; left: 16px; right: 16px; top: 70px; background: #fff; border: 1px solid var(--zu-border); border-radius: 8px; padding: 12px; box-shadow: var(--zu-shadow); }
	.zu-nav.is-open { display: block; }
	.zu-nav ul { display: grid; }
	.zu-search { display: none; }
	.zu-hero__grid, .zu-layout, .zu-footer__grid { grid-template-columns: 1fr; }
	.zu-grid, .zu-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.zu-form-grid { grid-template-columns: 1fr; }
	.zu-sidebar { position: static; }
}

@media (max-width: 620px) {
	.zu-wrap { width: min(100% - 22px, 1180px); }
	.zu-actions .zu-cta { display: none; }
	.zu-brand { min-width: 0; }
	.zu-grid, .zu-grid--4 { grid-template-columns: 1fr; }
	.zu-hero { padding-top: 32px; }
	.zu-card, .zu-article, .zu-sidebar, .zu-calculator { padding: 16px; }
}
