/*
Theme Name: МосВетЦентр
Theme URI: https://mosvetcenter.ru/
Author: МосВетЦентр
Description: Тема сайта ветеринарной службы МосВетЦентр. При активации переносит страницы услуг, блог, статьи и служебные страницы mosvetcenter24.ru с исходными адресами, Title, Description и H1.
Version: 2.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: mvc
*/

:root {
	--bg: #f6f3ec;
	--surface: #ffffff;
	--soft: #eaf0ec;
	--ink: #1d2726;
	--muted: #5a6664;
	--line: #e0dacd;
	--brand: #2f5d57;
	--brand-dark: #234843;
	--brand-ink: #ffffff;
	--accent: #b88a4a;
	--accent-soft: #f3e8d6;
	--ok: #2e6b3f;
	--err: #9a3b2e;
	--radius: 18px;
	--shadow: 0 1px 2px rgba(29, 39, 38, .05), 0 12px 32px -12px rgba(29, 39, 38, .18);
	--serif: "PT Serif", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 17px/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.mvc-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mvc-sr, .mvc-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mvc-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.mvc-skip:focus { left: 8px; }
.mvc-ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -0.2em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Top bar & header */
.mvc-topbar { background: var(--brand-dark); color: #dfe9e5; font-size: 14px; }
.mvc-topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 7px 20px; }
.mvc-topbar span { display: inline-flex; align-items: center; gap: 8px; }

.mvc-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .mvc-header { top: 32px; }
.mvc-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.mvc-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.mvc-logo img { max-height: 56px; width: auto; }
.mvc-logo__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--brand); color: #fff; font-size: 24px; }
.mvc-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.mvc-logo__text strong { font-family: var(--serif); font-size: 22px; }
.mvc-logo__text small { color: var(--muted); font-size: 13px; }

.mvc-nav { display: flex; align-items: center; gap: 22px; }
.mvc-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mvc-menu > li { position: relative; }
.mvc-menu a { display: block; white-space: nowrap; padding: 10px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.mvc-menu a:hover, .mvc-menu .current-menu-item > a, .mvc-menu .current-menu-ancestor > a { color: var(--brand); background: var(--soft); }
.mvc-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.mvc-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.mvc-menu li:hover > .sub-menu, .mvc-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mvc-menu .sub-menu a { font-weight: 500; }
.mvc-header__call { white-space: nowrap; }
.mvc-burger { display: none; }

/* Buttons */
.mvc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.mvc-btn--primary { background: var(--brand); color: var(--brand-ink); }
.mvc-btn--primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.mvc-btn--ghost { border-color: var(--brand); color: var(--brand); background: transparent; }
.mvc-btn--ghost:hover { background: var(--brand); color: #fff; }
.mvc-btn--block { width: 100%; }

/* Hero */
.mvc-hero { position: relative; overflow: hidden; padding: 44px 0 64px; background:
	radial-gradient(900px 420px at 92% -10%, rgba(184, 138, 74, .16), transparent 60%),
	radial-gradient(700px 500px at -10% 110%, rgba(47, 93, 87, .14), transparent 60%),
	var(--bg); }
.mvc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.mvc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.mvc-crumbs a { color: var(--muted); }
.mvc-eyebrow { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: #7a5524; font-size: 14px; font-weight: 600; }
.mvc-lead { font-size: 19px; color: #36423f; max-width: 40em; }
.mvc-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 24px 0 28px; padding: 0; }
.mvc-facts li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mvc-facts .mvc-ico { color: var(--brand); stroke-width: 2.4; }
.mvc-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mvc-doctor { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; color: var(--muted); }

/* Form */
.mvc-hero__card .mvc-form, .mvc-cta__form .mvc-form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); }
.mvc-form__title { font-family: var(--serif); font-size: 24px; font-weight: 700; margin-bottom: 6px; }
.mvc-form__sub { color: var(--muted); font-size: 15px; }
.mvc-field { display: block; margin-bottom: 14px; }
.mvc-field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.mvc-field input, .mvc-field select { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fcfbf8; font: 500 16px var(--sans); color: var(--ink); }
.mvc-field input:focus, .mvc-field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(47, 93, 87, .14); }
.mvc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.mvc-check input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.mvc-note { padding: 12px 14px; border-radius: 12px; font-size: 15px; }
.mvc-note--ok { background: #e6f1e8; color: var(--ok); }
.mvc-note--err { background: #f7e7e3; color: var(--err); }

/* Sections */
.mvc-section { padding: 72px 0; }
.mvc-section--alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mvc-section--text .mvc-wrap { max-width: 860px; }
.mvc-intro { color: var(--muted); font-size: 18px; max-width: 46em; margin-bottom: 32px; }
.mvc-prose { font-size: 18px; }
.mvc-prose p, .mvc-prose li { color: #2c3735; }
.mvc-list { padding-left: 0; list-style: none; margin: 0 0 1.2em; }
.mvc-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.mvc-list li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.mvc-list--num { counter-reset: n; }
.mvc-list--num li { counter-increment: n; padding-left: 40px; }
.mvc-list--num li::before { content: counter(n); width: 28px; height: 28px; top: 0; left: 0; display: grid; place-items: center; background: var(--soft); color: var(--brand); font-weight: 700; font-size: 14px; }
.mvc-small { font-size: 14px; color: var(--muted); margin-top: 14px; }
.mvc-more { margin-top: 20px; font-weight: 700; }
.mvc-more a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; }

/* Cards */
.mvc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.mvc-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .18s, box-shadow .18s, border-color .18s; }
.mvc-section--alt .mvc-card { background: var(--bg); }
.mvc-card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd9d4; color: var(--ink); }
.mvc-card__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--soft); color: var(--brand); font-size: 24px; margin-bottom: 6px; }
.mvc-card__title { font-family: var(--serif); font-size: 21px; font-weight: 700; }
.mvc-card__text { color: var(--muted); font-size: 15.5px; flex: 1; }
.mvc-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 700; font-size: 15px; margin-top: 6px; }

/* Steps */
.mvc-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.mvc-steps li { position: relative; padding: 26px 24px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.mvc-section--alt .mvc-steps li { background: var(--bg); }
.mvc-steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 14px; }
.mvc-steps h3 { margin-bottom: 8px; }
.mvc-steps p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Features */
.mvc-features { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px 36px; }
.mvc-feature { display: flex; gap: 16px; }
.mvc-feature__ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: #8a6430; font-size: 26px; }
.mvc-feature h3 { margin-bottom: 6px; }
.mvc-feature p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Price list */
.mvc-pricelist { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 26px; }
.mvc-section--alt .mvc-pricelist { background: var(--bg); }
.mvc-price { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.mvc-price:last-child { border-bottom: 0; }
.mvc-price i { flex: 1; }
.mvc-price strong { font-size: 18px; white-space: nowrap; }
.mvc-price--free strong { color: var(--ok); }

/* Tables */
.mvc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.mvc-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.mvc-table th, .mvc-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.mvc-table thead th { background: var(--soft); font-size: 14px; color: var(--brand-dark); text-transform: uppercase; letter-spacing: .03em; }
.mvc-table tbody tr:last-child th, .mvc-table tbody tr:last-child td { border-bottom: 0; }
.mvc-table tbody th { font-weight: 700; white-space: nowrap; }
.mvc-table td:nth-child(2), .mvc-table td:nth-child(3) { white-space: nowrap; font-weight: 600; }
.mvc-table td.mvc-hide-sm { color: var(--muted); font-size: 14.5px; }

/* Compare */
.mvc-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; }
.mvc-plan { position: relative; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.mvc-section--alt .mvc-plan { background: var(--bg); }
.mvc-plan--accent { background: var(--brand) !important; color: #e8f0ed; border-color: var(--brand); }
.mvc-plan__badge { position: absolute; top: 18px; right: 18px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; }
.mvc-plan__name { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.mvc-plan--accent .mvc-plan__name { color: #fff; }
.mvc-plan__price { font-size: 30px; font-weight: 800; margin-bottom: 18px; }
.mvc-plan--accent .mvc-plan__price { color: #fff; }
.mvc-plan ul { list-style: none; margin: 0; padding: 0; }
.mvc-plan li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.mvc-plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2.4px solid var(--brand); border-bottom: 2.4px solid var(--brand); transform: rotate(-45deg); }
.mvc-plan--accent li::before { border-color: var(--accent-soft); }

/* Two columns */
.mvc-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; }
.mvc-two__col { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.mvc-two__col--good { border-color: #b9cfc6; background: var(--soft); }
.mvc-section--alt .mvc-two__col:not(.mvc-two__col--good) { background: var(--bg); }
.mvc-two ul { margin: 0; padding-left: 20px; }
.mvc-two li { margin-bottom: 8px; }

/* Urns */
.mvc-urns { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.mvc-urn { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 24px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mvc-section--alt .mvc-urn { background: var(--bg); }
.mvc-urn__shape { width: 46px; height: 58px; margin-bottom: 10px; border-radius: 12px 12px 18px 18px; background: linear-gradient(160deg, #d9c3a0, #a9814f); position: relative; }
.mvc-urn__shape::before { content: ""; position: absolute; left: 50%; top: -9px; width: 26px; height: 10px; transform: translateX(-50%); border-radius: 6px 6px 2px 2px; background: #8f6a3d; }
.mvc-urn span { color: var(--muted); font-size: 14px; }
.mvc-urn em { font-style: normal; font-weight: 700; color: var(--brand); margin-top: 4px; }

/* FAQ */
.mvc-section--faq .mvc-wrap { max-width: 900px; }
.mvc-faq { display: grid; gap: 10px; }
.mvc-faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.mvc-section--alt .mvc-faq details { background: var(--bg); }
.mvc-faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; position: relative; }
.mvc-faq summary::-webkit-details-marker { display: none; }
.mvc-faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--brand); font-size: 20px; font-weight: 600; }
.mvc-faq details[open] summary::after { content: "–"; }
.mvc-faq details > div { padding: 0 22px 18px; color: #36423f; }
.mvc-faq details > div p { margin: 0; }

/* Related */
.mvc-related { padding: 56px 0; }
.mvc-related h2 { font-size: 26px; }
.mvc-related__list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mvc-related__list a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.mvc-related__list a:hover { border-color: var(--brand); color: var(--brand); }

/* CTA */
.mvc-cta { padding: 76px 0; background: var(--brand-dark); color: #dbe6e2; }
.mvc-cta h2 { color: #fff; }
.mvc-cta__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.mvc-cta__phone { display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 12px; color: #fff; font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; text-decoration: none; }
.mvc-cta__phone:hover { color: var(--accent-soft); }
.mvc-cta__hours { display: flex; align-items: center; gap: 10px; color: #b9cdc6; }
.mvc-cta .mvc-form { color: var(--ink); }

/* Footer */
.mvc-footer { background: #17201f; color: #a9b7b3; padding: 56px 0 0; font-size: 15px; }
.mvc-footer a { color: #dfe8e5; text-decoration: none; }
.mvc-footer a:hover { color: #fff; text-decoration: underline; }
.mvc-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.mvc-footer__brand { font-family: var(--serif); font-size: 24px; color: #fff; font-weight: 700; }
.mvc-footer__h { color: #fff; font-weight: 700; margin-bottom: 14px; }
.mvc-footer ul { list-style: none; margin: 0; padding: 0; }
.mvc-footer li { margin-bottom: 9px; }
.mvc-footer__contacts li, .mvc-footer__contacts a { display: inline-flex; align-items: center; gap: 10px; }
.mvc-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding: 22px 20px 26px; border-top: 1px solid #2c3836; font-size: 13.5px; color: #84938f; }
.mvc-footer__bottom p { margin: 0; }

.mvc-callbar { display: none; }
.mvc-plain { padding-top: 48px; }
.mvc-postlist { list-style: none; padding: 0; }
.mvc-postlist li { padding: 16px 0; border-bottom: 1px solid var(--line); }

/* Responsive */
@media (max-width: 1200px) {
	.mvc-burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; }
	.mvc-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
	.mvc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.mvc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.mvc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.mvc-header { backdrop-filter: none; background: var(--bg); }
	.mvc-nav { position: fixed; inset: 0 0 0 auto; top: var(--mvc-head, 110px); width: min(380px, 100%); flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; background: var(--surface); border-left: 1px solid var(--line); box-shadow: var(--shadow); transform: translateX(105%); visibility: hidden; transition: transform .25s, visibility .25s; overflow-y: auto; }
	.mvc-nav.is-open { transform: none; visibility: visible; }
	.mvc-menu { flex-direction: column; }
	.mvc-menu a { padding: 12px 10px; font-size: 17px; }
	.mvc-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; background: transparent; }
	.mvc-menu .menu-item-has-children > a::after { display: none; }
	.mvc-hero__grid, .mvc-cta__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 782px) {
	.admin-bar .mvc-header { top: 0; }
}
@media (max-width: 720px) {
	body { font-size: 16px; padding-bottom: 64px; }
	.mvc-section { padding: 52px 0; }
	.mvc-hero { padding: 26px 0 44px; }
	.mvc-lead { font-size: 17px; }
	.mvc-prose { font-size: 17px; }
	.mvc-hide-sm { display: none !important; }
	.mvc-compare, .mvc-two { grid-template-columns: 1fr; }
	.mvc-features { grid-template-columns: 1fr; }
	.mvc-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.mvc-actions .mvc-btn { width: 100%; }
	.mvc-hero__card .mvc-form, .mvc-cta__form .mvc-form { padding: 22px 18px; }
	.mvc-pricelist { padding: 6px 16px; }
	.mvc-price { flex-wrap: wrap; gap: 4px 12px; }
	.mvc-price i { display: none; }
	.mvc-price strong { margin-left: auto; }
	.mvc-table th, .mvc-table td { padding: 12px; }
	.mvc-logo__text small { display: none; }
	.mvc-callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px; height: 60px; background: var(--brand); color: #fff; font-weight: 700; font-size: 17px; text-decoration: none; box-shadow: 0 -6px 18px rgba(0, 0, 0, .14); }
	.mvc-callbar:hover { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
.mvc-logo__text small { white-space: nowrap; }
.mvc-menu .menu-item-type-custom.current-menu-item > a { background: none; color: var(--ink); }

/* Правки после проверки на телефонах */
.mvc-hp { left: -9999px; top: 0; }
body.mvc-lock { overflow: hidden; }
.mvc-more a, .mvc-card__more { min-height: 44px; }
.mvc-more a { padding: 8px 0; }
@media (max-width: 720px) {
	.mvc-table { font-size: 14.5px; }
	.mvc-table th, .mvc-table td { padding: 11px 8px; }
	.mvc-table th:first-child, .mvc-table td:first-child { padding-left: 14px; }
	.mvc-table thead th { font-size: 12.5px; text-transform: none; letter-spacing: 0; white-space: normal; vertical-align: bottom; hyphens: auto; }
	.mvc-table tbody th { white-space: normal; }
	.mvc-table td:nth-child(2), .mvc-table td:nth-child(3) { white-space: normal; }
	.mvc-plan__badge { position: static; display: inline-block; margin-bottom: 12px; }
	.mvc-plan { padding: 24px 20px; }
	.mvc-faq summary { padding: 16px 52px 16px 16px; font-size: 16px; }
	.mvc-faq details > div { padding: 0 16px 16px; }
	.mvc-cta__phone { font-size: 26px; }
}
@media (max-width: 360px) {
	.mvc-wrap { padding: 0 14px; }
	.mvc-logo__text strong { font-size: 19px; }
	.mvc-logo__mark { width: 40px; height: 40px; }
	.mvc-btn { padding: 13px 16px; font-size: 15px; }
}
@media (max-width: 360px) {
	.mvc-table { font-size: 13.5px; }
	.mvc-table th, .mvc-table td { padding: 10px 6px; }
}

/* ===================== v2: тексты, перенесённые с mosvetcenter24.ru ===================== */
.mvc-hero--compact { padding: 34px 0 30px; border-bottom: 1px solid var(--line); }
.mvc-hero--compact h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: .3em; }
.mvc-hero__kicker > * { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px; background: var(--accent-soft); color: #7a5524; font: 600 14px/1.4 var(--sans); }
.mvc-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.mvc-hero__btns .mvc-btn { border-color: var(--brand); color: var(--brand); }
.mvc-hero__btns .mvc-btn:first-child { background: var(--brand); color: #fff; }
.mvc-hero__btns .mvc-btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.mvc-lead { font-size: 18px; color: #36423f; }
.mvc-lead > :last-child { margin-bottom: 0; }
.mvc-lead ul, .mvc-lead ol, .mvc-content ul, .mvc-content ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.mvc-lead li, .mvc-content li { margin-bottom: .45em; }
.mvc-meta { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.mvc-meta a { color: var(--muted); }

.mvc-content .mvc-section { padding: 56px 0; }
.mvc-content .mvc-section:nth-child(even) { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mvc-content .mvc-section:first-child { padding-top: 48px; }
.mvc-wrap--text { max-width: 860px; }
.mvc-content { font-size: 17.5px; }
.mvc-content h2 { margin-top: 1.4em; }
.mvc-content h3, .mvc-content h4 { margin-top: 1.3em; font-size: 21px; }
.mvc-content h4 { font-size: 19px; }
.mvc-content .mvc-wrap > :first-child, .mvc-content .mvc-card > :first-child, .mvc-content .mvc-plan > :first-child, .mvc-content .mvc-qa > :first-child { margin-top: 0; }
.mvc-content p, .mvc-content li { color: #2c3735; }
.mvc-content hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.mvc-content .mvc-kicker { margin: 0 0 6px; color: var(--accent); font: 700 14px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .05em; }
.mvc-content .mvc-kicker + h2 { margin-top: 0; }
.mvc-content .mvc-label { font-weight: 700; }

.mvc-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; background: var(--surface); font-size: 16px; }
.mvc-content th, .mvc-content td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.mvc-content thead th, .mvc-content tr:first-child th { background: var(--soft); }
.mvc-content .mvc-table-wrap { overflow-x: auto; margin: 0 0 1.4em; border-radius: 14px; }
.mvc-content .mvc-table-wrap table { margin: 0; }
.mvc-content .mvc-table tbody th { width: 55%; font-weight: 600; background: transparent; }

.mvc-content .mvc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin: 24px 0; }
.mvc-content .mvc-card { display: block; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.mvc-content .mvc-section:nth-child(odd) .mvc-card { background: var(--surface); }
.mvc-content .mvc-card h2, .mvc-content .mvc-card h3, .mvc-content .mvc-card h4, .mvc-content .mvc-card h5 { font-size: 20px; margin: 0 0 8px; }
.mvc-content .mvc-card p { font-size: 15.5px; color: var(--muted); }
.mvc-content .mvc-card > :last-child { margin-bottom: 0; }

.mvc-content .mvc-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: none; margin: 24px 0; }
.mvc-content .mvc-plan { padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.mvc-content .mvc-plan:nth-child(2) { background: var(--brand); border-color: var(--brand); }
.mvc-content .mvc-plan:nth-child(2) *, .mvc-content .mvc-plan:nth-child(2) li { color: #eef4f2; }
.mvc-content .mvc-plan:nth-child(2) li::before { border-color: var(--accent-soft); }
.mvc-content .mvc-plan h2, .mvc-content .mvc-plan h3 { font-size: 22px; margin: 0 0 6px; }
.mvc-content .mvc-plan__price { font: 800 28px/1.2 var(--sans); margin-bottom: 16px; }
.mvc-content .mvc-plan ul { list-style: none; padding: 0; }
.mvc-content .mvc-plan .mvc-btn { background: var(--accent); color: #fff; }

.mvc-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.mvc-content .mvc-btn { background: var(--brand); color: #fff; text-decoration: none; }
.mvc-content .mvc-btn:hover { background: var(--brand-dark); color: #fff; }
.mvc-btn--small { padding: 10px 18px; font-size: 15px; }

.mvc-content .mvc-checks { list-style: none; padding: 0; }
.mvc-content .mvc-checks li { position: relative; padding-left: 30px; }
.mvc-content .mvc-checks li::before { content: ""; position: absolute; left: 4px; top: .4em; width: 12px; height: 7px; border-left: 2.4px solid var(--brand); border-bottom: 2.4px solid var(--brand); transform: rotate(-45deg); }
.mvc-alert, .mvc-content blockquote.mvc-alert { margin: 20px 0; padding: 18px 22px; border-radius: 14px; background: #e6f1e8; border-left: 4px solid var(--ok); }
.mvc-alert p:last-child { margin: 0; }

.mvc-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.mvc-reviews blockquote { margin: 0; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mvc-content .mvc-section:nth-child(even) .mvc-reviews blockquote { background: var(--bg); }
.mvc-reviews blockquote::before { content: "★★★★★"; display: block; color: var(--accent); letter-spacing: 2px; margin-bottom: 8px; }
.mvc-reviews p { font-size: 15.5px; }
.mvc-reviews cite { display: block; font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--ink); }

.mvc-content .mvc-faq { margin: 20px 0; }
.mvc-content .mvc-faq details > :not(summary) { padding: 0 22px; }
.mvc-content .mvc-faq details > :last-child { padding-bottom: 16px; }
.mvc-faq--open { display: grid; gap: 12px; }
.mvc-qa { padding: 20px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.mvc-content .mvc-qa h2, .mvc-content .mvc-qa h3 { font-size: 19px; margin: 0 0 8px; }
.mvc-qa > :last-child { margin-bottom: 0; }

.mvc-video { position: relative; aspect-ratio: 16 / 9; margin: 20px 0; border-radius: 16px; overflow: hidden; background: #000; }
.mvc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.mvc-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.mvc-post { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mvc-post h2 { font-size: 21px; margin: 0 0 10px; }
.mvc-post h2 a { color: var(--ink); text-decoration: none; }
.mvc-post h2 a:hover { color: var(--brand); }
.mvc-post p:not(.mvc-meta) { color: var(--muted); font-size: 15.5px; flex: 1; }
.mvc-post__more { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; text-decoration: none; }
.mvc-pager { margin-top: 28px; }
.mvc-pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mvc-pager .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; }
.mvc-pager .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.mvc-cta__h { font-size: clamp(26px, 3.2vw, 36px); }
.mvc-related__list { list-style: none; margin: 18px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mvc-related__list a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; min-height: 44px; }

.mvc-topbar a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; }
.mvc-menu .sub-menu { max-height: 70vh; overflow-y: auto; min-width: 270px; }
.mvc-footer__menu { columns: 2; column-gap: 24px; }
.mvc-footer__contacts li { display: flex; gap: 10px; align-items: flex-start; }
.mvc-footer__contacts .mvc-ico { margin-top: .25em; }
.mvc-footer__bottom { flex-direction: column; gap: 10px; }
.mvc-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; }
.mvc-footer__legal li { margin: 0; }
.mvc-footer__req { color: #84938f; }

@media (max-width: 720px) {
	.mvc-content { font-size: 16.5px; }
	.mvc-content .mvc-section { padding: 40px 0; }
	.mvc-hero--compact { padding: 22px 0 22px; }
	.mvc-content th, .mvc-content td { padding: 10px 9px; font-size: 14.5px; }
	.mvc-content .mvc-table tbody th { width: auto; }
	.mvc-hero__btns .mvc-btn { width: 100%; }
	.mvc-footer__menu { columns: 1; }
	.mvc-content .mvc-cards, .mvc-reviews, .mvc-posts { grid-template-columns: 1fr; }
	.mvc-content .mvc-plan { padding: 22px 18px; }
	.mvc-topbar__in { justify-content: center; }
	.mvc-topbar span { display: none; }
}
.mvc-caption { color: var(--muted); font-size: 15px; font-style: italic; }
.mvc-author-sec { padding: 0 0 56px; }
.mvc-author { display: flex; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.mvc-author__mark { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--soft); color: var(--brand); font-size: 28px; }
.mvc-author p { margin: 0; }
.mvc-author__label { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.mvc-author__name { font: 700 20px/1.3 var(--serif); }
.mvc-author__name a { color: var(--ink); text-decoration: none; }
.mvc-author__bio { color: var(--muted); font-size: 15px; }
.mvc-footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
.mvc-footer a { overflow-wrap: anywhere; }
.mvc-topbar a { min-height: 32px; padding: 4px 0; }
@media (max-width: 1080px) and (min-width: 721px) {
	.mvc-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.mvc-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1200px) {
	/* Закрытое меню не выносим за край экрана — иначе на узких телефонах появляется горизонтальная прокрутка */
	.mvc-nav { transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s, visibility .2s; width: min(380px, 100vw); max-width: 100%; }
	.mvc-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
}
@media (max-width: 720px) {
	.mvc-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.mvc-footer__brand { font-size: 21px; }
}
.mvc-content ul.mvc-plain, .mvc-content ol.mvc-plain, .mvc-lead ul.mvc-plain, .mvc-lead ol.mvc-plain { list-style: none; padding-left: 0; }

/* ===== v2.0.1: правки после проверки на телефонах ===== */
/* Длинные слова не выходят за край экрана */
h1, h2, h3, h4, .mvc-card h2, .mvc-card h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.mvc-content, .mvc-lead { overflow-wrap: break-word; }
.mvc-content a { overflow-wrap: anywhere; }
/* Ссылки в подвале — удобная зона нажатия пальцем */
.mvc-footer__menu li, .mvc-footer__contacts li { margin-bottom: 0; }
.mvc-footer__menu a { display: inline-flex; align-items: center; min-height: 40px; }
.mvc-footer__contacts a { min-height: 40px; }
.mvc-footer__legal a { display: inline-flex; align-items: center; min-height: 32px; }
.mvc-content .mvc-table-wrap table { min-width: 100%; }
@media (max-width: 720px) {
	.mvc-content .mvc-table-wrap table { min-width: 520px; }
	.mvc-content .mvc-table-wrap .mvc-table { min-width: 0; }
	.mvc-content .mvc-table-wrap { box-shadow: inset -12px 0 10px -10px rgba(0, 0, 0, .12); }
}
@media (max-width: 1200px) {
	.mvc-menu a { white-space: normal; line-height: 1.35; }
}
@media (max-width: 420px) {
	.mvc-content h2 { font-size: 22px; }
	.mvc-content h3, .mvc-content h4 { font-size: 19px; }
	.mvc-hero h1 { font-size: 28px; }
}
@media (max-width: 360px) {
	.mvc-hero h1 { font-size: 25px; }
}
body.mvc-lock .mvc-callbar { display: none; }
@media (max-width: 1200px) { .mvc-nav { padding-bottom: 32px; overscroll-behavior: contain; } }
