/*
Theme Name: JobPlus Talent
Theme URI: https://jobplus.com.vn
Description: Giao diện giới thiệu doanh nghiệp cho Công ty TNHH JobPlus Talent Việt Nam. Gọn nhẹ, không phụ thuộc plugin, tương thích WordPress 7.x.
Author: JobPlus Talent Việt Nam
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jobplus
*/

/* ---------- Tokens (JKS palette: orange + blue + navy) ---------- */
:root {
	--orange: #ff931f;
	--orange-600: #f07c00;
	--orange-50: #fff4e6;
	--blue: #118cf4;
	--blue-50: #e8f3fe;
	--navy: #0b2545;
	--navy-800: #0f2f57;
	--ink: #1d2433;
	--muted: #5d6779;
	--line: #e6e9ef;
	--bg: #ffffff;
	--tint: #fcf6ef;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow: 0 10px 30px rgba(11, 37, 69, .08);
	--shadow-lg: 0 24px 60px rgba(11, 37, 69, .14);
	--font: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; color: var(--navy); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	font: 600 15px/1.2 var(--font); cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255, 147, 31, .32); }
.btn--primary:hover { background: var(--orange-600); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--orange-600); }
.btn--block { width: 100%; }

.eyebrow {
	display: inline-block; margin: 0 0 12px; font-size: 13px; font-weight: 700;
	letter-spacing: .08em; text-transform: uppercase; color: var(--orange-600);
}
.eyebrow--light { color: var(--orange); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c9d4e5; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__right { display: flex; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #c9d4e5; }
.topbar__item .ico { color: var(--orange); }
a.topbar__item:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}
.is-scrolled .site-header { box-shadow: 0 6px 20px rgba(11, 37, 69, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand img, .custom-logo { height: 48px; width: auto; }
.custom-logo-link { display: inline-flex; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; }
.site-nav .menu a {
	display: block; padding: 10px 14px; border-radius: 8px;
	color: var(--navy); font-weight: 600; font-size: 15px;
}
.site-nav .menu a:hover,
.site-nav .current-menu-item:not(.menu-item-type-custom) > a { color: var(--orange-600); background: var(--orange-50); }
.site-nav .menu li { position: relative; }
.site-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; padding: 8px;
	background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; font-size: 28px; color: var(--navy); cursor: pointer; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(600px 400px at 92% 10%, rgba(17, 140, 244, .12), transparent 60%),
		radial-gradient(520px 380px at 0% 100%, rgba(255, 147, 31, .14), transparent 60%),
		linear-gradient(180deg, #fff 0%, var(--tint) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hero__title { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 18px; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.hero__pains { list-style: none; display: grid; gap: 10px; margin: 24px 0 32px; }
.hero__pains li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.hero__pains .ico { margin-top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--orange); fill: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__visual { position: relative; padding: 30px 10px; }
.mock { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 18px; border: 1px solid var(--line); }
.mock__head { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ee; }
.mock__dot:first-child { background: var(--orange); }
.mock__search {
	flex: 1; margin-left: 10px; display: flex; align-items: center; gap: 8px;
	background: #f4f6f9; border-radius: 999px; padding: 9px 14px; font-size: 13.5px; color: var(--muted);
}
.mock__row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; }
.mock__row + .mock__row { border-top: 1px dashed var(--line); }
.mock__row:first-of-type { background: var(--orange-50); }
.mock__avatar {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: var(--c); color: #fff; font-weight: 700; font-size: 14px;
}
.mock__meta { flex: 1; display: grid; line-height: 1.35; }
.mock__meta b { color: var(--navy); font-size: 15px; }
.mock__meta small { color: var(--muted); font-size: 12.5px; }
.mock__tag { font-size: 12px; font-weight: 700; color: #0d7a3f; background: #e3f6ec; padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.mock__tag--soft { color: var(--blue); background: var(--blue-50); }

.hero__badge {
	position: absolute; display: flex; gap: 10px; align-items: center; background: #fff;
	padding: 12px 16px; border-radius: 14px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.3;
}
.hero__badge .ico { width: 36px; height: 36px; padding: 8px; border-radius: 10px; fill: #fff; }
.hero__badge b { display: block; color: var(--navy); font-size: 14px; }
.hero__badge small { color: var(--muted); }
.hero__badge--a { top: -6px; right: -10px; }
.hero__badge--a .ico { background: var(--orange); }
.hero__badge--b { bottom: -4px; left: -24px; }
.hero__badge--b .ico { background: var(--blue); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--navy); color: #c9d4e5; }
.section--dark .section__title, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.section__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.section__lead { color: var(--muted); font-size: 17px; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
	position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 32px 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
	display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
	background: var(--orange-50); color: var(--orange-600); font-size: 26px; margin-bottom: 20px;
}
.card__title { font-size: 20px; }
.card p { color: var(--muted); }
.card__list { list-style: none; display: grid; gap: 8px; margin-top: 8px; font-size: 15px; }
.card__list li { position: relative; padding-left: 22px; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.card--accent { background: var(--navy); border-color: var(--navy); color: #c9d4e5; }
.card--accent .card__title { color: #fff; }
.card--accent p { color: #aebbd0; }
.card--accent .card__icon { background: rgba(255, 147, 31, .16); color: var(--orange); }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 1px 0 var(--line); }
.feature__icon {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
	background: var(--blue); color: #fff; font-size: 22px; margin-bottom: 16px;
}
.feature:nth-child(even) .feature__icon { background: var(--orange); }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.about__copy > p { color: var(--muted); font-size: 16.5px; }
.about__pillars { display: grid; gap: 14px; margin-top: 28px; }
.about__pillars div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 18px; border-left: 4px solid var(--orange); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.about__pillars b { color: var(--navy); }
.about__card {
	background: linear-gradient(145deg, var(--blue) 0%, #0b6fd0 100%); color: #fff;
	border-radius: 20px; padding: 36px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about__card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; background: rgba(255, 147, 31, .9); }
.about__label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 14px; }
.about__addr { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; font-weight: 600; position: relative; z-index: 1; }
.about__addr .ico { margin-top: 4px; }
.about__card .btn { margin-top: 10px; position: relative; z-index: 1; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .08); }
.step__num { display: inline-block; font-size: 34px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; font-size: 15px; color: #aebbd0; }
.step:not(:last-child)::after {
	content: ""; position: absolute; top: 44px; right: -14px; width: 8px; height: 8px;
	border-top: 2px solid var(--orange); border-right: 2px solid var(--orange); transform: rotate(45deg);
}

/* Talent pools */
.pools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pool { border-radius: var(--radius); padding: 32px 28px; color: #fff; position: relative; overflow: hidden; }
.pool::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.pool--a { background: linear-gradient(150deg, var(--navy) 0%, #1b4c86 100%); }
.pool--b { background: linear-gradient(150deg, var(--blue) 0%, #0a69c2 100%); }
.pool--c { background: linear-gradient(150deg, var(--orange) 0%, #e8700a 100%); }
.pool h3 { color: #fff; font-size: 21px; }
.pool__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: rgba(255, 255, 255, .18); font-size: 24px; margin-bottom: 18px; }
.pool ul { list-style: none; display: grid; gap: 8px; }
.pool li { padding-left: 20px; position: relative; }
.pool li::before { content: "›"; position: absolute; left: 4px; font-weight: 700; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--orange-50); overflow: hidden; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: grid; place-items: center; height: 100%; background: linear-gradient(135deg, var(--orange-50), var(--blue-50)); }
.post-card__thumb .post-card__ph img { width: 64px; height: 64px; object-fit: contain; }
.post-card__body { padding: 20px 22px 24px; }
.post-card__meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-size: 18px; margin-bottom: 8px; }
.post-card__title a { color: var(--navy); }
.post-card__title a:hover { color: var(--orange-600); }
.post-card__excerpt { color: var(--muted); font-size: 15px; margin: 0; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.empty { text-align: center; color: var(--muted); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.pagination .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line); color: var(--navy); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Consult */
.consult { background: linear-gradient(135deg, var(--navy) 0%, #12407a 100%); color: #c9d4e5; }
.consult .section__title { color: #fff; }
.consult__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.consult__info { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.consult__info li { display: flex; gap: 12px; align-items: flex-start; }
.consult__info .ico { margin-top: 4px; color: var(--orange); }
.consult__info a { color: #fff; font-weight: 600; }

.consult-form { background: #fff; color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.consult-form__title { font-size: 24px; margin-bottom: 4px; }
.consult-form__lead { color: var(--muted); font-size: 15px; }
.consult-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
	width: 100%; font: 400 15px/1.4 var(--font); color: var(--ink);
	padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfcfd;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(17, 140, 244, .15); background: #fff; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; }
.notice--success { background: #e3f6ec; color: #0d6634; }
.notice--error { background: #fdecec; color: #a12121; }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, #12407a 100%); color: #c9d4e5; padding: 56px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 147, 31, .85); }
.page-hero__title { color: #fff; font-size: clamp(28px, 3.4vw, 40px); margin: 6px 0 0; position: relative; z-index: 1; }
.page-hero__sub { margin: 8px 0 0; position: relative; z-index: 1; }
.crumbs { font-size: 14px; display: flex; gap: 8px; position: relative; z-index: 1; }
.crumbs a { color: #fff; }

.entry { font-size: 17px; }
.entry > * + * { margin-top: 1em; }
.entry h2 { font-size: 26px; margin-top: 1.6em; }
.entry h3 { font-size: 21px; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li + li { margin-top: .35em; }
.entry img { border-radius: var(--radius-sm); }
.entry blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--orange); background: var(--tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry--light { color: #c9d4e5; }
.entry__thumb { margin: 0 0 24px; }
.entry__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.consult--page { padding: 72px 0; }
.map-full iframe { display: block; width: 100%; height: 380px; border: 0; }
.notfound { text-align: center; }
.notfound__code { font-size: 96px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 10px; }

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: #081a33; color: #9fb0c8; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.site-footer__brand .brand img { height: 46px; }
.site-footer__name { color: #fff; font-weight: 700; margin: 18px 0 8px; }
.site-footer__muted { color: #8496b0; font-size: 14.5px; }
.site-footer__title { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.site-footer__list { list-style: none; display: grid; gap: 10px; }
.site-footer__list li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__list .ico { margin-top: 4px; color: var(--orange); }
.site-footer a { color: #c9d4e5; }
.site-footer a:hover { color: var(--orange); }
.site-footer__links, .site-footer .menu { list-style: none; display: grid; gap: 10px; }
.site-footer__map iframe { width: 100%; height: 180px; border: 0; border-radius: var(--radius-sm); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; font-size: 14px; color: #7488a5; text-align: center; }

/* Floating contact */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 10px; }
.float-contact__btn {
	width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
	color: #fff; font-size: 24px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
	transition: transform .15s ease;
}
.float-contact__btn:hover { transform: scale(1.06); color: #fff; }
.float-contact__btn--call { background: var(--orange); animation: ring 2.4s ease-in-out infinite; }
.float-contact__btn--zalo { background: #0068ff; font-size: 30px; }
.float-contact__btn--fb { background: #1877f2; }
.float-contact__btn--top { background: var(--navy); opacity: 0; visibility: hidden; transition: .2s ease; }
.float-contact__btn--top .ico { transform: rotate(-90deg); }
.is-scrolled .float-contact__btn--top { opacity: 1; visibility: visible; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 147, 31, .5); } 50% { box-shadow: 0 0 0 12px rgba(255, 147, 31, 0); } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.features { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step::after { display: none; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
	.site-nav {
		position: fixed; top: var(--nav-top, 116px); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 16px;
		background: #fff; padding: 20px; overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease;
	}
	.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: inline; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 14px 12px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 0 16px; }

	.hero__inner, .about, .consult__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero__inner { padding-top: 48px; padding-bottom: 64px; }
	.hero__visual { max-width: 520px; width: 100%; margin: 0 auto; }
	.cards, .pools, .posts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.container { padding-left: 16px; padding-right: 16px; }
	.hide-sm { display: none !important; }
	.topbar__inner { font-size: 12.5px; flex-wrap: wrap; justify-content: center; gap: 4px 16px; padding: 6px 16px; }
	.site-header__inner { min-height: 64px; }
	.brand img, .custom-logo { height: 40px; }
	.section { padding: 64px 0; }
	.section__head { margin-bottom: 32px; }
	.section__head--row { flex-direction: column; align-items: flex-start; }
	.cards, .pools, .posts, .features, .steps, .consult-form__grid, .site-footer__grid { grid-template-columns: 1fr; }
	.mock__tag { display: none; }
	.hero__badge--a { right: 0; }
	.hero__badge--b { left: 0; }
	.hero__actions .btn { flex: 1 1 auto; }
	.about__pillars div { grid-template-columns: 1fr; gap: 2px; }
	.consult-form { padding: 24px 20px; }
	.about__card { padding: 28px; }
	.page-hero { padding: 40px 0; }
	.page-hero::after { width: 150px; height: 150px; right: -60px; top: -60px; }
}

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