/* viza.one 2026 — main styles */

/* Onest (SIL OFL 1.1), self-hosted variable font, weights 100–900 */
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/onest-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Onest";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/onest-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+20BD, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
	--berry: #7A1F5C;
	--berry-hover: #5E1747;
	--pink: #F4B5CF;
	--pink-soft: #F3DCE7;
	--ink: #15111F;
	--muted: #5E5563;
	--tint: #FAF3F6;
	--chip: #F3E4EC;
	--line: #EFE6EB;
	--line-2: #EADFE5;
	--white: #ffffff;
	--font: "Onest", "Manrope", "Segoe UI", Arial, sans-serif;
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 20px;
	--r-xl: 24px;
	--gap: 24px;
	--section: 72px;
	--pad: 24px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--berry); text-decoration: none; }
a:hover { color: var(--berry-hover); }
h1, h2, h3 { text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	padding: 10px 16px; border-radius: var(--r-sm);
	background: var(--ink); color: var(--white); font-weight: 600;
}
.skip-link:focus { top: 16px; color: var(--white); }

.container { width: 100%; max-width: calc(1200px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

.icon { flex-shrink: 0; display: block; }

/* ---------- Buttons, chips ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 16px 26px; border: 1px solid transparent; border-radius: var(--r-sm);
	font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center;
	cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { padding: 12px 18px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--berry); color: var(--white); }
.btn--primary:hover { background: var(--berry-hover); color: var(--white); }
.btn--white { background: var(--white); color: var(--berry); }
.btn--white:hover { background: var(--tint); color: var(--berry-hover); }
.btn--pink { background: var(--pink); color: var(--berry-hover); }
.btn--pink:hover { background: #F7C8DB; color: var(--berry-hover); }
.btn--line { border-color: var(--line-2); background: var(--white); color: var(--ink); font-weight: 600; }
.btn--line:hover { border-color: var(--berry); color: var(--berry); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.chips, .tag-list, .chip-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-nav { list-style: none; margin: 24px 0 0; padding: 0; }
.chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 10px; border-radius: 8px;
	background: var(--chip); color: var(--berry);
	font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap;
}
.chip--link { padding: 8px 12px; font-size: 14px; }
.chip--link:hover { background: var(--berry); color: var(--white); }
.chip--pink { background: var(--pink); color: var(--berry-hover); font-weight: 700; }
.chip--outline { background: transparent; border: 1px solid #B86A95; color: var(--white); }

.eyebrow {
	margin: 0; font-size: 13px; font-weight: 600; line-height: 1.4;
	letter-spacing: .08em; text-transform: uppercase; color: var(--berry);
}

.flag { display: block; object-fit: cover; border-radius: 6px; border: 1px solid var(--line-2); background: var(--white); }
.flag--sm { width: 32px; height: 24px; border-radius: 4px; }
.flag--lg { width: 80px; height: 60px; border-radius: 10px; }

.more-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* ---------- Header ---------- */

.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.site-brand { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.site-logo { display: flex; flex-shrink: 0; }
.site-brand__tag { margin: 0; font-size: 12px; line-height: 1.3; color: var(--muted); white-space: nowrap; }
.site-brand__tag a { color: var(--berry); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 2px; }
.site-brand__tag a:hover { text-decoration-color: currentColor; }
.site-logo img { display: block; width: 168px; height: 32px; }

.nav { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.nav a { display: block; padding: 6px 0; border-bottom: 2px solid transparent; color: var(--ink); white-space: nowrap; }
.nav a:hover { color: var(--berry); }
.nav a.is-active, .nav .current-menu-item > a { color: var(--berry); font-weight: 600; border-bottom-color: var(--berry); }
.site-nav__mobile { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__phone { margin-left: 6px; color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
	background: var(--berry); color: var(--white); cursor: pointer;
}
.icon-btn:hover { background: var(--berry-hover); color: var(--white); }
.icon-btn--line { background: var(--white); border: 1px solid var(--line-2); color: var(--ink); }
.icon-btn--line:hover { background: var(--tint); color: var(--berry); }
.menu-toggle { display: none; }

/* ---------- Sections ---------- */

.site-main { display: block; }
.section { padding-top: var(--section); }
.section--first { padding-top: 24px; }
.section--tight { padding-top: 32px; }
.site-main > .section:last-child { padding-bottom: var(--section); }

.section__head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.section__head--row { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 24px; }
.section__title { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; }
.section__lead { margin: 0; max-width: 720px; font-size: 17px; color: var(--muted); }

/* ---------- Hero ---------- */

.hero { padding: 44px 48px 48px; border-radius: var(--r-xl); background: var(--tint); }
.hero--plain { padding: 36px 40px 40px; }
.hero__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.hero__intro { display: flex; flex-direction: column; gap: 12px; max-width: 660px; }
.hero__title { margin: 0; font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; }
.hero__lead { margin: 0; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hero__subtitle { margin: 36px 0 20px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.hero--plain .hero__subtitle { margin-top: 0; }

.hero--service { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding: 36px 48px 48px; }
.hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }

.hero--404 { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 56px 48px; }
.hero__code { margin: 0; font-size: 88px; line-height: 1; font-weight: 700; color: var(--berry); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero--404 .search-field { width: 100%; max-width: 520px; }

.page-head { display: flex; flex-direction: column; gap: 16px; padding: 36px 48px 40px; border-radius: var(--r-xl); background: var(--tint); }
.page-head__row { display: flex; align-items: center; gap: 20px; }
.page-head__title { margin: 0; font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.page-head__lead { margin: 0; max-width: 820px; font-size: 18px; color: var(--muted); }
.page-head__lead p { margin: 0 0 8px; }
.page-head__lead p:last-child { margin-bottom: 0; }
.page-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.page-head .search-field { max-width: 640px; }
.page-head .chip-nav { margin-top: 8px; }

/* ---------- Breadcrumbs ---------- */

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.crumbs li { display: flex; gap: 8px; }
.crumbs li + li::before { content: "/"; color: #B9ADB4; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--berry); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Search ---------- */

.search-field {
	display: flex; align-items: center; gap: 10px;
	width: 380px; max-width: 100%; min-height: 56px; padding: 6px 6px 6px 16px;
	border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--muted);
	flex-shrink: 0;
}
.search-field:focus-within { border-color: var(--berry); }
.search-field input { flex: 1; min-width: 0; padding: 8px 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.search-field input::-webkit-search-cancel-button { display: none; }

/* ---------- Service grid ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.svc-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.svc-card {
	display: flex; flex-direction: column; gap: 14px; height: 100%;
	padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--ink);
	transition: border-color .15s, box-shadow .15s, transform .15s;
}
.svc-card:hover { border-color: var(--pink); color: var(--ink); box-shadow: 0 8px 24px rgba(122, 31, 92, .08); transform: translateY(-1px); }
.svc-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.svc-card__top .flag { width: 48px; height: 36px; }
.svc-card__name { font-size: 17px; font-weight: 600; line-height: 1.25; }
.svc-card__price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; font-size: 15px; font-weight: 600; color: var(--muted); }
.svc-card:hover .svc-card__price { color: var(--berry); }

/* ---------- Link cards, steps ---------- */

.link-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.link-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-card {
	display: flex; flex-direction: column; gap: 10px; height: 100%;
	padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink); background: var(--white);
	transition: border-color .15s, background-color .15s;
}
.link-card > .icon { color: var(--berry); margin-bottom: 4px; }
.link-card:hover { border-color: var(--pink); background: var(--tint); color: var(--ink); }
.link-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.link-card__text { flex-grow: 1; font-size: 15px; color: var(--muted); }
.link-card__more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--berry); }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-md); }
.step__num { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--berry); color: var(--white); font-weight: 700; }
.step__title { font-size: 17px; font-weight: 700; }
.step__text { font-size: 15px; color: var(--muted); }

/* ---------- Post cards ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card__link {
	display: flex; flex-direction: column; gap: 12px; height: 100%;
	padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.post-card__link:hover { border-color: var(--pink); color: var(--ink); box-shadow: 0 8px 24px rgba(122, 31, 92, .08); }
.post-card__meta { display: flex; align-items: center; gap: 10px; }
.post-card__kind { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--berry); }
.post-card__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.post-card__excerpt { flex-grow: 1; font-size: 15px; color: var(--muted); }
.post-card__more { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--berry); }

.empty { margin: 0; padding: 32px; border-radius: var(--r-md); background: var(--tint); color: var(--muted); }

/* ---------- Pagination ---------- */

.pager ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 40px 0 0; padding: 0; list-style: none; }
.pager a, .pager span.page-numbers, .pager .post-page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm);
	color: var(--ink); font-weight: 600;
}
.pager a:hover { border-color: var(--berry); color: var(--berry); }
.pager .current { background: var(--berry); border-color: var(--berry); color: var(--white); }
.pager .dots { border: 0; }

/* ---------- Service page ---------- */

.price-box {
	align-self: start; display: flex; flex-direction: column; gap: 16px;
	margin-top: 34px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--white);
}
.price-box__rows { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.price-box__rows li { display: flex; justify-content: space-between; gap: 16px; }
.price-box__rows span { color: var(--muted); }
.price-box__rows strong { font-weight: 600; white-space: nowrap; }
.price-box__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-box__total span { font-size: 15px; color: var(--muted); }
.price-box__total strong { font-size: 28px; line-height: 1.1; white-space: nowrap; }
.price-box__note { margin: 0; color: var(--muted); }

.included { margin-bottom: 20px; padding: 28px 32px; border-radius: 18px; background: var(--tint); }
.included__title { margin: 0 0 14px; font-weight: 700; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; }
.check-list .icon { margin-top: 1px; color: var(--berry); }
.check-list .is-off { color: var(--muted); }
.check-list .is-off .icon { color: #B9ADB4; }
.check-list--cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 24px; }

.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.price-card { display: flex; flex-direction: column; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.price-card__title { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 700; }
.price-card .check-list { flex-grow: 1; font-size: 15px; }
.price-card__note { margin: 0; font-size: 14px; color: var(--muted); }
.price-card__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price-card__price { font-size: 26px; font-weight: 700; white-space: nowrap; }
.price-card__price--ask { font-size: 18px; color: var(--muted); }
.price-box .price-box__note { padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }

.time-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.time-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); }
.time-card .icon { color: var(--berry); }
.time-card__value { font-size: 22px; font-weight: 700; line-height: 1.25; }
.time-card__text { font-size: 15px; color: var(--muted); }
.note { margin: 20px 0 0; padding: 20px 24px; border-left: 4px solid var(--berry); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--tint); }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.info-card { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 36px; border: 1px solid var(--line); border-radius: 18px; }
.info-card--tint { border-color: var(--tint); background: var(--tint); }
.info-card__title { margin: 0; font-size: 24px; line-height: 1.25; font-weight: 700; }
.info-card p { margin: 0; }
.office-list { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.office-list li { display: flex; gap: 12px; }
.office-list .icon { margin-top: 2px; color: var(--berry); }
.office-list strong { display: block; }

/* ---------- Service CTA ---------- */

.service-cta {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 32px;
	padding: 40px; border-radius: var(--r-lg); background: var(--berry); color: var(--white);
}
.service-cta__flag { width: 88px; height: 66px; border: 2px solid var(--pink); border-radius: var(--r-sm); }
.service-cta__text { display: flex; flex-direction: column; gap: 10px; }
.service-cta__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; }
.service-cta p { margin: 0; color: var(--pink-soft); }
.service-cta--compact { grid-template-columns: 1fr; gap: 16px; padding: 28px; }
.service-cta--compact .service-cta__flag { width: 64px; height: 48px; }
.service-cta--compact .service-cta__title { font-size: 22px; }
.service-cta--compact .btn { width: 100%; }

/* ---------- Perevod ---------- */

.perevod {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px;
	padding: 36px 40px; border-radius: var(--r-lg); background: var(--tint);
}
.perevod__text { display: flex; flex-direction: column; gap: 12px; }
.perevod__title { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 700; }
.perevod__text p:last-child { margin: 0; max-width: 700px; color: var(--muted); }

/* ---------- Request ---------- */

.request {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); align-items: start; gap: 48px;
	padding: 48px; border-radius: var(--r-xl); background: var(--berry); color: var(--white);
}
.request__text { display: flex; flex-direction: column; gap: 14px; }
.request__title { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; }
.request__text p { margin: 0; font-size: 17px; color: var(--pink-soft); }
.request__links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.request__phone { margin-left: 8px; color: var(--white); font-size: 18px; font-weight: 700; white-space: nowrap; }
.request__phone:hover { color: var(--pink); }

.form-card { padding: 28px; border-radius: 18px; background: var(--white); color: var(--ink); }
.form-card--line { border: 1px solid var(--line); }
.form-fallback { margin: 0; }

/* Contact Form 7 */
.wpcf7 form { display: flex; flex-direction: column; gap: 14px; }
.wpcf7 form > p, .wpcf7 form .vo-field { margin: 0; }
.wpcf7 label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.wpcf7 label > .wpcf7-form-control-wrap { margin-top: 6px; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 textarea, .wpcf7 select,
.field input {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--white);
	font-size: 16px; font-weight: 400; color: var(--ink);
}
.wpcf7 textarea { min-height: 110px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus, .field input:focus { outline: 0; border-color: var(--berry); box-shadow: 0 0 0 3px var(--chip); }
.wpcf7 input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); font-size: 14px; }
.wpcf7 .wpcf7-radio, .wpcf7 .wpcf7-checkbox, .wpcf7 .wpcf7-acceptance { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label { display: inline-flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.wpcf7 input[type="radio"], .wpcf7 input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--berry); }
.wpcf7 input[type="submit"], .wpcf7 button[type="submit"] {
	width: 100%; min-height: 54px; padding: 14px 24px; border: 0; border-radius: var(--r-sm);
	background: var(--berry); color: var(--white); font-size: 16px; font-weight: 700; cursor: pointer;
}
.wpcf7 input[type="submit"]:hover, .wpcf7 button[type="submit"]:hover { background: var(--berry-hover); }
.wpcf7-spinner { margin: 8px auto 0; display: block; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; }
.wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; font-weight: 500; }
.wpcf7 br { display: none; }
.vo-field { margin: 0; }
.vo-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.vo-choice { margin: 0; padding: 0; border: 0; min-width: 0; }
.vo-choice legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.req { color: var(--berry); }
.wpcf7 .wpcf7-list-item label { font-size: 15px; }

/* ---------- Layout with aside ---------- */

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 56px; }
.layout-aside__side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; }
.aside-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; }
.aside-card__title { margin: 0 0 4px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 12px; }
.contact-list .icon { color: var(--berry); }
.contact-list a { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--berry); }

.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); }
.contact-card .icon { color: var(--berry); margin-bottom: 4px; }
.contact-card__label { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-card a { font-size: 18px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.contact-card a:hover { color: var(--berry); }

/* ---------- Payment ---------- */

.pay-layout { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: start; gap: 56px; }
.pay-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 12px 32px rgba(122, 31, 92, .06); }
.pay-card__lead { margin: 0; font-weight: 600; }
.pay-card__hint { margin: 0; font-size: 14px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }

/* ---------- Catalogues ---------- */

.region-grid { columns: 2; column-gap: 20px; }
.region-card { break-inside: avoid; margin: 0 0 20px; padding: 32px; border: 1px solid var(--line); border-radius: 18px; }
.region-card__title { margin: 0 0 16px; font-size: 26px; line-height: 1.2; font-weight: 700; }
.region-card__body h3 { margin: 20px 0 10px; font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.region-card__body h3:first-child { margin-top: 0; }
.region-card__body ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.region-card__body ul + ul { margin-top: 8px; }
.region-card__body li { display: inline-block; padding: 7px 12px; border-radius: 8px; background: var(--tint); font-size: 15px; font-weight: 500; }
.region-card__body li:has(> a) { padding: 0; background: none; }
.region-card__body li a, .region-card__body li > span {
	display: inline-block; padding: 7px 12px; border-radius: 8px; background: var(--tint); color: var(--ink); font-size: 15px; font-weight: 500;
}
.region-card__body li a:hover { background: var(--berry); color: var(--white); }
.region-card__body p { margin: 0 0 12px; }

.type-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.type-card { padding: 32px; border: 1px solid var(--line); border-radius: 18px; }
.type-card__title { margin: 0 0 16px; font-size: 24px; line-height: 1.25; font-weight: 700; }
.type-card__body p { margin: 0 0 10px; color: var(--muted); }
.type-card__body ul { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.type-card__body li { position: relative; padding-left: 22px; }
.type-card__body li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.type-card__body li:has(> a)::before { display: none; }
.type-card__body li:has(> a) { padding-left: 0; }
.type-card__body li > a { display: inline-flex; font-weight: 600; }
.type-card__body li > a::after { content: " →"; white-space: pre; }

/* ---------- Search results ---------- */

.result-list { display: flex; flex-direction: column; margin: 0 0 40px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.result__link { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.result__link:hover .result__title { color: var(--berry); }
.result__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.result__text { color: var(--muted); }

/* ---------- Prose (content from the editor) ---------- */

.prose { min-width: 0; font-size: 17px; line-height: 1.65; }
.prose--narrow { max-width: 820px; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 18px; }
.prose h2 { margin: 44px 0 16px; font-size: 28px; line-height: 1.25; font-weight: 700; }
.prose h3 { margin: 32px 0 12px; font-size: 21px; line-height: 1.3; font-weight: 700; }
.prose h4 { margin: 24px 0 10px; font-size: 18px; font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--berry); }
.prose a { text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 24px 0; padding: 20px 24px; border-left: 4px solid var(--berry); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: var(--tint); }
.prose blockquote p:last-child { margin: 0; }
.prose img { border-radius: 12px; }
.prose figure { margin: 28px 0; }
.prose figcaption, .prose .wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--muted); text-align: left; }
.prose table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 15px; }
.prose .wp-block-table { overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th, .prose thead td { background: var(--tint); font-weight: 700; }
.prose hr { margin: 36px 0; border: 0; border-top: 1px solid var(--line); }
.prose iframe { max-width: 100%; border: 0; border-radius: 12px; }
.prose .wp-block-buttons { margin: 24px 0; }
.prose .wp-block-button__link { display: inline-flex; padding: 14px 24px; border-radius: var(--r-sm); background: var(--berry); color: var(--white); font-weight: 700; text-decoration: none; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .wp-block-embed__wrapper { position: relative; }
.prose > .wpcf7 { margin-top: 24px; }
.prose .callout { margin: 28px 0; padding: 24px 28px; border-radius: var(--r-md); background: var(--tint); }
.prose .callout p { margin: 0 0 8px; }
.prose .callout p:last-child { margin: 0; }
.prose .callout__title { font-weight: 700; }
.tag-list { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Footer ---------- */

.site-footer { margin-top: 0; background: var(--berry); color: var(--white); }
.site-main > .section:last-child { padding-bottom: var(--section); }
.site-footer .container { padding-top: 64px; padding-bottom: 36px; }
.site-footer__grid { display: grid; grid-template-columns: 3fr 2fr 2fr 2fr 2fr; gap: 32px; font-size: 15px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__brand img { display: block; width: 168px; height: 32px; }
.site-footer__brand p { margin: 0; max-width: 280px; color: var(--pink-soft); }
.site-footer__brand .site-footer__tag { margin-top: -8px; font-size: 13px; }
.site-footer__tag a { color: var(--white); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 2px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer__contacts { gap: 6px !important; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--pink); }
.site-footer__phone { font-weight: 700; }
.site-footer__title { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #94406F; font-size: 14px; color: var(--pink-soft); }
.site-footer__legal { flex-direction: row !important; flex-wrap: wrap; gap: 8px 24px !important; }
.site-footer__legal a { color: var(--pink-soft); }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
	.nav { gap: 20px; }
	.site-header__phone { display: none; }
	.svc-grid, .svc-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	:root { --section: 56px; }
	.menu-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; display: none;
		padding: 8px var(--pad) 24px; background: var(--white); border-bottom: 1px solid var(--line);
		box-shadow: 0 16px 32px rgba(21, 17, 31, .08);
	}
	.site-nav.is-open { display: block; }
	.nav { flex-direction: column; align-items: stretch; gap: 0; font-size: 17px; }
	.nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
	.nav a.is-active { border-bottom-color: var(--line); }
	.site-nav__mobile { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; font-weight: 600; }
	.site-nav__phone { font-size: 18px; color: var(--ink); }

	.hero__head { flex-direction: column; align-items: stretch; gap: 24px; }
	.search-field { width: 100%; }
	.hero--service { grid-template-columns: 1fr; gap: 24px; }
	.price-box { margin-top: 0; }
	.link-grid, .steps, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-grid, .price-grid, .time-grid, .link-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.check-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.layout-aside { grid-template-columns: 1fr; gap: 40px; }
	.layout-aside__side { position: static; }
	.request { grid-template-columns: 1fr; gap: 32px; }
	.pay-layout { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	:root { --section: 48px; --pad: 16px; }
	body { font-size: 16px; }
	.site-header__row { min-height: 64px; gap: 12px; }
	.site-logo img { width: 142px; height: 27px; }
	.site-brand__tag { font-size: 10.5px; letter-spacing: -.01em; }
	.site-header__actions .icon-btn { width: 38px; height: 38px; }
	.site-header__actions { gap: 8px; }
	.site-header__actions .icon-btn--line:first-child { display: none; }
	.section--first { padding-top: 16px; }
	.section--tight { padding-top: 24px; }
	.hero, .hero--plain, .hero--service, .page-head, .hero--404 { padding: 24px 20px 28px; border-radius: var(--r-lg); }
	.hero__title { font-size: 30px; }
	.page-head__title { font-size: 28px; }
	.hero__lead, .page-head__lead { font-size: 16px; }
	.hero__subtitle { margin-top: 28px; font-size: 18px; }
	.hero__code { font-size: 64px; }
	.section__title { font-size: 24px; }
	.section__head--row { flex-direction: column; align-items: flex-start; gap: 8px; }
	.svc-grid, .svc-grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.svc-card { padding: 14px; gap: 10px; }
	.svc-card__name { font-size: 16px; }
	.svc-card__price { font-size: 14px; }
	.svc-card__price .icon--arrow { display: none; }
	.link-grid, .link-grid--3, .steps, .post-grid, .price-grid, .time-grid, .info-grid, .type-grid, .contact-cards { grid-template-columns: 1fr; }
	.region-grid { columns: 1; }
	.check-list--cols { grid-template-columns: 1fr; }
	.link-card, .post-card__link, .step, .time-card, .contact-card { padding: 20px; }
	.included, .price-card, .info-card, .region-card, .type-card, .aside-card, .pay-card { padding: 22px 20px; }
	.service-cta { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
	.service-cta__title { font-size: 22px; }
	.service-cta .btn { width: 100%; }
	.perevod { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
	.perevod__title { font-size: 21px; }
	.perevod .btn { width: 100%; }
	.request { padding: 28px 20px; border-radius: var(--r-lg); }
	.request__title { font-size: 24px; }
	.request__links .btn { flex: 1 1 140px; }
	.vo-row { grid-template-columns: 1fr; }
	.request__phone { margin: 4px 0 0; width: 100%; }
	.form-card { padding: 20px; }
	.prose { font-size: 16px; }
	.prose h2 { margin-top: 36px; font-size: 23px; }
	.prose h3 { font-size: 19px; }
	.prose table { display: block; overflow-x: auto; }
	.price-box { padding: 22px 20px; }
	.price-box__total strong { font-size: 24px; }
	.site-footer .container { padding-top: 48px; }
	.site-footer__grid { gap: 28px 20px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Country grid (visa-free / visa on arrival lists) ---------- */

.prose .country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.prose .country-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: min-content min-content; align-content: center; column-gap: 14px; row-gap: 3px; align-items: center; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); line-height: 1.35; transition: border-color .15s; }
.prose .country-item:hover { border-color: var(--pink); }
.prose .country-item[hidden] { display: none; }
.prose .country-item__flag { grid-row: 1 / span 2; align-self: center; width: 40px; height: 30px; object-fit: cover; border-radius: 5px; border: 1px solid var(--line-2); background: var(--tint); }
.prose .country-item__name { align-self: end; font-size: 16px; font-weight: 600; color: var(--ink); }
.prose .country-item__name a { color: var(--berry); text-decoration: none; }
.prose .country-item__name a:hover { text-decoration: underline; text-decoration-color: var(--pink); }
.prose .country-item__note { align-self: start; font-size: 14px; color: var(--muted); }
.prose .country-item:not(:has(.country-item__flag)) { grid-template-columns: minmax(0, 1fr); }
.country-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 28px 0 0; padding: 16px 18px; border-radius: var(--r-md); background: var(--tint); }
.country-filter .search-field { width: 340px; min-height: 48px; }
.country-filter__count { font-size: 15px; font-weight: 600; color: var(--muted); }
.country-filter__empty { margin: 16px 0 0; color: var(--muted); }
@media (max-width: 760px) {
	.prose .country-grid { grid-template-columns: 1fr; gap: 8px; }
	.country-filter .search-field { width: 100%; }
}

/* ---------- Service page additions: price notes, FAQ, callouts ---------- */

.price-box .price-box__fx { margin: -6px 0 0; font-size: 13px; color: var(--muted); text-align: right; }
.price-notes { display: flex; flex-direction: column; gap: 8px; margin-top: 20px; padding: 18px 22px; border-radius: var(--r-md); background: var(--tint); font-size: 15px; }
.price-notes p { margin: 0; }
.price-notes__fx { color: var(--muted); font-size: 14px; }

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.faq__title { margin: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon { flex-shrink: 0; margin-top: 4px; color: var(--berry); transition: transform .2s; }
.faq__item[open] .faq__q .icon { transform: rotate(45deg); }
.faq__q:hover { color: var(--berry); }
.faq__a { padding: 0 40px 20px 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq__a p { margin: 0; }

.prose .callout--warn { border-left: 4px solid var(--berry); border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose .callout__title { margin: 0 0 6px; }
.prose ul.docs { list-style: none; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-md); }
.prose ul.docs li { position: relative; margin: 0; padding: 6px 0 6px 32px; }
.prose ul.docs li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4L18 8' stroke='%237A1F5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.prose ul.benefits { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prose ul.benefits li { margin: 0; padding: 18px 20px; border-radius: var(--r-md); background: var(--tint); font-size: 16px; line-height: 1.5; }

@media (max-width: 1024px) {
	.faq { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
	.faq__q { font-size: 16px; padding: 16px 0; }
	.faq__a { padding-right: 0; font-size: 15px; }
	.prose ul.benefits { grid-template-columns: 1fr; }
	.price-notes { padding: 16px 18px; }
}

/* ------------------------------------------------------------------ */
/* Home: CTA in the country grid, benefits line, compact list          */
/* ------------------------------------------------------------------ */
.svc-grid__cta { grid-column: 1 / -1; }
.svc-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; padding: 22px 28px; border-radius: 14px; background: var(--berry); color: var(--white); transition: background .15s; }
.svc-cta:hover { background: var(--berry-hover); color: var(--white); }
.svc-cta__text { display: flex; flex-direction: column; gap: 6px; }
.svc-cta__title { font-size: 19px; font-weight: 700; line-height: 1.25; }
.svc-cta__lead { font-size: 15px; line-height: 1.45; color: #F3DCE7; }
.svc-cta__btn { flex-shrink: 0; padding: 10px 18px; border-radius: 8px; background: var(--pink); color: #5E1747; font-size: 15px; font-weight: 700; }
.svc-cta:hover .svc-cta__btn { background: #F7C8DB; }

.benefits-line { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.benefits-line li { display: flex; align-items: center; gap: 8px; }
.benefits-line .icon { flex-shrink: 0; color: var(--berry); }

.section__head--split { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section__head--split .section__lead { max-width: 560px; font-size: 15px; line-height: 1.5; }
.section__head--end { align-items: flex-end; }
.section__head--end > div { display: flex; flex-direction: column; gap: 8px; }

.mini-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.mini-card { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; transition: border-color .15s, color .15s; }
.mini-card:hover { border-color: var(--pink); color: var(--berry); }
.mini-card .flag { width: 30px; height: 22px; flex-shrink: 0; border-radius: 4px; }
.mini-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------------ */
/* Home: «Справочник по визам»                                         */
/* ------------------------------------------------------------------ */
.btn--outline { border: 1.5px solid var(--berry); background: transparent; color: var(--berry); font-weight: 600; }
.btn--outline:hover { background: var(--berry); color: var(--white); }
.btn--outline .icon { width: 16px; }
.ref-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.ref-grid + .ref-grid { margin-top: 28px; }
.ref-card { display: flex; gap: 16px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.ref-card:hover { border-color: var(--pink); color: var(--ink); box-shadow: 0 8px 24px rgba(122, 31, 92, .08); }
.ref-card .flag { width: 48px; height: 36px; flex-shrink: 0; }
.ref-card__body { display: flex; flex-direction: column; gap: 6px; }
.ref-card__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.ref-card:hover .ref-card__title { color: var(--berry); }
.ref-card__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.ref-list { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px; border-radius: 14px; background: var(--tint); color: var(--ink); transition: background .15s; }
.ref-list:hover { background: var(--chip); color: var(--ink); }
.ref-list__title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.ref-list__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.ref-types { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 28px; }
.ref-types__label { font-size: 15px; font-weight: 600; }
.ref-types .chips { margin: 0; padding: 0; list-style: none; }
.ref-chip { display: inline-block; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 500; transition: border-color .15s, color .15s; }
.ref-chip:hover { border-color: var(--berry); color: var(--berry); }

@media (max-width: 1180px) {
	.mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.ref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ref-grid--lists { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.section__head--split { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 760px) {
	.svc-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
	.benefits-line { flex-direction: column; gap: 10px; margin-top: 20px; }
	.mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mini-card { height: 52px; padding: 0 12px; gap: 10px; font-size: 14px; }
	.ref-grid, .ref-grid--lists { grid-template-columns: 1fr; gap: 12px; }
	.ref-grid + .ref-grid { margin-top: 16px; }
	.ref-card { padding: 18px; }
	.ref-list { padding: 20px; }
	.section__head--end { align-items: flex-start; }
}

/* Long price labels ("16 800 ₽ + SDF по курсу", "по тарифам perevod.one") must not widen the page. */
.price-box__rows span { min-width: 0; }
.price-box__rows strong { text-align: right; }
.price-card__price { overflow-wrap: anywhere; }
@media (max-width: 1024px) {
	.hero--service { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.price-grid { grid-template-columns: minmax(0, 1fr); }
	.price-box__rows strong, .price-box__total strong, .price-card__price { white-space: normal; }
	.price-box__total { flex-wrap: wrap; }
}

/* Visa format badge on country cards */
.svc-card__badge { flex-shrink: 0; padding: 4px 8px; border-radius: 6px; background: var(--chip); color: var(--berry); font-size: 12px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
@media (max-width: 760px) {
	.svc-card__badge { padding: 3px 6px; font-size: 11px; }
	.svc-card__top .flag { width: 36px; height: 27px; }
}
/* Long totals ("от 16 800 ₽ + SDF за каждую ночь") wrap inside the price box. */
.price-box__total { flex-wrap: wrap; }
.price-box__total strong { white-space: normal; text-align: right; margin-left: auto; }

/* ---------- Region hubs ---------- */

.hub-hero {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 40px;
	padding: 40px 40px 40px 48px; border-radius: var(--r-xl); background: var(--tint);
}
.hub-hero__main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hub-hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hub-hero__eyebrow { padding: 6px 12px; border-radius: 999px; background: var(--chip); color: var(--berry); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hub-hero__title { margin: 0; font-size: 52px; line-height: 1.05; font-weight: 700; letter-spacing: -.015em; }
.hub-hero__lead { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hub-hero__search { max-width: 480px; }
.hub-hero__img { display: block; width: 100%; height: auto; }
.hub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding-top: 6px; }
.hub-stats__item { display: flex; flex-direction: column; gap: 6px; }
.hub-stats dt { font-size: 34px; line-height: 1; font-weight: 700; color: var(--berry); white-space: nowrap; }
.hub-stats dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted); text-wrap: balance; }

.hub-grid .hub-grid__cta { grid-column: var(--cta5, 1 / -1); }
@media (min-width: 1181px) {
	.hub-grid .hub-grid__cta--narrow .svc-cta { flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; }
}
.svc-card__badge--free { background: #E7F4EC; color: #1F6B3E; }

.hub-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hub-fact { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: var(--r-md); background: var(--tint); }
.hub-fact__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--white); color: var(--berry); }
.hub-fact__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; }
.hub-fact__text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.hub-alert { display: flex; align-items: center; gap: 12px; margin: 16px 0 0; padding: 16px 20px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.hub-alert svg { flex-shrink: 0; width: 22px; height: 22px; }
.hub-alert--warn { border: 1px solid #F3DDBF; background: #FFF6E9; color: #5A3B12; }
.hub-alert--warn svg { color: #B45309; }
.hub-alert--info { border: 1px solid var(--line-2); background: var(--tint); color: var(--ink); }
.hub-alert--info svg { color: var(--berry); }

.hub-dest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.hub-dest__card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.hub-dest__card:hover { border-color: var(--pink); color: var(--ink); box-shadow: 0 8px 24px rgba(122, 31, 92, .08); }
.hub-dest__img { display: block; width: 100%; height: auto; aspect-ratio: 360 / 220; object-fit: cover; }
.hub-dest__body { display: flex; flex-direction: column; flex-grow: 1; gap: 10px; padding: 22px 24px 24px; }
.hub-dest__name { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; }
.hub-dest__name .flag { width: 28px; height: 21px; border-radius: 4px; }
.hub-dest__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.hub-dest__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; }
.hub-dest__more { display: inline-flex; align-items: center; gap: 8px; color: var(--berry); }

.hub-more { display: grid; grid-template-columns: 340px minmax(0, 1fr); align-items: start; gap: 40px; }
.hub-more__head { display: flex; flex-direction: column; gap: 10px; }
.hub-more__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; }
.hub-more__lead { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.hub-more__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.perevod__langs { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.perevod__langs li { padding: 6px 12px; border-radius: 999px; background: var(--white); color: var(--berry); font-size: 14px; font-weight: 600; }

.hub-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.hub-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.hub-card:hover { border-color: var(--pink); color: var(--ink); box-shadow: 0 8px 24px rgba(122, 31, 92, .08); transform: translateY(-1px); }
.hub-card__img { display: block; width: 100%; height: auto; aspect-ratio: 560 / 440; background: var(--tint); transform: scale(1.12); transition: transform .3s; }
.hub-card:hover .hub-card__img { transform: scale(1.16); }
.hub-card__body { position: relative; background: var(--white); }
.hub-card__body { display: flex; flex-direction: column; flex-grow: 1; gap: 8px; padding: 18px 20px 20px; }
.hub-card__title { font-size: 20px; font-weight: 700; line-height: 1.25; }
.hub-card__text { font-size: 14px; line-height: 1.5; color: var(--muted); }
.hub-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.hub-card__flags { display: flex; gap: 4px; }
.hub-card__flags .flag { width: 24px; height: 18px; border-radius: 3px; }
.hub-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--berry); white-space: nowrap; }

@media (max-width: 1180px) {
	.hub-grid .hub-grid__cta { grid-column: var(--cta3, 1 / -1); }
	.hub-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 32px; }
	.hub-hero__title { font-size: 44px; }
	.hub-facts, .hub-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hub-more { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 1024px) {
	.hub-hero { grid-template-columns: minmax(0, 1fr); }
	.hub-hero__img { max-width: 520px; margin: 0 auto; }
	.hub-dest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hub-more__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.hub-hero { padding: 24px 20px 28px; border-radius: var(--r-lg); gap: 24px; }
	.hub-hero__title { font-size: 32px; }
	.hub-hero__lead { font-size: 16px; }
	.hub-stats { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.hub-stats__item { flex-direction: row; align-items: baseline; gap: 12px; }
	.hub-stats dt { flex: 0 0 88px; font-size: 26px; }
	.hub-grid .hub-grid__cta { grid-column: 1 / -1; }
	.hub-facts, .hub-dest, .hub-cards { grid-template-columns: minmax(0, 1fr); }
	.hub-fact { padding: 22px 20px; }
	.hub-alert { align-items: flex-start; }
	.hub-more__title { font-size: 24px; }
	.hub-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.hub-cards { gap: 12px; }
	.hub-card { flex-direction: row; }
	.hub-card__img { flex: 0 0 116px; width: 116px; height: auto; aspect-ratio: auto; align-self: stretch; object-fit: cover; object-position: 62% 50%; }
	.hub-card__body { padding: 14px 16px 16px; gap: 6px; }
	.hub-card__title { font-size: 18px; }
	.hub-card__text { font-size: 13px; }
	.hub-card__flags { display: none; }
	.hub-card__foot { padding-top: 4px; }
}

/* Article → country hub strip (first screen) */
.hub-strip { display: inline-flex; align-items: center; gap: 12px; align-self: flex-start; margin-top: 4px; padding: 12px 18px; border-radius: 12px; background: var(--berry); color: var(--white); font-size: 15px; font-weight: 600; line-height: 1.35; }
.hub-strip:hover { background: var(--berry-hover); color: var(--white); }
.hub-strip .icon { flex-shrink: 0; }

/* Expert block */
.expert { display: flex; align-items: flex-start; gap: 20px; margin: 40px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.expert--wide { margin: 0; padding: 28px 32px; background: var(--tint); border-color: transparent; }
.expert__photo { flex-shrink: 0; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; }
.expert__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.expert__body p { margin: 0; }
.expert__label { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--berry); }
.expert__name { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.expert__role { font-size: 15px; color: var(--muted); }
.expert__bio { margin-top: 8px !important; font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 760px; }
.expert__date { margin-top: 8px !important; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
	.expert, .expert--wide { flex-direction: column; gap: 14px; padding: 20px; }
	.expert__photo { width: 72px; height: 72px; }
}

/* Header dropdown «Оформить визу» */
.nav .has-drop { position: relative; }
.nav-drop { position: absolute; left: -24px; top: 100%; z-index: 50; padding-top: 14px; visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav .has-drop:hover .nav-drop, .nav .has-drop:focus-within .nav-drop { visibility: visible; opacity: 1; transform: none; }
.nav-drop__inner { display: flex; gap: 32px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); box-shadow: 0 16px 40px rgba(21, 17, 31, .12); }
.nav-drop__col { min-width: 190px; }
.nav-drop__title { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav-drop ul { margin: 0; padding: 0; list-style: none; }
.nav-drop li a { display: flex; align-items: center; gap: 10px; padding: 7px 0; border: 0; font-weight: 500; }
.nav-drop li a:hover { color: var(--berry); }
.nav-drop .flag { width: 24px; height: 18px; border-radius: 3px; }
.nav-drop__grid { display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr)); column-gap: 24px; }
.nav-drop__all { display: inline-flex !important; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 0 !important; border: 0 !important; color: var(--berry) !important; font-weight: 600; }
.site-footer__sep { height: 6px; }

/* Catalogue /countries/ */
.catalog-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0; font-size: 14px; color: var(--muted); }
.catalog { display: flex; flex-direction: column; gap: 40px; }
.catalog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.catalog__title { margin: 0; font-size: 26px; font-weight: 700; }
.catalog__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.catalog__item a { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-size: 15px; font-weight: 500; transition: border-color .15s, color .15s; }
.catalog__item a:hover { border-color: var(--pink); color: var(--berry); }
.catalog__item--online a { background: var(--tint); border-color: transparent; font-weight: 600; }
.catalog__item .flag { width: 28px; height: 21px; flex-shrink: 0; border-radius: 4px; }
.flag--empty { display: inline-block; width: 28px; height: 21px; flex-shrink: 0; border-radius: 4px; background: var(--chip); border: 0; }
.catalog__name { flex: 1; min-width: 0; }
.catalog-mark { flex-shrink: 0; padding: 3px 8px; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.catalog-mark--online { background: var(--berry); color: var(--white); }
.catalog-mark--hub { background: var(--chip); color: var(--berry); }

/* «Всё о визах в …» */
.all-about { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.all-about__col { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-md); }
.all-about__title { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.all-about__list { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.45; }
.all-about__more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.all-about__more .chips { margin: 0; padding: 0; list-style: none; }
.all-about__label { font-size: 15px; font-weight: 600; color: var(--muted); }
.hub-strip-wrap { margin: 32px 0 0; }

@media (max-width: 1180px) {
	.catalog__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.nav-drop { position: static; visibility: visible; opacity: 1; transform: none; padding: 0 0 8px 12px; }
	.nav-drop__inner { flex-direction: column; gap: 8px; padding: 0; border: 0; box-shadow: none; }
	.nav-drop__col--wide { display: none; }
	.nav-drop__title { display: none; }
	.nav-drop li a { padding: 10px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
	.all-about { grid-template-columns: minmax(0, 1fr); }
	.catalog__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.catalog__list { grid-template-columns: minmax(0, 1fr); }
	.catalog__title { font-size: 22px; }
	.catalog__head { flex-direction: column; gap: 6px; }
}
