: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(3, minmax(0, 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: none;
}

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

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

.custom-logo-link img {
	max-height: 112px;
	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);
	width: 100%;
	max-width: none;
	text-align: center;
	min-height: clamp(340px, 52vw, 620px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

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

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

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

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: minmax(290px, 0.75fr) minmax(0, 1.25fr);
	gap: clamp(1.2rem, 2.6vw, 2.8rem);
	align-items: stretch;
	max-width: 1450px;
	margin-inline: auto;
}

.about-media {
	overflow: hidden;
	border-radius: 18px;
	border: 1px solid #d2e5fa;
	box-shadow: var(--shadow);
	height: 100%;
}

.about-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-photo-placeholder {
	background: linear-gradient(140deg, #c6ddf7 0%, #e8f2ff 100%);
}

.about-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.about-content h2 {
	font-size: clamp(2.35rem, 3.6vw, 4.1rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	max-width: 17ch;
	margin-bottom: 1rem;
}

.about-content p {
	font-size: clamp(1.05rem, 1.2vw, 1.22rem);
	line-height: 1.74;
	max-width: 66ch;
}

.about-content .btn {
	margin-top: 0.55rem;
	width: fit-content;
	align-self: flex-start;
}

.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;
}

.blog-feed {
	display: grid;
	gap: 1rem;
	max-width: 980px;
	margin-inline: auto;
}

.blog-wall-post {
	background: #fff;
	border: 1px solid #d8e8fa;
	border-radius: 16px;
	padding: 1rem;
	box-shadow: 0 14px 26px rgba(16, 61, 110, 0.08);
}

.blog-wall-head {
	display: flex;
	align-items: center;
	gap: 0.7rem;
}

.blog-wall-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(140deg, #0f63c7 0%, #2691f0 100%);
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
	flex: 0 0 44px;
}

.blog-wall-head-meta {
	min-width: 0;
}

.blog-wall-title {
	margin: 0;
	font-size: 1.1rem;
	line-height: 1.35;
	font-family: "Manrope", "Segoe UI", sans-serif;
	font-weight: 700;
}

.blog-wall-title a {
	color: #0d3154;
}

.blog-wall-meta {
	margin: 0.15rem 0 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #5d7f9f;
}

.blog-wall-body {
	margin-top: 0.75rem;
}

.blog-wall-body p {
	margin: 0;
	color: #2f4f70;
	font-size: 1rem;
	line-height: 1.7;
}

.blog-wall-image {
	display: block;
	margin-top: 0.8rem;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #d9e9fb;
}

.blog-wall-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.blog-wall-footer {
	margin-top: 0.85rem;
	padding-top: 0.65rem;
	border-top: 1px solid #e0ecfa;
	display: flex;
	justify-content: flex-end;
}

.about-modern-page .container {
	max-width: var(--inner-page-max);
}

.about-modern-hero {
	position: relative;
	margin-bottom: 1.3rem;
	padding: clamp(1.25rem, 2.4vw, 1.9rem);
	border: 1px solid #d9e9fb;
	border-radius: 18px;
	text-align: center;
	background:
		radial-gradient(circle at 96% 8%, rgba(96, 166, 237, 0.18), transparent 42%),
		radial-gradient(circle at 4% 96%, rgba(15, 99, 199, 0.14), transparent 48%),
		linear-gradient(140deg, #ffffff 0%, #f2f8ff 100%);
	box-shadow: 0 18px 34px rgba(15, 60, 113, 0.1);
}

.about-modern-hero h1 {
	margin-bottom: 0.35rem;
	margin-inline: auto;
}

.about-modern-lead {
	margin: 0;
	margin-inline: auto;
	max-width: 62ch;
	font-size: clamp(1.06rem, 1.35vw, 1.22rem);
	color: #315979;
}

.about-modern-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.about-modern-card {
	position: relative;
	padding: 1.15rem 1rem 1.05rem;
	border: 1px solid #d7e8fb;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 12px 26px rgba(17, 62, 111, 0.08);
	overflow: hidden;
}

.about-modern-card::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	height: 4px;
	width: 100%;
	background: linear-gradient(90deg, #0f63c7 0%, #37a0ff 100%);
}

.about-modern-card h2 {
	margin: 0 0 0.58rem;
	font-size: clamp(1.25rem, 2.1vw, 1.5rem);
	line-height: 1.2;
	font-family: "Manrope", "Segoe UI", sans-serif;
	font-weight: 800;
}

.about-modern-card p {
	margin: 0;
	font-size: 1rem;
	line-height: 1.68;
}

.about-modern-list {
	margin: 0;
	padding-left: 1.05rem;
}

.about-modern-list li {
	color: #3f5d78;
	line-height: 1.68;
}

.about-modern-list li + li {
	margin-top: 0.45rem;
}

.about-modern-faq {
	margin-top: 1.9rem;
}

.about-modern-faq h2 {
	margin-bottom: 0.85rem;
}

.about-modern-faq-list {
	display: grid;
	gap: 0.72rem;
}

.about-modern-faq-item {
	border: 1px solid #d7e8fb;
	border-radius: 13px;
	background: #fff;
	box-shadow: 0 10px 22px rgba(17, 62, 111, 0.06);
	overflow: hidden;
}

.about-modern-faq-item summary {
	position: relative;
	cursor: pointer;
	list-style: none;
	padding: 0.92rem 3rem 0.92rem 1rem;
	font-weight: 700;
	color: #0d3154;
}

.about-modern-faq-item summary::-webkit-details-marker {
	display: none;
}

.about-modern-faq-item summary::after {
	content: "+";
	position: absolute;
	right: 0.8rem;
	top: 50%;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transform: translateY(-50%);
	background: #e9f3ff;
	color: #0f63c7;
	font-size: 1.1rem;
	font-weight: 800;
}

.about-modern-faq-item[open] summary::after {
	content: "\2212";
}

.about-modern-faq-answer {
	padding: 0 1rem 1rem;
}

.about-modern-faq-answer p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.72;
}

.about-modern-editor-content {
	margin-top: 1.4rem;
	padding-top: 1.15rem;
	border-top: 1px solid #d8e8fa;
}

.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.5rem;
}

.service-card p {
	font-size: 1.05rem;
	line-height: 1.65;
}

.service-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	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);
}

.service-mark::before {
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	filter: brightness(0) invert(1);
}

.service-icon-photo::before {
	background-image: url("../icons/photo-video.svg");
}

.service-icon-presentation::before {
	background-image: url("../icons/walking.svg");
}

.service-icon-openhouse::before {
	background-image: url("../icons/door-open.svg");
}

.service-icon-plans::before {
	background-image: url("../icons/border-style.svg");
}

.service-icon-valuation::before {
	background-image: url("../icons/money-bill-alt.svg");
}

.service-icon-legal::before {
	background-image: url("../icons/file-invoice.svg");
}

.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;
}

.kontakt-page .container {
	max-width: var(--inner-page-max);
}

.contact-page-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
	gap: 1.2rem;
	align-items: start;
}

.contact-page-main {
	display: grid;
	gap: 1.2rem;
}

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

.contact-page-card h2,
.contact-page-card h3 {
	margin-bottom: 0.75rem;
}

.contact-page-list,
.contact-hours-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}

.contact-page-list li + li,
.contact-hours-list li + li {
	margin-top: 0.5rem;
}

.contact-page-map iframe {
	display: block;
	width: 100%;
	min-height: 360px;
	border: 0;
	border-radius: 14px;
}

.contact-page-sidebar {
	position: sticky;
	top: 130px;
	display: grid;
	gap: 1.2rem;
}

.contact-form-compact {
	padding: 0;
	border: 0;
	box-shadow: none;
}

.contact-page-editor-content {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #d8e8fa;
}

.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;
}

.footer-legal-links {
	margin-top: 0.45rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
}

.footer-legal-links a {
	color: rgba(231, 240, 247, 0.92);
	font-weight: 600;
}

.wa-cookie-manage-btn {
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(231, 240, 247, 0.92);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
}

.wa-cookie-banner {
	position: fixed;
	left: 50%;
	bottom: 1rem;
	transform: translateX(-50%);
	z-index: 10000;
	width: min(100% - 1rem, 1050px);
	background: #fff;
	border: 1px solid #c9def6;
	border-radius: 14px;
	box-shadow: 0 18px 38px rgba(7, 38, 73, 0.18);
}

.wa-cookie-banner[hidden] {
	display: none !important;
}

.wa-cookie-banner-inner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.9rem;
	padding: 1rem;
	align-items: center;
}

.wa-cookie-banner-text h2 {
	margin: 0 0 0.25rem;
	font-size: 1.2rem;
	font-family: "Manrope", "Segoe UI", sans-serif;
	font-weight: 800;
}

.wa-cookie-banner-text p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
}

.wa-cookie-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.55rem;
}

.wa-cookie-btn {
	white-space: nowrap;
}

.wa-cookie-modal {
	position: fixed;
	inset: 0;
	background: rgba(4, 26, 50, 0.58);
	z-index: 10020;
	display: grid;
	place-items: center;
	padding: 1rem;
}

.wa-cookie-modal[hidden] {
	display: none !important;
}

.wa-cookie-modal-dialog {
	position: relative;
	width: min(100%, 700px);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	padding: 1rem;
	background: #fff;
	border: 1px solid #cfe2f8;
	border-radius: 14px;
	box-shadow: 0 22px 42px rgba(7, 38, 73, 0.24);
}

.wa-cookie-modal-dialog h2 {
	margin: 0 0 0.35rem;
	font-size: 1.4rem;
}

.wa-cookie-modal-dialog p {
	margin-bottom: 0.85rem;
}

.wa-cookie-modal-close {
	position: absolute;
	right: 0.75rem;
	top: 0.65rem;
	border: 0;
	background: transparent;
	font-size: 1.55rem;
	line-height: 1;
	cursor: pointer;
	color: #1a4e7f;
}

.wa-cookie-form {
	display: grid;
	gap: 0.65rem;
}

.wa-cookie-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0.8rem;
	align-items: center;
	padding: 0.75rem;
	background: #f7fbff;
	border: 1px solid #d8e8fa;
	border-radius: 10px;
}

.wa-cookie-row strong {
	display: block;
	color: #0d3154;
}

.wa-cookie-row small {
	display: block;
	margin-top: 0.15rem;
	color: #466785;
	line-height: 1.45;
}

.wa-cookie-row input[type="checkbox"] {
	width: 1.05rem;
	height: 1.05rem;
}

.wa-cookie-modal-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.55rem;
	padding-top: 0.4rem;
}

body.is-cookie-modal-open {
	overflow: hidden;
}

.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,
	.contact-page-grid {
		grid-template-columns: 1fr;
	}

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

		.about-modern-grid {
			grid-template-columns: 1fr;
		}

		.wa-cookie-banner-inner {
			grid-template-columns: 1fr;
		}

		.wa-cookie-actions {
			justify-content: flex-start;
		}

		.sidebar-area {
			position: static;
		}

	.contact-page-sidebar {
		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;
	}

	.nav-row {
		min-height: 96px;
	}

	.custom-logo-link img {
		max-height: 88px;
	}

	.about-photo {
		height: clamp(260px, 44vw, 360px);
	}

	.about-content h2 {
		font-size: clamp(2rem, 5.6vw, 3rem);
		max-width: 22ch;
	}

	.about-content p {
		font-size: 1.02rem;
		line-height: 1.68;
	}

	.service-card h3 {
		font-size: 1.36rem;
	}

	.service-card p {
		font-size: 1rem;
	}

	.service-mark {
		width: 40px;
		height: 40px;
	}

	.service-mark::before {
		width: 21px;
		height: 21px;
	}
}

@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);
	}

	.nav-row {
		min-height: 84px;
	}

	.custom-logo-link img {
		max-height: 76px;
	}

	.about-photo {
		height: clamp(220px, 56vw, 300px);
	}

	.about-content h2 {
		font-size: clamp(1.74rem, 7vw, 2.3rem);
	}

	.service-mark {
		width: 38px;
		height: 38px;
	}

		.service-mark::before {
			width: 20px;
			height: 20px;
		}

		.wa-cookie-modal-dialog {
			padding: 0.9rem;
		}

		.wa-cookie-modal-actions {
			justify-content: stretch;
		}

		.wa-cookie-modal-actions .wa-cookie-btn {
			flex: 1 1 auto;
		}
	}

@media (max-width: 640px) {
	.service-grid {
		grid-template-columns: 1fr;
	}

	.cta-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
