/* =WordPress Core
-------------------------------------------------------------- */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* =Layout helpers
-------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

#wrapper { overflow: hidden; }

.section {
	padding: 96px 0;
}

.section--alt {
	background: var(--color-surface);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.section__header {
	max-width: 680px;
	margin: 0 0 56px;
}

.section__header--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 14px;
}

.section__header h2 {
	font-size: 34px;
	line-height: 1.25;
	margin-bottom: 16px;
}

.section__header p {
	color: var(--color-text-muted);
	font-size: 18px;
}

.lead-note {
	max-width: 760px;
	margin: 40px auto 0;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 16px;
}

/* =Buttons
-------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 16px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
	white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
	background: var(--color-accent);
	color: #fff;
}

.btn--primary:hover { background: var(--color-accent-dark); }

.btn--ghost {
	background: transparent;
	border-color: rgba(247, 248, 250, 0.3);
	color: var(--color-text-on-dark);
}

.btn--ghost:hover { border-color: rgba(247, 248, 250, 0.6); }

.btn--block { width: 100%; }

/* =Header
-------------------------------------------------------------- */
#header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--color-border);
}

#header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	gap: 24px;
}

.site-logo {
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--color-navy-900);
}

.site-logo span { color: var(--color-accent); }

.navigation {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0 auto 0 32px;
}

.navigation > li > a {
	font-size: 15px;
	font-weight: 600;
	color: var(--color-text-muted);
	white-space: nowrap;
}

.navigation > li > a:hover { color: var(--color-navy-900); }

.navigation > li:last-child {
	margin-left: 8px;
}

.navigation > li:last-child > a {
	background: var(--color-accent);
	color: #fff;
	padding: 11px 22px;
	border-radius: 8px;
}

.navigation > li:last-child > a:hover { background: var(--color-accent-dark); }

.nav-toggle {
	display: none;
	width: 40px;
	height: 40px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--color-surface);
	align-items: center;
	justify-content: center;
}

.nav-toggle svg { width: 20px; height: 20px; }

.lang-switch {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: 8px;
}

.lang-switch__item {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--color-text-muted);
	padding: 6px 8px;
	border-radius: 6px;
}

.lang-switch__item:hover { color: var(--color-navy-900); }

.lang-switch__item.is-active {
	color: var(--color-navy-900);
	background: var(--color-surface);
}

/* =Hero
-------------------------------------------------------------- */
.hero {
	background: radial-gradient(1200px 600px at 85% -10%, var(--color-navy-700) 0%, var(--color-navy-800) 55%, var(--color-navy-900) 100%);
	color: var(--color-text-on-dark);
	padding: 96px 0 120px;
}

.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
}

.hero .eyebrow { color: #8FB4FF; }

.hero h1 {
	font-size: 46px;
	line-height: 1.18;
	color: #fff;
	margin-bottom: 22px;
}

.hero p.hero__lead {
	font-size: 19px;
	color: var(--color-text-on-dark-muted);
	max-width: 560px;
	margin-bottom: 36px;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.hero__meta {
	font-size: 14px;
	color: var(--color-text-on-dark-muted);
}

.hero__graphic {
	display: flex;
	justify-content: center;
}

.mockup-window {
	width: 100%;
	max-width: 420px;
	background: var(--color-surface);
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(8, 12, 24, 0.35);
	overflow: hidden;
}

.mockup-window__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 14px 16px;
	background: #EDEFF3;
	border-bottom: 1px solid var(--color-border);
}

.mockup-window__bar .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.dot--red { background: #ED6A5E; }
.dot--yellow { background: #F4BF4F; }
.dot--green { background: #61C454; }

.mockup-window__title {
	margin-left: 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-muted);
}

.mockup-window__body {
	padding: 20px;
}

.mockup-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--color-border);
}

.mockup-row div { display: flex; flex-direction: column; gap: 3px; }

.mockup-row strong {
	font-size: 14px;
	color: var(--color-navy-900);
}

.mockup-row span {
	font-size: 12px;
	color: var(--color-text-muted);
}

.pill {
	font-size: 12px;
	font-weight: 700;
	padding: 5px 11px;
	border-radius: 999px;
	white-space: nowrap;
}

.pill--green { background: rgba(43, 174, 102, 0.12); color: #1C7A45; }
.pill--amber { background: rgba(244, 191, 79, 0.18); color: #946C0A; }
.pill--red { background: rgba(221, 72, 72, 0.1); color: #B3261E; }

.mockup-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 16px;
	font-size: 13px;
	color: var(--color-text-muted);
}

.mockup-summary strong {
	font-size: 16px;
	color: var(--color-navy-900);
}

/* =For whom / cards
-------------------------------------------------------------- */
.cards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow-card);
}

.card__icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(47, 111, 237, 0.1);
	color: var(--color-accent);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.card p {
	color: var(--color-text-muted);
	font-size: 15px;
}

/* =Modules
-------------------------------------------------------------- */
.modules-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.module-card {
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 32px 28px;
	position: relative;
}

.module-card__index {
	font-size: 13px;
	font-weight: 700;
	color: var(--color-accent);
	letter-spacing: 0.04em;
	margin-bottom: 16px;
}

.module-card h3 {
	font-size: 20px;
	margin-bottom: 10px;
}

.module-card p {
	color: var(--color-text-muted);
	font-size: 15px;
}

/* =Process
-------------------------------------------------------------- */
.process-steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	counter-reset: step;
	position: relative;
}

.step {
	position: relative;
	padding-top: 56px;
}

.step::before {
	counter-increment: step;
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--color-navy-900);
	color: #fff;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.step p {
	color: var(--color-text-muted);
	font-size: 15px;
}

/* =Why us
-------------------------------------------------------------- */
.why-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.why-item h3 {
	font-size: 18px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.why-item h3 svg {
	width: 22px;
	height: 22px;
	color: var(--color-accent);
	flex-shrink: 0;
}

.why-item p {
	color: var(--color-text-muted);
	font-size: 15px;
}

/* =Contact
-------------------------------------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: start;
}

.contact-info {
	background: var(--color-navy-800);
	color: var(--color-text-on-dark);
	border-radius: var(--radius);
	padding: 36px;
}

.contact-info h3 {
	color: #fff;
	font-size: 18px;
	margin-bottom: 18px;
}

.contact-info .contact-line {
	display: flex;
	gap: 12px;
	margin-bottom: 16px;
	font-size: 15px;
	color: var(--color-text-on-dark-muted);
}

.contact-info .contact-line strong {
	display: block;
	color: #fff;
	font-weight: 600;
}

.contact-info svg {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	color: #8FB4FF;
	flex-shrink: 0;
}

.contact-form {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 36px;
	box-shadow: var(--shadow-card);
}

.form-row {
	margin-bottom: 20px;
}

.form-row label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--color-navy-900);
}

.form-row input,
.form-row textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--color-bg);
}

.form-row input:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	background: var(--color-surface);
}

.form-row textarea {
	min-height: 110px;
	resize: vertical;
}

.form-note {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-top: 14px;
}

.form-success {
	background: rgba(43, 174, 102, 0.12);
	border: 1px solid rgba(43, 174, 102, 0.3);
	color: #1C7A45;
	padding: 14px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 15px;
}

.form-error {
	background: rgba(221, 72, 72, 0.1);
	border: 1px solid rgba(221, 72, 72, 0.3);
	color: #B3261E;
	padding: 14px 16px;
	border-radius: 8px;
	margin-bottom: 20px;
	font-size: 15px;
}

.hp-field { position: absolute !important; left: -9999px !important; }

/* =Footer
-------------------------------------------------------------- */
#footer {
	background: var(--color-navy-900);
	color: var(--color-text-on-dark-muted);
	padding: 56px 0 28px;
	font-size: 14px;
}

#footer .footer-top {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(247, 248, 250, 0.1);
	margin-bottom: 24px;
}

#footer .footer-brand {
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 10px;
}

#footer address {
	font-style: normal;
	line-height: 1.6;
}

#footer nav ul {
	display: flex;
	gap: 24px;
}

#footer nav a:hover { color: #fff; }

#footer .footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

/* =No space body class
-------------------------------------------------------------- */
#content {
	padding: 48px 0;
}

.no-space #content { padding: 0; }

.not-found {
	text-align: center;
	padding: 72px 24px;
}

.not-found h1 {
	font-size: 32px;
	margin-bottom: 16px;
}

.not-found .content p:first-of-type {
	color: var(--color-text-muted);
	margin-bottom: 28px;
}

/* =Blog / generic content layout
-------------------------------------------------------------- */
.site-content {
	display: flex;
	align-items: flex-start;
	gap: 48px;
	padding: 56px 0 96px;
}

.site-main {
	flex: 1;
	min-width: 0;
}

.page-header {
	margin-bottom: 40px;
}

.page-header h1 {
	font-size: 34px;
	line-height: 1.25;
}

.page-header h1 span {
	color: var(--color-accent);
}

/* =Post card (index / archive / search)
-------------------------------------------------------------- */
.post-card,
.post-single,
.entry-page {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	margin-bottom: 32px;
}

.post-single,
.entry-page {
	box-shadow: none;
}

.post-card__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--color-bg);
}

.post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	padding: 28px 28px 24px;
}

.post-single .post-card__body,
.entry-page {
	padding: 0;
}

.post-card__meta {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-bottom: 10px;
}

.post-card__meta a { color: inherit; }
.post-card__meta a:hover { color: var(--color-accent); }

.post-card__title {
	font-size: 22px;
	line-height: 1.3;
	margin-bottom: 14px;
}

.post-single .post-card__title,
.entry-page .post-card__title {
	font-size: 34px;
	margin-bottom: 24px;
}

.post-card__title a:hover { color: var(--color-accent); }

.post-card__content {
	color: var(--color-text-muted);
}

.post-card__more {
	display: inline-block;
	margin-top: 16px;
	font-weight: 700;
	font-size: 14px;
	color: var(--color-accent);
}

.post-card__more:hover { color: var(--color-accent-dark); }

.post-card__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--color-border);
	font-size: 13px;
	color: var(--color-text-muted);
}

.post-card__terms a {
	color: var(--color-text-muted);
}

.post-card__terms a:hover { color: var(--color-accent); }

.post-card__edit a {
	color: var(--color-accent);
}

/* =Entry content (pages, single posts)
-------------------------------------------------------------- */
.entry-content,
.post-card__content {
	font-size: 16px;
	line-height: 1.75;
}

.entry-content > *,
.post-card__content > * { margin-bottom: 20px; }
.entry-content > *:last-child,
.post-card__content > *:last-child { margin-bottom: 0; }

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.post-card__content h1,
.post-card__content h2,
.post-card__content h3,
.post-card__content h4 {
	color: var(--color-navy-900);
	margin-top: 8px;
}

.entry-content ul,
.entry-content ol,
.post-card__content ul,
.post-card__content ol {
	padding-left: 22px;
	list-style: initial;
}

.entry-content a,
.post-card__content a {
	color: var(--color-accent);
	text-decoration: underline;
}

.entry-content blockquote,
.post-card__content blockquote {
	border-left: 3px solid var(--color-accent);
	padding-left: 20px;
	color: var(--color-text-muted);
	font-style: italic;
}

.entry-content img,
.post-card__content img {
	border-radius: var(--radius);
}

.post-pagination {
	margin-top: 20px;
	font-size: 14px;
	font-weight: 700;
}

/* =Pagination (archive / search listings)
-------------------------------------------------------------- */
.pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-muted);
	background: var(--color-surface);
}

.pagination .page-numbers:hover { color: var(--color-navy-900); border-color: var(--color-navy-600); }

.pagination .page-numbers.current {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #fff;
}

.pagination .page-numbers.dots {
	border: none;
	background: transparent;
}

/* =Single post prev/next nav
-------------------------------------------------------------- */
.navigation-single {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 32px 0;
}

.navigation-single .prev,
.navigation-single .next {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 18px 20px;
	font-weight: 600;
	font-size: 15px;
}

.navigation-single .next { text-align: right; }

.navigation-single a:hover { color: var(--color-accent); }

/* =Search form
-------------------------------------------------------------- */
.search-form {
	display: flex;
	gap: 8px;
}

.search-form input[type="search"] {
	flex: 1;
	padding: 13px 14px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--color-bg);
}

.search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--color-accent);
	background: var(--color-surface);
}

.search-form button {
	padding: 13px 20px;
	border: none;
	border-radius: 8px;
	background: var(--color-accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.search-form button:hover { background: var(--color-accent-dark); }

/* =Comments
-------------------------------------------------------------- */
.comments {
	margin-top: 40px;
	padding-top: 40px;
	border-top: 1px solid var(--color-border);
}

.comments h2 {
	font-size: 22px;
	margin-bottom: 24px;
}

.commentlist-item {
	margin-bottom: 24px;
}

.commentlist-item > div {
	display: flex;
	gap: 16px;
}

.avatar-holder img {
	border-radius: 50%;
	width: 48px;
	height: 48px;
}

.commentlist-holder {
	flex: 1;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius);
	padding: 16px 20px;
}

.commentlist-holder .meta {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-bottom: 8px;
}

.commentlist-holder .meta a { color: inherit; }

.commentlist .children {
	margin-left: 48px;
}

.navigation-comments {
	margin-top: 16px;
}

.comment-respond,
.respond {
	margin-top: 32px;
}

.comment-reply-title {
	font-size: 20px;
	margin-bottom: 16px;
}

.comment-form p { margin-bottom: 20px; }

.comment-form label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	color: var(--color-navy-900);
}

.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 var(--color-border);
	border-radius: 8px;
	background: var(--color-bg);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--color-accent);
	background: var(--color-surface);
}

.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comment-form #submit {
	padding: 13px 26px;
	border: none;
	border-radius: 8px;
	background: var(--color-accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.comment-form #submit:hover { background: var(--color-accent-dark); }

/* =Sidebar
-------------------------------------------------------------- */
#sidebar {
	width: 300px;
	flex-shrink: 0;
}

#sidebar .widget {
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid var(--color-border);
}

#sidebar .widget:last-child {
	border-bottom: none;
}

#sidebar .widget-title {
	font-size: 16px;
	margin-bottom: 16px;
}

#sidebar .widget ul { list-style: none; }

#sidebar .widget li {
	padding: 8px 0;
	border-bottom: 1px solid var(--color-border);
}

#sidebar .widget li:last-child { border-bottom: none; }

#sidebar .widget a:hover { color: var(--color-accent); }

/* =Responsive
-------------------------------------------------------------- */
@media (max-width: 960px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__graphic { max-width: 320px; }
	.cards-grid { grid-template-columns: repeat(2, 1fr); }
	.modules-grid { grid-template-columns: 1fr; }
	.process-steps { grid-template-columns: 1fr; gap: 40px; }
	.why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.contact-grid { grid-template-columns: 1fr; }
	.section { padding: 72px 0; }

	.site-content { flex-direction: column; }
	#sidebar { width: 100%; }
	.navigation-single { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
	.navigation {
		position: fixed;
		top: 76px;
		left: 0;
		right: 0;
		height: calc(100vh - 76px);
		z-index: 99;
		background: var(--color-surface);
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 24px;
		gap: 4px;
		margin: 0;
		overflow-y: auto;
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .15s ease, transform .15s ease;
	}

	.navigation > li { width: 100%; }

	.navigation > li > a {
		display: block;
		padding: 14px 0;
		width: 100%;
		border-bottom: 1px solid var(--color-border);
		font-size: 17px;
	}

	body.nav-open .navigation {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.nav-toggle { display: flex; }

	.navigation > li:last-child { margin-left: 0; }
	.navigation > li:last-child > a {
		display: inline-block;
		width: auto;
		margin-top: 8px;
		border-bottom: none;
	}

	.hero h1 { font-size: 32px; }
	.hero p.hero__lead { font-size: 17px; }
	.section__header h2 { font-size: 26px; }
	.cards-grid { grid-template-columns: 1fr; }
	.why-grid { grid-template-columns: 1fr; }

	#footer .footer-top { flex-direction: column; gap: 24px; }
	#footer nav ul { flex-direction: column; gap: 10px; }
}
