:root {
	--bg: #f4f9ff;
	--bg-soft: #eaf3ff;
	--surface: #ffffff;
	--ink: #0f2942;
	--ink-soft: #3f5d78;
	--brand: #0f63c7;
	--brand-dark: #0a4d9a;
	--accent: #1f77d3;
	--line: #d2e4f7;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow: 0 16px 34px rgba(17, 54, 92, 0.11);
	--container: 1880px;
	--inner-page-max: 1520px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: linear-gradient(180deg, #f7fbff 0%, #edf5ff 45%, #f7fbff 100%);
	color: var(--ink);
	font-family: "Manrope", "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

h1,
h2,
h3 {
	margin-top: 0;
	color: #0d3154;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 600;
	line-height: 1.2;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.2rem, 5vw, 4rem);
}

h2 {
	font-size: clamp(1.8rem, 4vw, 2.8rem);
}

h3 {
	font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

p {
	margin: 0 0 1rem;
	color: var(--ink-soft);
	text-wrap: pretty;
}

a {
	color: var(--brand);
	text-decoration: none;
	transition: color 180ms ease;
}

a:hover,
a:focus {
	color: var(--brand-dark);
}

h1,
h2,
h3,
p,
li,
a,
blockquote {
	word-break: normal;
	overflow-wrap: normal;
	hyphens: manual;
}

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

.container {
	width: min(100% - clamp(1rem, 2.5vw, 2.75rem), var(--container));
	margin-inline: auto;
}

.section {
	padding: clamp(3.5rem, 6vw, 6rem) 0;
}

.eyebrow {
	margin-bottom: 0.65rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.25rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--brand);
	color: #fff;
	box-shadow: 0 8px 16px rgba(15, 99, 199, 0.25);
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--brand-dark);
	color: #fff;
}

.btn-secondary {
	background: #fff;
	color: #16395e;
	border-color: #b7d4f2;
}

.btn-secondary:hover,
.btn-secondary:focus {
	background: #eff6ff;
}

.btn-outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.75);
	color: #fff;
}

.btn-outline:hover,
.btn-outline:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.card-grid,
.service-grid {
	display: grid;
	gap: 1.2rem;
}

.card-grid {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.topbar {
	background: #0b4e93;
	color: #fff;
	font-size: 0.92rem;
}

.topbar-inner {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	min-height: 42px;
}

.topbar-phone {
	color: inherit;
	font-weight: 700;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, 0.93);
	border-bottom: 1px solid rgba(198, 220, 245, 0.9);
}

.nav-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	min-height: 76px;
}

.site-title {
	color: #0d3154;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.8rem;
	font-weight: 700;
}

.custom-logo-link img {
	max-height: 56px;
	width: auto;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: inline-flex;
	padding: 0.3rem 0.2rem;
	color: #0d3154;
	font-weight: 600;
}

.main-navigation .sub-menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	left: 0;
	display: none;
	flex-direction: column;
	min-width: 220px;
	padding: 0.7rem;
	background: #fff;
	border: 1px solid #d4e6f9;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow);
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu {
	display: flex;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid #b9d3ef;
	border-radius: 10px;
	padding: 0.45rem;
	width: 42px;
	height: 42px;
	cursor: pointer;
}

.menu-toggle-line {
	display: block;
	height: 2px;
	background: #0d3154;
	margin: 4px 0;
}

.top-slider {
	padding: clamp(1rem, 2.8vw, 2rem) 0 clamp(3rem, 5vw, 5rem);
}

.slider-frame {
	position: relative;
	min-height: clamp(340px, 52vw, 620px);
	border-radius: 26px;
	overflow: hidden;
	background:
		radial-gradient(circle at 8% 25%, rgba(122, 177, 238, 0.45), transparent 48%),
		radial-gradient(circle at 92% 18%, rgba(255, 255, 255, 0.22), transparent 46%),
		linear-gradient(120deg, #104f95 0%, #0e6ecc 100%);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: var(--shadow);
	border: 1px solid rgba(13, 77, 145, 0.22);
}

.slider-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(8, 39, 74, 0.72) 15%, rgba(8, 39, 74, 0.36) 62%, rgba(8, 39, 74, 0.56) 100%);
}

.slider-content {
	position: relative;
	z-index: 2;
	padding: clamp(2rem, 7vw, 4rem);
	max-width: 760px;
}

.slider-content .eyebrow,
.slider-content h1 {
	color: #fff;
}

.hero-subtitle {
	font-size: 1.1rem;
	max-width: 56ch;
	color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1.2rem;
}

label {
	font-weight: 600;
	font-size: 0.9rem;
	color: #204a71;
}

input[type="text"],
input[type="search"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: 100%;
	border: 1px solid #c3dbf5;
	border-radius: 11px;
	padding: 0.72rem 0.85rem;
	font: inherit;
	color: #0d3154;
	background: #fff;
}

input:focus,
select:focus,
textarea:focus {
	outline: 2px solid rgba(15, 99, 199, 0.3);
	border-color: #76ace4;
}

.about-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 1.4rem;
	align-items: start;
}

.about-panel {
	padding: 1.25rem;
	border-radius: var(--radius);
	background: var(--bg-soft);
	border: 1px solid #d0e3f8;
}

.about-panel ul {
	margin: 0;
	padding-left: 1.2rem;
	color: #2d3f53;
}

.offers,
.blog-preview {
	background: #fff;
}

.offer-card,
.blog-card {
	background: #fff;
	border: 1px solid #d8e8fa;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 14px 26px rgba(16, 61, 110, 0.08);
}

.offer-thumb-link img,
.blog-thumb-link img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}

.offer-image-placeholder {
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #c8def6 0%, #e8f3ff 100%);
}

.offer-content,
.blog-content {
	padding: 1rem 1rem 1.1rem;
}

.offer-title,
.blog-content h3 {
	margin-bottom: 0.35rem;
}

.offer-title a,
.blog-content h3 a {
	color: #0d3154;
}

.offer-meta,
.blog-date {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #4f6d8c;
}

.offer-excerpt,
.blog-content p {
	font-size: 0.95rem;
}

.offer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.6rem;
}

.offer-price {
	margin: 0;
	font-weight: 800;
	font-size: 1.05rem;
	color: #0d4f92;
}

.text-link {
	font-weight: 700;
}

.services {
	background: linear-gradient(180deg, #f5faff 0%, #ecf4ff 100%);
}

.section-title-split {
	display: inline-grid;
	gap: 0.05rem;
	max-width: 18ch;
}

.section-title-split span {
	display: block;
}

.service-card {
	position: relative;
	padding: 1.15rem 1rem 1rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #d7e8fb;
	border-top: 4px solid #0f63c7;
	box-shadow: 0 12px 26px rgba(17, 62, 111, 0.08);
}

.service-card h3 {
	margin-bottom: 0.4rem;
	font-size: 1.35rem;
}

.service-mark {
	display: inline-flex;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	margin-bottom: 0.75rem;
	background: linear-gradient(140deg, #0f63c7 0%, #2691f0 100%);
	box-shadow: 0 8px 16px rgba(15, 99, 199, 0.3);
}

.testimonials {
	background: linear-gradient(180deg, #eef6ff 0%, #e5f0fe 100%);
}

.testimonials .eyebrow,
.testimonials h2 {
	color: #0d3154;
}

.testimonial-carousel {
	position: relative;
	overflow: hidden;
	padding: 0.15rem 0 0.3rem;
}

.testimonial-carousel::before,
.testimonial-carousel::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 52px;
	z-index: 3;
	pointer-events: none;
}

.testimonial-carousel::before {
	left: 0;
	background: linear-gradient(90deg, #e9f2ff 0%, rgba(233, 242, 255, 0) 100%);
}

.testimonial-carousel::after {
	right: 0;
	background: linear-gradient(270deg, #e9f2ff 0%, rgba(233, 242, 255, 0) 100%);
}

.testimonial-track {
	display: flex;
	align-items: stretch;
	gap: 1rem;
	width: max-content;
	will-change: transform;
}

.testimonial-card {
	flex: 0 0 clamp(255px, 30vw, 370px);
	position: relative;
	background: #fff;
	border: 1px solid #d5e7fa;
	border-radius: 16px;
	padding: 1.2rem 1rem 1.05rem;
	box-shadow: 0 12px 26px rgba(17, 62, 111, 0.08);
}

.testimonial-card::before {
	content: "\201C";
	position: absolute;
	top: 0.7rem;
	right: 0.95rem;
	font-size: 2.3rem;
	line-height: 1;
	font-family: Georgia, serif;
	color: rgba(15, 99, 199, 0.25);
}

.testimonial-name {
	color: #0d3154;
	margin-bottom: 0.2rem;
	font-size: 1.3rem;
}

.testimonial-role {
	margin: 0 0 0.75rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5c7fa3;
}

.testimonial-text {
	margin: 0;
	color: #3f5d78;
}

.contact-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 1.4rem;
	align-items: start;
}

.contact-form {
	padding: 1.2rem;
	background: #fff;
	border: 1px solid #d1e4f8;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.contact-form p {
	margin: 0 0 0.8rem;
}

.consent-row label {
	display: flex;
	gap: 0.55rem;
	align-items: flex-start;
	font-weight: 500;
}

.consent-row input {
	margin-top: 0.18rem;
}

.form-hp {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.contact-status {
	margin-top: 1rem;
	padding: 0.7rem 0.85rem;
	border-radius: 10px;
	font-weight: 600;
}

.contact-status.is-success {
	background: #e3f4eb;
	border: 1px solid #8dc5a2;
	color: #185935;
}

.contact-status.is-error {
	background: #feeef0;
	border: 1px solid #e2a4ac;
	color: #8a2f3b;
}

.cta {
	background: linear-gradient(120deg, #0c5aad 0%, #0d74d3 100%);
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.cta .eyebrow,
.cta h2,
.cta p {
	color: #fff;
}

.site-footer {
	padding: 2.2rem 0 1rem;
	background: #082f59;
	color: #d7e3ef;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.footer-card {
	padding: 1rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
}

.footer-card h2 {
	font-size: 1.2rem;
	color: #fff;
}

.footer-card p,
.footer-card a {
	color: rgba(231, 240, 247, 0.9);
}

.footer-menu,
.footer-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu li + li {
	margin-top: 0.4rem;
}

.footer-bottom {
	padding-top: 1rem;
	font-size: 0.85rem;
}

.site-content {
	min-height: 60vh;
}

.inner-page {
	padding-top: clamp(2rem, 4vw, 4rem);
}

/* Keep homepage width as accepted and normalize all other pages. */
body:not(.home) .site-content > .section > .container {
	width: min(100% - clamp(1rem, 2.5vw, 2.75rem), var(--inner-page-max));
}

/* Keep non-home page titles centered. */
body:not(.home) .inner-page .entry-header {
	text-align: center;
	margin-bottom: 1.1rem;
}

body:not(.home) .inner-page .entry-header h1 {
	margin-inline: auto;
}

body:not(.home) .inner-page .archive-description {
	max-width: 72ch;
	margin-inline: auto;
}

.content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
	gap: 1.2rem;
	align-items: start;
	max-width: var(--inner-page-max);
	margin-inline: auto;
}

.narrow-content {
	max-width: var(--inner-page-max);
}

@media (max-width: 1600px) {
	:root {
		--container: 1540px;
		--inner-page-max: 1420px;
	}
}

@media (max-width: 1300px) {
	:root {
		--container: 1240px;
		--inner-page-max: 1160px;
	}

	.section {
		padding: clamp(3rem, 5vw, 4.8rem) 0;
	}
}

.single-article,
.page-article,
.widget,
.empty-state {
	background: #fff;
	border: 1px solid #d4e6fa;
	border-radius: var(--radius);
	padding: 1.2rem;
}

.single-thumb {
	margin: 1rem 0;
	border-radius: 14px;
	overflow: hidden;
}

.entry-content > * + * {
	margin-top: 1rem;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.25rem;
}

.archive-description {
	margin-bottom: 1rem;
}

.widget-title {
	margin-bottom: 0.65rem;
}

.sidebar-area {
	position: sticky;
	top: 110px;
}

.pagination {
	margin-top: 1.3rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	height: 2.2rem;
	border: 1px solid #bed6f2;
	border-radius: 999px;
	padding: 0 0.7rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: #14416a;
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	clip: auto;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

@media (max-width: 980px) {
	:root {
		--container: 940px;
		--inner-page-max: 940px;
	}

	body {
		font-size: 15.6px;
	}

	.container {
		width: min(100% - 1.25rem, var(--container));
	}

	.about-grid,
	.contact-grid,
	.content-grid {
		grid-template-columns: 1fr;
	}

	.sidebar-area {
		position: static;
	}

	.main-navigation {
		position: absolute;
		top: 100%;
		right: 1rem;
		left: 1rem;
		padding: 0.8rem;
		background: #fff;
		border: 1px solid #cde1f7;
		border-radius: 14px;
		box-shadow: var(--shadow);
		display: none;
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: flex-start;
	}

	.main-navigation .sub-menu {
		position: static;
		display: flex;
		padding: 0.3rem 0 0.3rem 1rem;
		border: 0;
		box-shadow: none;
	}

	.menu-toggle {
		display: inline-block;
	}
}

@media (max-width: 768px) {
	body {
		font-size: 15.2px;
		line-height: 1.65;
	}

	.container {
		width: min(100% - 1rem, 100%);
	}

	.section {
		padding: clamp(2.35rem, 7vw, 3.5rem) 0;
	}

	h1 {
		font-size: clamp(1.95rem, 8vw, 2.7rem);
	}

	h2 {
		font-size: clamp(1.5rem, 6.5vw, 2.2rem);
	}
}

@media (max-width: 640px) {
	.cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
