/*
Theme Name: Operos Blocksy Child
Theme URI: https://operos.de/
Description: Design layer for operos.de. Typography, colour, spacing and components for the Blocksy parent theme. Blocksy core is never modified; rollback is a theme switch back to Blocksy.
Author: Operos
Author URI: https://operos.de/
Template: blocksy
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: operos-blocksy-child
*/

/* ------------------------------------------------------------------
   1. Fonts — self-hosted, no external request at runtime
   Lexend (headings) and Source Sans 3 (body), SIL Open Font License.
   Files: assets/fonts/, licences included.
------------------------------------------------------------------ */

@font-face {
	font-family: "Lexend";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/lexend-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Lexend";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/lexend-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-latin-ext-wght-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("assets/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   2. Design tokens
------------------------------------------------------------------ */

:root {
	--op-navy: #0f172a;
	--op-navy-700: #1e293b;
	--op-ink: #1f2a3a;
	--op-body: #334155;
	--op-muted: #475569;
	--op-subtle: #64748b;
	--op-accent: #0369a1;
	--op-accent-strong: #075985;
	--op-accent-bright: #0284c7;
	--op-accent-soft: #e0f2fe;
	--op-accent-line: #bae6fd;
	--op-line: #e2e8f0;
	--op-line-strong: #cbd5e1;
	--op-bg: #ffffff;
	--op-bg-soft: #f8fafc;
	--op-bg-tint: #f1f5f9;

	--op-font-head: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--op-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--op-space-1: 4px;
	--op-space-2: 8px;
	--op-space-3: 12px;
	--op-space-4: 16px;
	--op-space-5: 24px;
	--op-space-6: 32px;
	--op-space-7: 48px;
	--op-space-8: 64px;
	--op-space-9: 96px;

	--op-radius-sm: 4px;
	--op-radius: 8px;
	--op-radius-lg: 16px;
	--op-radius-pill: 999px;

	--op-shadow: 0 1px 2px rgba(2, 6, 23, 0.06), 0 8px 24px rgba(2, 6, 23, 0.06);
	--op-shadow-lift: 0 2px 4px rgba(2, 6, 23, 0.06), 0 18px 40px -12px rgba(2, 6, 23, 0.18);
	--op-shadow-dark: 0 24px 60px -30px rgba(2, 6, 23, 0.65);

	--op-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--op-transition: 180ms var(--op-ease);

	/* Blocksy palette remap */
	--theme-palette-color-1: #0369a1;
	--theme-palette-color-2: #075985;
	--theme-palette-color-3: #334155;
	--theme-palette-color-4: #0f172a;
	--theme-palette-color-5: #e2e8f0;
	--theme-palette-color-6: #f1f5f9;
	--theme-palette-color-7: #f8fafc;
	--theme-palette-color-8: #ffffff;
	--theme-text-color: #334155;
	--theme-link-initial-color: #0369a1;
	--theme-link-hover-color: #075985;
	--theme-headings-color: #0f172a;
	--theme-border-color: #e2e8f0;
	--theme-normal-container-max-width: 1200px;
	--theme-content-spacing: 1.35em;
	--theme-button-min-height: 44px;
	--theme-button-font-size: 15px;
	--theme-button-font-weight: 600;
}

/* ------------------------------------------------------------------
   3. Base
------------------------------------------------------------------ */

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	overflow-x: clip;
	font-family: var(--op-font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--op-body);
	background: var(--op-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.page-title,
.site-title,
.oc-hero-title,
.op-price {
	font-family: var(--op-font-head);
	color: var(--op-navy);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

h1, .page-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -0.03em; line-height: 1.1; }
h2 { font-size: clamp(1.45rem, 2.3vw, 1.95rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
h4 { font-size: 1.0625rem; }
h5, h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }

p, li { text-wrap: pretty; }

a {
	color: var(--op-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--op-transition);
}

a:hover { color: var(--op-accent-strong); }

strong, b { color: var(--op-ink); font-weight: 650; }

::selection { background: var(--op-accent-soft); color: var(--op-navy); }

:focus-visible {
	outline: 3px solid var(--op-accent-bright);
	outline-offset: 2px;
	border-radius: 2px;
}

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

hr {
	border: 0;
	height: 1px;
	background: var(--op-line);
	margin: var(--op-space-7) 0;
}

blockquote {
	margin: var(--op-space-6) 0;
	padding: var(--op-space-2) 0 var(--op-space-2) var(--op-space-5);
	border-left: 3px solid var(--op-accent);
	color: var(--op-ink);
	font-size: 1.0625rem;
}

code, pre {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: 0.9em;
}

pre {
	background: var(--op-bg-tint);
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius);
	padding: var(--op-space-4);
	overflow-x: auto;
}

.skip-link-screen-reader-text,
.screen-reader-text:focus {
	position: absolute;
	z-index: 100000;
}

/* ------------------------------------------------------------------
   4. Header
------------------------------------------------------------------ */

#header.ct-header {
	position: sticky;
	top: 0;
	z-index: 9990;
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--op-line);
	box-shadow: 0 1px 0 rgba(2, 6, 23, 0.02);
}

.admin-bar #header.ct-header { top: 32px; }

#header .ct-container {
	min-height: 68px;
}

.site-title,
.site-title a {
	font-family: var(--op-font-head);
	font-size: 1.375rem;
	font-weight: 650;
	letter-spacing: -0.035em;
	color: var(--op-navy);
	text-decoration: none;
}

.site-title a:hover { color: var(--op-accent); }

.site-description {
	color: var(--op-subtle);
	font-size: 0.85rem;
}

#header ul.menu {
	display: flex;
	align-items: center;
	gap: 6px 20px;
}

#header .ct-menu-link {
	display: inline-flex;
	align-items: center;
	font-family: var(--op-font-head);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: -0.005em;
	text-transform: none;
	white-space: nowrap;
	color: var(--op-ink);
	padding: 10px 2px;
	min-height: 38px;
	position: relative;
	text-decoration: none;
}

#header .ct-menu-link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 2px;
	border-radius: 2px;
	background: var(--op-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--op-transition);
}

#header .menu-item:hover > .ct-menu-link,
#header .current-menu-item > .ct-menu-link,
#header .current_page_item > .ct-menu-link {
	color: var(--op-accent);
}

#header .menu-item:hover > .ct-menu-link::after,
#header .current-menu-item > .ct-menu-link::after,
#header .current_page_item > .ct-menu-link::after {
	transform: scaleX(1);
}

#header .menu > .menu-item:last-child > .ct-menu-link {
	align-self: center;
	margin-left: 10px;
	padding: 0 18px;
	height: 40px;
	min-height: 40px;
	border-radius: var(--op-radius-pill);
	background: var(--op-accent);
	color: #fff;
	box-shadow: 0 1px 2px rgba(2, 6, 23, 0.08);
}

#header .menu > .menu-item:last-child > .ct-menu-link::after { display: none; }

#header .menu > .menu-item:last-child > .ct-menu-link:hover {
	background: var(--op-accent-strong);
	color: #fff;
}

#header .ct-header-search .ct-toggle,
#header .ct-header-trigger .ct-toggle {
	color: var(--op-navy);
}

#header .ct-header-trigger .ct-toggle {
	border-radius: var(--op-radius-sm);
}

/* Dropdowns */
#header .ct-dropdown,
#header .sub-menu {
	border: 1px solid var(--op-line);
	border-radius: 12px;
	box-shadow: var(--op-shadow-lift);
	background: #fff;
}

/* ------------------------------------------------------------------
   5. Page title band + content rhythm
------------------------------------------------------------------ */

.hero-section,
.hero-section[data-type="type-1"] {
	background: linear-gradient(180deg, var(--op-bg-soft) 0%, rgba(248, 250, 252, 0) 100%);
	border-bottom: 1px solid var(--op-line);
}

.hero-section.is-width-constrained {
	max-width: var(--theme-normal-container-max-width, 1200px);
	margin: 0 auto;
	padding: clamp(36px, 5vw, 64px) 24px clamp(28px, 4vw, 44px);
}

.hero-section .entry-header { padding: 0; }

.hero-section .page-title {
	margin: 0;
	max-width: 22ch;
}

.entry-content {
	color: var(--op-body);
	font-size: 1.0625rem;
	line-height: 1.7;
}

.entry-content.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: 1200px;
}

.entry-content > p,
.entry-content > ul,
.entry-content > ol {
	max-width: 70ch;
}

.entry-content > * + * { margin-block-start: var(--op-space-4); }

.entry-content > h2 {
	margin-top: var(--op-space-8);
	margin-bottom: var(--op-space-3);
	padding-bottom: 10px;
	position: relative;
}

.entry-content > h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 48px;
	height: 3px;
	border-radius: 2px;
	background: var(--op-accent);
}

.entry-content > h3 { margin-top: var(--op-space-6); margin-bottom: var(--op-space-2); }

.entry-content ul,
.entry-content ol { padding-left: 1.25em; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content li::marker { color: var(--op-accent); }

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: var(--op-space-5) 0;
	font-size: 0.97rem;
}

.entry-content th,
.entry-content td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--op-line);
	vertical-align: top;
}

.entry-content th {
	font-family: var(--op-font-head);
	font-weight: 600;
	color: var(--op-navy);
	background: var(--op-bg-soft);
}

/* ------------------------------------------------------------------
   6. Buttons
------------------------------------------------------------------ */

.oc-btn,
.op-btn,
.op-submit,
.wp-block-button__link,
.ct-button,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: var(--op-radius-pill);
	font-family: var(--op-font-head);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--op-transition), border-color var(--op-transition), color var(--op-transition), box-shadow var(--op-transition), transform var(--op-transition);
}

.entry-content .oc-btn,
.entry-content .op-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 11px 22px;
	border: 1px solid transparent;
	border-radius: var(--op-radius-pill);
	font-family: var(--op-font-head);
	font-weight: 600;
	text-decoration: none;
}

.entry-content .oc-btn-primary,
.op-btn,
.op-submit,
.wp-block-button__link,
.ct-button,
button[type="submit"],
input[type="submit"] {
	background: var(--op-accent);
	color: #fff;
	box-shadow: 0 1px 2px rgba(2, 6, 23, 0.08);
}

.entry-content .oc-btn-primary:hover,
.op-btn:hover,
.op-submit:hover,
.wp-block-button__link:hover,
.ct-button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--op-accent-strong);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -10px rgba(3, 105, 161, 0.55);
}

.entry-content .oc-btn-ghost {
	background: #fff;
	color: var(--op-navy) !important;
	border-color: var(--op-line-strong);
	box-shadow: none;
}

.entry-content .oc-btn-ghost:hover {
	border-color: var(--op-accent);
	color: var(--op-accent) !important;
	background: var(--op-accent-soft);
	transform: translateY(-1px);
}

.entry-content a:not(.oc-btn):not(.op-btn):not(.op-note):not(.op-cardcta a) {
	text-decoration: underline;
}

/* ------------------------------------------------------------------
   7. Homepage hero
------------------------------------------------------------------ */

.entry-content .oc-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: center;
	margin-top: var(--op-space-6);
	padding: clamp(28px, 4.2vw, 56px);
	border-radius: 20px;
	color: #dbe4ee;
	background:
		radial-gradient(900px 420px at 88% 0%, rgba(2, 132, 199, 0.5), transparent 62%),
		linear-gradient(140deg, #0b1324 0%, #0f172a 46%, #12324f 100%);
	box-shadow: var(--op-shadow-dark);
	overflow: hidden;
	isolation: isolate;
}

.entry-content .oc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image:
		linear-gradient(rgba(148, 163, 184, 0.09) 1px, transparent 1px),
		linear-gradient(90deg, rgba(148, 163, 184, 0.09) 1px, transparent 1px);
	background-size: 52px 52px;
	-webkit-mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 78%);
	mask-image: radial-gradient(120% 90% at 70% 10%, #000 20%, transparent 78%);
	pointer-events: none;
}

.entry-content .oc-hero > * { position: relative; z-index: 1; }

.entry-content .oc-hero .oc-hero-title {
	color: #fff;
	font-size: clamp(1.8rem, 2.9vw, 2.4rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.035em;
	margin: 0 0 0.45em;
	max-width: 100%;
	text-wrap: wrap;
}

.entry-content .oc-hero h1,
.entry-content .oc-hero h2,
.entry-content .oc-hero h3 {
	color: #fff;
}

.entry-content .oc-hero h1 {
	font-size: clamp(1.9rem, 3.6vw, 3rem);
	line-height: 1.07;
	letter-spacing: -0.035em;
	margin: 0 0 0.4em;
	max-width: 26ch;
}

.entry-content .oc-hero p {
	color: #c7d4e3;
	font-size: 1.0625rem;
	line-height: 1.7;
	max-width: 54ch;
	margin: 0 0 0.35em;
}

.entry-content .oc-hero img {
	display: block;
	width: 100%;
	max-width: 460px;
	margin-left: auto;
	border-radius: 14px;
	filter: drop-shadow(0 28px 44px rgba(2, 6, 23, 0.5));
}

.entry-content .oc-btnrow {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: var(--op-space-5);
}

.entry-content .oc-hero .oc-btn-ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(226, 232, 240, 0.4);
	color: #fff !important;
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
}

.entry-content .oc-hero .oc-btn-ghost:hover {
	background: #fff;
	border-color: #fff;
	color: var(--op-navy) !important;
}

/* ------------------------------------------------------------------
   8. Homepage pillars / features
------------------------------------------------------------------ */

.home .entry-content .oc-features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--op-space-5);
	margin: var(--op-space-6) 0 var(--op-space-4);
	align-items: stretch;
}

.home .entry-content .oc-feature {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius-lg);
	padding: clamp(22px, 2.4vw, 30px);
	box-shadow: var(--op-shadow);
	transition: transform var(--op-transition), box-shadow var(--op-transition), border-color var(--op-transition);
}

.home .entry-content .oc-feature:hover {
	transform: translateY(-2px);
	box-shadow: var(--op-shadow-lift);
	border-color: var(--op-line-strong);
}

.home .entry-content .oc-feature img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	margin: 0 0 var(--op-space-4);
	padding: 10px;
	background: var(--op-accent-soft);
	border-radius: 12px;
}

.home .entry-content .oc-feature h3 {
	margin: 0 0 0.5em;
}

.home .entry-content .oc-feature p {
	margin: 0;
	color: var(--op-muted);
	font-size: 1rem;
}

/* Eigene KI raised to the top as the leading pillar */
.home .entry-content .oc-features .oc-feature:nth-child(3) {
	grid-column: 1 / -1;
	order: -1;
	padding: clamp(26px, 3.4vw, 44px);
	background:
		radial-gradient(600px 260px at 100% 0%, rgba(224, 242, 254, 0.9), transparent 70%),
		linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
	border: 1px solid var(--op-accent-line);
	border-top: 4px solid var(--op-accent);
	box-shadow: 0 18px 50px -28px rgba(3, 105, 161, 0.45);
}

.home .entry-content .oc-features .oc-feature:nth-child(3) h3 {
	font-size: clamp(1.4rem, 2.5vw, 2.05rem);
	line-height: 1.14;
	max-width: 26ch;
	margin-bottom: 0.55em;
}

.home .entry-content .oc-features .oc-feature:nth-child(3) p {
	max-width: 68ch;
	font-size: 1.0625rem;
}

.home .entry-content .oc-features .oc-feature:nth-child(3) .oc-btn {
	align-self: flex-start;
	margin-top: var(--op-space-4);
	background: #fff;
	border-color: var(--op-accent);
	color: var(--op-accent) !important;
	box-shadow: none;
}

.home .entry-content .oc-features .oc-feature:nth-child(3) .oc-btn:hover {
	background: var(--op-accent);
	border-color: var(--op-accent);
	color: #fff !important;
}

/* FAQ question rhythm */
.entry-content h4 {
	margin-top: var(--op-space-6);
	margin-bottom: 0.35em;
	color: var(--op-navy);
}

.entry-content h4 + p { margin-top: 0; }

/* Keep the contact form at a readable measure */
.entry-content form:has(.op-fields) {
	max-width: 760px;
	margin-inline: auto;
}

/* ------------------------------------------------------------------
   9. Split panel, process steps, closing CTA
------------------------------------------------------------------ */

.entry-content .oc-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(24px, 3.4vw, 44px);
	align-items: center;
	margin: var(--op-space-7) 0;
	padding: clamp(22px, 3vw, 36px);
	background: var(--op-bg-soft);
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius-lg);
}

.entry-content .oc-split img {
	width: 100%;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: 12px;
}

.entry-content .oc-split h2 {
	margin-top: 0;
}

.entry-content .oc-split h2::after { display: none; }

.entry-content .oc-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--op-space-5);
	margin: var(--op-space-6) 0;
	counter-reset: oc-step;
}

.entry-content .oc-step {
	position: relative;
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius-lg);
	padding: var(--op-space-5);
	padding-top: calc(var(--op-space-5) + 6px);
	box-shadow: var(--op-shadow);
}

.entry-content .oc-step::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--op-space-5);
	width: 40px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--op-accent);
}

.entry-content .oc-step h3 {
	font-size: 1.05rem;
	margin: 0 0 0.35em;
}

.entry-content .oc-step p {
	margin: 0;
	font-size: 0.97rem;
	color: var(--op-muted);
}

.entry-content .oc-cta {
	position: relative;
	margin: var(--op-space-8) 0 var(--op-space-6);
	padding: clamp(28px, 4vw, 52px);
	border-radius: 20px;
	text-align: center;
	color: #cbd5e1;
	background:
		radial-gradient(700px 300px at 50% 0%, rgba(2, 132, 199, 0.45), transparent 70%),
		linear-gradient(135deg, #0b1324, #0f172a 55%, #12324f);
	box-shadow: var(--op-shadow-dark);
	overflow: hidden;
}

.entry-content .oc-cta h2,
.entry-content .oc-cta h3 {
	color: #fff;
	margin: 0 0 0.4em;
}

.entry-content .oc-cta h2::after { display: none; }

.entry-content .oc-cta p {
	color: #c7d4e3;
	max-width: 60ch;
	margin: 0 auto 0.4em;
}

.entry-content .oc-cta a:not(.oc-btn) {
	color: #e0f2fe;
}

.entry-content .oc-cta .oc-btn {
	margin-top: var(--op-space-5);
}

.entry-content .oc-cta-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 0 14px;
}

.entry-content .oc-cta-logo-name {
	font-family: var(--op-font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: #fff;
}

/* ------------------------------------------------------------------
   10. Catalog cards + configurator
------------------------------------------------------------------ */

.entry-content .op-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--op-space-5);
	margin: var(--op-space-6) 0;
	align-items: stretch;
}

.entry-content .op-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius-lg);
	padding: var(--op-space-5);
	box-shadow: var(--op-shadow);
	transition: transform var(--op-transition), box-shadow var(--op-transition), border-color var(--op-transition);
}

.entry-content .op-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--op-shadow-lift);
	border-color: var(--op-line-strong);
}

.entry-content .op-card h3 {
	font-size: 1.08rem;
	margin: 0 0 0.5em;
	line-height: 1.3;
}

.entry-content .op-card h3 a {
	color: var(--op-navy);
	text-decoration: none;
}

.entry-content .op-card h3 a:hover { color: var(--op-accent); }

.entry-content .op-desc { flex: 1 1 auto; }

.entry-content .op-desc p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--op-muted);
	margin: 0 0 var(--op-space-4);
}

.entry-content .op-price {
	font-size: 1.55rem;
	font-weight: 600;
	color: var(--op-navy);
	margin: 0 0 var(--op-space-4);
	letter-spacing: -0.02em;
}

.entry-content .op-eff {
	display: block;
	font-family: var(--op-font-body);
	font-size: 0.82rem;
	font-weight: 400;
	color: var(--op-subtle);
	letter-spacing: 0;
}

.entry-content .op-note {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--op-accent);
	text-decoration: none;
}

.entry-content .op-cardcta { margin-top: auto; }

.entry-content .op-cardcta .op-btn {
	width: 100%;
}

/* Configurator */
.entry-content .op-cfg-list {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius-lg);
	overflow: hidden;
	margin: var(--op-space-5) 0;
	background: #fff;
}

.entry-content .op-row {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
	gap: var(--op-space-3);
	align-items: center;
	padding: var(--op-space-4) var(--op-space-5);
	border-bottom: 1px solid var(--op-line);
}

.entry-content .op-row:last-child { border-bottom: 0; }

.entry-content .op-row:hover { background: var(--op-bg-soft); }

.entry-content .op-check {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-weight: 600;
	color: var(--op-navy);
}

.entry-content input[type="checkbox"],
.entry-content input[type="radio"] {
	width: 18px;
	height: 18px;
	accent-color: var(--op-accent);
}

.entry-content .op-unitprice {
	font-size: 0.92rem;
	color: var(--op-muted);
}

/* The generic input rule sets width:100%; the quantity box must stay small so
   the "auto" track does not eat the price column (see .op-row grid). */
.entry-content .op-qtywrap .op-qty {
	width: 72px;
	min-height: 38px;
	padding: 6px 10px;
	text-align: center;
}

/* ------------------------------------------------------------------
   11. Forms (contact + configurator)
------------------------------------------------------------------ */

.entry-content form label {
	display: block;
	font-family: var(--op-font-head);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--op-ink);
	margin-bottom: 6px;
}

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="url"],
.entry-content input[type="number"],
.entry-content input[type="search"],
.entry-content select,
.entry-content textarea,
.forminator-ui .forminator-input,
.forminator-ui .forminator-textarea,
.forminator-ui select.forminator-select {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	font-family: var(--op-font-body);
	font-size: 1rem;
	color: var(--op-ink);
	background: #fff;
	border: 1px solid var(--op-line-strong);
	border-radius: var(--op-radius);
	transition: border-color var(--op-transition), box-shadow var(--op-transition);
}

.entry-content textarea { min-height: 132px; resize: vertical; }

.entry-content input:focus,
.entry-content select:focus,
.entry-content textarea:focus,
.forminator-ui .forminator-input:focus,
.forminator-ui .forminator-textarea:focus {
	border-color: var(--op-accent);
	box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.18);
	outline: none;
}

.entry-content .op-fields > p { margin-bottom: var(--op-space-4); }

.entry-content .op-consent {
	font-size: 0.9rem;
	color: var(--op-muted);
	line-height: 1.55;
}

.entry-content .op-consent label {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-family: var(--op-font-body);
	font-weight: 400;
}

.entry-content .op-hint {
	margin-top: var(--op-space-3);
	font-size: 0.88rem;
	color: var(--op-subtle);
}

.entry-content .op-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.entry-content form:not(.ct-search-form) {
	background: #fff;
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius-lg);
	padding: clamp(22px, 3vw, 32px);
	box-shadow: var(--op-shadow);
}

/* ------------------------------------------------------------------
   12. Language switch, footer, back to top
------------------------------------------------------------------ */

body .oc-lang-float {
	position: fixed;
	top: auto;
	right: 20px;
	bottom: 20px;
	z-index: 9990;
	display: flex;
	gap: 2px;
	padding: 4px;
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid var(--op-line);
	border-radius: var(--op-radius-pill);
	box-shadow: var(--op-shadow);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

body .oc-ls-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 32px;
	padding: 0 10px;
	border-radius: var(--op-radius-pill);
	font-family: var(--op-font-head);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--op-muted);
	text-decoration: none;
	transition: background-color var(--op-transition), color var(--op-transition);
}

body .oc-ls-item:hover { background: var(--op-accent-soft); color: var(--op-accent-strong); }

body .oc-lang-float .oc-ls-item.current {
	background: var(--op-navy);
	color: #fff;
}

#footer.ct-footer {
	background: var(--op-bg-soft);
	border-top: 1px solid var(--op-line);
	color: var(--op-muted);
	font-size: 0.92rem;
}

#footer .ct-container { padding-top: 28px; padding-bottom: 28px; }

#footer a { color: var(--op-ink); text-decoration: none; }
#footer a:hover { color: var(--op-accent); }

.ct-back-to-top {
	border-radius: var(--op-radius-pill);
	box-shadow: var(--op-shadow);
}

/* ------------------------------------------------------------------
   13. Responsive
------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.entry-content .oc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.entry-content .op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.entry-content .oc-hero { grid-template-columns: 1fr; }
	.entry-content .oc-hero img { margin: var(--op-space-4) 0 0; max-width: 420px; }
}

@media (max-width: 782px) {
	html { scroll-padding-top: 80px; }
	.admin-bar #header.ct-header { top: 46px; }

	.entry-content { font-size: 1rem; }
	.entry-content .oc-hero { padding: 26px 20px; border-radius: 16px; }
	.entry-content .oc-hero-title { max-width: 100%; }
	.home .entry-content .oc-features,
	.entry-content .oc-steps,
	.entry-content .op-grid,
	.entry-content .oc-split { grid-template-columns: 1fr; }
	.home .entry-content .oc-features .oc-feature:nth-child(3) { grid-column: auto; }
	.entry-content .oc-split img { order: -1; }
	.entry-content form:has(.op-fields) {
		width: calc(100% - 24px);
		padding: 16px;
	}
	.entry-content .op-cfg-list { padding: 8px 12px; }
	.entry-content .op-row {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--op-space-2);
		align-items: start;
		padding: 12px;
	}
	.entry-content .op-qtywrap { justify-self: start; }
	.entry-content .op-unitprice {
		justify-self: stretch;
		width: 100%;
		font-size: 0.9rem;
	}
	.entry-content .op-unitprice .op-eff:first-of-type { display: inline; }
	.entry-content .op-qtywrap .op-qty { width: 76px; }
	.entry-content .op-row input[type="checkbox"] {
		width: 22px;
		height: 22px;
		margin-right: 4px;
	}
	.entry-content .oc-cta { padding: 28px 20px; border-radius: 16px; }
	.entry-content > h2 { margin-top: var(--op-space-7); }
}

@media (max-width: 480px) {
	body .oc-lang-float { right: 12px; bottom: 12px; }
	.entry-content .oc-hero .oc-hero-title,
	.entry-content .oc-hero h1 { font-size: 1.7rem; }
	.entry-content .oc-btnrow { flex-direction: column; align-items: stretch; }
	.entry-content .oc-btnrow .oc-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ------------------------------------------------------------------
   Off-canvas menu: fully opaque panel.
   Blocksy's panel background is semi-transparent, so the page heading
   showed through the open menu and hurt legibility on phones.
------------------------------------------------------------------ */
#offcanvas.ct-panel .ct-panel-inner {
	background-color: var(--op-navy, #0F172A);
}

/* Off-canvas menu text: white on navy; active item uses the light accent. */
#offcanvas .ct-menu-link {
	color: #ffffff;
}
#offcanvas .current-menu-item > .ct-menu-link,
#offcanvas .current_page_item > .ct-menu-link {
	color: #7dd3fc;
}
#offcanvas .ct-menu-link:hover,
#offcanvas .ct-menu-link:focus-visible {
	color: #7dd3fc;
}
