/* ==========================================================================
   Human Potentia — base + foundational templates (header, footer, generic
   page, single post, 404, search). Mobile-first; matches Figma tokens:
   navy #112679, yellow #fdce40, cyan #3ecddb/#42c4d1, body gray #7a7a7a.
   ========================================================================== */

* {
	box-sizing: border-box;
}

body {
	margin: 0;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
}

/* ---------- Buttons ---------- */

.hp-btn,
.wp-block-button.is-style-hp-yellow .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--accent);
	color: #000000;
	font-weight: 500;
	font-size: 16px;
	padding: 14px 30px;
	border-radius: 10px;
	text-transform: uppercase;
	border: 1px solid var(--wp--preset--color--accent);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hp-btn:hover,
.wp-block-button.is-style-hp-yellow .wp-block-button__link:hover {
	background: #ffffff;
	color: #ff6900;
}

.wp-block-button.is-style-hp-cyan .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--secondary-text);
	color: #ffffff;
	font-weight: 500;
	font-size: 16px;
	padding: 14px 30px;
	border-radius: 10px;
	text-transform: uppercase;
	border: 1px solid var(--wp--preset--color--secondary-text);
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wp-block-button.is-style-hp-cyan .wp-block-button__link:hover {
	background: #ffffff;
	color: var(--wp--preset--color--secondary-text);
}

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

.hp-header {
	background: #ffffff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 100;
}

.hp-header__inner {
	padding: 10px 20px;
}

.hp-header__bar {
	margin-block-start: 0 !important;
	position: relative;
}

.hp-header__logo img {
	display: block;
	width: 140px;
	height: auto;
}

.hp-header__toggle-input,
#hp-nav-toggle {
	display: none;
}

.hp-header__toggle,
.hp-header__toggle-label {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	cursor: pointer;
	background: none;
	border: none;
}

.hp-header__toggle span,
.hp-header__toggle-label span {
	display: block;
	height: 2px;
	background: var(--wp--preset--color--primary);
	border-radius: 2px;
}

/* !important: beats WP core's own .wp-block-group.is-layout-flex{display:flex}
   utility class, which outranks this on specificity (2 classes vs 1) even
   though this rule comes later in the stylesheet. */
.hp-header__panel {
	display: none !important;
	width: 100%;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	margin-top: 16px;
}

#hp-nav-toggle:checked ~ .hp-header__panel {
	display: flex !important;
}

.hp-header__nav ul,
.hp-nav-menu {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
}

/* .wp-block-navigation-item__content (2 classes) beats a plain descendant
   `a` selector on specificity — match it directly, and its :visited/:hover
   states, to actually win over WP core's own navigation block CSS. */
.hp-header__nav a,
.hp-header__nav .wp-block-navigation-item__content,
.hp-nav-menu a {
	font-weight: 500;
	font-size: 16px;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary) !important;
}

.hp-header__cta {
	margin: 0;
}

/* Mobile hamburger stays active all the way up to this breakpoint — logo
   (180px) + centered nav (~630px at a comfortable gap) + button need
   about 1000px+ just for those three, before padding, so there's no room
   for a sensible "desktop" tier below it; splitting one in anyway just
   reproduces the same overlap problem at a smaller size. */
@media (min-width: 1280px) {
	.hp-header__inner {
		padding: 14px 100px;
	}

	.hp-header__toggle,
	.hp-header__toggle-label {
		display: none;
	}

	.hp-header__panel {
		display: flex !important;
		flex-direction: row;
		align-items: center;
		gap: 20px;
		width: auto;
		margin-top: 0;
	}

	.hp-header__logo img {
		width: 180px;
	}

	/* True center on the whole header bar (matches Figma: the nav is
	   absolutely centered independent of the logo/button widths, not just
	   evenly spaced between them). .hp-header__bar is the nearest
	   position:relative ancestor.
	   WP core's Navigation block renders the "hp-header__nav" className on
	   BOTH the outer <nav> and its inner <ul> — the `nav.` tag qualifier
	   keeps this from also absolutely-positioning the <ul> inside it. */
	nav.hp-header__nav {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		white-space: nowrap;
		width: max-content;
	}

	/* The block's own layout attribute sets flexWrap:"wrap" (needed for the
	   mobile dropdown, stacked in .hp-header__panel); at desktop, an
	   absolutely-positioned auto-width element can still get an
	   artificially narrow available width from the browser, wrapping the
	   last item early. Force one line since width:max-content already
	   guarantees room for it. */
	nav.hp-header__nav ul,
	.hp-header__nav ul,
	.hp-nav-menu {
		flex-direction: row;
		flex-wrap: nowrap !important;
		gap: 40px;
	}
}

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

.hp-footer {
	background: #ffffff;
	border-top: 1px solid var(--wp--preset--color--border);
}

.hp-footer__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 40px 20px;
}

.hp-footer__top {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.hp-footer__about {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hp-footer__logo img {
	width: 140px;
	height: auto;
}

.hp-footer__desc {
	color: var(--wp--preset--color--body-text);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	max-width: 460px;
}

.hp-footer__social {
	display: flex;
	gap: 15px;
	padding: 20px 0;
}

.hp-footer__social-icon {
	width: 45px;
	height: 45px;
	border-radius: 50px;
	background: var(--wp--preset--color--secondary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hp-footer__social-icon img {
	width: 25px;
	height: 25px;
}

.hp-footer__right {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 100%;
}

.hp-footer__nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 0;
	padding: 0;
}

.hp-footer__nav a,
.hp-footer__nav .wp-block-navigation-item__content {
	font-weight: 500;
	font-size: 16px;
	text-transform: uppercase;
	color: var(--wp--preset--color--body-text) !important;
}

.hp-footer__nav .current-menu-item > a,
.hp-footer__nav a[aria-current="page"],
.hp-footer__nav .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--wp--preset--color--primary) !important;
}

.hp-footer__newsletter {
	background: var(--wp--preset--color--accent-tint);
	border-radius: 15px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	width: 100%;
}

.hp-footer__newsletter-photo {
	width: 100%;
	max-width: 220px;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
}

.hp-footer__newsletter-body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.hp-footer__newsletter-title {
	font-weight: 500;
	font-size: 18px;
	color: #000000;
	margin: 0;
	text-align: center;
}

/* Wraps the [fluentform id="4"] shortcode output (see footer-block.php).
   Fluent's own markup is several divs deep (.ff-t-container > .ff-t-cell
   > .ff-el-group > .ff-el-input--content > input) with an inline
   flex-basis:50% on each cell and its own <style> block forcing the
   submit button to min-width:100% — both need !important to flatten
   into this site's compact single-row pill. */
.hp-footer__newsletter-form {
	background: #ffffff;
	border-radius: 10px;
	padding: 6px 6px 6px 16px;
}

.hp-footer__newsletter-form .ff-t-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hp-footer__newsletter-form .ff-t-cell {
	flex-basis: auto !important;
}

.hp-footer__newsletter-form .ff-t-cell:first-child {
	flex: 1;
	min-width: 0;
}

.hp-footer__newsletter-form .ff-el-group {
	margin: 0;
}

.hp-footer__newsletter-form input {
	width: 100%;
	border: none;
	outline: none;
	font-size: 14px;
	color: var(--wp--preset--color--dark-text);
	min-width: 0;
	background: transparent;
	padding: 0;
}

.hp-footer__newsletter-form button {
	background: var(--wp--preset--color--accent) !important;
	border-color: var(--wp--preset--color--accent) !important;
	color: #000000 !important;
	border-radius: 10px;
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	white-space: nowrap;
	min-width: auto !important;
}

.hp-footer__rule.wp-block-separator {
	border-top: 1px solid var(--wp--preset--color--border);
	margin: 30px 0 20px;
}

.hp-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
}

.hp-footer__copyright {
	color: var(--wp--preset--color--body-text);
	font-size: 14px;
	margin: 0;
}

.hp-footer__legal {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hp-footer__legal a {
	color: var(--wp--preset--color--body-text);
	font-size: 14px;
}

.hp-footer__legal-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--wp--preset--color--body-text);
}

@media (min-width: 960px) {
	.hp-footer__inner {
		padding: 64px 60px;
	}

	.hp-footer__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}

	.hp-footer__right {
		align-items: flex-end;
		width: 100%;
		max-width: 560px;
	}

	.hp-footer__nav {
		width: 100%;
	}

	.hp-footer__nav ul {
		justify-content: space-between;
		gap: 20px;
	}

	.hp-footer__newsletter {
		flex-direction: row;
		align-items: center;
		width: 100%;
		max-width: 560px;
	}

	.hp-footer__newsletter-photo {
		width: 160px;
		flex-shrink: 0;
	}

	.hp-footer__newsletter-title {
		text-align: left;
	}

	.hp-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}

@media (min-width: 1280px) {
	.hp-footer__inner {
		padding: 64px 100px;
	}
}

/* ---------- Generic page (foundational, no bespoke Figma design yet) ---------- */

.hp-content-page-body {
	background: #ffffff;
}

.hp-generic-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.hp-generic-content__title {
	color: var(--wp--preset--color--primary);
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 24px;
}

.hp-generic-content p {
	color: var(--wp--preset--color--dark-text);
	line-height: 1.7;
}

@media (min-width: 960px) {
	.hp-generic-content {
		padding: 80px 20px 120px;
	}

	.hp-generic-content__title {
		font-size: 40px;
	}
}

/* ---------- Single post ---------- */

.hp-single-post {
	max-width: 1300px;
	margin: 0 auto;
	padding: 30px 20px 60px;
}

.hp-single-post__image img {
	width: 100%;
	height: auto;
	border-radius: 20px;
	display: block;
	margin-bottom: 24px;
}

.hp-single-post__title {
	color: var(--wp--preset--color--primary);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--display);
}

.hp-single-post__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--wp--preset--color--body-text);
	font-size: 14px;
	margin-bottom: 24px;
}

.hp-single-post__meta-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--wp--preset--color--body-text);
}

.hp-toc {
	background: #ffffff;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 30px;
}

.hp-toc__header {
	background: var(--wp--preset--color--accent);
	color: #000000;
	font-size: 18px;
	font-weight: 600;
	padding: 14px 24px;
}

.hp-toc__list {
	margin: 0;
	padding: 20px 24px 20px 44px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hp-toc__item {
	color: var(--wp--preset--color--muted-text);
	font-size: 16px;
	line-height: 1.4;
}

.hp-toc__item a {
	color: inherit;
}

.hp-toc__item a:hover {
	color: var(--wp--preset--color--accent);
	text-decoration: underline;
}

.hp-toc__item--h3 {
	margin-left: 20px;
}

.hp-toc__item--h4 {
	margin-left: 40px;
}

.hp-toc__item--h5 {
	margin-left: 60px;
}

.hp-toc__item--h6 {
	margin-left: 80px;
}

.hp-single-post__content {
	color: var(--wp--preset--color--body-text);
	font-size: 18px;
	line-height: 1.8;
}

.hp-single-post__content h2 {
	color: var(--wp--preset--color--primary);
	font-size: 26px;
	margin: 40px 0 14px;
}

.hp-single-post__content h3 {
	color: var(--wp--preset--color--primary);
	font-size: 22px;
	margin: 32px 0 12px;
}

.hp-single-post__content h4 {
	color: var(--wp--preset--color--primary);
	font-size: 20px;
	margin: 28px 0 10px;
}

.hp-single-post__content h5,
.hp-single-post__content h6 {
	color: var(--wp--preset--color--primary);
	font-size: 18px;
	margin: 24px 0 10px;
}

.hp-single-post__content img {
	border-radius: 12px;
}

.hp-single-post__share {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--wp--preset--color--border);
}

.hp-single-post__share-label {
	color: var(--wp--preset--color--secondary-text);
	font-size: 16px;
}

.hp-single-post__share-icon {
	width: 37px;
	height: 37px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wp--preset--color--muted-text);
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: color 0.2s ease;
}

.hp-single-post__share-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.hp-single-post__share-icon:hover {
	color: var(--wp--preset--color--secondary-text);
}

@media (min-width: 960px) {
	.hp-single-post {
		padding: 50px 20px 100px;
	}

	.hp-single-post__title {
		font-size: 40px;
		text-align: center;
	}

	.hp-single-post__meta {
		justify-content: center;
	}
}

/* ---------- Related posts ---------- */
/* Card grid reuses .hp-home-blog-grid / .hp-home-blog-card__* (defined
   under "Home Blog" below) since it's the same Figma "Blog Home"
   component — only the section wrapper/title differ (narrower 1300px
   column here to match the single-post content width). */

.hp-related-posts {
	background: #ffffff;
}

.hp-related-posts__inner {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.hp-related-posts__title {
	font-size: 28px;
	font-weight: 600;
	color: var(--wp--preset--color--dark-text);
	margin: 0;
}

@media (min-width: 960px) {
	.hp-related-posts__title {
		font-size: 48px;
	}
}

/* ---------- 404 ---------- */

.hp-error-page {
	max-width: 640px;
	margin: 0 auto;
	padding: 80px 20px 100px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.hp-error-page__code {
	font-size: 96px;
	font-weight: 800;
	color: var(--wp--preset--color--accent);
	margin: 0;
	line-height: 1;
}

.hp-error-page__title {
	color: var(--wp--preset--color--primary);
	font-size: 28px;
	margin: 0;
}

.hp-error-page__desc {
	color: var(--wp--preset--color--body-text);
	margin: 0 0 12px;
}

.hp-error-page__search {
	display: flex;
	width: 100%;
	max-width: 420px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	overflow: hidden;
}

.hp-error-page__search input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 16px;
	font-size: 15px;
	min-width: 0;
}

.hp-error-page__search button {
	background: var(--wp--preset--color--accent);
	border: none;
	padding: 12px 20px;
	font-weight: 500;
	cursor: pointer;
}

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

.hp-search-results {
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 20px 80px;
}

.hp-search-results__title {
	color: var(--wp--preset--color--primary);
	font-size: 26px;
	margin: 0 0 24px;
}

.hp-search-results__title span {
	color: var(--wp--preset--color--accent-text, #000000);
	font-weight: 800;
}

.hp-search-results__form {
	display: flex;
	max-width: 420px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 40px;
}

.hp-search-results__form input {
	flex: 1;
	border: none;
	outline: none;
	padding: 12px 16px;
	font-size: 15px;
	min-width: 0;
}

.hp-search-results__form button {
	background: var(--wp--preset--color--accent);
	border: none;
	padding: 12px 20px;
	font-weight: 500;
	cursor: pointer;
}

.hp-search-results__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.hp-search-results__empty {
	color: var(--wp--preset--color--body-text);
}

.hp-search-results__pagination {
	margin-top: 40px;
}

.hp-search-results__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	margin-right: 6px;
	border-radius: 6px;
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--dark-text);
}

.hp-search-results__pagination .page-numbers.current {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

@media (min-width: 768px) {
	.hp-search-results__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Contact: hero + form ---------- */

.hp-contact-hero {
	background: linear-gradient(to bottom, #dbeeff, rgba(231, 241, 250, 0));
}

.hp-contact-hero__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 60px 20px 40px;
	text-align: center;
}

.hp-contact-hero__title {
	color: var(--wp--preset--color--primary);
	font-size: 36px;
	font-weight: 600;
	margin: 0 0 16px;
}

.hp-contact-hero__subtitle {
	color: #000000;
	font-size: 16px;
	line-height: 1.6;
	max-width: 700px;
	margin: 0 auto 40px;
}

.hp-contact-hero__panel {
	display: flex;
	flex-direction: column;
	gap: 20px;
	text-align: left;
}

.hp-contact-hero__form-card {
	background: #f9f9f9;
	border-radius: 24px;
	padding: 24px;
}

.hp-contact-hero__photo {
	border-radius: 24px;
	overflow: hidden;
	min-height: 260px;
}

.hp-contact-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (min-width: 960px) {
	.hp-contact-hero__inner {
		padding: 100px 60px 60px;
	}

	.hp-contact-hero__title {
		font-size: 64px;
	}

	.hp-contact-hero__subtitle {
		font-size: 20px;
	}

	.hp-contact-hero__panel {
		flex-direction: row;
		align-items: stretch;
	}

	.hp-contact-hero__form-card {
		flex: 1 1 66%;
		padding: 40px;
	}

	.hp-contact-hero__photo {
		flex: 1 1 34%;
	}
}

/* Fluent Forms overrides — kept minimal (colors, spacing, the 2-column
   layout) rather than fighting the plugin's own structural/validation CSS. */
.hp-contact-hero__form-card .fluentform_wrapper_3 {
	max-width: none;
}

.hp-contact-hero__form-card fieldset {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.hp-contact-hero__form-card .ff-el-group:has(textarea),
.hp-contact-hero__form-card .ff_submit_btn_wrapper {
	grid-column: 1 / -1;
}

.hp-contact-hero__form-card .ff-el-input--label label {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 8px;
	display: block;
}

.hp-contact-hero__form-card .ff-el-form-control {
	width: 100%;
	border: none;
	border-radius: 10px;
	background: #ffffff;
	padding: 12px 20px;
	font-size: 16px;
	color: var(--wp--preset--color--dark-text);
	box-shadow: none;
}

.hp-contact-hero__form-card textarea.ff-el-form-control {
	min-height: 140px;
	resize: vertical;
}

.hp-contact-hero__form-card .ff-btn-submit {
	background: var(--wp--preset--color--accent) !important;
	color: #000000 !important;
	border: none !important;
	border-radius: 10px !important;
	padding: 16px 30px !important;
	font-weight: 500;
	font-size: 18px;
	text-transform: capitalize;
	box-shadow: none !important;
}

@media (min-width: 640px) {
	.hp-contact-hero__form-card fieldset {
		grid-template-columns: 1fr 1fr;
	}
}

/* ---------- Contact: bento cards ---------- */

.hp-contact-cards__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px 20px 60px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hp-contact-cards__hero {
	background: var(--wp--preset--color--primary);
	border-radius: 24px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	color: #ffffff;
}

.hp-contact-cards__hero-eyebrow {
	font-weight: 700;
	font-size: 20px;
	margin: 0;
}

.hp-contact-cards__hero-eyebrow span,
.hp-contact-cards__hero-title span {
	color: var(--wp--preset--color--accent);
}

.hp-contact-cards__hero-title {
	color: #ffffff;
	font-weight: 700;
	font-size: 40px;
	margin: 0 0 12px;
}

.hp-contact-cards__hero-desc {
	color: #a2aac5;
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}

.hp-contact-cards__hero-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.13);
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hp-contact-cards__hero-tag {
	color: var(--wp--preset--color--accent);
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	margin: 0;
}

.hp-contact-cards__hero-note {
	color: #a2aac5;
	font-size: 13px;
	margin: 0;
}

.hp-contact-cards__right {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hp-contact-cards__email-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	padding: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.hp-contact-cards__email-icon {
	background: #f9f9f9;
	border-radius: 16px;
	width: 56px;
	height: 56px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hp-contact-cards__email-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.hp-contact-cards__email-name {
	color: var(--wp--preset--color--body-text);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.hp-contact-cards__email-address {
	color: #141414;
	font-size: 18px;
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hp-contact-cards__email-arrow {
	background: var(--wp--preset--color--accent);
	border-radius: 18px;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hp-contact-cards__qr-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 20px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: center;
	text-align: center;
}

.hp-contact-cards__qr-tag {
	background: #fff9e6;
	border-radius: 6px;
	padding: 4px 10px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #e4ba2b;
	font-weight: 700;
	font-size: 11px;
	text-transform: uppercase;
}

.hp-contact-cards__qr-title {
	color: #141414;
	font-weight: 600;
	font-size: 18px;
	margin: 12px 0 8px;
}

.hp-contact-cards__qr-desc {
	color: var(--wp--preset--color--body-text);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

.hp-contact-cards__qr-code {
	width: 130px;
	height: 130px;
	flex-shrink: 0;
}

.hp-contact-cards__qr-code img {
	width: 100%;
	height: 100%;
	display: block;
}

@media (min-width: 1180px) {
	.hp-contact-cards__inner {
		flex-direction: row;
		align-items: stretch;
	}

	.hp-contact-cards__hero {
		flex: 0 0 48%;
	}

	.hp-contact-cards__right {
		flex: 1;
	}

	.hp-contact-cards__email-card,
	.hp-contact-cards__qr-card {
		flex-direction: row;
		text-align: left;
	}
}

/* ---------- FAQ accordion (shared by Contact + Home) ---------- */

.hp-faq {
	background: #ffffff;
}

.hp-faq__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px 20px 80px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.hp-faq__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-items: flex-start;
}

.hp-faq__intro-eyebrow {
	color: var(--wp--preset--color--primary);
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 0;
}

.hp-faq__intro-title {
	color: var(--wp--preset--color--dark-text);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0;
}

.hp-faq__intro-desc {
	color: var(--wp--preset--color--body-text);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}

.hp-faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hp-faq__item {
	border-radius: 10px;
	overflow: hidden;
}

.hp-faq__item summary {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
	font-weight: 600;
	font-size: 16px;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	list-style: none;
	position: relative;
}

.hp-faq__item summary::-webkit-details-marker {
	display: none;
}

.hp-faq__item[open] > summary {
	background: #def6ff;
	color: #141414;
}

.hp-faq__item summary::after {
	content: "";
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	background: url('../images/contact/icon-chevron-white.svg') center / 20px no-repeat;
	transform: rotate(90deg);
	transition: transform 0.2s ease;
}

.hp-faq__item[open] summary::after {
	background-image: url('../images/contact/icon-chevron-navy.svg');
	transform: rotate(180deg);
}

.hp-faq__item > p {
	background: #ffffff;
	color: var(--wp--preset--color--body-text);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	padding: 20px;
}

@media (min-width: 1180px) {
	.hp-faq__inner {
		flex-direction: row;
		align-items: flex-start;
	}

	.hp-faq__intro {
		flex: 0 0 45%;
		position: sticky;
		top: 40px;
		padding-right: 60px;
	}

	.hp-faq__list {
		flex: 0 0 55%;
	}

	.hp-faq__intro-title {
		font-size: 48px;
	}
}

/* ---------- Blog hero (title, category pills, featured post) ---------- */

.hp-blog-hero {
	background: #ffffff;
}

.hp-blog-hero__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 40px 20px;
}

.hp-blog-hero__title {
	color: var(--wp--preset--color--primary);
	font-size: 36px;
	font-weight: 600;
	margin: 0 0 24px;
}

.hp-blog-filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 40px;
}

.hp-blog-filters__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hp-blog-filters__list li {
	margin: 0;
}

.hp-blog-filters__all,
.hp-blog-filters__list a {
	display: inline-flex;
	align-items: center;
	border: 1px solid #0d2468;
	border-radius: 10px;
	padding: 5px 15px;
	color: var(--wp--preset--color--secondary-text);
	font-size: 15px;
	font-weight: 500;
}

.hp-blog-filters__all.is-active,
.hp-blog-filters__all:hover,
.hp-blog-filters__list a:hover,
.hp-blog-filters__list .current-cat a {
	background: var(--wp--preset--color--primary);
	color: #ffffff;
}

.hp-blog-featured .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* core/post-template's className lands on the <ul>, not the <li> it
   repeats — the actual card layout has to target the real per-item class
   WP adds (.wp-block-post), scoped under .hp-blog-featured. */
.hp-blog-featured .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hp-blog-featured__image {
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
}

.hp-blog-featured__image img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
}

.hp-blog-featured__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.hp-blog-featured__title,
.hp-blog-featured__title a {
	color: #000000;
	font-size: 22px;
	font-weight: 600;
	margin: 0;
}

.hp-blog-featured__excerpt p {
	color: var(--wp--preset--color--body-text);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

@media (min-width: 960px) {
	.hp-blog-hero__inner {
		padding: 80px 60px 60px;
	}

	.hp-blog-hero__title {
		font-size: 64px;
	}

	.hp-blog-featured .wp-block-post {
		flex-direction: row;
		align-items: center;
	}

	.hp-blog-featured__image {
		flex: 0 0 48%;
	}

	.hp-blog-featured__image img {
		height: 427px;
	}

	.hp-blog-featured__body {
		flex: 1;
	}

	.hp-blog-featured__title,
	.hp-blog-featured__title a {
		font-size: 32px;
	}

	.hp-blog-featured__excerpt p {
		font-size: 20px;
	}
}

/* ---------- Blog grid (latest insights) ---------- */

.hp-blog-list {
	background: rgba(231, 241, 250, 0.2);
}

.hp-blog-list__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 60px 20px;
}

.hp-blog-list__eyebrow {
	color: var(--wp--preset--color--primary);
	font-size: 16px;
	font-weight: 500;
	margin: 0 0 8px;
}

.hp-blog-list__title {
	color: var(--wp--preset--color--primary);
	font-size: 32px;
	font-weight: 600;
	margin: 0 0 40px;
}

.hp-blog-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px 30px;
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
}

/* core/post-template's className lands on its <ul> wrapper, not on each
   repeated <li> — so individual cards are styled via the real per-item
   class WP adds (.wp-block-post), scoped under .hp-blog-grid (which
   core/query's own className DOES apply to correctly). */
.hp-blog-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.hp-blog-card__image {
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.hp-blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hp-blog-card__title,
.hp-blog-card__title a {
	font-family: var(--wp--preset--font-family--display);
	color: #000000;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
}

.hp-blog-card__excerpt p {
	color: var(--wp--preset--color--body-text);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.hp-blog-list__pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.hp-blog-list__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: 6px;
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--dark-text);
}

.hp-blog-list__pagination .page-numbers.current {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

.hp-blog-list__empty {
	text-align: center;
	color: var(--wp--preset--color--body-text);
}

@media (min-width: 768px) {
	.hp-blog-grid .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hp-blog-grid .wp-block-post {
		flex-direction: row;
		align-items: center;
	}

	.hp-blog-card__image {
		flex: 0 0 45%;
	}
}

/* ---------- Services ---------- */

.hp-services-hero {
	background: linear-gradient(to bottom, #dbeeff, rgba(231, 241, 250, 0));
}

.hp-services-hero__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 60px 20px 20px;
}

.hp-services-hero__title {
	color: var(--wp--preset--color--primary);
	font-size: 36px;
	font-weight: 600;
	margin: 0 0 16px;
}

.hp-services-hero__subtitle {
	color: #000000;
	font-size: 16px;
	line-height: 1.6;
	max-width: 700px;
	margin: 0 auto;
}

@media (min-width: 960px) {
	.hp-services-hero__inner {
		padding: 100px 60px 40px;
	}

	.hp-services-hero__title {
		font-size: 64px;
	}

	.hp-services-hero__subtitle {
		font-size: 20px;
	}
}

.hp-services-list__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 40px 20px 80px;
	display: flex;
	flex-direction: column;
	gap: 60px;
}

.hp-service-row {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.hp-service-row__image {
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
}

.hp-service-row__image img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	display: block;
}

.hp-service-row__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.hp-service-row__title {
	color: #000000;
	font-size: 26px;
	font-weight: 600;
	margin: 0;
}

.hp-service-row__for {
	color: #000000;
	font-size: 16px;
	margin: 0;
}

.hp-service-row__for-tag {
	color: var(--wp--preset--color--secondary-text);
}

.hp-service-row__desc {
	color: var(--wp--preset--color--body-text);
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

.hp-service-row__bullets {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.hp-service-row__bullets li {
	color: #000000;
	font-size: 15px;
	line-height: 1.6;
	padding-left: 30px;
	background: url('../images/services/check.svg') left 3px no-repeat;
	background-size: 18px;
}

.hp-service-row__bullets li strong {
	font-weight: 700;
}

@media (min-width: 960px) {
	.hp-service-row {
		flex-direction: row;
		align-items: center;
		gap: 50px;
	}

	.hp-service-row--reverse {
		flex-direction: row-reverse;
	}

	.hp-service-row__image {
		flex: 0 0 46%;
	}

	.hp-service-row__image img {
		height: 400px;
	}

	.hp-service-row__body {
		flex: 1;
	}

	.hp-service-row__title {
		font-size: 32px;
	}

	.hp-service-row__for,
	.hp-service-row__desc,
	.hp-service-row__bullets li {
		font-size: 18px;
	}
}

/* ---------- About: hero ---------- */

.hp-about-hero__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 60px 20px 40px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.hp-about-hero__title {
	color: var(--wp--preset--color--primary);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 16px;
}

.hp-about-hero__desc {
	color: var(--wp--preset--color--dark-text);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
}

.hp-about-hero__image {
	position: relative;
	margin: 0;
}

.hp-about-hero__image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	border-radius: 24px;
}

.hp-about-hero__badge {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.hp-about-hero__badge-text {
	font-family: var(--wp--preset--font-family--badge-display);
}

@media (min-width: 960px) {
	.hp-about-hero__inner {
		flex-direction: row;
		align-items: center;
		padding: 80px 20px 40px;
		gap: 60px;
	}

	.hp-about-hero__text {
		flex: 1;
	}

	.hp-about-hero__title {
		font-size: 40px;
		max-width: 680px;
	}

	.hp-about-hero__image {
		flex: 0 0 42%;
	}

	.hp-about-hero__image img {
		height: 300px;
	}

	.hp-about-hero__badge {
		width: 85px;
		height: 85px;
	}
}

/* ---------- About: stats ---------- */

.hp-about-stats__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px 20px 60px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 20px;
	text-align: center;
}

.hp-about-stat__number {
	color: var(--wp--preset--color--primary);
	font-size: 40px;
	font-weight: 600;
	margin: 0;
}

.hp-about-stat__label {
	color: var(--wp--preset--color--secondary-text);
	font-size: 14px;
	margin: 4px 0 0;
}

@media (min-width: 960px) {
	.hp-about-stats__inner {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding: 20px 20px 80px;
	}

	.hp-about-stat__number {
		font-size: 56px;
	}

	.hp-about-stat__label {
		font-size: 16px;
	}
}

/* ---------- About: team ---------- */

.hp-about-team__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 20px 60px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.hp-team-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.hp-team-card__photo {
	width: 100%;
	max-width: 260px;
	margin: 0;
}

.hp-team-card__photo img {
	width: 100%;
	height: auto;
	display: block;
}

.hp-team-card__name {
	color: var(--wp--preset--color--dark-text);
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.hp-team-card__title {
	color: var(--wp--preset--color--dark-text);
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

.hp-team-card__list {
	list-style: disc;
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding-left: 24px;
}

.hp-team-card__list li {
	color: var(--wp--preset--color--dark-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
}

@media (min-width: 960px) {
	.hp-about-team__inner {
		flex-direction: row;
		align-items: flex-start;
		padding: 0 20px 80px;
		gap: 30px;
	}

	.hp-team-card {
		flex: 0 0 340px;
	}

	.hp-team-card__photo {
		max-width: 100%;
	}

	.hp-team-card__list {
		flex: 1;
		padding-top: 8px;
	}
}

/* ---------- About: certificates ---------- */

.hp-about-certs__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 20px 60px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 12px;
}

.hp-about-certs__item {
	margin: 0;
	border-radius: 6px;
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--border);
	flex-shrink: 0;
}

.hp-about-certs__item img {
	height: 90px;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

@media (min-width: 960px) {
	.hp-about-certs__inner {
		padding: 0 20px 80px;
		gap: 16px;
	}

	.hp-about-certs__item img {
		height: 150px;
	}
}

.hp-about-certs__rule.wp-block-separator {
	max-width: 1600px;
	margin: 0 auto;
	border-top: 1px solid var(--wp--preset--color--border);
}

@media (min-width: 960px) {
	.hp-about-certs__rule.wp-block-separator {
		width: calc(100% - 40px);
	}
}

.hp-home-partners-rule.wp-block-separator {
	max-width: 1600px;
	margin: 0 auto;
	border-top: 1px solid var(--wp--preset--color--border);
}

@media (min-width: 960px) {
	.hp-home-partners-rule.wp-block-separator {
		width: calc(100% - 40px);
	}
}

/* ---------- About: partner logos ---------- */

.hp-about-partners {
	background: #ffffff;
}

.hp-about-partners__inner {
	max-width: 1800px;
	margin: 0 auto;
	padding: 40px 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.hp-about-partners__track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: hp-partners-scroll 32s linear infinite;
}

.hp-about-partners__inner:hover .hp-about-partners__track {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.hp-about-partners__track {
		animation: none;
	}
}

@keyframes hp-partners-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.hp-about-partners__set {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-shrink: 0;
	padding-right: 24px;
}

.hp-about-partners__logo {
	display: block;
	flex-shrink: 0;
}

.hp-about-partners__logo img {
	height: 36px;
	width: auto;
	max-width: 90px;
	object-fit: contain;
	display: block;
}

@media (min-width: 960px) {
	.hp-about-partners__inner {
		padding: 60px 0;
	}

	.hp-about-partners__set {
		gap: 40px;
		padding-right: 40px;
	}

	.hp-about-partners__logo img {
		height: 60px;
		max-width: 140px;
	}
}

/* ---------- Testimonial (shared: About + Home) ---------- */

.hp-testimonial {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: scroll;
}

@media (min-width: 960px) {
	.hp-testimonial {
		background-attachment: fixed;
	}
}

.hp-testimonial::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.21));
	z-index: -1;
}

.hp-testimonial__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 80px 20px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

.hp-testimonial__eyebrow {
	color: var(--wp--preset--color--accent);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 0;
}

.hp-testimonial__title {
	font-family: var(--wp--preset--font-family--accent-display);
	color: #ffffff;
	font-size: 32px;
	font-weight: 600;
	margin: 0;
}

.hp-testimonial__title-accent {
	color: var(--wp--preset--color--accent);
}

.hp-testimonial__card {
	position: relative;
	background: #ffffff;
	border-radius: 20px;
	padding: 30px 24px;
	box-shadow: 0 4px 7.5px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.hp-testimonial__quote-mark {
	position: absolute;
	width: 28px;
	height: 28px;
	pointer-events: none;
}

.hp-testimonial__quote-mark--open {
	top: 18px;
	left: 20px;
	transform: rotate(180deg);
}

.hp-testimonial__quote-mark--close {
	bottom: 18px;
	right: 20px;
}

@media (min-width: 960px) {
	.hp-testimonial__quote-mark {
		width: 44px;
		height: 44px;
	}

	.hp-testimonial__quote-mark--open {
		top: 29px;
		left: 46px;
	}

	.hp-testimonial__quote-mark--close {
		bottom: 20px;
		right: 46px;
	}
}

.hp-testimonial__quote {
	font-family: var(--wp--preset--font-family--quote-display);
	color: var(--wp--preset--color--body-text);
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	padding-left: 48px;
	padding-right: 40px;
	padding-bottom: 36px;
	text-align: left;
}

.hp-testimonial__quote li {
	margin: 0 0 4px;
}

.hp-testimonial__quote li:last-child {
	margin-bottom: 0;
}

@media (min-width: 960px) {
	.hp-testimonial__inner {
		padding: 140px 20px 30px;
	}

	.hp-testimonial__title {
		font-size: 56px;
	}

	.hp-testimonial__card {
		padding: 40px 60px;
	}

	.hp-testimonial__quote {
		font-size: 20px;
		text-align: left;
		padding-left: 64px;
		padding-right: 64px;
		padding-bottom: 48px;
	}
}

/* ---------- Testimonials page: header + collage ---------- */

.hp-testi-header__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 40px 20px 60px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.hp-testi-banner {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
}

.hp-testi-banner img {
	width: 100%;
	height: auto;
	display: block;
}

.hp-testi-banner--desktop {
	display: none;
}

@media (min-width: 640px) {
	.hp-testi-banner--desktop {
		display: block;
	}

	.hp-testi-banner--mobile {
		display: none;
	}
}

.hp-testi-header__title-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.hp-testi-header__badge {
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	color: #6b7280;
	font-weight: 600;
	font-size: 13px;
	padding: 6px 16px;
	margin: 0;
	display: inline-block;
}

.hp-testi-header__title {
	color: #092b78;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.4;
	margin: 0;
}

.hp-testi-header__title-accent {
	color: #00ccbb;
	display: block;
}

@media (min-width: 960px) {
	.hp-testi-header__inner {
		padding: 60px 60px 80px;
	}

	.hp-testi-header__title {
		font-size: 44px;
	}
}

/* ---------- Testimonials page: grid ---------- */

.hp-testi-grid-section {
	background: #ffffff;
}

.hp-testi-grid-section__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

/* core/post-template's own className lands on its <ul> wrapper, not on
   each repeated <li> — so individual cards are styled via the real post
   item class (.wp-block-post) WP adds automatically, scoped under this
   query's own wrapper class (.hp-testi-grid, which core/query's className
   DOES apply to correctly) rather than a class of our own on each item. */
.hp-testi-grid .wp-block-post-template {
	display: flex;
	flex-direction: column;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hp-testi-grid .wp-block-post {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
	break-inside: avoid;
	margin: 0 0 24px;
}

.hp-testi-card__quote p {
	color: #6b7280;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 16px;
}

.hp-testi-card__author {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.hp-testi-card__name {
	color: var(--wp--preset--color--primary);
	font-size: 16px;
	font-weight: 700;
	margin: 0;
}

.hp-testi-card__role p {
	color: var(--wp--preset--color--dark-text);
	font-size: 14px;
	margin: 0;
}

.hp-testi-grid__pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.hp-testi-grid__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	border-radius: 6px;
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--dark-text);
}

.hp-testi-grid__pagination .page-numbers.current {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}

@media (min-width: 960px) {
	.hp-testi-grid-section__inner {
		padding: 0 20px 80px;
	}

	.hp-testi-grid .wp-block-post-template {
		display: block;
		column-count: 3;
		column-gap: 24px;
	}

	.hp-testi-grid .wp-block-post {
		display: inline-block;
		width: 100%;
	}
}

/* ---------- CTA: Begin Your Journey (shared: Testimonials + Home) ---------- */

.hp-cta-journey {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hp-cta-journey__bg {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: -1;
}

.hp-cta-journey__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-cta-journey::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: -1;
}

.hp-cta-journey__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 80px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.hp-cta-journey__eyebrow {
	color: var(--wp--preset--color--accent);
	font-size: 15px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 0;
}

.hp-cta-journey__title {
	color: #ffffff;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.hp-cta-journey__subtitle {
	color: #ffffff;
	font-size: 16px;
	margin: 0;
}

@media (min-width: 960px) {
	.hp-cta-journey__inner {
		padding: 140px 20px;
	}

	.hp-cta-journey__title {
		font-size: 56px;
		padding: 0 320px;
	}

	.hp-cta-journey__subtitle {
		font-size: 20px;
	}
}

/* ---------- Home: hero ---------- */

.hp-home-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.hp-home-hero__bg {
	position: absolute;
	inset: 0;
	margin: 0;
	z-index: -2;
}

.hp-home-hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-home-hero__bg-fg {
	position: absolute;
	left: 31%;
	top: -17%;
	width: 75%;
	height: 130%;
	margin: 0;
	z-index: -2;
	display: none;
}

.hp-home-hero__bg-fg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-home-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		#f8f8f8 1%,
		#ffffff 14%,
		#ffffff 27%,
		#f2f2f2 33%,
		rgba(244, 244, 244, 0.75) 44%,
		rgba(255, 255, 255, 0.08) 57%
	);
	z-index: -1;
}

@media (min-width: 640px) {
	.hp-home-hero__bg-fg {
		display: block;
	}
}

.hp-home-hero__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 110px 20px 60px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.hp-home-hero__eyebrow {
	color: #0791b5;
	font-size: 16px;
	font-weight: 500;
	margin: 0;
}

.hp-home-hero__title {
	color: var(--wp--preset--color--primary);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.15;
	margin: 0;
	max-width: 745px;
}

.hp-home-hero__title-light {
	display: block;
	font-weight: 500;
}

.hp-home-hero__desc {
	color: #3d3d3d;
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	max-width: 600px;
}

.hp-home-hero__buttons {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

@media (min-width: 960px) {
	.hp-home-hero__inner {
		padding: 200px 60px 100px;
	}

	.hp-home-hero__title {
		font-size: 56px;
	}

	.hp-home-hero__desc {
		font-size: 20px;
	}
}

@media (min-width: 1280px) {
	.hp-home-hero__title {
		font-size: 64px;
	}
}

/* ---------- Home: why + stats ---------- */

.hp-home-why {
	background: #ffffff;
}

.hp-home-why__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px 20px 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.hp-home-why__eyebrow {
	color: #0791b5;
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 0;
}

.hp-home-why__title {
	color: #3d3d3d;
	font-size: 26px;
	font-weight: 500;
	line-height: 1.3;
	margin: 0;
	max-width: 900px;
}

.hp-home-why__title-accent {
	color: var(--wp--preset--color--primary);
}

.hp-home-why__desc {
	color: var(--wp--preset--color--dark-text);
	font-size: 15px;
	line-height: 1.7;
	margin: 0;
	max-width: 780px;
}

.hp-home-why__media {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 16px;
	text-align: left;
}

.hp-home-why__image {
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
}

.hp-home-why__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-home-why__image--large img {
	aspect-ratio: 920 / 451;
}

.hp-home-why__side {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hp-home-why__image--small img {
	aspect-ratio: 352 / 355;
}

.hp-home-why__contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.hp-home-why__phone {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hp-home-why__phone-label {
	color: var(--wp--preset--color--dark-text);
	font-size: 16px;
	font-weight: 500;
	margin: 0;
}

.hp-home-why__phone-number {
	font-family: var(--wp--preset--font-family--accent-display);
	color: #000000;
	font-size: 18px;
	font-weight: 400;
	margin: 0;
}

@media (min-width: 960px) {
	.hp-home-why__title {
		font-size: 40px;
	}

	.hp-home-why__desc {
		font-size: 16px;
	}

	.hp-home-why__media {
		flex-direction: row;
		align-items: stretch;
	}

	.hp-home-why__image--large {
		flex: 0 0 68%;
	}

	.hp-home-why__side {
		flex: 1;
	}

	.hp-home-why__image--small {
		flex: 1;
	}
}

@media (min-width: 1280px) {
	.hp-home-why__title {
		font-size: 48px;
	}
}

/* ---------- Home: packages ---------- */

.hp-home-packages {
	background: #ffffff;
}

.hp-home-packages__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px 20px 80px;
}

.hp-home-packages__header {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 32px;
}

.hp-home-packages__title {
	font-family: var(--wp--preset--font-family--accent-display);
	color: #000000;
	font-size: 26px;
	line-height: 1.1;
	margin: 0;
}

.hp-home-packages__title-strong {
	font-weight: 600;
}

.hp-home-packages__title-regular {
	font-weight: 400;
}

.hp-home-packages__subtitle {
	font-family: var(--wp--preset--font-family--accent-display);
	color: #000000;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0;
	text-align: left;
}

.hp-home-packages__body {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.hp-home-packages__portrait {
	margin: 0;
	border-radius: 24px;
	overflow: hidden;
	flex-shrink: 0;
}

.hp-home-packages__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hp-home-packages__cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}

.hp-home-package {
	position: relative;
	border-radius: 15px;
	padding: 20px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 12px;
	overflow: hidden;
}

.hp-home-package__number {
	font-family: var(--wp--preset--font-family--number-display);
	color: #ffffff;
	font-size: 72px;
	font-weight: 400;
	line-height: 0.6;
	margin: 0;
	flex-shrink: 0;
}

.hp-home-package__content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.hp-home-package__title {
	font-family: var(--wp--preset--font-family--accent-display);
	color: #ffffff;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.hp-home-package__desc {
	font-family: var(--wp--preset--font-family--accent-display);
	color: #ffffff;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
}

.hp-home-package__thumb {
	margin: 0;
	border-radius: 15px;
	overflow: hidden;
	flex-shrink: 0;
	display: none;
}

.hp-home-package__thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.hp-home-package--cyan {
	background: var(--wp--preset--color--secondary-text);
}

.hp-home-package--navy {
	background: var(--wp--preset--color--primary);
}

.hp-home-package--yellow {
	background: var(--wp--preset--color--accent);
}

@media (min-width: 960px) {
	.hp-home-packages__header {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}

	.hp-home-packages__title {
		font-size: 48px;
		line-height: 52px;
	}

	.hp-home-packages__subtitle {
		font-size: 32px;
		line-height: 52px;
	}

	.hp-home-packages__body {
		flex-direction: row;
		align-items: stretch;
	}

	.hp-home-packages__portrait {
		flex: 0 0 320px;
	}

	.hp-home-package {
		padding: 28px 32px;
		gap: 25px;
	}

	.hp-home-package__number {
		font-size: 200px;
		line-height: 0.24;
	}

	.hp-home-package__title {
		font-size: 32px;
		line-height: 1.5;
	}

	.hp-home-package__desc {
		font-size: 18px;
		line-height: 1.67;
	}

	.hp-home-package__thumb {
		display: block;
		flex: 0 0 260px;
		margin: 0;
	}

	.hp-home-package__thumb img {
		height: 208px;
	}
}

/* ---------- Home: blog (compact 3-card query) ---------- */

.hp-home-blog {
	background: #ffffff;
}

.hp-home-blog__inner {
	max-width: 1600px;
	margin: 0 auto;
	padding: 60px 20px 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	text-align: center;
}

.hp-home-blog__eyebrow {
	font-family: var(--wp--preset--font-family--accent-display);
	color: var(--wp--preset--color--primary);
	font-size: 16px;
	font-weight: 500;
	text-transform: uppercase;
	margin: 0;
}

.hp-home-blog__title {
	color: var(--wp--preset--color--dark-text);
	font-size: 28px;
	font-weight: 600;
	margin: 0;
}

.hp-home-blog-grid {
	width: 100%;
	margin-top: 16px;
}

.hp-home-blog-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hp-home-blog-grid .wp-block-post {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 20px;
	text-align: left;
	margin: 0;
}

.hp-home-blog-card__image {
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	width: 130px;
}

.hp-home-blog-card__image img {
	width: 100%;
	height: 100px;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.hp-home-blog-grid .wp-block-post:hover .hp-home-blog-card__image img {
	transform: scale(1.08);
}

.hp-home-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hp-home-blog-card__title {
	font-family: var(--wp--preset--font-family--display);
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
}

.hp-home-blog-card__title a {
	color: #000000;
	font-weight: 700;
}

.hp-home-blog-card__excerpt {
	color: #7a7a7a;
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

@media (min-width: 640px) {
	.hp-home-blog-card__image {
		width: 200px;
	}

	.hp-home-blog-card__image img {
		height: 140px;
	}
}

@media (min-width: 960px) {
	.hp-home-blog__title {
		font-size: 48px;
	}

	.hp-home-blog-grid .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 60px;
		row-gap: 40px;
	}

	.hp-home-blog-grid .wp-block-post {
		gap: 31px;
	}

	.hp-home-blog-card__image {
		width: 281px;
	}

	.hp-home-blog-card__image img {
		height: 187px;
	}
}

