@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Poppins:wght@600;700;800&display=swap");

:root {
	--och-navy: #0d3370;
	--och-ink: #1a1a1a;
	--och-blue: #1c9dd9;
	--och-sky: #44b3f1;
	--och-orange: #ff6900;
	--och-gold: #ce9d31;
	--och-paper: #ffffff;
	--och-mist: #f3f8fc;
	--och-ice: #e8f4fb;
	--och-muted: #5c6b80;
	--och-line: rgba(13, 51, 112, 0.12);
}

html {
	scroll-behavior: smooth;
}

body,
.wp-site-blocks {
	font-family: "Open Sans", system-ui, sans-serif;
	color: var(--och-ink);
	background: var(--och-paper);
}

.wp-site-blocks {
	padding: 0 !important;
}

.entry-content.wp-block-post-content,
.wp-block-post-content,
main.wp-block-group {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.wp-block-post-content.is-layout-constrained > *,
.wp-block-post-content.has-global-padding > * {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.wp-block-html {
	margin: 0 !important;
}

.och-header.is-layout-constrained > .wp-block-group,
.och-footer.is-layout-constrained > .wp-block-columns {
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

body {
	overflow-x: hidden;
}

.och-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 3px solid var(--och-orange);
	backdrop-filter: blur(10px);
	overflow: visible;
}

.och-header .wp-block-group.is-nowrap {
	flex-wrap: wrap !important;
}

.och-header .wp-block-site-title,
.och-header .wp-block-site-title a {
	display: none;
}

.och-header .custom-logo {
	height: 36px;
	width: auto;
	max-width: 200px;
}

.och-header a,
.och-header .wp-block-navigation-item__content {
	color: var(--och-navy) !important;
	font-weight: 600;
	text-decoration: none;
}

.och-header-phone {
	margin: 0;
	font-weight: 700;
	font-size: 0.9rem;
	white-space: nowrap;
}

.och-header-phone a {
	color: var(--och-orange) !important;
}

.och-cta .wp-block-button__link,
.wp-block-button.och-cta .wp-block-button__link,
.och-btn,
a.och-btn {
	border-radius: 4px !important;
	padding: 0.9rem 1.5rem !important;
	min-height: 44px;
	font-weight: 700 !important;
	background: var(--och-orange) !important;
	color: #fff !important;
	text-decoration: none !important;
	display: inline-block;
	border: 0 !important;
	letter-spacing: 0.01em;
}

.och-btn-ghost {
	background: transparent !important;
	color: #fff !important;
	border: 2px solid #fff !important;
}

.och-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 22px;
}

.och-kicker {
	display: inline-block;
	font-family: Poppins, sans-serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--och-orange);
	margin-bottom: 0.6rem;
}

.och-hero {
	position: relative;
	min-height: 86vh;
	display: flex;
	align-items: center;
	color: #fff;
	background:
		linear-gradient(100deg, rgba(13, 51, 112, 0.88) 0%, rgba(28, 157, 217, 0.55) 55%, rgba(255, 105, 0, 0.35) 100%),
		var(--hero, none) center/cover no-repeat;
	padding: 88px 0 96px;
}

.och-hero h1 {
	font-family: Poppins, sans-serif;
	font-size: clamp(2.1rem, 4.6vw, 3.6rem);
	line-height: 1.12;
	font-weight: 800;
	margin: 0 0 1rem;
	max-width: 18ch;
}

.och-hero .lead {
	font-size: 1.12rem;
	max-width: 42rem;
	line-height: 1.7;
}

.och-intro {
	padding: 72px 0;
	background: var(--och-mist);
}

.och-intro-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 40px;
	align-items: center;
}

.och-intro h2,
.och-chapter h2,
.och-funnel h2,
.och-what h2,
.och-why h2,
.och-process h2,
.och-price h2,
.och-roof h2,
.och-reasons h2,
.och-benefits h2,
.och-quotes h2,
.och-page h1,
.och-page h2 {
	font-family: Poppins, sans-serif;
	color: var(--och-navy);
	font-weight: 700;
	line-height: 1.2;
}

.och-nets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 1rem;
}

.och-nets span {
	background: #fff;
	border: 1px solid var(--och-line);
	color: var(--och-navy);
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 700;
}

.och-chapter {
	padding: 64px 0;
}

.och-chapter:nth-of-type(odd) {
	background: #fff;
}

.och-chapter:nth-of-type(even) {
	background: var(--och-ice);
}

.och-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}

.och-split.reverse {
	direction: rtl;
}

.och-split.reverse > * {
	direction: ltr;
}

.och-split > *,
.och-intro-grid > *,
.och-funnel-grid > *,
.och-stat > *,
.och-what-box > *,
.och-roof-grid > *,
.och-price-inner > *,
.och-proc > *,
.och-ben-grid > * {
	min-width: 0;
}

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

.och-wrap img,
.och-page img {
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: center;
	border-radius: 12px;
	display: block;
}

img.och-fill {
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: cover;
	aspect-ratio: 16 / 10;
}

img.och-icon {
	width: auto;
	max-width: min(100%, 160px);
	height: auto;
	object-fit: contain;
}

.och-chapter p,
.och-funnel p,
.och-what p,
.och-intro p,
.och-roof p,
.och-page p {
	line-height: 1.8;
	color: #333;
	margin: 0 0 1rem;
}

.och-funnel {
	padding: 80px 0;
	background: linear-gradient(180deg, #0d3370 0%, #106eb3 100%);
	color: #fff;
}

.och-funnel h2,
.och-funnel p {
	color: #fff;
}

.och-funnel-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 40px;
	align-items: center;
}

.och-band {
	padding: 56px 0;
	background: var(--och-mist);
}

.och-stat {
	display: grid;
	grid-template-columns: 220px 1fr 280px;
	gap: 28px;
	align-items: center;
	background: #fff;
	border-left: 8px solid var(--och-orange);
	padding: 28px;
	margin-bottom: 22px;
	box-shadow: 0 10px 30px rgba(13, 51, 112, 0.08);
}

.och-stat strong {
	font-family: Poppins, sans-serif;
	font-size: 3.2rem;
	color: var(--och-orange);
	line-height: 1;
	display: block;
}

.och-stat span {
	color: var(--och-navy);
	font-weight: 700;
}

.och-what {
	padding: 72px 0;
	background: #fff;
}

.och-what-box {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 36px;
	align-items: center;
}

.och-quotes {
	padding: 72px 0;
	background: var(--och-ice);
}

.och-quote {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 22px;
	background: #fff;
	padding: 28px;
	margin-bottom: 18px;
	border-radius: 12px;
	border-top: 4px solid var(--och-blue);
}

.och-quote img {
	width: 96px;
	height: 96px;
	max-width: 96px;
	object-fit: cover;
	object-position: center;
	border-radius: 50%;
}

.och-quote h3 {
	margin: 0 0 0.4rem;
	color: var(--och-navy);
	font-family: Poppins, sans-serif;
	font-size: 1.05rem;
}

.och-quote p {
	margin: 0;
	line-height: 1.75;
}

.och-why {
	padding: 72px 0;
	background: #fff;
}

.och-why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.och-why article {
	background: var(--och-mist);
	padding: 28px;
	border-radius: 12px;
	border-bottom: 5px solid var(--och-blue);
}

.och-why img {
	width: auto;
	height: auto;
	max-width: 96px;
	max-height: 96px;
	object-fit: contain;
	margin-bottom: 12px;
}

.och-process {
	padding: 80px 0;
	background: var(--och-mist);
}

.och-proc {
	display: grid;
	grid-template-columns: 200px 1fr;
	gap: 28px;
	align-items: start;
	background: #fff;
	padding: 28px;
	margin-bottom: 20px;
	border-radius: 12px;
}

.och-proc .step {
	font-family: Poppins, sans-serif;
	color: var(--och-orange);
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.och-price {
	padding: 72px 0;
	background: var(--och-orange);
	color: #fff;
}

.och-price h2,
.och-price p,
.och-price li {
	color: #fff;
}

.och-price-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
}

.och-price .from {
	font-family: Poppins, sans-serif;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 800;
	line-height: 1.1;
}

.och-roof {
	padding: 72px 0;
	background: #fff;
}

.och-roof-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 36px;
	align-items: center;
}

.och-reasons {
	padding: 72px 0;
	background: var(--och-navy);
	color: #fff;
}

.och-reasons h2 {
	color: #fff;
}

.och-reasons ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: r;
}

.och-reasons li {
	counter-increment: r;
	padding: 18px 0 18px 72px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
	line-height: 1.7;
}

.och-reasons li::before {
	content: counter(r);
	position: absolute;
	left: 0;
	top: 16px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--och-orange);
	color: #fff;
	font-family: Poppins, sans-serif;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

.och-benefits {
	padding: 72px 0;
	background: var(--och-mist);
}

.och-ben-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
}

.och-benefit {
	background: #fff;
	padding: 24px;
	border-radius: 12px;
}

.och-close {
	padding: 80px 0;
	background:
		linear-gradient(100deg, rgba(13, 51, 112, 0.9), rgba(255, 105, 0, 0.75)),
		var(--cta, none) center/cover no-repeat;
	color: #fff;
}

.och-close h2 {
	color: #fff;
	font-family: Poppins, sans-serif;
}

.och-form,
.wpcf7 form {
	display: grid;
	gap: 12px;
}

.wpcf7 label {
	font-weight: 600;
	color: inherit;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--och-line);
	border-radius: 6px;
	padding: 0.6rem 0.75rem;
	font: inherit;
	color: var(--och-ink);
	background: #fff;
}

.wpcf7 input.wpcf7-submit {
	background: var(--och-navy);
	color: #fff;
	border: 0;
	min-height: 48px;
	font-weight: 700;
	border-radius: 4px;
	cursor: pointer;
	padding: 0.8rem 1.4rem;
}

.wp-block-group.och-close {
	background: #0d3370;
	max-width: none !important;
	padding: 12px 22px 64px !important;
}

.wp-block-group.och-close .wpcf7 {
	max-width: 720px;
	margin: 0 auto;
	color: #fff;
}

.och-close .wpcf7,
.och-close + .och-close {
	max-width: 1140px;
	margin: -40px auto 64px;
	padding: 0 22px 48px;
}

.och-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 0 !important;
	opacity: 0 !important;
}

.och-footer {
	background: #071833;
	color: #d7e6f4;
}

.och-footer a {
	color: #fff;
}

.och-nap {
	line-height: 1.7;
}

.och-contact-form {
	max-width: 720px;
	margin: -40px auto 80px;
	padding: 0 22px 48px;
}

.och-faq details {
	background: var(--och-mist);
	padding: 16px 18px;
	margin-bottom: 10px;
	border-radius: 8px;
}

.och-faq summary {
	font-weight: 700;
	color: var(--och-navy);
	cursor: pointer;
}

.cmplz-cookiebanner .cmplz-buttons {
	display: flex !important;
	flex-direction: column !important;
	gap: 10px !important;
}

.cmplz-cookiebanner .cmplz-btn,
.cmplz-cookiebanner .cmplz-accept,
.cmplz-cookiebanner .cmplz-deny,
.cmplz-cookiebanner .cmplz-dismiss {
	min-height: 44px !important;
	border-radius: 4px !important;
	font-weight: 700 !important;
}

.cmplz-cookiebanner .cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-save-preferences,
.cmplz-cookiebanner .cmplz-manage-options,
.cmplz-cookiebanner .cmplz-categories,
.cmplz-cookiebanner .cmplz-documents,
.cmplz-cookiebanner .cmplz-manage-vendors,
.cmplz-cookiebanner .cmplz-tcf,
.cmplz-cookiebanner .cmplz-information {
	display: none !important;
}

.cmplz-cookiebanner .cmplz-accept,
.cmplz-btn.cmplz-accept {
	background: var(--och-orange) !important;
	color: #fff !important;
}

@media (max-width: 880px) {
	.och-intro-grid,
	.och-split,
	.och-funnel-grid,
	.och-stat,
	.och-what-box,
	.och-why-grid,
	.och-proc,
	.och-price-inner,
	.och-roof-grid,
	.och-ben-grid,
	.och-quote {
		grid-template-columns: 1fr;
		direction: ltr;
	}

	.och-header .och-header-phone {
		display: none;
	}

	.och-hero {
		min-height: 72vh;
		padding: 56px 0;
	}
}

/* Cookie SAFETY — dismiss + clicks + no TCF */
.cmplz-cookiebanner.cmplz-dismissed,
.cmplz-cookiebanner.cmplz-hidden,
#cmplz-cookiebanner-container.cmplz-dismissed {
	display: none !important;
}
#cmplz-cookiebanner-container .cmplz-cookiebanner,
#cmplz-cookiebanner-container .cmplz-cookiebanner * {
	pointer-events: auto !important;
}
.cmplz-cookiebanner .cmplz-categories,
.cmplz-cookiebanner .cmplz-divider,
.cmplz-cookiebanner .cmplz-links,
.cmplz-cookiebanner .cmplz-documents,
.cmplz-cookiebanner .cmplz-view-preferences,
.cmplz-cookiebanner .cmplz-save-preferences,
.cmplz-cookiebanner .cmplz-manage-options,
.cmplz-cookiebanner .cmplz-btn.tcf,
.cmplz-cookiebanner .cmplz-manage-vendors {
	display: none !important;
}
.cmplz-cookiebanner .cmplz-body {
	display: block !important;
	width: auto !important;
	max-height: none !important;
	overflow: visible !important;
	grid-column: auto !important;
}
.cmplz-cookiebanner .cmplz-message {
	white-space: normal !important;
	word-wrap: break-word !important;
	overflow-wrap: anywhere !important;
	overflow-y: auto !important;
	max-height: 40vh !important;
	margin: 0 0 12px !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	min-height: 44px !important;
	min-width: 0 !important;
	pointer-events: auto !important;
	white-space: normal !important;
	height: auto !important;
}
@media (prefers-reduced-motion: reduce) {
	.cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden) {
		animation: none !important;
		transition: none !important;
	}
}

/* Cookie VARIANT — ochango: white card, gold stripe, scale-from-corner */
@keyframes cmplz-och-in {
	from { opacity: 0; transform: scale(.86); transform-origin: 100% 100%; }
	to { opacity: 1; transform: scale(1); transform-origin: 100% 100%; }
}
#cmplz-cookiebanner-container .cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden),
.cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden) {
	position: fixed !important;
	left: auto !important;
	right: 16px !important;
	bottom: 16px !important;
	top: auto !important;
	width: min(410px, calc(100vw - 32px)) !important;
	max-width: min(410px, calc(100vw - 32px)) !important;
	height: auto !important;
	max-height: none !important;
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: none !important;
	z-index: 99999 !important;
	overflow: visible !important;
	padding: 16px 16px 16px 20px !important;
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
	box-sizing: border-box !important;
	pointer-events: auto !important;
	background: #fff !important;
	color: var(--och-ink) !important;
	border-radius: 10px !important;
	border: 1px solid #e8eef5 !important;
	border-left: 5px solid #e8b923 !important;
	box-shadow: 0 14px 32px rgba(13,51,112,.16) !important;
	animation: cmplz-och-in 300ms ease-out both;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept {
	background: #ff6900 !important;
	color: #fff !important;
	border: none !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	background: transparent !important;
	color: var(--och-navy) !important;
	border: 1px solid var(--och-navy) !important;
}
.cmplz-cookiebanner .cmplz-buttons {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: 8px !important;
	grid-column: auto !important;
	grid-row: auto !important;
	flex-shrink: 0 !important;
}
.cmplz-cookiebanner .cmplz-btn.cmplz-accept,
.cmplz-cookiebanner .cmplz-btn.cmplz-deny {
	width: 100% !important;
	display: block !important;
}

@media (max-width: 480px) {
	#cmplz-cookiebanner-container .cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden),
.cmplz-cookiebanner:not(.cmplz-dismissed):not(.cmplz-hidden) {
		left: 12px !important;
		right: 12px !important;
		width: auto !important;
		max-width: none !important;
	}
}

/* Footer: same facts, clearer layout (Ads-readable NAP + 44px links) */
[class$="-footer"] .wp-block-columns,
[class*="-footer "] .wp-block-columns {
	gap: 2rem;
	align-items: start;
}
[class$="-footer"] .wp-block-list,
[class*="footer"] .wp-block-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
[class$="-footer"] .wp-block-list a,
[class*="footer"] .wp-block-list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	text-decoration: none;
	border-bottom: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}
[class$="-footer"] .wp-block-list li {
	margin: 0;
}
[class$="-footer"] h2 {
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}
@media (max-width: 781px) {
	[class$="-footer"] .wp-block-columns {
		display: block;
	}
	[class$="-footer"] .wp-block-column {
		margin: 0 0 1.75rem;
		flex-basis: 100% !important;
	}
}
