:root {
	--primary: #ffffff;
	--bg: #0a0a0c;
	--surface: #11131a;
	--surface-alt: #151826;
	--text: #ffffff;
	--heading: #ffffff;
	--muted: #bcc3d1;
	--white: #ffffff;
	--border: #2a2f3f;
	--font-family-base: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
	--font-family-heading: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
	--font-size-base: 18px;
	--h1-size: 46px;
	--h2-size: 35px;
	--h3-size: 28px;
	--accent-bg: #0d1018;
	--button-text: #000000;
	--header-bg: rgba(10, 10, 12, 0.97);
	--footer-bg: #0a0a0c;
	--shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.28);
	--radius-lg: 14px;
}

:root[data-theme="light"] {
	--primary: #122b5c;
	--bg: #ffffff;
	--surface: #f5f7fc;
	--surface-alt: #ffffff;
	--text: #17233f;
	--heading: #0f234b;
	--muted: #516287;
	--border: #d7dff0;
	--accent-bg: #eef2fb;
	--button-text: #ffffff;
	--header-bg: rgba(255, 255, 255, 0.96);
	--footer-bg: #eef2fb;
	--shadow-soft: 0 14px 32px rgba(17, 34, 74, 0.12);
}

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

body {
	margin: 0;
	font-family: var(--font-family-base);
	font-size: var(--font-size-base);
	color: var(--text);
	background: var(--bg);
	line-height: 1.7;
	letter-spacing: 0.01em;
}

a {
	color: var(--primary);
	text-decoration: none;
}

.container {
	width: min(1120px, 92vw);
	margin: 0 auto;
}

.section {
	padding: 72px 0;
}

.section--muted {
	background: var(--accent-bg);
}

.section-centered {
	max-width: 980px;
	margin: 0 auto;
}

h1,
h2,
h3 {
	margin: 0 0 16px;
	line-height: 1.25;
	font-family: var(--font-family-heading);
	color: var(--heading);
}

h1 {
	font-size: clamp(2rem, 4vw, var(--h1-size));
}

h2 {
	font-size: clamp(1.7rem, 3vw, var(--h2-size));
	text-align: center;
}

h3 {
	font-size: clamp(1.25rem, 2.2vw, var(--h3-size));
}

.subtitle {
	text-align: center;
	color: var(--muted);
	margin: 0 0 28px;
}

.site-header {
	position: sticky;
	top: 0;
	background: var(--header-bg);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--border);
	z-index: 20;
}

.site-header__inner {
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 10px;
	background: var(--primary);
	color: var(--white);
	padding: 10px 14px;
	border-radius: 4px;
}

.skip-link:focus {
	left: 10px;
	z-index: 100;
}

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

.site-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--text);
}

.main-nav {
	margin-left: auto;
}

.main-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 16px;
	flex-wrap: nowrap;
	align-items: center;
}

.main-nav__list a {
	color: var(--text);
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	padding: 8px 12px;
	border-radius: 999px;
	transition: background 0.2s ease;
}

.main-nav__list a:hover {
	background: var(--surface);
	opacity: 1;
}

.main-nav__list a:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 4px;
	border-radius: 4px;
}

.theme-toggle {
	background: transparent;
	color: var(--text);
	border: 1px solid var(--border);
	padding: 8px 10px;
	border-radius: 999px;
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 9px 8px;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--text);
}

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

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

.about__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 4px;
	border: 1px solid var(--border);
}

.text-block p {
	margin: 0 0 16px;
}

.text-block strong {
	font-weight: 700;
}

.text-block em {
	font-style: italic;
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 30px;
	box-shadow: var(--shadow-soft);
}

.offer-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

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

.offer-card h3 {
	color: var(--primary);
}

.price-tag {
	color: var(--muted);
	font-weight: 600;
	margin-top: 12px;
}

.service-cta {
	display: inline-flex;
	margin-top: 14px;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--primary);
	color: var(--button-text);
	font-weight: 700;
}

.faq-list {
	display: grid;
	gap: 12px;
}

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

.faq-item[open] summary {
	margin-bottom: 10px;
}

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
}

.contact-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.contact-list li {
	margin-bottom: 10px;
}

.site-footer {
	background: var(--footer-bg);
	border-top: 1px solid var(--border);
	padding: 24px 0;
	text-align: center;
	font-size: 0.95rem;
	color: var(--muted);
}

button,
input[type="submit"],
.wp-block-button__link {
	background: var(--primary);
	border-color: var(--primary);
	color: var(--button-text);
}

input,
textarea,
select {
	background: var(--surface-alt);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 11px 13px;
	font-size: 0.98rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 24%, transparent);
}

input::placeholder,
textarea::placeholder {
	color: var(--muted);
}

iframe {
	border-radius: 4px;
	filter: grayscale(0.2) contrast(1.05) brightness(0.86);
}

.contact-form-wrap {
	border-radius: var(--radius-lg);
}

.contact-form-wrap p {
	margin: 0 0 16px;
}

.contact-form-wrap label {
	display: inline-block;
	margin-bottom: 6px;
	font-weight: 600;
	color: var(--heading);
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea {
	width: 100%;
}

.contact-form-wrap textarea {
	min-height: 130px;
	resize: vertical;
}

.fizjo-kontakt-form-wrap {
	width: 100%;
}

.fizjo-kontakt-notice {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 10px;
	font-weight: 600;
}

.fizjo-kontakt-notice--ok {
	background: color-mix(in srgb, #35b36a 22%, transparent);
	border: 1px solid color-mix(in srgb, #35b36a 48%, transparent);
}

.fizjo-kontakt-notice--error {
	background: color-mix(in srgb, #c63737 22%, transparent);
	border: 1px solid color-mix(in srgb, #c63737 48%, transparent);
}

.fizjo-kontakt-rodo {
	font-size: 0.92rem;
	color: var(--muted);
}

.fizjo-kontakt-rodo label {
	display: inline;
	font-weight: 500;
}

.fizjo-kontakt-rodo input[type="checkbox"] {
	transform: translateY(1px);
	margin-right: 8px;
}

.fizjo-kontakt-form button[type="submit"],
.service-cta {
	border: 1px solid transparent;
	box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 32%, transparent);
	transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.fizjo-kontakt-form button[type="submit"] {
	background: var(--primary);
	color: var(--button-text);
	border-radius: 999px;
	padding: 11px 18px;
	font-weight: 700;
	cursor: pointer;
}

.fizjo-kontakt-form button[type="submit"]:hover,
.service-cta:hover {
	transform: translateY(-1px);
	opacity: 0.96;
	box-shadow: 0 12px 24px color-mix(in srgb, var(--primary) 40%, transparent);
}

.sticky-cta,
.sticky-call {
	position: fixed;
	right: 16px;
	z-index: 40;
	border-radius: 999px;
	padding: 12px 18px;
	font-weight: 700;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.sticky-cta {
	bottom: 18px;
	background: var(--primary);
	color: var(--button-text);
}

.sticky-call {
	bottom: 70px;
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
}

@media (max-width: 900px) {
	.about__grid,
	.contact-grid,
	.offer-list--services {
		grid-template-columns: 1fr;
	}

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

	.main-nav {
		display: none;
		width: 100%;
		order: 5;
		margin-left: 0;
	}

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

	.main-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		padding: 12px 0 4px;
	}

	.main-nav__list a {
		display: block;
		background: var(--surface);
	}
}

