:root {
	--bg: #f6f8fb;
	--surface: #ffffff;
	--ink: #102033;
	--muted: #617086;
	--line: #dbe3ee;
	--primary: #0f766e;
	--primary-dark: #115e59;
	--accent: #2563eb;
	--soft: #e8f3f1;
	--shadow: 0 20px 60px rgba(16, 32, 51, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--ink);
	background: var(--bg);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

body.admin-bar .site-header {
	top: 32px;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--primary-dark);
}

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

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

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	color: #ffffff;
	background: var(--primary-dark);
	border-radius: 8px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(246, 248, 251, 0.9);
	border-bottom: 1px solid rgba(219, 227, 238, 0.85);
	backdrop-filter: blur(14px);
}

.site-nav,
.section-inner,
.hero-inner,
.footer-inner {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.site-nav {
	min-height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand,
.nav-wrap,
.primary-menu {
	display: flex;
	align-items: center;
}

.brand {
	gap: 12px;
	font-weight: 800;
}

.brand-mark {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	color: #ffffff;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(15, 118, 110, 0.24);
}

.brand-name {
	font-size: 1rem;
	letter-spacing: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 54px;
	width: auto;
}

.nav-wrap {
	gap: 24px;
}

.primary-menu {
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 0.94rem;
	font-weight: 700;
}

.button {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-weight: 800;
	line-height: 1;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
	transform: translateY(-1px);
}

.button-primary {
	color: #ffffff;
	background: var(--primary);
	box-shadow: 0 12px 28px rgba(15, 118, 110, 0.24);
}

.button-primary:hover {
	color: #ffffff;
	background: var(--primary-dark);
}

.button-secondary {
	color: var(--ink);
	background: #ffffff;
	border-color: var(--line);
}

.hero {
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(232, 243, 241, 0.95), rgba(246, 248, 251, 0.72)),
		url("https://images.unsplash.com/photo-1558494949-ef010cbdcc31?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-inner {
	min-height: calc(100vh - 72px);
	padding: 92px 0 80px;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
	align-items: center;
	gap: 56px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	color: var(--primary-dark);
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--primary);
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1 {
	max-width: 780px;
	margin-bottom: 22px;
	font-size: clamp(2.7rem, 5.8vw, 5.35rem);
	line-height: 0.98;
	letter-spacing: 0;
}

h2 {
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.08;
	letter-spacing: 0;
}

h3 {
	font-size: 1.24rem;
	line-height: 1.25;
}

.hero-copy {
	max-width: 660px;
	margin-bottom: 32px;
	color: #304258;
	font-size: 1.18rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-panel {
	padding: 28px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.metric-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.metric {
	min-height: 118px;
	padding: 18px;
	background: #f7fafc;
	border: 1px solid var(--line);
	border-radius: 8px;
}

.metric strong {
	display: block;
	margin-bottom: 8px;
	color: var(--primary-dark);
	font-size: 1.7rem;
	line-height: 1;
}

.metric span,
.panel-note {
	color: var(--muted);
	font-size: 0.94rem;
}

.section {
	padding: 92px 0;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 42px;
}

.section-heading h2 {
	margin-bottom: 14px;
}

.section-heading p,
.about-content > p,
.service-card p,
.feature p,
.contact-section .section-heading p,
.post-excerpt,
.page-content {
	color: var(--muted);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.service-card,
.post-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 12px 34px rgba(16, 32, 51, 0.06);
}

.service-card {
	min-height: 284px;
	padding: 26px;
}

.service-icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	margin-bottom: 20px;
	color: #ffffff;
	background: var(--primary);
	border-radius: 8px;
	font-size: 0.92rem;
	font-weight: 800;
}

.service-card h3 {
	margin-bottom: 12px;
}

.service-card p {
	margin-bottom: 0;
}

.about-section {
	background: #ffffff;
}

.about-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 58px;
}

.about-visual {
	min-height: 520px;
	background:
		linear-gradient(180deg, rgba(16, 32, 51, 0.05), rgba(16, 32, 51, 0.28)),
		url("https://images.unsplash.com/photo-1600267185393-e158a98703de?auto=format&fit=crop&w=1100&q=80") center/cover;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.feature-list {
	display: grid;
	gap: 18px;
	margin-top: 28px;
}

.feature {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 16px;
	align-items: start;
}

.feature-check {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	color: var(--primary-dark);
	background: var(--soft);
	border-radius: 8px;
	font-weight: 900;
}

.feature h3 {
	margin-bottom: 4px;
	font-size: 1.05rem;
}

.feature p {
	margin-bottom: 0;
}

.contact-section {
	color: #ffffff;
	background: #102033;
}

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
	gap: 48px;
	align-items: start;
}

.contact-section .eyebrow,
.contact-section h2 {
	color: #ffffff;
}

.contact-section .section-heading p {
	color: #b9c5d4;
}

.contact-details {
	display: grid;
	gap: 18px;
	margin-top: 34px;
}

.contact-item {
	padding: 18px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
}

.contact-item strong {
	display: block;
	margin-bottom: 4px;
}

.contact-item span {
	color: #c8d2df;
}

.contact-form {
	padding: 28px;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

label {
	display: block;
	margin-bottom: 8px;
	color: #24364a;
	font-size: 0.88rem;
	font-weight: 800;
}

input,
textarea {
	width: 100%;
	min-height: 48px;
	padding: 12px 14px;
	color: var(--ink);
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 8px;
	font: inherit;
}

textarea {
	min-height: 130px;
	resize: vertical;
}

.field {
	margin-bottom: 16px;
}

.form-note {
	margin: 14px 0 0;
	color: var(--muted);
	font-size: 0.9rem;
}

.page-hero {
	padding: 82px 0;
	background: linear-gradient(135deg, var(--soft), #ffffff);
	border-bottom: 1px solid var(--line);
}

.page-hero h1 {
	margin-bottom: 0;
	font-size: clamp(2.4rem, 4vw, 4rem);
}

.page-content,
.posts-list {
	padding: 72px 0;
}

.page-content {
	max-width: 860px;
	font-size: 1.06rem;
}

.page-content a {
	color: var(--primary-dark);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-card {
	padding: 26px;
	margin-bottom: 20px;
}

.post-card h2 {
	margin-bottom: 10px;
	font-size: 1.6rem;
}

.nav-links {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-top: 28px;
}

.site-footer {
	padding: 24px 0;
	color: #617086;
	background: #ffffff;
	border-top: 1px solid var(--line);
	font-size: 0.92rem;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.footer-inner p {
	margin-bottom: 0;
}

@media (max-width: 900px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	.site-nav {
		align-items: flex-start;
		padding: 16px 0;
		flex-direction: column;
	}

	.nav-wrap {
		width: 100%;
		align-items: flex-start;
		flex-direction: column;
		gap: 16px;
	}

	.primary-menu {
		width: 100%;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.hero-inner,
	.about-layout,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.hero-inner {
		min-height: auto;
		padding-top: 68px;
	}

	.services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about-visual {
		min-height: 360px;
	}
}

@media (max-width: 620px) {
	.site-nav,
	.section-inner,
	.hero-inner,
	.footer-inner {
		width: min(100% - 28px, 1120px);
	}

	.section {
		padding: 68px 0;
	}

	.services-grid,
	.metric-grid,
	.form-row {
		grid-template-columns: 1fr;
	}

	.hero-actions,
	.footer-inner {
		flex-direction: column;
	}

	.button,
	.nav-cta {
		width: 100%;
	}

	.primary-menu {
		gap: 18px;
		font-size: 0.9rem;
	}
}
