/*
Theme Name: HarryVille
Theme URI: https://harryvilleit.co.uk
Author: HarryVille Solutions Ltd
Author URI: https://harryvilleit.co.uk
Description: Lightweight company theme for HarryVille Solutions — animated landing page, services, EM360 product showcase, IT training, team, blog and contact form. No page builder or framework required.
Version: 1.0.3
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harryville
Tags: business, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/sora-latin-700-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--hv-navy: #0C1E42;
	--hv-navy-deep: #081633;
	--hv-navy-2: #16295A;
	--hv-navy-line: #23386B;
	--hv-accent: #1E5BD8;
	--hv-amber: #F5B83D;
	--hv-bg: #F5F7FB;
	--hv-surface: #FFFFFF;
	--hv-line: #E2E7F1;
	--hv-text: #0C1E42;
	--hv-muted: #4D5A78;
	--hv-muted-dark: #C2CDE6;
	--hv-green: #0B6B4F;
	--hv-green-deep: #0F2A23;
	--hv-radius: 18px;
	--hv-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hv-display: "Sora", "Inter", system-ui, sans-serif;
	--hv-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--hv-bg); color: var(--hv-text); font: 400 16px/1.6 var(--hv-font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { max-width: 100%; height: auto; }
a { color: var(--hv-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--hv-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
:focus-visible { outline: 3px solid var(--hv-amber); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 96px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.hv-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--hv-amber); color: var(--hv-navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.hv-skip:focus { top: 16px; }

.hv-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.hv-wrap--narrow { max-width: 780px; }

/* ---------- Buttons & links ---------- */
.hv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 20px; border-radius: 12px; border: 1px solid transparent; font: 600 15px/1.2 var(--hv-font); cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; text-decoration: none !important; }
.hv-btn:hover { transform: translateY(-2px); }
.hv-btn--lg { padding: 16px 26px; font-size: 16px; }
.hv-btn--accent { background: var(--hv-accent); color: #fff; }
.hv-btn--accent:hover { box-shadow: 0 10px 24px rgba(30, 91, 216, .3); color: #fff; }
.hv-btn--amber { background: var(--hv-amber); color: var(--hv-navy); }
.hv-btn--amber:hover { color: var(--hv-navy); box-shadow: 0 10px 24px rgba(245, 184, 61, .35); }
.hv-btn--gold { background: #F2C14E; color: #10202E; }
.hv-btn--gold:hover { color: #10202E; }
.hv-btn--navy { background: var(--hv-navy); color: #fff; }
.hv-btn--navy:hover { color: #fff; box-shadow: 0 10px 24px rgba(12, 30, 66, .25); }
.hv-btn--ghost { border-color: #3A5089; color: #fff; }
.hv-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.hv-btn--ghost-green { border-color: #3E6B5D; color: #fff; }
.hv-btn--ghost-green:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.hv-link { font-weight: 600; color: var(--hv-accent); }
.hv-arrow { display: inline-block; transition: transform .2s ease; }
a:hover .hv-arrow, .hv-card:hover .hv-arrow { transform: translateX(5px); }
.hv-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Top bar & header ---------- */
.hv-topbar { background: var(--hv-navy-deep); color: #B9C6E4; font-size: 13px; }
.hv-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 9px; padding-bottom: 9px; }
.hv-topbar a { color: #fff; font-weight: 600; }

.hv-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--hv-line); transition: box-shadow .25s ease; }
.admin-bar .hv-header { top: 32px; }
.hv-header.is-scrolled { box-shadow: 0 8px 24px rgba(12, 30, 66, .08); }
.hv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }

.hv-brand { display: flex; align-items: center; gap: 10px; color: var(--hv-navy); text-decoration: none !important; }
.hv-brand__mark { width: 40px; height: 40px; border-radius: 11px; background: var(--hv-navy); color: var(--hv-amber); display: flex; align-items: center; justify-content: center; font: 700 18px var(--hv-display); }
.hv-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.hv-brand__name { font: 700 20px var(--hv-display); letter-spacing: -0.02em; }
.hv-brand__sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5A6785; }
.custom-logo-link img { max-height: 52px; width: auto; display: block; }

.hv-nav { display: flex; align-items: center; gap: 28px; }
.hv-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 26px; }
.hv-menu li { position: relative; }
.hv-menu a { color: var(--hv-text); font-weight: 500; font-size: 15px; padding: 8px 0; display: inline-block; }
.hv-menu a:hover, .hv-menu .current-menu-item > a { color: var(--hv-accent); text-decoration: none; }
.hv-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; left: -12px; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--hv-line); border-radius: 12px; box-shadow: 0 18px 40px rgba(12, 30, 66, .12); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; }
.hv-menu li:hover > .sub-menu, .hv-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hv-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; }
.hv-menu .sub-menu a:hover { background: var(--hv-bg); }
.hv-nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--hv-line); border-radius: 12px; background: #fff; color: var(--hv-navy); align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 960px) {
	.hv-nav-toggle { display: inline-flex; }
	.hv-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--hv-line); flex-direction: column; align-items: stretch; gap: 16px; padding: 16px 24px 24px; display: none; box-shadow: 0 18px 30px rgba(12, 30, 66, .1); }
	.hv-nav.is-open { display: flex; }
	.hv-menu { flex-direction: column; gap: 0; }
	.hv-menu a { padding: 12px 0; display: block; border-bottom: 1px solid var(--hv-line); }
	.hv-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.admin-bar .hv-header { top: 46px; }
}
@media (max-width: 600px) { .admin-bar .hv-header { top: 0; } }

/* ---------- Animations ---------- */
@keyframes hvRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes hvFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hvMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hvPulse { 0% { box-shadow: 0 0 0 0 rgba(245, 184, 61, .7); } 100% { box-shadow: 0 0 0 12px rgba(245, 184, 61, 0); } }
@keyframes hvSpin { to { transform: rotate(360deg); } }
@keyframes hvGrow { from { width: 0; } }

.hv-rise { animation: hvRise .9s var(--hv-ease) both; }
.hv-d1 { animation-delay: .12s; } .hv-d2 { animation-delay: .24s; } .hv-d3 { animation-delay: .36s; } .hv-d4 { animation-delay: .5s; }
.hv-float { animation: hvFloat 6s ease-in-out infinite; }
.hv-float2 { animation: hvFloat 7.5s ease-in-out infinite; animation-delay: -2s; }
.hv-float--late { animation-delay: -3s; }
.hv-pulse { animation: hvPulse 1.8s ease-out infinite; }
.hv-spin { animation: hvSpin 40s linear infinite; }
.hv-bar { animation: hvGrow 1.6s var(--hv-ease) both; animation-delay: .7s; }

.hv-js .hv-reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--hv-ease), transform .8s var(--hv-ease), box-shadow .25s ease, border-color .25s ease; transition-delay: var(--d, 0ms); }
.hv-js .hv-reveal.is-in { opacity: 1; transform: none; }
.hv-js .hv-reveal.is-in:hover { transition-delay: 0ms; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.hv-rise, .hv-float, .hv-float2, .hv-marquee, .hv-pulse, .hv-spin, .hv-bar { animation: none !important; }
	.hv-js .hv-reveal { opacity: 1; transform: none; transition: none; }
	.hv-card, .hv-btn, .hv-arrow { transition: none !important; }
}

/* ---------- Hero ---------- */
.hv-hero { position: relative; overflow: hidden; background: var(--hv-navy); color: #fff; }
.hv-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hv-ring--lg { width: 560px; height: 560px; right: -180px; top: -180px; border: 1px dashed #2A3F70; }
.hv-ring--sm { width: 360px; height: 360px; right: -80px; top: -80px; border: 1px solid #1D3361; }
.hv-hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 100px; padding-bottom: 110px; }
.hv-hero__copy { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hv-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: var(--hv-navy-2); color: var(--hv-amber); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.hv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hv-amber); }
.hv-hero__title { margin: 0; font-weight: 700; font-size: clamp(38px, 5.2vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
.hv-hero__text { margin: 0; font-size: 19px; line-height: 1.6; color: var(--hv-muted-dark); max-width: 560px; }

.hv-collage { flex: 1 1 440px; min-width: 0; position: relative; min-height: 440px; }
.hv-float-card { position: absolute; border-radius: var(--hv-radius); display: flex; flex-direction: column; gap: 10px; }
.hv-float-card--em360 { left: 0; top: 10px; width: 300px; max-width: 90%; background: #fff; color: var(--hv-navy); padding: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.hv-float-card__head { display: flex; align-items: center; gap: 10px; font: 600 15px var(--hv-display); }
.hv-float-card__label { font-size: 12px; color: #5A6785; }
.hv-float-card--course { right: 0; top: 150px; width: 260px; max-width: 80%; background: var(--hv-navy-2); border: 1px solid #2A3F70; padding: 20px; }
.hv-float-card__eyebrow { font-size: 12px; color: var(--hv-amber); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hv-float-card__title { font: 600 18px/1.3 var(--hv-display); }
.hv-float-card__sub { font-size: 13px; color: var(--hv-muted-dark); }
.hv-float-card--placed { left: 60px; bottom: 0; width: 290px; max-width: 85%; background: #fff; color: var(--hv-navy); padding: 18px 20px; flex-direction: row; align-items: center; gap: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.hv-float-card__stack { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: #5A6785; }
.hv-float-card__stack strong { font-size: 15px; color: var(--hv-navy); }
.hv-check { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: #E6EDFC; color: var(--hv-accent); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.hv-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; font: 700 12px var(--hv-display); color: #fff; flex-shrink: 0; }
.hv-badge--em360 { background: var(--hv-green); }
.hv-badge--lg { width: 46px; height: 46px; border-radius: 12px; font-size: 15px; }
.hv-track { height: 8px; border-radius: 4px; overflow: hidden; }
.hv-track .hv-bar { display: block; height: 8px; border-radius: 4px; }
.hv-track--green { background: #E3EEE8; } .hv-track--green .hv-bar { background: var(--hv-green); }
.hv-track--amber { background: #F7EBCB; } .hv-track--amber .hv-bar { background: #D99A16; }

@media (max-width: 640px) {
	.hv-hero__inner { padding-top: 64px; padding-bottom: 72px; }
	.hv-collage { min-height: 400px; }
	.hv-float-card--course { top: 170px; }
	.hv-float-card--placed { left: 0; }
}

/* ---------- Marquee ---------- */
.hv-marquee-band { background: var(--hv-amber); color: var(--hv-navy); overflow: hidden; padding: 18px 0; }
.hv-marquee { display: flex; gap: 48px; width: max-content; white-space: nowrap; font: 600 20px var(--hv-display); animation: hvMarquee 36s linear infinite; }
.hv-marquee-band:hover .hv-marquee { animation-play-state: paused; }

/* ---------- Sections ---------- */
.hv-section { padding-top: 110px; padding-bottom: 100px; }
.hv-section--tight { padding-top: 64px; padding-bottom: 96px; }
.hv-section__head { display: flex; flex-direction: column; gap: 14px; max-width: 660px; margin-bottom: 48px; }
.hv-section__head--split { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hv-section__head--split > div { max-width: 640px; display: flex; flex-direction: column; gap: 14px; }
.hv-section__head--split .hv-lead { max-width: 400px; }
.hv-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-accent); }
.hv-eyebrow--amber { color: var(--hv-amber); }
.hv-h2 { margin: 0; font-weight: 700; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.hv-h3 { margin: 0; font-weight: 600; font-size: 21px; }
.hv-lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--hv-muted); }
.hv-band { background: #fff; border-top: 1px solid var(--hv-line); border-bottom: 1px solid var(--hv-line); }
.hv-dark { background: var(--hv-navy); color: #fff; }
.hv-dark .hv-lead { color: var(--hv-muted-dark); }

.hv-grid { display: grid; gap: 20px; }
.hv-grid--services { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.hv-grid--team { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.hv-grid--posts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }

/* Cards */
.hv-card { background: #fff; border: 1px solid var(--hv-line); border-radius: var(--hv-radius); color: var(--hv-text); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
a.hv-card { text-decoration: none !important; }
.hv-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12, 30, 66, .12); border-color: #BFD0F2; }
.hv-js .hv-reveal.is-in.hv-card:hover { transform: translateY(-6px); }

.hv-service { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.hv-service p { margin: 0; font-size: 15px; color: var(--hv-muted); }
.hv-service .hv-link { margin-top: auto; }

.hv-icon { width: 50px; height: 50px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font: 700 16px var(--hv-display); flex-shrink: 0; }
.hv-tone--blue { background: #E6EDFC; color: var(--hv-accent); }
.hv-tone--amber { background: #FDF3DC; color: #8A5A00; }
.hv-tone--green { background: #E3F1EA; color: var(--hv-green); }
.hv-tone-solid--accent { background: var(--hv-accent); color: #fff; }
.hv-tone-solid--amber { background: var(--hv-amber); }
.hv-tone-solid--blue { background: #9DB8F2; }
.hv-tone-solid--green { background: #8FD3B6; }
.hv-tone-solid--coral { background: #F2B8A0; }

/* Products */
.hv-products { display: flex; flex-wrap: wrap; gap: 24px; }
.hv-product-em360 { flex: 2 1 560px; min-width: 0; background: var(--hv-green-deep); border-color: var(--hv-green-deep); color: #fff; border-radius: 22px; padding: 44px; display: flex; flex-direction: column; gap: 20px; }
.hv-product-em360:hover { border-color: var(--hv-green); }
.hv-product-em360__brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hv-product-em360__name { font: 700 26px var(--hv-display); }
.hv-product-em360__logo { max-height: 48px; width: auto; display: block; }
.hv-product-em360 h3 { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; max-width: 540px; }
.hv-product-em360 p { margin: 0; color: #C6D6CF; max-width: 580px; }
.hv-tag { padding: 5px 10px; border-radius: 999px; background: #1C4A3D; color: #F2C14E; font-size: 12px; font-weight: 600; }
.hv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hv-chips li { padding: 7px 12px; border-radius: 8px; background: #1C4A3D; font-size: 13px; }
.hv-product-el { flex: 1 1 320px; min-width: 0; background: #EEF3FD; border-color: #D6E1F7; border-radius: 22px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.hv-product-el p { margin: 0; color: var(--hv-muted); }
.hv-product-el .hv-link { margin-top: auto; }

/* Training */
.hv-training { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.hv-training__intro { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.hv-courses { flex: 1.4 1 520px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hv-course { padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hv-course .hv-icon { width: 46px; height: 46px; border-radius: 12px; }
.hv-course__body { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hv-course__name { font: 600 18px var(--hv-display); }
.hv-course__meta { font-size: 14px; color: var(--hv-muted); }
.hv-course__date { padding: 7px 12px; border-radius: 999px; background: #EEF3FD; color: var(--hv-accent); font-size: 13px; font-weight: 600; }

/* Team */
.hv-member { background: var(--hv-navy-2); border-color: var(--hv-navy-line); color: #fff; overflow: hidden; display: flex; flex-direction: column; }
.hv-member:hover { border-color: #3A5089; box-shadow: 0 18px 40px rgba(0, 0, 0, .25); }
.hv-member__photo { height: 240px; display: flex; align-items: center; justify-content: center; font: 700 52px var(--hv-display); color: var(--hv-navy); overflow: hidden; }
.hv-member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--hv-ease); }
.hv-member:hover .hv-member__photo img { transform: scale(1.05); }
.hv-member__body { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.hv-member__name { font: 600 19px var(--hv-display); }
.hv-member__role { font-size: 14px; color: var(--hv-muted-dark); }

/* Post cards */
.hv-post-card { overflow: hidden; display: flex; flex-direction: column; }
.hv-post-card__media { aspect-ratio: 16 / 9.5; background: #E6EDFC; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hv-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--hv-ease); }
.hv-post-card:hover .hv-post-card__media img { transform: scale(1.05); }
.hv-post-card__placeholder { font: 700 56px var(--hv-display); color: #9DB8F2; }
.hv-post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.hv-post-card__cat { font-size: 13px; font-weight: 600; color: var(--hv-accent); }
.hv-post-card__title { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.35; }
.hv-post-card__meta { font-size: 13px; color: #5A6785; }

/* Contact */
.hv-contact-wrap { padding-bottom: 110px; }
.hv-contact { position: relative; overflow: hidden; background: var(--hv-navy); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hv-ring--contact { width: 380px; height: 380px; left: -120px; bottom: -160px; border: 1px dashed #2A3F70; }
.hv-contact__copy { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hv-contact .hv-lead { color: var(--hv-muted-dark); font-size: 18px; }
.hv-contact__lines { margin: 0; display: flex; flex-direction: column; gap: 6px; color: var(--hv-muted-dark); }
.hv-contact__phone { color: var(--hv-amber); font: 600 22px var(--hv-display); }
.hv-contact__form { position: relative; flex: 1 1 400px; min-width: 0; }

/* Forms */
.hv-form { background: #fff; color: var(--hv-text); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.hv-form label { font-size: 14px; font-weight: 600; }
.hv-form input, .hv-form select, .hv-form textarea,
.search-form .search-field, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 13px 14px; border: 1px solid #CAD3E4; border-radius: 10px; font: 400 15px var(--hv-font); color: var(--hv-text); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.hv-form input:focus, .hv-form select:focus, .hv-form textarea:focus, .search-form .search-field:focus, .comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--hv-accent); box-shadow: 0 0 0 4px rgba(30, 91, 216, .15); }
.hv-form .hv-btn { margin-top: 8px; width: 100%; padding: 15px; font-size: 16px; }
.hv-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hv-form__notice { margin: 0 0 6px; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.hv-form__notice--ok { background: #E3F1EA; color: #08513C; }
.hv-form__notice--err { background: #FBE7E3; color: #8A2A17; }
.hv-form__privacy { margin: 4px 0 0; font-size: 13px; color: var(--hv-muted); }
.hv-form__privacy a { text-decoration: underline; }
.hv-form--cf7 input[type="submit"] { background: var(--hv-accent); color: #fff; border: 0; border-radius: 12px; padding: 15px; font-weight: 600; cursor: pointer; width: 100%; }

.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-form .search-submit { border: 0; border-radius: 10px; background: var(--hv-navy); color: #fff; padding: 0 18px; font-weight: 600; cursor: pointer; }

/* ---------- Page heads, blog, articles ---------- */
.hv-page-head { background: var(--hv-navy); color: #fff; padding: 84px 0 76px; position: relative; overflow: hidden; }
.hv-page-head__title { margin: 12px 0 0; font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -0.03em; }
.hv-page-head__sub, .hv-page-head__meta { margin: 14px 0 0; color: var(--hv-muted-dark); font-size: 17px; max-width: 640px; }
.hv-page-head--center { text-align: center; }
.hv-page-head--center .hv-page-head__sub { margin-left: auto; margin-right: auto; }
.hv-404-search { max-width: 460px; margin: 28px auto 20px; }
.hv-article__hero { margin-top: -40px; position: relative; }
.hv-article__hero img { width: 100%; border-radius: 22px; display: block; box-shadow: 0 24px 50px rgba(12, 30, 66, .18); max-height: 560px; object-fit: cover; }
.hv-page-body { padding-top: 56px; padding-bottom: 88px; }

.hv-prose { padding-top: 56px; padding-bottom: 40px; font-size: 18px; line-height: 1.75; color: #1F2D4D; }
.hv-prose > * { margin-top: 0; margin-bottom: 1.25em; }
.hv-prose h2 { font-size: 30px; margin-top: 1.6em; }
.hv-prose h3 { font-size: 23px; margin-top: 1.4em; }
.hv-prose a { text-decoration: underline; text-underline-offset: 3px; }
.hv-prose img, .hv-prose figure img { border-radius: 14px; }
.hv-prose blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--hv-amber); font-size: 20px; color: var(--hv-navy); }
.hv-prose pre, .hv-prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88em; }
.hv-prose pre { background: var(--hv-navy-deep); color: #E3E9F7; padding: 20px; border-radius: 14px; overflow-x: auto; }
.hv-prose :not(pre) > code { background: #E9EEF8; padding: 2px 6px; border-radius: 6px; }
.hv-prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.hv-prose th, .hv-prose td { border: 1px solid var(--hv-line); padding: 10px 12px; text-align: left; }
.hv-prose ul, .hv-prose ol { padding-left: 1.3em; }
.alignwide { margin-left: -80px; margin-right: -80px; max-width: calc(100% + 160px); }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--hv-muted); text-align: center; margin-top: 8px; }
@media (max-width: 960px) { .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; } }

.hv-article__foot { padding-bottom: 96px; }
.hv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.hv-tags a { padding: 6px 12px; border-radius: 999px; background: #E9EEF8; color: var(--hv-navy); font-size: 13px; font-weight: 500; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; border-top: 1px solid var(--hv-line); padding-top: 28px; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--hv-line); border-radius: 14px; color: var(--hv-text); text-decoration: none; transition: border-color .2s ease; }
.post-navigation a:hover { border-color: var(--hv-accent); }
.post-navigation .nav-next { text-align: right; }
.hv-nav-label { font-size: 13px; color: var(--hv-muted); }
.hv-nav-title { font: 600 16px var(--hv-display); }

.hv-pagination { margin-top: 48px; }
.hv-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.hv-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #fff; border: 1px solid var(--hv-line); color: var(--hv-text); font-weight: 600; text-decoration: none; }
.hv-pagination .page-numbers.current { background: var(--hv-navy); border-color: var(--hv-navy); color: #fff; }
.hv-empty { text-align: center; max-width: 480px; margin: 0 auto; }

/* Comments */
.hv-comments { margin-top: 56px; }
.hv-comments__title { font-size: 24px; }
.hv-comment-list, .hv-comment-list .children { list-style: none; padding: 0; }
.hv-comment-list .children { padding-left: 28px; }
.hv-comment-list .comment-body { background: #fff; border: 1px solid var(--hv-line); border-radius: 14px; padding: 20px; margin-bottom: 14px; }
.hv-comment-list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.hv-comment-list .comment-meta { font-size: 14px; color: var(--hv-muted); }
.comment-form { display: flex; flex-direction: column; gap: 6px; }
.comment-form label { font-weight: 600; font-size: 14px; }

/* Widgets */
.hv-widget { margin-bottom: 32px; }
.hv-widget__title { font-size: 18px; }

/* ---------- Footer ---------- */
.hv-footer { background: var(--hv-navy-deep); color: #A9B6D3; font-size: 14px; }
.hv-footer a { color: #A9B6D3; }
.hv-footer a:hover { color: #fff; }
.hv-footer__grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 64px; padding-bottom: 40px; }
.hv-footer__about { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.hv-footer__about p { margin: 8px 0 0; line-height: 1.7; max-width: 320px; }
.hv-footer__name { font: 700 20px var(--hv-display); color: #fff; }
.hv-footer__col { display: flex; flex-direction: column; gap: 10px; min-width: 160px; }
.hv-footer__col li { list-style: none; }
.hv-footer__head { color: #fff; font-weight: 600; margin-bottom: 4px; }
.hv-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; padding-bottom: 32px; border-top: 1px solid #1B2C55; }

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
	.hv-section { padding-top: 72px; padding-bottom: 64px; }
	.hv-section__head { margin-bottom: 32px; }
	.hv-product-em360, .hv-product-el { padding: 28px; }
	.hv-contact-wrap { padding-bottom: 72px; }
	.hv-marquee { font-size: 17px; gap: 32px; }
	.hv-prose { font-size: 17px; }
}
